Hello. I'm trying to get an object from a row grid component. The object is a
very complex object that has not an id or a DAO to deal with.

------------

<t:grid source="results" row="member" add="operation">
    <p:operationCell>
        <t:actionlink t:id="view" context="member">View</t:actionlink>
    </p:operationCell>
</t:grid>

------------

public class Index
{
    @Property
    private EntityB _member;

    public List getResults(){...}

    public Object onActionFromView(EntityB obj){....}

....
}

------------

In all examples I've seen, the context parameter in the grid is used with
the id of the object, so that you can recover the full object afterwards.
However, in my situation, we cannot use this approach.

What are the alternatives to get the full object in the grid?. Any idea will
be welcomed.

Thank you in advance


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/getting-the-object-in-a-row-from-a-grid-component-tp5687588.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to