velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claude Brisson" <cla...@savoirweb.com>
Subject Re: How to add a table row dynamically ?
Date Tue, 10 Sep 2002 13:30:09 GMT
Kalyan, you could try Velosurf.

The situation you describe is almost similar to the sample I give in
http://velosurf.sourceforge.net/velosurf-0.5/docs/index.html

By the way, Geir, would it be possible to reference Velosurf on the Powered By list ?

With the following description ?

Velosurf is a database mapping tool for the Velocity template engine. It is meant for ease-of-use,
genericity and efficiency, well
suited for small and medium sized projects. Velosurf can be easily integrated within an application
(or a web-app) and can also
appear as a standard velocity tool.

That would be very nice...

CloD

----- Original Message -----
From: "Geir Magnusson Jr." <geirm@optonline.net>
To: <velocity-user@jakarta.apache.org>
Sent: mardi 10 septembre 2002 13:53
Subject: Re: How to add a table row dynamically ?


> On 9/9/02 6:22 PM, "Kalyan Bhattacharya" <kbhattacharya@openlatitude.com>
> wrote:
>
> > Hello
> >
> > I have a .vm file. This displays a table with 2 columns. I have to generate
> > an additinal row in the same table each time a button on a page gets
> > clicked. How to build this functionality using Velocity ? Any idea will be
> > highly appreciated.
>
> Velocity isn't going to be the answer for making new entries in your
> database - that would be your servlet code that will do that.
>
> You will probably want to set up a form on the page, and let the servlet
> handle the resulting request when the button is clicked.  Then you add your
> row, and then redisplay the page with the new dataset.
>
> Is that along the lines of what you are looking for?
>
> --
> Geir Magnusson Jr.
> Research & Development, Adeptra Inc.
> geirm@adeptra.com
> +1-203-247-1713
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message