Hi Am trying to add a virtual column to a grid (an action link for deleting a record) but its not appearing on the grid. Whats wrong with this code:
<html t:type="layout" t:title="Show all contacts" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:p="tapestry:parameter"> <div class="span-6"> <div t:type="menu"/> </div> <div class="span-16"> <t:grid t:source="contacts" row="contact"> <p:deletecell> <t:actionlink t:id="delete">delete</t:actionlink> </p:deletecell> </t:grid> </div> </html> package com.josh.addressbook.pages; import java.util.List; import org.apache.tapestry5.annotations.Property; import org.apache.tapestry5.ioc.annotations.Inject; import com.josh.addressbook.entities.Contact; import com.josh.addressbook.services.Dao; public class ShowAll { @Inject private Dao dao ; @Property private Contact contact ; public List<Contact> getContacts(){ return dao.getAll(); } } king regards. Josh