• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Velocity template - populating with form values

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic