<zk>
<label id="l" value="You can test the new component called Colorbox."/>
<colorbox onChange='l.style = "color:" + self.color'/>
</zk>
Or you can use with menu in menupopup, like
<menubar>
<menu label="Select Background Color">
<menupopup>
<menu label="Choose color" content="#color=#FFFFFF" onChange='l.style = "background:" + event.value;'/>
</menupopup>
</menu>
</menubar>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1691379
Originator: NO
I think, this will be nice to have.
Will be more one off-the-shelf component.
Marcos de Sousa
Ready since Nov. 27. (ZK 5.0.0 and later)
For example,
<zk>
<label id="l" value="You can test the new component called Colorbox."/>
<colorbox onChange='l.style = "color:" + self.color'/>
</zk>
Or you can use with menu in menupopup, like
<menubar>
<menu label="Select Background Color">
<menupopup>
<menu label="Choose color" content="#color=#FFFFFF" onChange='l.style = "background:" + event.value;'/>
</menupopup>
</menu>
</menubar>