[ 
https://jira.jboss.org/browse/RF-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Belaevski resolved RF-4476.
--------------------------------

    Fix Version/s:     (was: 4.0.0.M1)
       Resolution: Out of Date


a4j:loadScript is excluded from 4.x as JSF 2 has h:outputScript. 

> Prototype.js loaded twice when using a4j:loadScript together with components 
> which requests prototype too.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: RF-4476
>                 URL: https://jira.jboss.org/browse/RF-4476
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.2.2
>            Reporter: josef adamcik
>            Assignee: Nick Belaevski
>
> When I use <a4j:loadScript src="resource://prototype.js" /> (mentioned in 
> demo application 
> http://livedemo.exadel.com/richfaces-demo/richfaces/script.jsf?c=loadScript&tab=usage
>  ) and some component loads Prototype too, it results in two different script 
> urls (and two script tags in document header):
> /a4j/g/3_2_2.GAorg.ajax4jsf.javascript.PrototypeScript.faces
> and:
> /a4j/g/3_2_2.GAprototype.js.faces
>       
> -> script is loaded downloaded and included twice.
> Commonly it doesn't cause problem, but sometimes it can broke prototype in IE 
> 6 (not tested other versions). (There was problem with suggestion box 
> throwing errors on some methods from script.aculo.us in my case.)

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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to