Skip to main content

Fisheye as a JSF component - using the valueChangeListener event

2 replies [Last post]
mdmaurer
Offline
Joined: 2006-05-05

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31

HI,

We don't have automatic value change listener mappings between the client server.

You will need write some glue code in JavaScript to take the event and post a change event pack to the server.

With the version of jMaki you use the JavaScript is described at:

http://blogs.sun.com/jenniferb/entry/dojo_fisheye_jmaki_widget_using

With our latest release you can see the interaction at:

http://weblogs.java.net/blog/gmurray71/archive/2007/07/jmaki_actions_1.html

We'll try to put some more documents together on how to wire the events back to the server.

mdmaurer
Offline
Joined: 2006-05-05

I appreciate the reply and example links. Ok, no valueChangeListener event. Too bad, that would have been so convenient...

Unfortunately, none of the example links you provided show how to call a method on a java bean (server side). This is what I need to do. Clicking one of the fisheye images needs to call a java method that will re-query and filter the data being shown in a JSF datatable that is bound to a property in the bean. I need it to do more than just call a javascript function. How can I cause it to execute a bean method? Can this be acomplished with the glue code?