Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Change values on dynamic generated components

 
Hoffmann, Chris
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Fleabite",
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic