Multiple / Nested Forms

2008-02-26 Thread Suzy Fynes
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

Re: Multiple / Nested Forms

2008-02-26 Thread Wendy Smoak
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

[OT] Re: Multiple / Nested Forms

2008-02-26 Thread Dave Newton
--- 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

Re: [OT] Re: Multiple / Nested Forms

2008-02-26 Thread Musachy Barroso
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

Re: [struts] [OT] Re: Multiple / Nested Forms

2008-02-26 Thread Dale Newfield
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

RE: [struts] [OT] Re: Multiple / Nested Forms

2008-02-26 Thread Suzy Fynes
. 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

RE: [struts] [OT] Re: Multiple / Nested Forms

2008-02-26 Thread Andy
/ 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

RE: [struts] [OT] Re: Multiple / Nested Forms

2008-02-26 Thread Dave Newton
--- 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:

RE: [struts] [OT] Re: Multiple / Nested Forms

2008-02-26 Thread Andy
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

Re: Nested forms.

2006-10-13 Thread Puneet Lakhina
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

Re: Nested forms.

2006-10-13 Thread Peter L. Berghold
-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

Re: Nested forms.

2006-10-13 Thread Puneet Lakhina
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

Re: 2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-25 Thread Mark Lowe
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

AW: 2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-25 Thread René Zbinden
-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

Re: AW: 2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-25 Thread Mark Lowe
: 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

Re: AW: 2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-25 Thread Mark Lowe
-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

2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-24 Thread Mark Lowe
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

Re: 2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-24 Thread Mark Lowe
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

Re: 2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-24 Thread Mark Lowe
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