Context Menu - Java Script Error
--------------------------------

                 Key: RF-9304
                 URL: https://jira.jboss.org/browse/RF-9304
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-menu
    Affects Versions: 3.3.3.Final, 3.3.2.SR1
         Environment: Windows VISTA, NetBeans IDE, Apache Tomcat 6.0.14, IE 7, 
Mozilla FireFox 3.5.11
Project: JSF 1.2 + Facelets + Tomahawk + RichFaces
            Reporter: Adam Zak


When clicking RMB on object with context menu nothing happens.
Firebug console shows Java Script error:
"too much recursion"
[Break on this line]:   
iterator(this[i]);},clear:function(){t...last()!=value:!array.include(value)))  
(very long line)
Line:46 at file:(3_3_3.Finalorg.ajax4jsf.javascript.PrototypeScript)

I also had a problem with calendar component (also with Java Script), but 
excluding scripts by web.xml config helped.
<context-param>
        <param-name>org.richfaces.ExcludeScripts</param-name>
        <param-value>Prototype,Scriptaculous</param-value>
</context-param>
I used:
Prototype JavaScript framework, version 1.6.1 
scriptaculous.js v1.8.3

And calendar now works!

Context menu doesn't work on original js in jar and external scripts


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