This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JSF and the fly likes valueChangeListener for custom component Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "valueChangeListener for custom component " Watch "valueChangeListener for custom component " New topic
Author

valueChangeListener for custom component

Pieter Pareit
Greenhorn

Joined: Jun 01, 2011
Posts: 2
Hi,

I have a custom component:

<e:yesNo type="radio" value="#{testHandler.testParameter.check}"
valueChangeListener="#{testHandler.changeValue}"
onchange="this.form.submit()"/>

The value changeListener is never called.

My component implements ClientBehaviorHolder, but that doesn't work.
See Below the code of my component.



public class FrmYesNoComponent extends UIInput implements ClientBehaviorHolder {


}

I also have a renderer to display the html code.


Thanks in advance,
Pieter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: valueChangeListener for custom component