[richfaces-issues] [JBoss JIRA] Commented: (RF-1069) Javascript error with Menu

Nicolas Duran (JIRA) jira-events at lists.jboss.org
Fri Oct 5 11:10:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/RF-1069?page=comments#action_12380745 ] 
            
Nicolas Duran commented on RF-1069:
-----------------------------------

Here is the code of the menu page I had:
(pls note that all this code is inside an h:form tag)
..............
				<rich:dropDownMenu id="menu_6"	value="#{menu_messages['menu_Configuracion']}"	  
                                        rendered="#{authenticationBean.myRole['configuracion']}">
					<rich:menuItem id="menu_6_1"
						value="#{menu_messages['menu_GestiondeTarifas']}"
						action="#{menuBean.goToFindFare}"
						rendered="#{authenticationBean.myRole['14']}" />
					<rich:menuItem id="menu_6_2"
						value="#{menu_messages['menu_GestiondeCentrosdeCobro']}"
						action="#{menuBean.gotoFindCollectionCenter}"
						rendered="#{authenticationBean.myRole['4']}" />
					<rich:menuItem id="menu_6_3"
						value="#{menu_messages['menu_GestiondeDescuentosporFormadePago']}"
						action="#{menuBean.goToFindMeansOfPaymentDiscount}"
						rendered="#{authenticationBean.myRole['6']}" />
					<rich:menuItem id="menu_6_12"
						value="#{menu_messages['menu_GestiondeDescuentosporVolumen']}"
						action="#{menuBean.goToFindVolumeDiscount}"
						rendered="#{authenticationBean.myRole['45']}" />
					<rich:menuItem id="menu_6_14"
						value="#{menu_messages['menu_GestiondeListaBlanca']}"
						action="#{menuBean.goToFindWhiteCard}"
						rendered="#{authenticationBean.myRole['51']}" />
					<rich:menuItem id="menu_6_4"
						value="#{menu_messages['menu_GestiondeDivisas']}"
						action="#{menuBean.goToCurrency}"
						rendered="#{authenticationBean.myRole['7']}" />
					<rich:menuItem id="menu_6_5"
						value="#{menu_messages['menu_GestiondeImpuestos']}"
						action="#{menuBean.goToFindTax}"
						rendered="#{authenticationBean.myRole['10']}" />
					<rich:menuItem id="menu_6_13"
						value="#{menu_messages['menu_CalendarioThors']}"
						action="#{menuBean.gotoThorsCalendar}"
						rendered="#{authenticationBean.myRole['46']}" />
					<rich:menuItem id="menu_6_8"
						value="#{menu_messages['menu_GestiondeFormatosdeFichero']}"
						action="#{menuBean.gotoFindFileFormats}"
						rendered="#{authenticationBean.myRole['40']}" />
					<rich:menuItem id="menu_6_9"
						value="#{menu_messages['menu_GestiondeUsuarios']}"
						action="#{menuBean.gotoFindUser}"
						rendered="#{authenticationBean.myRole['40']}" />
					<rich:menuItem id="menu_6_10"
						value="#{menu_messages['menu_GestiondeRol']}"
						action="#{menuBean.gotoFindRol}"
						rendered="#{authenticationBean.myRole['40']}" />
					<rich:menuItem id="menu_6_11"
						value="#{menu_messages['menu_GestiondeMiPassword']}"
						action="gotoModifyPassword" />
				</rich:dropDownMenu>
			</rich:toolBar>
..............

And here's a sample of a page importing it:

<f:view>
	<%@include file="../../my_menu.jsp"%>
         ........
         ........
</f:view>


> Javascript error with Menu
> --------------------------
>
>                 Key: RF-1069
>                 URL: http://jira.jboss.com/jira/browse/RF-1069
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>         Environment: Tomcat 5.5
> JDK 5
> Eclipse 3.2
> IE 6
> RichFaces 3.1.0
>            Reporter: Nicolas Duran
>            Priority: Critical
>         Attachments: screenshot-1.jpg
>
>
> In some pages of my app. when I put the mouse over one of the options a javascript error appear and the menu not longer shows the options inside each Item
> The js error is: Object doesn't support this property or method.
> The menu in my app. is include in every page in the same way. In several pages it works great but in few of them i'm facing this problem.
> Important: I tried this in Mozilla and it works fine, is with IE6 ?
> Any help ???
> Thx.

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