Hi, I have a table, one of the row (<tr>) has been included in a Zone. But when I ajax-update this zone, I see that this zone is removed from the table and is displayed in a div just before the table. Why this modification at zone update ? And how to prevent it ?
Or put zone on the <tr>, like in the examples. http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/eventlinksinaloop http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/formsinaloop On 23 Sep 2014, at 9:42 pm, Boris Horvat <ho...@gmail.com> wrote: > Html doesn't supprit div or any other tag in the middle of the table so > browser will remove it. I have learned that the hard way. > > You have 3 options. > > Dont use table. > Use ajaxformloop. > Put zone inside the <td> > On 23 Sep 2014 12:02, "squallmat ." <sq...@gmail.com> wrote: > >> Hi, >> >> I have a table, one of the row (<tr>) has been included in a Zone. But when >> I ajax-update this zone, I see that this zone is removed from the table and >> is displayed in a div just before the table. >> Why this modification at zone update ? And how to prevent it ? >>
Html doesn't supprit div or any other tag in the middle of the table so browser will remove it. I have learned that the hard way. You have 3 options. Dont use table. Use ajaxformloop. Put zone inside the <td> On 23 Sep 2014 12:02, "squallmat ." <sq...@gmail.com> wrote: > Hi, > > I have a table, one of the row (<tr>) has been included in a Zone. But when > I ajax-update this zone, I see that this zone is removed from the table and > is displayed in a div just before the table. > Why this modification at zone update ? And how to prevent it ? >
Here are 2 working examples you can use as a reference point: http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/eventlinksinaloop http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/formsinaloop Cheers, Geoff On 23 Sep 2014, at 8:01 pm, squallmat . <sq...@gmail.com> wrote: > Hi, > > I have a table, one of the row (<tr>) has been included in a Zone. But when > I ajax-update this zone, I see that this zone is removed from the table and > is displayed in a div just before the table. > Why this modification at zone update ? And how to prevent it ? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org For additional commands, e-mail: users-help@tapestry.apache.org