I am trying to build a form with many options in it such as textfields etc
AND have a dropdown box(select/propertyselection) with an onchange submit.
I did this by having the onchange submit submit the form and use the
listener with the form and the actuall submit button use a different
listener.
It all works fine but I need the submit from the onchange one to go to an
anchor in the page so when they choose something different in the dropdown
and it submits and changes the page for that area, it goes back to that area
and not to the top of the page.
What I did was created a new form with an anchor binding. It works fine but
seems to only accept the binding that is first used when the page is
rendered and not the binding after it is submitted.
Thanks,
James
----- Original Message -----
From: "Kristian Marinkovic" <[EMAIL PROTECTED]>
To: "Tapestry users" <tapestry-user@jakarta.apache.org>
Sent: Tuesday, April 18, 2006 12:47 PM
Subject: RE: Forms in forms
Hi James,
i don't know what you want to achieve but the HTML/XHTML specification
says, that a FORM may not contain another FORM element
http://www.w3.org/TR/html401/interact/forms.html
greetings,
kris
"James Sherwood"
<[EMAIL PROTECTED]
utions.com> An
"Tapestry users"
18.04.2006 17:37 <tapestry-user@jakarta.apache.org>
Kopie
Bitte antworten Thema
an Forms in forms
"Tapestry users"
<[EMAIL PROTECTED]
karta.apache.org>
Is there a way to accomplish having a form inside a form.
Basically I want to do something like this:
<form1>
<textarea/>
<form2><select onchangesubmit/></form2>
<submit/>
</form1>
Is this possible?
Thanks,
James
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]