Jonathan,
First of all, this is really a struts-user question, rather than one for
developers...
If there are fields you need to submit, but you don't want corresponding
values in the bean, then don't create bean properties for those fields. It's
as simple as that.
There is no forced association between requests and beans. You can ignore
form beans if you want, and query the request directly for parameters.
--
Martin Cooper
----- Original Message -----
From: "Jonathan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 2:32 PM
Subject: Are form tags tied to beans?!!!
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?