Usin a list of DynaBean and not specifiying any column, the column are choosed randomly ---------------------------------------------------------------------------------------
Key: DISPL-405 URL: http://jira.codehaus.org/browse/DISPL-405 Project: DisplayTag Issue Type: Improvement Reporter: daniele Priority: Minor I'm passing a list of DynaBeans as table model. <display:table name="requestScope.result" export="true" sort="list" pagesize="20" class="tableReport"> I do not specify any columns within the display:table tag because it's able to dinamically retrieve them. But it's seems to retrieve them in a random order. I developed a DynaClass implementation that return properties in a predefined order. So, e.g., calling getDynaProperties() return an array of properties whose names are, let's suppose, "A", "B", "C", "D" in this very order. When the table is rendered, though, the columns are "C", "A", "B", "D". I think it will be good if the columns would be the same as returned from the getDynaProperties() of the DynaClass. -- 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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel