myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Müllan" <bierbra...@gmail.com>
Subject Re: Advice
Date Thu, 21 Sep 2006 19:55:26 GMT
Ok sorry; I haven not read your post carefully enough. In myfaces it
is a select one menu
(combo box).

The most easiest way is the one you suggested; add:
onchange="this.form.submit()" and the changeListener should be called.

regards,

Gerald

On 9/21/06, urswagner@bluemail.ch <urswagner@bluemail.ch> wrote:
>
> I have two listboxes, the second is empty. When I select in the
> first one an item, I would like to fill the second one. Could someone
> give me an eays solution how I can realize this.
>
>       <h:selectManyListbox value="#{sell.assortments}" size="6"
> immediate="true"
>                         valueChangeListener="#{sell.assortmentChange}">
>           <f:selectItems value="#{sell.assortmentChoice}" />
>         </h:selectManyListbox></td>
>       <td><h:selectManyListbox value="#{sell.categories}" size="6"
> >
>           <f:selectItems value="#{sell.categoryChoice}" />
>         </h:selectManyListbox>
>
>
> Urs
>


-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Mime
View raw message