Did you try
  onmouseover="ognl: 'highlight(true,
\''+auditInProgress.datasourceUniqueId+'\')' "
right now, I'm not sure how to correctly escape the single-quotes but you
definitely have to start with the "ognl: " binding-prefix.
Apart from that, if my ognl-expressions start getting fancy, I usually move
them into page-Methods ...

hth,
Marcus

> -----Original Message-----
> From: Tony Herstell [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 06, 2005 6:26 AM
> To: 'Tapestry users'
> Subject: Issue with Javascript and a ForEach loop
> 
> 
> <TR bgcolor="#f0f0f0" id="ognl:auditInProgress.datasourceUniqueId"
> onmouseover="highlight(true, 
> 'ognl:auditInProgress.datasourceUniqueId')"
> onmouseout="highlight(false, 
> 'ognl:auditInProgress.datasourceUniqueId')"
> jwcid="@Foreach" element="TR" source="ognl:auditsInProgress"
> value="ognl:auditInProgress">
> 
> 
> This works: 
> id="ognl:auditInProgress.datasourceUniqueId"
> 
> 
> These:
> onmouseover="highlight(true, 
> 'ognl:auditInProgress.datasourceUniqueId')"
> don’t work.. and it seems no variant does either (have tried a few!).
> 
> There must be an easy solution...
> 
> Thanks in advance...
> 
> 
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.13.11/191 - Release 
> Date: 2/12/2005
>  
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to