Yes, indeed. I need only to update the zone named ubigeosZone (which is
inside another zone)
Regards

On Thu, Feb 10, 2011 at 1:08 PM, Mark [via Tapestry] <
ml-node+3379591-751562805-147...@n5.nabble.com> wrote:

> 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 <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=3379591&i=0>>
> 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<http://tapestry.1045711.n5.nabble.com/Tapestry-5-zone-inside-a-form-tp3379144p3379144.html?by-user=t>
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden 
> > email]<http://user/SendEmail.jtp?type=node&node=3379591&i=1>
> > For additional commands, e-mail: [hidden 
> > email]<http://user/SendEmail.jtp?type=node&node=3379591&i=2>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=3379591&i=3>
> For additional commands, e-mail: [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=3379591&i=4>
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://tapestry.1045711.n5.nabble.com/Tapestry-5-zone-inside-a-form-tp3379144p3379591.html
>  To unsubscribe from Tapestry 5 zone inside a form, click 
> here<http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3379144&code=YXRjYWNoQGdtYWlsLmNvbXwzMzc5MTQ0fDkxMDA2MDA1>.
>
>



-- 
Alexis Tcach

-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-zone-inside-a-form-tp3379144p3379626.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

Reply via email to