You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Grzegorz Mrowka (JIRA)" <ta...@jakarta.apache.org> on 2006/11/22 14:33:03 UTC

[jira] Created: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

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


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


[jira] Commented: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Grzegorz Mrowka (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=comments#action_12454597 ] 
            
Grzegorz Mrowka commented on TAPESTRY-1159:
-------------------------------------------

The problem still exists :( 
After Ajax response two JavaScript errors saying "missing ; before statement".
Rollover component is still not working properly.
mouseOver / mouseOut events are handled only for the first Rollover component on the page.

> 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
>
>
> 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


[jira] Resolved: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]

Jesse Kuhnert resolved TAPESTRY-1159.
-------------------------------------

    Fix Version/s: 4.1.1
       Resolution: Fixed

Added ";" , though it is odd this would blow up . eh..

> 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
>
>
> 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


[jira] Resolved: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]

Jesse Kuhnert resolved TAPESTRY-1159.
-------------------------------------

    Resolution: Fixed

Finally! Sorry for making you suffer for so long. Things should work now. (or , in an hour or so after I deploy the changes.)

> 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


[jira] Updated: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Grzegorz Mrowka (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]

Grzegorz Mrowka updated TAPESTRY-1159:
--------------------------------------

    Attachment: Test.java

> 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, 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


[jira] Commented: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Grzegorz Mrowka (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=comments#action_12454776 ] 
            
Grzegorz Mrowka commented on TAPESTRY-1159:
-------------------------------------------

Here you are :)

> 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


[jira] Commented: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Grzegorz Mrowka (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=comments#action_12452618 ] 
            
Grzegorz Mrowka commented on TAPESTRY-1159:
-------------------------------------------

The problem still exists, but now there are two JavaScript errors.
One more ";" is missing, maybe after anonymous block of code 
if (document.images){...} ?
but I am not sure.
And another strange thing happend - in the result page "\n" are passed over.

> 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
>
>
> 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


[jira] Updated: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Grzegorz Mrowka (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]

Grzegorz Mrowka updated TAPESTRY-1159:
--------------------------------------

    Attachment: palette_deselect.gif

> 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, 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


[jira] Reopened: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]

Jesse Kuhnert reopened TAPESTRY-1159:
-------------------------------------

             
Arghh. heh Do you have a test case or example perhaps?

> 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
>
>
> 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


[jira] Commented: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Grzegorz Mrowka (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=comments#action_12452619 ] 
            
Grzegorz Mrowka commented on TAPESTRY-1159:
-------------------------------------------

This fix made another bug.
Rollover component is not working properly.
mouseOver / mouseOut events are not handled.

> 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
>
>
> 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


[jira] Updated: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Grzegorz Mrowka (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]

Grzegorz Mrowka updated TAPESTRY-1159:
--------------------------------------

    Attachment: Test.html

> 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, 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


[jira] Commented: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Grzegorz Mrowka (JIRA)" <ta...@jakarta.apache.org>.
    [ 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


[jira] Reopened: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]

Jesse Kuhnert reopened TAPESTRY-1159:
-------------------------------------

             

> 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


[jira] Updated: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Grzegorz Mrowka (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]

Grzegorz Mrowka updated TAPESTRY-1159:
--------------------------------------

    Attachment: palette_deselect_dis.gif

> 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


[jira] Resolved: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]

Jesse Kuhnert resolved TAPESTRY-1159.
-------------------------------------

    Resolution: Fixed

Ah I see. The Rollover component had a <unique> specification in it's script file that was preventing it from writing out all the blocks for each individual link! Oops... 

> 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


[jira] Reopened: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]

Jesse Kuhnert reopened TAPESTRY-1159:
-------------------------------------

             

> 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
>
>
> 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


[jira] Resolved: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]

Jesse Kuhnert resolved TAPESTRY-1159.
-------------------------------------

    Resolution: Fixed

To be pushed out sometime later today . 

> 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
>
>
> 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


[jira] Assigned: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]

Jesse Kuhnert reassigned TAPESTRY-1159:
---------------------------------------

    Assignee: Jesse Kuhnert

> 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
>
> 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