myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iordanov, Borislav \(GIC\)" <bo...@miamidade.gov>
Subject RE: f:attribute problem
Date Fri, 15 Sep 2006 16:33:29 GMT
Well, thanks, but still, isn't that a bug in f:attribute?

Don't want to use tomahawk tags at this time, especially when there shouldn't be a need.

-----Original Message-----
From: Thorbjørn Ravn Andersen [mailto:thunderaxiom@gmail.com] 
Sent: Friday, September 15, 2006 12:29 PM
To: MyFaces Discussion
Subject: Re: f:attribute problem

Iordanov, Borislav (GIC) skrev  den 15-09-2006 18:25:
> Hi,
>
> Given the code:
>
>     <h:commandLink id="cmdSelectFromSearch">
>       <h:outputText value="#{sRequest.id}"/>    
>       <f:attribute name="serviceRequestId" value="#{sRequest.id}"/>    
>     </h:commandLink>
>
> The value of #{sRequest.id} in the outputText tag is correctly evaluated
> (it displays), but not so for the f:attribute where the evaluation
> returns null. Any idea why? I need to attach this attribute to the
> command component as a parameter to my action listener (not shown here).
>   
I use t:updateActionListener to do this.

Works well.
-- 
  Thorbjørn

Mime
View raw message