This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes Retrieve handles to JSF Elements from Managed Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Retrieve handles to JSF Elements from Managed Bean" Watch "Retrieve handles to JSF Elements from Managed Bean" New topic
Author

Retrieve handles to JSF Elements from Managed Bean

Mic Maus
Greenhorn

Joined: Nov 13, 2009
Posts: 1
Hi there!

I just started playing with JSF (using RichFaces) and I want to implement my own filter function for <rich:columns> In the example below you can only specify a value for <h:inputText> of type String. When I set this value from the Managed Bean, each column gets the same value.



I guess the best way to set a predefined filter value from the bean (at initialisation) is to get a reference to the ID of the <h:inputText>, which is different for each column here

Does anybody know if this is possible and how to do this?

Thanks in advance,
Mic
 
Consider Paul's rocket mass heater.
 
subject: Retrieve handles to JSF Elements from Managed Bean