I am attempting to use the jquery/bind mixin with a datatable, but not having 
success.
The relevant code is below. Basically I want to click a row and have it create 
a tapestry event, with the fileID.
I have tested and found the event occurs, but I can't seem to pass the fileID 
context.
Any ideas?


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

<t:jquery.datatable id="dataTable" 

  t:mixins="jquery/bind" bind.event="datatableclick" bind.eventType="click" 
bind.zone="theZone" bind.context="${currRow.fileID}"
include="..." >
</t:jquery.datatable>

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


    @Persist
    @Property
    private OutboundFile currRow;

    @InjectComponent
    private Zone theZone;


    @OnEvent("datatableclick") 
    public Object onDatatableClickEvent(String value) {
        System.out.println("value: " + value);
        return theZone.getBody();
    }   

Reply via email to