GeeCON Prague 2014*
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


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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: valueChangeListener for custom component