You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dave <ja...@yahoo.com> on 2005/09/11 04:05:33 UTC
assign a new value
Can I use <x:saveState> to assign a new value that will be picked up by backing bean of next page?
I saw usage:
<x:saveState value="#{backingBean.XYZ"}
This way I can not assign a new value to XYZ.
Thanks, Dave
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: assign a new value
Posted by Dave <ja...@yahoo.com>.
>> You could use it to copy a value from one bean to another
Can I assign value from one bean to another different bean?
I am trying to find the documentation for <x:saveState>.
Mike Kienenberger <mk...@gmail.com> wrote:
You could use it to copy a value from one bean to another, but since
t:saveState doesn't allow you to specify a value, but only allows you
to move it into and out of the component tree state holder, I can't
see how you'd use it as a general purpose assigner.
On 9/10/05, Dave wrote:
> Can I use to assign a new value that will be picked up by
> backing bean of next page?
> I saw usage:
> > This way I can not assign a new value to XYZ.
>
> Thanks, Dave
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: assign a new value
Posted by Mike Kienenberger <mk...@gmail.com>.
You could use it to copy a value from one bean to another, but since
t:saveState doesn't allow you to specify a value, but only allows you
to move it into and out of the component tree state holder, I can't
see how you'd use it as a general purpose assigner.
On 9/10/05, Dave <ja...@yahoo.com> wrote:
> Can I use <x:saveState> to assign a new value that will be picked up by
> backing bean of next page?
> I saw usage:
> <x:saveState value="#{backingBean.XYZ"}
> This way I can not assign a new value to XYZ.
>
> Thanks, Dave
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com