• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can i add item to list box dynamicall

 
biny panackal
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i add data to the select box from been..
Please help me to sort out form this problem.
 
Rafael Fagundes
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

Well, waht you need is (in "general lines"):

1. Premises: you need to make a binding of your select box (and it item list component to the respective html component in your managed bean).
2. Some component of your web page must generate an ActionEvent.
3. In the ActionEvent you will add the "extra data" in your select box component through your item list component (add new itens on it).

Now I do not remember the names of the components and properties and
these are the reasons for which I gave the general lines to you.

Holpe this help!
 
Rafael Fagundes
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

Well, waht you need is (in "general lines"):

1. Premises: you need to make a binding of your select box (and it item list component to the respective html component in your managed bean).
2. Some component of your web page must generate an ActionEvent.
3. In the ActionEvent you will add the "extra data" in your select box component through your item list component (add new itens on it).

Now I do not remember the names of the components and properties and
these are the reasons for which I gave the general lines to you.

Hope this help!

PS: sorry for my bad english!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic