Yes I know, but I want some of the attributes to be dynamic

----- Original Message ----- 
From: "Ted Husted" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 8:56 PM
Subject: Re: Are form tags tied to beans?!!!


> You can mix and match the html:form tags with the standard HTML form
> tags. So, just code <input type="hidden" .. into your form. 
> 
> The html:form tags are a handy way to prepopulate the HTML form elements
> from a bean. But they are only a means to an end. If you don't need to
> prepopulate the field, then you don't need to use a html:form tag.
> 
> If for any reason you wanted to pass a "flag" bean to your form, to set
> that dynamically, you could also pass a second form ActionForm bean. The
> default is to use the bean tied to the Action path, but you can also
> overide that on a tag by tag basis.
> 
> > Jonathan wrote:
> > 
> > I need to dynamically fill a form with values.  The problem is that
> > <html:text> and other form tags REQUIRE the attribute "property".
> > However, there may be fields that I submit that I DONT want to be
> > values in the bean.  For example, I may want to add a hidden field
> > that is NOT a value in the bean, but merely a "flag" in the request.
> > How is this done in a clean way, considering that the form tags all
> > require "property" as an attribute, and that value must be a member
> > value in a bean?
> 

Reply via email to