Make sure each zone has a unique DOM id. So something like:

<table t:type="grid" source="messages" model="model" row="msg">
      <t:parameter name="idCell">
      <  a t:type="actionlink" t:id="review" context="msg.id" 
zone="prop:outputZoneId">
          action


      <div>
          <t:zone id="${outputZoneId}" t:id="output"></t:zone>
      </div>
        </t:parameter>

 </table>

where your java file has:

public String getOutputZoneId() {
        return uniqueIdForThisRow;
}

Cheers,
Joost





On 13/01/11 10:26 AM, Angelo C. wrote:
Hi,

I have a grid with a actionLink in each row, it links to a zone, it works.
but the zone's location is fixed in the first row, is there way to put the
zone in each row ? Thanks,

Angelo

<table t:type="grid" source="messages" model="model" row="msg">
       <t:parameter name="idCell">
       <  a t:type="actionlink" t:id="review" context="msg.id" zone="output">
           action


       <div>
           <t:zone t:id="output"></t:zone>
       </div>
  </table>


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

Reply via email to