myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Andersson" <mail.mi...@gmail.com>
Subject Re: Advice please, updated model via valueChange event not render the way I thought
Date Wed, 05 Apr 2006 12:01:18 GMT
Thanks,
that's great will give that try that now.

Grazie,
 Mikael

On 05/04/06, Mario Ivankovits <mario@ops.co.at> wrote:
>
> Hi!
> > The updated values of the Map strings in the params object are correct
> > when displayed with a outputText component. But when used with an
> > inputText component the value isn't updated.
> You'll find a valueChangeNotifier in tomahawk sandbox which will fix
> your problem.
>
> A jsp example:
>       <h:selectOneMenu value="#{notifierBean.selectedCategory}"
> onchange="submit()">
>
>           <s:valueChangeNotifier method="#{notifierBean.valueChange}" />
>           <f:selectItems value="#{notifierBean.categories}" />
>
>       </h:selectOneMenu>
>
> In contrast to the valueChangeListener the valueChangeNotifier will be
> called later so that you can change your model values.
>
> Ciao,
> Mario
>
>

Mime
View raw message