Gregg
On 6/20/06, Ian Johnson <[EMAIL PROTECTED]> wrote:
First off, you probably need to use the UISelectMany, and then use _javascript_ to select all of the items before submitting the form, you know something like this:var selectList = document.getElementById(selectListId);
for(var i = 0;i < selectList.length;i++)
{
selectList.options[i].selected = true;
}
From: Gregg Bolinger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 20, 2006 8:08 AM
To: MyFaces Discussion
Subject: Get All Values of SelectOneListBoxCan anyone suggest the best way to get all the values of an HtmlSelectOneListbox in the managed bean? I have a page where I need to add keywords to a category so I have an inputText and I use _javascript_ to add inputed keywords into the list box. But I am unclear on how to get all of those values when I submit the page.
Thanks.

