You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Geoff Longman (JIRA)" <ta...@jakarta.apache.org> on 2005/07/26 17:47:20 UTC

[jira] Commented: (TAPESTRY-443) Template Parsing Regression

    [ http://issues.apache.org/jira/browse/TAPESTRY-443?page=comments#action_12316771 ] 

Geoff Longman commented on TAPESTRY-443:
----------------------------------------

The real question is: Why is the TapestryParser working over a <script> as if it has a jwcid attribute?

> Template Parsing Regression
> ---------------------------
>
>          Key: TAPESTRY-443
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-443
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>     Reporter: Scott Walter
>     Priority: Blocker

>
> I have this snippet of javascript in one of my pages:
> 	<script>
> 		function changeTool() {
> 			
> 			for(i = 0; i<5;i++) {
> 				toolDiv = document.getElementById("tool" + i);
> 				if(i==document.$Form$0.$PropertySelection.selectedIndex) {
> 					toolDiv.style.visibility = "visible";
> 					toolDiv.style.display = "block";
> 				} else {
> 					toolDiv.style.visibility = "hidden";
> 					toolDiv.style.display = "none";					
> 				}
> 			}
> 		}
> 	</script>
> This worked under beta 2, but failes under beta 3 with:
> Tag <5;i++)> on line 12 contains more than one 'toolDiv.style.visibility' attribute.
> I should be able to set the value of an attribute more than once.

-- 
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org