HughScott
Dec 19th, 2007, 09:10 AM
Can I use a <form:input> tag to render data to the browser, but not have it bind when the form is submitted by the user?
The "readonly" attribute prohibits the user from editing the field, but it's still submitted in the request.
I'm looking for a custom tag or attribute to <form:input> that prevents binding. I realize I can always code a standard HTML <input> tag, along with a value="" scriptlet, but am looking for a solution that integrates well with the <form:form> tag.
Thanks in advance.
Hugh
The "readonly" attribute prohibits the user from editing the field, but it's still submitted in the request.
I'm looking for a custom tag or attribute to <form:input> that prevents binding. I realize I can always code a standard HTML <input> tag, along with a value="" scriptlet, but am looking for a solution that integrates well with the <form:form> tag.
Thanks in advance.
Hugh