• Post Reply Bookmark Topic Watch Topic
  • New Topic

Velocity template - populating with form values

 
Ruth Marx
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'd really appreciate some help on this one.
I'm using a *.vm file to generate an xml request. The elements in the request are populated from parameters passed from a html form. I have a series of checkboxes whose values I want to pass to the velocity/xml template. Here's a snippet of the template which I want to populate:


So say I have a 5 checkboxes on my form and the user checks 3 of them, how to I pass the values to this template so that the vas:RespondWith> tag is only generated 3 times?

Thanks in advance,

Ruth
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!