tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Mrowka (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Commented: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script
Date Sun, 03 Dec 2006 16:08:21 GMT
    [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=comments#action_12455180 ] 
            
Grzegorz Mrowka commented on TAPESTRY-1159:
-------------------------------------------

Thank you Jesse.
There is still one issue which left. In attach example you can see that images are not swaped
for the last two rollover links.
mouseOver / mouseOut events are still handled only for the first Rollover component on the
page.
I am using Rollover with contrib:table and only first acts properly.

> Rollover component and async DirectLink - Dojo: Error evaluating script
> -----------------------------------------------------------------------
>
>                 Key: TAPESTRY-1159
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1159
>             Project: Tapestry
>          Issue Type: Bug
>          Components: JavaScript
>    Affects Versions: 4.1.1
>         Environment: FF 1.5.0.8
>            Reporter: Grzegorz Mrowka
>         Assigned To: Jesse Kuhnert
>             Fix For: 4.1.1
>
>         Attachments: palette_deselect.gif, palette_deselect_dis.gif, Test.html, Test.java
>
>
> Refreshing nested DOM element after asynchronous request (async DirectLink was used)
containing Rollover element throws
> ERROR: Error evaluating script: 
> //<![CDATA[ 
>  var tapestry._preload = new Array(); 
>  if (document.images) { 
> 	tapestry._preload[0] = new Image(); 
> 	tapestry._preload[0].src = "/MultiPegaz/images/del.gif"; 
> 	tapestry._preload[1] = new Image(); 
> 	tapestry._preload[1].src = "/MultiPegaz/images/del_off.gif"; 
>  } 
>  tapestry.mouseOver_$Rollover=function() { 
> 	if (document.images) document.getElementById('$Rollover').src = tapestry._preload[0].src;

>  } 
>  tapestry.mouseOut_$Rollover=function() { 
> 	if (document.images) document.getElementById('$Rollover').src = tapestry._preload[1].src;

>  } 
> //]]> 
> [SyntaxError: missing ; before statement]
> There is no ; after each anonymous function definition

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message