Make your entire onmouseover attribute an expression.

onmouseover="<%="MM_swapImage('details"+counter+"," ... %>"

You can have plain text or a run-time expression as an attribute, but not both. Hope this helps.

Nick

mucus snot wrote:

Hi list,

Just wondering if anyone has any bright ideas. Things that you can do easily with an <a ...> tag, are not (easily) acheivable with a <html:link>. For instance in the following code:

<nested:iterate id="title" name="<%= Constants.TITLES_COLLECTION %>" scope="request" indexId="counter">
<html:link page="/findtitles.do" onmouseover="MM_swapImage('details<%= counter %>,...)"...
</nested:iterate>


counter will not resolve, although it will if the tag is an ordinary anchor.

Does anyone know a way around this? I have been resorting to using ordinary <a...> tags but have just realised that there is no session control if cookies are disabled. I have to use html:link...

thanks, al




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



Reply via email to