Salut,
i need a conditional operation inside tobago's sheet-tag(table),
allows me to enable a specific line layout, that in turn driven
by a bean attribute in a list.
It looks like this:
The data is read out of a List<showLineTO>, where showLineTO has
an atrrtibute, that will determine the layout of the shown line in the
table. The sheet value is feeded with the List<showLineTO>, that
works without any problem.
Ok here's the jsp-code:
<tc:sheet value="#{listviewer.showLines}" id="sheet"
columns="1*;1*;1*;1*;1*;1*"
var="currentLine"
[... deleted...]
selectable="single" >
<c:choose>
<c:when test="#{currentLine.booleanBeanAttrib1}">
<tc:column label="#{overviewBundle.selsyslst_lst_nameId}"
id="t_sysId"
sortable="true">
<tc:out value="#{currentLine.prName}" id="v_sysId"/>
</tc:column>
[....]
</c:when>
<c:when test="#{currentLine.booleanBeanAttrib2}">
</c:when>
<c:otherwise>
</c:otherwise>
... and so on.
The problem here is, that the jstl expression inside
<c:when test="#{currentLine.booleanBeanAttrib1}">
does not work. I also tried something with ${currentLine.booleanBeanAttrib1
..}
but this failed too. I simply want to access the currentLine attribute, in
order
implement some variable table lookout.
Also, the
<c:out value="${viewerTo.currentLine.booleanBeanAttrib1}"/>
showd notging, regardless iff viewerTo has a request or a session scope.
Does somebody has an idea, what i did wrong ?
Thanks in advance, Groovy
--
View this message in context:
http://www.nabble.com/-TOBAGO--Usging-jstl-tags-inside-a-tobago-sheet-tag-tp20297480p20297480.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.