[richfaces-issues] [JBoss JIRA] Reopened: (RF-9304) Context Menu - Java Script Error
Adam Zak (JIRA)
jira-events at lists.jboss.org
Thu Oct 21 09:53:54 EDT 2010
[ https://jira.jboss.org/browse/RF-9304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Zak reopened RF-9304:
--------------------------
Sorry for waiting to my reaction, I was working on another project.
When I was preparing problem description, I tried to build a page without my project layout template.
I noticed that there is no Java Script problem and component Context-menu works. I tried to found a reason of this situation.
I found that one component (hide in my layout) from Tomahawk - inputDate is causing a problem, when using on the same page <t:inputDate> and component from richfaces there will be a conflict in Java Script "layer".
Solution to my problem is to change <t:inputDate> into <rich:calendar>
Thanks for trying to solve a problem. I'm happy that I found a solution. Earlier I tried to find it for 2 days.
> 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.2.SR1, 3.3.3.Final
> 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
> Assignee: Nick Belaevski
>
> 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
More information about the richfaces-issues
mailing list