On Jun 13, 2005, at 3:53 PM, Anthony Fox wrote:

I would like to use an ognl expression to generate arguments in an
XTile component a la :

<span jwcid="[EMAIL PROTECTED]:XTile" listener="ognl:listeners.decodeRecord"
sendName="sendRecordViewRequest" receiveName="recvRecordView"/>

<table>
 ...
   <span jwcid="[EMAIL PROTECTED]">
      <a href="#" onclick="sendRecordViewRequest(
ognl:components.tableRows.tableRow[0] )">

"ognl:" is a prefix, so you need it at the beginning....

onclick="ognl:'sendRecordViewRequest(' + components.tableRows.tableRow[0] + ')'"

Erik



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

Reply via email to