Hi all,
I have a zone area
<t:zone t:id="work" id="${workId}" class="itRow ${RowOddEven}
itRowTotal">
<div class="itCell itrHeadline itcHoursTask">
<div class="itcTxtWhite">Total Time</div>
</div>
<div class="itCell itrHeadline itcHoursComponent">
<div class="itcTxtWhite"></div>
</div>
<div class="itCell itrHeadline itcHoursType">
<div class="itcTxtWhite"></div>
</div>
<t:loop t:source="weekDates" t:value="currentWeekDay">
<div class="itCell itrHeadline itcHoursWeek ${currentDay}
${weekend}">
<div class="itcTxtWhite">${totalDayTime}</div>
</div>
</t:loop>
<div class="itCell itrHeadline itcHoursTotal">
<div class="itcTxtWhite">${totalWeekTime}</div>
</div>
</t:zone>
And I have an event that triggers a zone updated
ajaxResponseRenderer.addRender(getWorkId(), work);
I guess the way a create a zone id is also important
public String getWorkId() {
return "work" + curretnProjectToTasks.getKey().getIdentityString();
}
However what happens is that I end up with
<div class="itRow itRowOddNoHover itRowTotal t-zone tapestry-zone"
id="work1" style="">
<div class="itRow itRowEvenNoHover itRowTotal t-zone" id="work1">
// the rest of the html that match the original content of the zone
correctly updated
</div>
</div>
Does anyone have any idea what am I doing wrong? Am I updated the zone in a
wrong way?
Thanks
--
Sincerely
*Boris Horvat*