Hi,
Does anyone know if its possible to have nested forms on a JSP? Essentially
have a html form, then another form within it.
Thanks,
Suzy
On Tue, Feb 26, 2008 at 2:11 PM, Suzy Fynes
[EMAIL PROTECTED] wrote:
Does anyone know if its possible to have nested forms on a JSP? Essentially
have a html form, then another form within it.
Unless something changed while I wasn't looking, nested forms are not
allowed in HTML.
http
--- Suzy Fynes [EMAIL PROTECTED] wrote:
Does anyone know if its possible to have nested forms on a JSP? Essentially
have a html form, then another form within it.
AFAIK that would be invalid HTML (and wouldn't make any sense anyway).
Dave
Are you trying to submit to different urls with different submit buttons?
musachy
On Tue, Feb 26, 2008 at 4:20 PM, Dave Newton [EMAIL PROTECTED] wrote:
--- Suzy Fynes [EMAIL PROTECTED] wrote:
Does anyone know if its possible to have nested forms on a JSP? Essentially
have a html form
Suzy Fynes [EMAIL PROTECTED] wrote:
nested forms
What is it that you're trying to achieve?
If you have some inputs you want to appear in several forms the two
simplest solutions would be 1 to have multiple forms and add javascript
to copy values from one into hidden fields in the other just
.
Thanks
Suzy
-Original Message-
From: Dale Newfield [mailto:[EMAIL PROTECTED]
Sent: February 26, 2008 4:26 PM
To: Struts Users Mailing List
Subject: Re: [struts] [OT] Re: Multiple / Nested Forms
Suzy Fynes [EMAIL PROTECTED] wrote:
nested forms
What is it that you're trying to achieve
/ Nested Forms Date: Tue, 26 Feb 2008 16:29:55 -0500
Cheers guys, I'm trying to submit two forms but one of the forms requires
calculated values from the second so was wondering if it was possible to put
one form within the other. Thanks Dale, I'll go with the javascript
option of copying
--- Andy [EMAIL PROTECTED] wrote:
In the example below, it would be nice to submit the inner form and then in
the inner action class have available the inner form and the outer form,
and to do so without having to manually copy over each field. Any creative
ideas? :)
So if I have:
I dont have that but I was trying to describe the concept Im going for.
Thoughts appreciated.
Date: Tue, 26 Feb 2008 14:11:53 -0800 From: [EMAIL PROTECTED] Subject: RE:
[struts] [OT] Re: Multiple / Nested Forms To: user@struts.apache.org ---
Andy [EMAIL PROTECTED] wrote: In the example
On 10/13/06, Peter L. Berghold [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks,
I have a real newbie question here.
I've looked at various on line tutorials on this subject and for
whatever reason I can't seem to wrap my head around this. My questions
are two
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Puneet Lakhina wrote:
This is where you could use indexed or mapped properties.
http://struts.apache.org/1.x/struts-taglib/indexedprops.html
And as for generating this form.. Dont think you need full fledged
AJAX.. DHTML javscript to generate
On 10/14/06, Peter L. Berghold [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Puneet Lakhina wrote:
This is where you could use indexed or mapped properties.
http://struts.apache.org/1.x/struts-taglib/indexedprops.html
And as for generating this form.. Dont think
No i was wrong works as i thought it would
Need to iterate through the values of the dishes map
public Object[] getDishes() {
return map.values().toArray();
}
%-- var could be anything the index us the important bit --%
c:forEach var=dish items=${course.dishes} varStatus=index
%-- get the
-Ursprüngliche Nachricht-
Von: Mark Lowe [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 25. Juni 2004 09:33
An: Struts Users Mailing List
Betreff: Re: 2 deep nested forms (solution to 2 dimensional arrays with struts html
tags)
No i was wrong works as i thought it would
Need to iterate through
: Freitag, 25. Juni 2004 09:33
An: Struts Users Mailing List
Betreff: Re: 2 deep nested forms (solution to 2 dimensional arrays
with struts html tags)
No i was wrong works as i thought it would
Need to iterate through the values of the dishes map
public Object[] getDishes() {
return map.values
-Ursprüngliche Nachricht-
Von: Mark Lowe [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 25. Juni 2004 09:33
An: Struts Users Mailing List
Betreff: Re: 2 deep nested forms (solution to 2 dimensional arrays
with struts html tags)
No i was wrong works as i thought it would
Need to iterate through
A question came up the other week/month where someone nesting 2 deep
and was trying to use a 2 dimesional array. I had the some problem
today and had my chance to combine indexed and mapped properties to
solve the problem.
I want to create a Restaurant Menu editor. So a menu has a few
Not quite.. hang on.
On 25 Jun 2004, at 00:14, Mark Lowe wrote:
A question came up the other week/month where someone nesting 2 deep
and was trying to use a 2 dimesional array. I had the some problem
today and had my chance to combine indexed and mapped properties to
solve the problem.
I want
No needs a rethink .
indexed=true uses whatever iteration tags that its between.. Arses,,
drat and double drat.
On 25 Jun 2004, at 00:27, Mark Lowe wrote:
Not quite.. hang on.
On 25 Jun 2004, at 00:14, Mark Lowe wrote:
A question came up the other week/month where someone nesting 2 deep
and
19 matches
Mail list logo