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

Reply via email to