On Tue, Dec 17, 2013 at 12:02 AM, Matthias Wegner <[email protected]> wrote:
Hi Devs,
i like to create dynamic list inside a page with
{{velocity}}
{{html}} <form action="" id="song"> Song: <input type="text" name="name" value="Name of the song" /> <input type="button" value="Add Song" onclick='this.form.submit();'> </form> {{/html}}
#if($request.getParameter("song")); $response.sendRedirect($doc.getURL('view')) #end $request.getParameter("name") {{/velocity}}
I want to place some text-lines and they should be displayed in a table. Is there an example which already use something similar?
It's not clear (for me at least) what you want to achieve. Do you need a list (as per the mail subject) or a table (as per the previous paragraph)? What do you want to put in the list/table? I don't see the relation between the pasted code and the mail topic. Are you trying to display the songs in a list/table? What's the meaning of the 'song' parameter? You use 'name' for the song name so I don't know what 'song' is. Hope this helps, Marius
Regards, Matthias
-- View this message in context: http://xwiki.475771.n2.nabble.com/List-with-HTML-Form-tp7588413.html Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs