On Mon, 14 Nov 2011 16:38:59 -0200, campino <alexander.kie...@tspin.de> wrote:

Hey Guys,

Hi!

I've a problem with nested zones. I am trying to build something like the
Facebook Newsstream.
<t:zone t:id="commentZone" id="commentZone" elementName="div" visible="false">

You're giving the same client-side id for many rendered divs. This isn't correct and it's probably the source of your problem. You'll probably need to use the ZoneManager JavaScript class instead, as you need to decide the zone to rerender in JavaScript, not when the page itself is rendered.

Hint: instead of <t:zone elementname="div">, you can write <div t:type="Zone">

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to