Hi,

 

Let’s say that my backing bean has several Boolean values that I want to update in a form.

 

I could use check boxes for that, but what if I used the JSCookMenu to do the job in a cool way. The idea is to use menu entries like those used to show or hide views in menus (a check followed by the menu item label). The action of clicking on the item would show or hide the image, and call some _javascript_ function to keep the state in the browser. When the user submits the form, the Boolean values in the backing bean would be updated somehow.

 

Have you ever seen something like that? Can I implement this behavior using the JSCookMenu alone, or do I have to make a specialization?

 

Thanks

Reply via email to