If you describe how you want to manipulate the data, we might be able to suggest a JSF-based solution. If you need to use scriptlets and jstl, you're probably not doing things in a JSF-compatible way.
If you are determined to use jstl or c:forEach, you might need to upgrade to JSF 1.2 or use facelets with myfaces as there's better jstl support using those viewhandlers. On 12/22/05, Ravi Gidwani <[EMAIL PROTECTED]> wrote: > This certainly puts restriction on that way we want to manipulate the data. > i opted to use <c:foreach> instead :( > > > > > On 12/22/05, Mathias Brökelmann <[EMAIL PROTECTED]> wrote: > > I don´t know if you can use jstl or scriptlets in datatables. > > > > The scope of the var is equal to request but is only available during > > the iteration of the datatable. > > > > 2005/12/22, Ravi Gidwani <[EMAIL PROTECTED]>: > > > HI All: > > > I am using Myfaces 1.1.1 and I have a data table as shown below: > > > > > > <h:dataTable id="detailsTable" styleClass="detailsTable" > var="node" > > > value="#{sessionScope.getNodes.childNodes}"> > > > .......</h:dataTable> > > > > > > > > > I would like to know: > > > 1) if can access the "var" (node) in JSTL or Scriptlets. > > > 2) what scope is the "var"(node) screated in ? > > > > > > TIA > > > ~Ravi Gidwani > > > > > > > > > -- > > Mathias > > > >