Hi there !

I am trying to connect a dojo SortableTable via the @EventListener annotation to Tapestry (4.1.1, latest build from svn).

In my component html file I have something like this:

<table id="addressTable" dojoType="SortableTable" widgetId="tableWidget" headClass="fixedHeader" tbodyClass="scrollContent" enableMultipleSelect="false" enableAlternateRows="true" rowAlternateClass="alternateRow" cellpadding="0" cellspacing="0" border="0">

   ...

   </table>

Inside my component I have the following annotation:

@EventListener(events="onSelect", elements="addressTable")

So now I am trying to get an event to Tapestry when a row is clicked (firing 'onSelect' inside the SortableTable-Widget) - or even better - when a row is double clicked, passing a parameter (getValue) to the listener ....

I think I have tested every combination of html-code/eventlistener etc. (like doing <table jwcid="[EMAIL PROTECTED]" element="table" id="...., changing elements="addressTable" to targets="addressTable" etc.).

I trying to do so the whole evening - without effort :(

So is it possible to connect a plain dojo-widget to Tapestry this way ? Or am I totally wrong ?

Would by great to get some response  :)

Thank you in advance !

Bye,
Gary




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to