myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nuno Marques <nuno.filipe.marq...@gmail.com>
Subject Re: Does Ajax4jsf permit references to compounded bean properties(i.e., "Bean.prop1.prop2") for values?
Date Sat, 04 Nov 2006 20:57:42 GMT
Yes, I just tested it with a simple example from the ajax4jsf site.

I didn't use the SelectOneMenu, I just used a inputText, but since they
both use the same PropertyResolver, I assumed it works.

On Fri, 2006-11-03 at 18:12 -0600, Stephen Osella wrote:
> No.  It is initialized.  I do that in the constructor.  Does this work for 
> you?
> 
> ----- Original Message ----- 
> From: "Nuno Marques" <nuno.filipe.marques@gmail.com>
> To: "MyFaces Discussion" <users@myfaces.apache.org>
> Sent: Friday, November 03, 2006 4:35 PM
> Subject: Re: Does Ajax4jsf permit references to compounded bean 
> properties(i.e., "Bean.prop1.prop2") for values?
> 
> 
> > Maybe prop1 hasn't been initialized and is null.
> >
> > On Fri, 2006-11-03 at 16:29 -0600, Stephen Osella wrote:
> >> I am using reference compounded bean reference as the value a 
> >> selectOneMenu.
> >> That is,
> >>
> >> <h:selectOneMenu id="myMenu" value="#{Bean.prop1.prop2}">
> >>
> >> This does not seem to work.  However,
> >>
> >> <h:selectOneMenu id="myMenu" value="#{Bean.prop3}">
> >>
> >> works.  Can someone verify this?  Is there a reason for this?
> >>
> >> Thanks!
> >> 
> 


Mime
View raw message