File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Change values on dynamic generated components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Change values on dynamic generated components" Watch "Change values on dynamic generated components" New topic

Change values on dynamic generated components

Hoffmann, Chris

Joined: Dec 05, 2008
Posts: 3
I�m new in JSF and get the task to create a Chat based on JSF 1.2 and the RichFaces framework. Now I get a problem with the buddy administration. The idea is to use a PanelMenu. Later, each PanelMenuItem should contain one buddy. In addition, the chat users are able to change their status e.g. available, incognito� Before I try to change the icon, I try to change the label from a PanelMenuItem. Unfortunately it�s not working. So, my question: How can I change values on dynamic generated components?

In the code below I try to change the label from �First Value� to �Second Value�. But it�s not working.

Can someone help? Thanks

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Welcome to JavaRanch!

We're pleased to have you here with us here on the ranch, but there are a few rules that need to be followed. One is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. Initials are OK for the first and middle names but not the last. You can change it here

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
It is sorta covered in the JavaRanch Style Guide.
subject: Change values on dynamic generated components
Similar Threads
dynamic panel grid binding
Bean request Scope won't Call method
actionlistener for selectBooleanCheckbox doubt?
How to add new text boxes and check boxes dynamically when clicking on button in JSF
selectOneMenu from database