I'm using JSP 2.0 with the built-in EL eval. So I've got displaytag-12.tld set up and everything works fine, except that I can't address the implicit row object through EL. EL is definitely functioning in this environment, so it's not a bigger issue. It's specifically related to accessing the implicit row object in display tables.
So I have something like this:
<display:table name="model.leads" id="lead">
<display:column>
${lead_rowNum}:
<c:choose>
<c:when test="${lead == null}">
LEAD IS NULL
</c:when>
<c:otherwise>
LEAD IS NOT NULL
</c:otherwise>
</c:choose>
${lead.leadNumber}
</display:column>
<display:column property="leadName"/>
</display:table>
I know that this is finding my list of items because I get a display for the leadName column. But for the lead_rowNum and any properties on the lead object, I get null. So the resulting table looks like this:
LEAD IS NULL Customer, Name
I also know that EL is working in my pages, since I have a number of other bits of data displayed throughout the page using EL on maps and various beans. Why can I not address the implicit objects directly through EL?
Any help would be greatly appreciated!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using JSP 2.0 with the built-in EL eval. So I've got displaytag-12.tld set up and everything works fine, except that I can't address the implicit row object through EL. EL is definitely functioning in this environment, so it's not a bigger issue. It's specifically related to accessing the implicit row object in display tables.
So I have something like this:
<display:table name="model.leads" id="lead">
<display:column>
${lead_rowNum}:
<c:choose>
<c:when test="${lead == null}">
LEAD IS NULL
</c:when>
<c:otherwise>
LEAD IS NOT NULL
</c:otherwise>
</c:choose>
${lead.leadNumber}
</display:column>
<display:column property="leadName"/>
</display:table>
LEAD IS NULL Customer, Name
I also know that EL is working in my pages, since I have a number of other bits of data displayed throughout the page using EL on maps and various beans. Why can I not address the implicit objects directly through EL?
Any help would be greatly appreciated!