I'm trying to make use of the Tomahawk updateActionListener action listener in a Shale Clay based app and was having problems getting it to work properly. After doing some debugging I realized that the problem was that I was trying to map to the property "property" on the UpdateActionListener class thinking that the tag "property" attribute just passed the value through. On closer inspection I realized this isn't the case and that the UpdateActionListenerTag itself takes the value set for the "property" attribute and creates a value binding which is passed to the UpdateActionListener with the setPropertyBinding() method. Similarly, the UpdateActionListenerTag also figures out if the "value" attribute is supposed to be an actual value object or a value binding.

I searched this list and this was also a problem when trying to integrate with Facelets. So my question is why is all this work done in the UpdateActionListenerTag class instead of in the UpdateActionListener class itself? Then the tag class would just pass the values through like all the other tags in JSF.

Rich

Reply via email to