Hi all,

Another newbie question here.  I'm working with a StrutsForm that holds 
checkbox selections in a String[] as I normally do when working with struts.

In the form, I'm having difficulty pre-selecting checkbox options that the user 
set on a previous request, so far I have....

                                #set ( $index = 0 )
                                #set ( $interestOptions = ["snowboarding", 
"skiing", "mountain biking"] )
                                

                                #foreach( $interest in $interestOptions )
                                
                                        <input type="checkbox" 
name="interestsDisplay" value="$interest" #if (fillInTheBlanks) selected 
#end>$interest</input>                                                  
                                        
                                        #set ( $index = $index + 1 )
                                #end

Can somebody please tell be how I 'fillInTheBlanks'? Or point me to a resource 
on the web that would help me, I can't find a think on the velocity site.

Many thanks

Robin

====================================================================
This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this e-mail and you are not a named
addressee, please inform Landmark Information Group on 01491 413030
and then delete the e-mail from your system. If you are not a named
addressee you must not use, disclose, distribute, copy, print or rely 
on this e-mail. This email and any attachments have been scanned for
viruses and to the best of our knowledge are clean. To ensure 
regulatory compliance and for the protection of our clients and 
business, we may monitor and read e-mails sent to and from our 
servers.


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

Reply via email to