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:[EMAIL PROTECTED] 
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to