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:

Code:

*.vm template 

<?xml version="1.0" encoding="UTF-8"?>
<SOAP:Envelope
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/";><SOAP:Body
xmlns:ds="http://www.w3.org/2000/09/xmldsig#";
xmlns:vas="http://www.xyz.com/xyz/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
.
.
.
<vas:RespondWith>$xyz</vas:RespondWith>
<vas:RespondWith>$xyz</vas:RespondWith>
<vas:RespondWith>$xyz</vas:RespondWith>
<vas:RespondWith>$xyz</vas:RespondWith>
<vas:RespondWith>$xyz</vas:RespondWith>
<vas:RespondWith>$xyz</vas:RespondWith>


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
-- 
View this message in context: 
http://www.nabble.com/Velocity-template---populating-with-form-values-tf4142566.html#a11783876
Sent from the Velocity - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to