New feature required to access "UI representation of the tabledata model displayed" in the code in Http Session -----------------------------------------------------------------------------------------------------------------
Key: DISPL-558 URL: http://jira.codehaus.org/browse/DISPL-558 Project: DisplayTag Issue Type: New Feature Components: Tag Library Affects Versions: 1.1 Reporter: SENTHILKUMAR CHANDRASEKARAN Fix For: 1.1 Attachments: displaytag.tld, TableTag.java My name is Senthil Chandrasekaran and I work at JDSU in Germantown, MD as a software developer. Recently, we have downloaded DisplayTag 1.1 and found out that we required a feature to access "UI representation of the data object displayed" in the code in Http Session and use it for further processing. So, we made a simple code change as described in the following example. I have attached the two changed files for your review. Please let me know if we can commit this change to public domain. If we are allowed to do so, please let me know the procedure. Changed Files: The following files will be affected: org/displaytag/tags/TableTag.java /WEB-INF/tld/displaytag.tld (tag library definition file). Change Description Copy the table model into HttpSession for the application code to fetch the UI representation of the data. The advantage is that the developer can have the access to this tablemodel data and he/she can process the data further in the format required for reporting. A new attribute called "outputAttr" is added to the table tag. <display:table name="sessionScope.data" outputAttr= "tablemodel" > <display:column property="region" /> <display:column property="attempt" total="true" /> <display:column property="success" total="true" /> <display:column property="deny" total="true" /> <display:column property="failure" total="true"/> <display:column property="commfail" total="true"/> <display:column property="timeout" total="true"/> <display:column property="badaid" total="true" /> <display:column property="vt1aid" total="true"/> <display:column property="fract1" total="true" /> </display:table> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel