Hi,
Velocity renders wrongly while using '#'  in the  options value for
selectfield. I have pasted the code I tried and how velocity rendered it. It
renders as "#Supplemental#ection" instead of "#SupplementalSection". It adds
an additional # in between.

For navigation I want to use # in front of the value so the user can jump to
the respective section.
#foreach ($section in $this.sections)
                <option 
value="#{section.name}Section">$this.sectionLabels($section)
        #end

Rendered Value :
<option value="#Details#ection">Document Details
                        <option value="#Supplemental#ection">Supplemental 
Details

Does anyone know what the right syntax would be to solve this issue. 

Thanks for your help. 
-Vin

-- 
View this message in context: 
http://www.nabble.com/Incorrect-rendering-when-using---in-selectfield-options-value-tf3078167.html#a8552165
Sent from the Velocity - User mailing list archive at Nabble.com.


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

Reply via email to