[richfaces-issues] [JBoss JIRA] Resolved: (RF-1103) RF's menu.js nasty conflict with Thickbox' javascript

Sergey Halipov (JIRA) jira-events at lists.jboss.org
Fri Oct 12 05:26:03 EDT 2007


     [ http://jira.jboss.com/jira/browse/RF-1103?page=all ]

Sergey Halipov resolved RF-1103.
--------------------------------

    Resolution: Won't Fix

Thickbox script are based on jQuery library, but Richfaces are based on Prototype library. jQuery and Prototype don't work when both are installed together.
Try to add jQuery.noConflict(); JS code to your page at any point after jQuery and Prototype have both loaded. This dirty hack has helped me to make menu work.
Details: http://groups.google.com/group/rubyonrails-spinoffs/browse_thread/thread/1489c6376edca91a/28a0160419c4e1e9

> RF's menu.js nasty conflict with Thickbox' javascript
> -----------------------------------------------------
>
>                 Key: RF-1103
>                 URL: http://jira.jboss.com/jira/browse/RF-1103
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.1
>         Environment: Tomcat 6.0.13 RF 3.1.2 snapshot from 11/09/2007 (the same error on 3.1.0), Seam 2.0.CR2
>            Reporter: Przemyslaw Jaskierski
>         Assigned To: Sergey Halipov
>             Fix For: 3.2.0
>
>
> When on one page there are both rich:dropDownMenu, rich:menuItem and Thickbox (http://jquery.com/demo/thickbox/) script enabled, dropDownMenu is not working (not dropping). 
> Firebug error log (produced)
> this.layer.getElementsByTagName is not a function
> initialize("j_id5:j_id41_menu", 50, 800)
> create()
> in 
> menu.js (line 63)

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

        



More information about the richfaces-issues mailing list