This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSF and the fly likes how can i add item to list box dynamicall Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "how can i add item to list box dynamicall " Watch "how can i add item to list box dynamicall " New topic
Author

how can i add item to list box dynamicall

biny panackal
Ranch Hand

Joined: Apr 12, 2007
Posts: 72
How can i add data to the select box from been..
Please help me to sort out form this problem.


Biny Balan
binypanackal@gmail.com
Rafael Fagundes
Ranch Hand

Joined: Sep 23, 2004
Posts: 52
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!


Thanks,
Rafa
Rafael Fagundes
Ranch Hand

Joined: Sep 23, 2004
Posts: 52
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can i add item to list box dynamicall
 
Similar Threads
dymamic generate text input field
Adding horizontal scroll bars to list box
JavaScript Problem
adding items to jcombo box
how can i add select box dynamically in html form using javascript