struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <maili...@matthias-wessendorf.de>
Subject RE: Integrating displaytag with struts
Date Fri, 18 Jun 2004 11:24:23 GMT
Hari,

i have an action.clazz that "loads" a collection
and adds the coll to request under key "myCollection"
after that it forwards to a jsp

here is my *simple* jsp.file

<%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display" %>


<display:table name="myCollection" defaultsort="1"
requestURI="strutsActuinThatLoadsData.do">
  <display:column property="foo" sortable="true"/>
  <display:column property="bar" sortable="true"/>
  <display:column property="yetAnOtherPropertyOfTheBeanInMyCollection"
sortable="true"/>
</display:table>

note, you are now albe (with requestURI) to store the jsp-files
under WEB-INF

Hope that helps you

> -----Original Message-----
> From: Hari Saptoadi [mailto:hari_s@indonesian-aerospace.com] 
> Sent: Thursday, June 17, 2004 11:07 AM
> To: Struts Users Mailing List
> Subject: Integrating displaytag with struts
> 
> 
> Hi all.....
> i want to use displaytag for replace logis:iterate tag
> is it "name"  in display:table  tag have same function  with 
> "property" in logic:iterate ? if not, how can i set data that 
> i want to display in my jsp ? 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message