[ http://jira.codehaus.org/browse/DISPL-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
fabrizio giustina resolved DISPL-520. ------------------------------------- Resolution: Not A Bug Fix Version/s: 1.1.1 You should not use the EL version of displaytag in container which support native evaluation of EL functions (jsp 2.0) like WAS 6.1. Just use the non EL version. > EL features working on page but not in EL version of DisplayTag > --------------------------------------------------------------- > > Key: DISPL-520 > URL: http://jira.codehaus.org/browse/DISPL-520 > Project: DisplayTag > Issue Type: Bug > Components: Tag Library > Affects Versions: 1.1.1 > Reporter: Greg Bishop > Priority: Minor > Fix For: 1.1.1 > > Original Estimate: 8 hours > Remaining Estimate: 8 hours > > I am using WAS 6.1 (RAD 7.0 ) Struts 1.3, Tiles 2.0. > I set the JSP compilation version to 1.5 by modifying the appropriate > ibm-web-ext.xmi file. > I think I have all the required libraries (display tag works, but not with el > expressions). > This gets results (there's 1 result): > <display-el:table name="requestScope.searchContactResults" > class="cssDefaultDataGrid" defaultsort="1" > requestURI="/searchCompany.do" pagesize="40" export="true" > sort="list" id="testid"> > <display-el:column property="displayName" > title="Contact Name" > sortable="true" sortProperty="fileAs" > maxLength="35" style="width:15%;" > headerClass="cssDefaultDataGridHeader" > href="/pss/getContact.do" paramId="contactId" > paramProperty="contactId" /> > </display-el:table> > This does not: > <display-el:table name="${searchContactResults}" > class="cssDefaultDataGrid" defaultsort="1" > requestURI="/searchCompany.do" pagesize="40" export="true" > sort="list" id="testid"> > <display-el:column property="displayName" > title="Contact Name" > sortable="true" sortProperty="fileAs" > maxLength="35" style="width:15%;" > headerClass="cssDefaultDataGridHeader" > href="/pss/getContact.do" paramId="contactId" > paramProperty="contactId" /> > </display-el:table> > neither does > ${requestScope.searchContactResults}" > What I get instead is "No records found.' > (coming from displaytag.properties): > basic.msg.empty_list=No records were found. > I'm using Tiles 2, Struts 1.3, JDK 1.5. > Here are my JARS: > antlr-2.7.2.jar > bsf-2.3.0.jar > commons-beanutils-1.7.0.jar > commons-chain-1.1.jar > commons-collections-3.1.jar > commons-digester-1.8.jar > commons-fileupload-1.1.1.jar > commons-io-1.1.jar > commons-lang-2.3.jar > commons-logging-api-1.1.jar > commons-validator-1.3.1.jar > displaytag-1.1.1.jar > displaytag-export-poi-1.1.1.jar > displaytag-portlet-1.1.1.jar > itext-1.3.jar > jcl104-over-slf4j-1.4.2.jar > jstl-1.1.2.jar > junit-3.8.1.jar > log4j-1.2.15.jar > oro-2.0.8.jar > poi-3.0.1-FINAL-20070705.jar > poi-contrib-3.0.1-FINAL-20070705.jar > poi-scratchpad-3.0.1-FINAL-20070705.jar > slf4j-api-1.4.2.jar > slf4j-log4j12-1.4.2.jar > standard-1.0.6.jar > struts-core-1.3.8.jar > struts-el-1.3.8.jar > struts-extras-1.3.8.jar > struts-faces-1.3.8.jar > struts-mailreader-dao-1.3.8.jar > struts-scripting-1.3.8.jar > struts-taglib-1.3.8.jar > struts-tiles-1.3.8.jar > tiles-api-2.0.5.jar > tiles-core-2.0.5.jar > tiles-jsp-2.0.5.jar > There's no servlet.jar listed. > Not needed in JSP 2.0 because it's now built in I think. > Other EL expressions on the page are working, for instance: > <% > java.util.List<com.harcourt.its.ecat.model.Contact> Contacts2 = > (java.util.List<com.harcourt.its.ecat.model.Contact>)request.getAttribute("searchContactResults"); > if(Contacts2!=null){ > out.println("Contacts Size: " + Contacts2.size()); > } > java.util.List Contacts = > (java.util.List)request.getAttribute("searchContactResults"); > if(Contacts!=null){ > out.println("2 Contacts Size: " + Contacts.size()); > } > out.println(System.getProperty("java.version")); > %> > > Gives the output: > Contacts Size: 1 > 2 Contacts Size: 1 > 1.5.0 > This page used to work in WAS 5.1 and RAD 6.0. Any suggestions or ideas? > -G -- 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 ------------------------------------------------------------------------------ _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel