myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kröger <d...@cinetic21.de>
Subject Accessing JSP action var attribute from normal JSP expression or action
Date Wed, 23 Aug 2006 10:18:34 GMT
Hi all,

I'm a bit confused since the description of the var attribute for the 
dataTable action says it's the request scope variable that holds the 
current row object.

But the following exemplary code doesn't work anyway:

<h:dataTable value="#{children}" var="child">
   <h:column>
     <h:outputText value="#{child.name}"/>
     <f:verbatim>${child.name}</f:verbatim>
   </h:column>
</h:dataTable>

So is there any other way to access the current var attribute from a 
normal JSP expression or action?

Any help would be apreciated.

Cheers,
Daniel


Mime
View raw message