Well, I attempted an implementation of the statusVar attribute. I created a TableStatus bean with one property, rowCount. I added a statusVar attribute to the table bean, and created the bean in initParameters. As a test I set the rowCount value to always be -1, and tried running the following JSP code:

<display:table name="test" statusVar="status">
<c:out value="${status.debugName}"/>
<display:column property="name" /> <c:out value="${status.rowCount}"/>
<display:column property="occupation" /> <c:out value="${status.rowCount}"/>
</display:table>


I know the bean is being accessed, as I get debug messages from my getters (I get 4 calls to the getRowCount method in fact), the table displays correctly, but the values never get placed on the page itself. Any ideas? I'm guessing its something to do with how the table tag treats the body of the table tag itself...

sam



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to