On Sun, 03 Nov 2013 19:21:37 -0200, John <j...@quivinco.com> wrote:

I'm finding that component ids are being corrupted as I switch between jquery tabs which means that these links fail when clicked. They are in loops and should have the correct loop count at the end, but garbage appears to be injected in the middle of the ids when rerendering.

source:
<t:jquery.dialogajaxlink t:id="book" t:dialog="reservationDialogCal" t:context="[currentEvent.event.monthIndex,currentEvent.event.dayNumber,eventNumber]" t:zone="reservationZone" class="availablece" title="${currentEvent.text}">${currentEvent.event.from.time}<br/>${currentEvent.event.to.time}</t:jquery.dialogajaxlink>

original correct rendering
<a title="available" class="availablece" id="book_11" href="#">21:00<br>23:00</a>

incorrect rendering after switching back within a tab
<a title="available" class="availablece" id="book_1421fd014ff_11" href="#">21:00<br>23:00</a>

How to fix this, has anyone seen this before and figured it out?

For every element inside a zone you want to refer to it through its id, like that's the case above, provide an id yourself instead of letting Tapestry do it.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.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