• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how can i add item to list box dynamicall

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic