I'm having a little trouble understanding the question.
ji liu wrote:
>when validating form,some problems occured.
>As MVC Model2 suggest,I use a controller to query
>imformations and store them into javabeans.Then the
>javabeans is used by the page which contains a form.
>when the form submits,
On Sun, 2004-08-15 at 00:19, Jacob Weber wrote:
> I have a JSP with two forms, and they both need to go to the same
> action. But Struts assumes that the "name" property of the HTML form
> (e.g. ) should be the same as the name of the
> associated form bean. As a result, I can't use JavaScript
Refer:
http://struts.apache.org/faqs/indexedprops.html
>
>
> Problematic input
>
> property="integer_value" indexed="true"/>
>
>
>
Try the one below:
P
On Friday 13 August 2004 09:40, Jim Barrows wrote:
> > -Original Message-
> > From: Mike Elliott [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 13, 2004 9:33 AM
> > To: [EMAIL PROTECTED]
> > Subject: Read only iterate?
> >
> >
> > I've been totally defeated in my attempt to alter an htm
On Friday 13 August 2004 09:43, Brian Lee wrote:
> Lists work, but you have to write your own set(int index) method to set the
> correct object from the List.
>
> BAL
I still believe that lists work -- it's not lack of belief that's the problem,
it's lack of results. There's some magic involved
On Friday 13 August 2004 09:40, Richard Yee wrote:
> Mike,
> What does the generated HTML look like?
The generated HTML is not the problem; the failure to invoke the set method is
the problem. However, maybe looking at it would provide some insight into
the cause. Anyway, here it is:
Hi,
Has anyone any experience with Struts and Flex
(http://www.macromedia.com/software/flex/ ,
http://www.macromedia.com/devnet/flex/articles/struts.html) that would
like to share ?
How about Struts+XML+(XSLT/Flex) ?
Regards,
Ovidiu
IIRC, the form tag used to have an attribute so you can specify the form
name, though I never used it because I never needed to. It was deprecated
and eventually removed.
Hubert
--- Jacob Weber <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Hubert Rabago <[EMAIL PROTECTED]> wro
In article <[EMAIL PROTECTED]>,
Hubert Rabago <[EMAIL PROTECTED]> wrote:
> There was only one entry for the two similarly named forms. Checking the
> fields of the form showed me that only the latest definition of a form with a
> given name is recognized.
>
> So, you should probably add a formb
Just sharing a simple test I just did.
It looks that you can't have two forms with the same name on one document.
I created a page with two forms with the same name, then checked how the
browser sees them with a quick javascript:
var result = "Forms in this document:\n\n";
for (var i=0; i < docu
I have a JSP with two forms, and they both need to go to the same
action. But Struts assumes that the "name" property of the HTML form
(e.g. ) should be the same as the name of the
associated form bean. As a result, I can't use JavaScript to refer to
one of the forms, since they both have the
Nathan -- try changing the logical to "and"
Nathan Maves wrote:
can you run a check to see if a checkbox has been selected?
This doesn't seem to work for me, where rollable is a checkbox in the
same form. I want this field to be required when the rollable checkbox
is checked.
tes
when validating form,some problems occured.
As MVC Model2 suggest,I use a controller to query
imformations and store them into javabeans.Then the
javabeans is used by the page which contains a form.
when the form submits,the form is validated.If some
errors occured,struts will return to input page.
Hi Manjo,
Have a look at the documentation for the LookupDispatchAction. This should
do what you want.
Regards,
Jeff
- Original Message -
From: "jacob skariah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 14, 2004 8:07 AM
Subject: How to call multiple submits in a
14 matches
Mail list logo