the rendered attribute is one of those guys which is (or has been)
causing problems everywhere. I know that you can use expressions
there, so it shouldn't be a problem to have a reference to an
alias-bean as a value for this attribute...

but I am not the programmer of the aliasBean, that would be Sylvain, I think...

any thoughts on that in this corner?

regards,

Martin


On Wed, 19 Jan 2005 10:15:06 -0800, Amit Modi <[EMAIL PROTECTED]> wrote:
>  
>  
> 
> Hi, 
> 
>   
> 
> Can someone from the MyFaces developer group please tell me whether this is
> a known issue or am I doing something stupid here? 
> 
> Your help would be greatly appreciated. 
> 
>   
> 
> Thanks 
> 
> Amit Modi 
> 
>   
>  
>  ________________________________
>  
> 
> From: Amit Modi 
>  Sent: Monday, January 17, 2005 3:37 PM
>  To: MyFaces Discussion
>  Subject: x:aliasBean and rendered attribute 
> 
>   
> 
> Hi, 
> 
>   
> 
> X: aliasBean doesn't work for a command Button's rendered attribute. 
> 
>   
> 
> I get this error only when I try to reference an aliased bean in rendered
> attribute. It works fine when used in other attributes. 
> 
>   
> 
> 2005-01-17 15:14:45,801 [http-8080-Processor25] WARN
> org.apache.myfaces.el.VariableResolverImpl - Variable 'MyAliasedBean' could
> not be resolved. 
> 
>   
> 
> Is it a known issue? Are there any workarounds? 
> 
>   
> 
> Thanks 
> 
> Amit Modi 
> 
>   
> 
>   
> 
>   
> 
>   
> 
> ----------------------------------------------------------------------- 
> 
> The code I am using 
> 
>   
> 
> <x:aliasBean sourceBean="#{MyBean}" alias="#{MyAliasedBean}"> 
> 
> <h: commandButton value=" Next" action="#{MyAliasedBean.next}"
> rendered="#{!MyAliasedBean.lastPage}"/>                          
> 
> </x:aliasBean> 
> 
>   
> 
>   
> 
>   
> 
> IMPORTANT: The information contained in this e-mail message is confidential
> and is intended only for the named addressee(s). This message may be
> protected by the attorney/client privilege. If the reader of this e-mail
> message is not the intended recipient (or the individual responsible for the
> delivery of this e-mail message to the intended recipient), please be
> advised that any re-use, dissemination, distribution or copying of this
> e-mail message is prohibited. If you have received this e-mail message in
> error, please reply to the sender that you have received this e-mail message
> in error and then delete it. Thank you. 
> 
>

Reply via email to