Re: Freemarker list with multiple lines
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Friday, August 28, 2009, 10:22:49 AM, Llorenzaccio wrote: > In fact, when I try to do this, the 2nd row is not displayed under the first > row, as I imagined it would, but it is displayed as if it was a new table, > seemingly unrelated to the first row. > > I'd like something like this : > > row 1.1 > row 1.2 > > row 2.1 > row 2.2 > ... > > Instead, I have this : > > row 2.1 row 2.2 row 2.3... > > row 1.1 > row 1.2 > row 1.3 > ... Well, FreeMarker only generates text, so it definitely won't do any HTML magic. So, did you look at the HTML that it generates (rather than at the template)? I mean, the source of it, you know, the tags. > > > sanjashish wrote: >> >> Please be more specific .As you can have as many rows ,you require. >> >> On Wed, Aug 26, 2009 at 9:31 PM, Llorenzaccio<[email protected]> >> wrote: >>> >>> Hello, >>> I am currently doing this : >>> >>> <table> >>> <#list blah as b> >>> <tr> >>> <td>...</td> >>> <td>...</td> >>> </tr> >>> </#list> >>> </table> >>> >>> But I'd like to do this, however it doesn't work : >>> >>> <table> >>> <#list blah as b> >>> <tr> >>> <td>...</td> >>> <td>...</td> >>> </tr> >>> <tr> >>> </tr> >>> </#list> >>> </table> >>> >>> Why can't I have 2 (or more) table rows for each element of the list ? >>> -- >>> View this message in context: >>> http://www.nabble.com/Freemarker-list-with-multiple-lines-tp25151435p25151435.html >>> Sent from the freemarker-user mailing list archive at Nabble.com. >>> >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> 30-Day >>> trial. Simplify your report design, integration and deployment - and >>> focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> FreeMarker-user mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/freemarker-user >>> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> FreeMarker-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/freemarker-user >> >> > -- Best regards, Daniel Dekany ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ FreeMarker-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freemarker-user