You probably want to update only the zone field that needs to be updated. If you update the entire form when a particular piece of information in it changes, you are going to have to make sure you have a strategy for submitting the information and getting it back into the form.
You can put a zone inside a form. I'm not sure why it would be giving you an error unless you have something nested funny. Mark On Thu, Feb 10, 2011 at 5:25 AM, atcach <atc...@gmail.com> wrote: > > Hi, > > I have a form and inside it I have a country/city/etc selection. > The form is inside a zone. > When calling the onSelected for make the change of the country/city, when > returning I loose the other form data. How can I keep it ? > I think a zone inside the form would help, but I am getting: > Form components may not be placed inside other Form components. > The Ubigeos type is just a component with other selects that are filled from > the pais select > My .tml is > > <t:zone t:id="datosPersonalesZone"> > > <form t:type="form" t:id="formulariodatospersonales" > t:zone="datosPersonalesZone"> > > <t:errors/> > > > Sexo: <select t:type="Select" t:id="sexo" > t:value="actual.sexo" model="sexo" /> > País: <input t:type="Select" t:id="pais" model="paises" > t:value="pais" t:zone="ubigeosZone"/> > > <t:zone t:id="ubigeosZone"> > <input t:type="Ubigeos" t:id="ubigeo_nacimiento" > t:ubigeo="ubigeoNacimiento" > t:zone="ubigeosZone"/> > </t:zone> > </form> > > Regards ! > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Tapestry-5-zone-inside-a-form-tp3379144p3379144.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org