Button with upload="true" don't use z-button-os
Hi,
this is intend , using mold os will cause side effect
if you wanna to use os mold , you can use Fileupload.get()
<button label="File Upload Btn" onClick="Fileupload.get()"> </button>
Hi samchuang,
hmm, i'm not really happy about the answer.
I saw in zkdemo that the uggly (sorry for using uggly :-)) window between upload and filebrowser from
os is no more needed, if you set upload="true". so i'm happy the ui for user looks better.
Now i've a window with 6 buttons and one looks different to the other 5 or i've to go back to my old code
with the dialog between window and filebrowser from filebrowser.
Third way to solve: I take all buttons back to trendy (this implicit alternative 4: commiting suicide :-) )
If you turn all buttons to mold os, than it would be great, if they really look alike.
Maybe a feature request for future version or is there a way i can use Fileupload.get() without the dialog between my window and os-filebrowser ?
It would be great, if i could use zk and not code an own way to solve this.
Best regards
Jörg
Hi
if you think the file upload's dialog is uggly , you could custom your dialog
using Fileupload.setTemplate()
ZK - Open Source Ajax Java Framework
Hi all,
im not sure if it's intend or a bug.
I'm trying zk5.04. Buttons have now default z-button-os.
If i give a button upload="true" the class changes to z-button.
Changeing the mold of the button has no effect.
Tested with ie7,8 and firefox.
Snippet:
Best regards
Jörg