I'm going to allow something pretty much like that soon. Some editors
object to the text there; some don't. I'm going to allow several
variants so that people can use whatever works best with their editor.
I may even allow completely different grammars eventually as well.
WebMacro Servlet Framework
http://webmacro.org
Justin
Quoting Rogatkin, Dmitry ([EMAIL PROTECTED]):
> Why you don't enclose WebMacro specific construction in HTML comment like:
> <table>
> <tr>
> <td><b>Item</b></td>
> <td><b>Cost</b></td>
> </tr>
> <!--#foreach $product in $inventory {-->
> <tr>
> <td>$product.name</td>
> <td>$product.cost</td>
> </tr>
> <!--}-->
> </table>
> ?
> My HTML editor tries to do well formed HTML from your templates and breakes
> the template?
>
> Dmitry.
> ----- Original Message -----
> From: Justin Wells <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, May 20, 1999 11:10 AM
> Subject: Re: to Show the Table in HTML
>
>
> > If you are using a good template system, it will akkow you to build
> > the table in the template. With WebMacro:
> >
> > <table>
> > <tr><td><b>Item</b></td><td><b>Cost</b></td></tr>
> > #foreach $product in $inventory {
> > <tr><td>$product.name</td><td>$product.cost</td</tr>
> > }
> > </table>
> >
> > where you've done something like this in the servlet:
> >
> > Vector productList = ...;
> > templateContext.put("inventory:, productList);
> >
> > You can get WebMacro for free here:
> >
> > http://webmacro.org
> >
> > Justin
> >
> >
> > Quoting akashmaheshwari ([EMAIL PROTECTED]):
> > > hi all,
> > > i am using Servlets for showing tables.
> > > i hv the html templates and in the output i
> > > want to stuff my data in the html templates
> > > any body can give me some clue how should go for
> > > it
> > > regards
> > > akash
> > >
> > >
> ___________________________________________________________________________
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > > of the message "signoff SERVLET-INTEREST".
> > >
> > > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > > Resources: http://java.sun.com/products/servlet/external-resources.html
> > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
> >
> ___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html