I noticed that before I replied. Good luck!
Regards, David -----Original Message----- From: A. Lotfi [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 5:26 PM To: Struts Users Mailing List Subject: RE: display tag ?? Thank you David, that's not my JSPs, that's from source code of that web site : http://displaytag.homeip.net/displaytag-examples-1.1/example-nocolumns.jsp David Friedman <[EMAIL PROTECTED]> wrote: I think your JSP skills are a little rusty because the JSP page source code you included spelled it out for you: 1) Import the class org.displaytag.sample: 2) Instantiate a new "ReportList" class (from the above package) and save it in request scope under the name "test" request.setAttribute( "test", new ReportList(6) ); 3) Use a displaytag table on the object (in whatever scope) named "test": It might be time to hit the books and refresh your JSP skills (or learn them if you skipped straight from HTML to regular non-JSP Java programming). Good luck! Regards, David -----Original Message----- From: A. Lotfi [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 2:09 PM To: strutsApache Subject: display tag ?? Hi, I found this display tag, but I don't understand where data come from : http://displaytag.homeip.net/displaytag-examples-1.1/example-nocolumns.jsp The source code : xmlns:display="urn:jsptld:http://displaytag.sf.net"> contentType="text/html; charset=UTF-8" /> import="org.displaytag.sample.*" /> flush="true" /> Simplest case, no columns request.setAttribute( "test", new ReportList(6) ); The simplest possible usage of the table tag is to point the table tag at a java.util.List implementation and do nothing else. The table tag will iterate through the list and display a column for each property contained in the objects. Typically, the only time that you would want to use the tag in this simple way would be during development as a sanity check. For production, you should always define at least a single column. page="inc/footer.jsp" flush="true" /> Thank you, your help is appreciated. --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]