You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rachel <we...@rachelandrew.co.uk> on 2003/04/14 00:10:14 UTC

RE: forms, taglibs and properties - newbie unsure how to approach

>
>Make properties of your Struts form bean that match all of the hidden fields
>you need.  Pre-populate the form bean with those values, and then just do:
>
>   <html:hidden property="gatewayRequiredField" />
>
>and let the framework fill in the "value".

thanks for that :)

what do I do about the action attribute of a form that goes to an external 
website - if I try to set it <html:form name="payment" method="post" 
action="https://www.externalsite.com">

then it errors because it obviously can't find a mapping for that action as 
its somewhere on an external site.

Rachel



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org