Is it possible to add dynamicaly assigned javascript link? I need to
redirect to DETAIL page via <td onclick="" >....
Something like this:
HTML:
<table border="1">
<tr jwcid="customerList">
<td onclick="javascript:alert('linkToPage');"><span
jwcid="customerId">001</span></td>
</tr>
</table>
PAGE:
<component id="customerList" type="For">
<binding name="source" value="customerList"/>
<binding name="value" value="currentCustomer"/>
<binding name="element" value="literal:tr"/>
<binding name="class" value="beans.evenOdd.next"/>
</component>
<component id="customerId" type="Insert">
<binding name="value" value="currentCustomer.customerId"/>
</component>
Thanks in advance
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]