Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3519899
By: rherrick
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!
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249318
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user