p:submenus diappear too quickly - 3.0.M4 Bug?!?

UI Components for JSF
Post Reply
wabisabi2004
Posts: 5
Joined: 20 Jun 2011, 17:01

30 Nov 2011, 22:23

Hello,

I ran into a strage bug with Menubar component in FireFox 8.0. When I mouse over a menu item, the menu shows up as expected, however, when I move the mouse to pick an item from the menu (i.e. hover away from the initial menu item), the submenu disappears before I can even get to it. This bug doesn't reproduce in IE, and only shows up in FF 8.0.

Please note that it worked just fine before in 3.0.M4 and what's even more strange it works fine in the showcase-labs: http://www.primefaces.org/showcase-labs/ui/menubar.jsf

Here is the code:

Code: Select all

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<ui:composition>
	<p:menubar>
		<p:submenu label="Import" icon="ui-icon ui-icon-arrowrefresh-1-s">
			<p:menuitem value="Potential Graduands"
				url="/pages/import/import.xhtml" />
			<p:menuitem value="Results of Session"
				url="/pages/import/ros/import.xhtml" />
			<p:menuitem value="Student Minors"
				url="/pages/import/minors/import.xhtml" />
			<p:menuitem value="Grad Info Cards"
				url="/pages/import/grad-info/import.xhtml" />
			<p:menuitem value="Senate Data"
				url="/pages/import/senate-data/import.xhtml" />
			<p:menuitem value="Dean's Honour List"
				url="/pages/import/deans-honour/import.xhtml" />
			<p:menuitem value="Outstanding Accounts"
				url="/pages/import/outstanding-accounts/import.xhtml" />
			<p:menuitem value="Grad Response"
				url="/pages/import/grad-response/import.xhtml" />
			<p:menuitem value="Payments"
				url="/pages/import/payments/import.xhtml" />
			<p:menuitem value="Thesis Titles"
				url="/pages/import/theses/import.xhtml" />

			<p:separator />

			<p:menuitem value="Academic Structure"
				url="/pages/import/academic/import.xhtml" />
			<p:menuitem value="Available Minors"
				url="/pages/import/academic/minors/import.xhtml" />

		</p:submenu>

		<p:submenu label="Export" icon="ui-icon ui-icon-extlink">
			<p:menuitem value="Diplomas" url="/pages/export/diploma/setup.xhtml" />
			<p:menuitem value="Presenter Cards"
				url="/pages/export/presenter-cards/setup.xhtml" />
		</p:submenu>

		<p:submenu label="Review" icon="ui-icon ui-icon-check">
			<p:menuitem value="View Student Information"
				url="/pages/student/home.xhtml" />
			<p:menuitem value="View Grad Info Card"
				url="/pages/student/gradInfoCard.xhtml" />
			<p:menuitem value="View Response"
				url="/pages/student/gradResponse.xhtml" />
			<p:menuitem value="Grad Info Card Check"
				url="/pages/review/names/home.xhtml" />
			<p:separator />
			<p:menuitem value="Reconcile Import Records"
				url="/pages/review/recon/home.xhtml" />
			<p:menuitem value="Reconcile Payments"
				url="/pages/review/payments/home.xhtml" />
			<p:menuitem value="Assign Students to Convocations"
				url="/pages/review/home.xhtml" />
		</p:submenu>

		<p:submenu label="Reports" icon="ui-icon ui-icon-script">
			<p:submenu label="Summary Reports" icon="ui-icon ui-icon-contact">
				<p:menuitem value="Student Counts Summary"
					url="/pages/reports/student-summary/report.xhtml" />

				<p:menuitem value="Summary of Graduating Students by Faculty"
					url="/pages/reports/faculty-summary/setup.xhtml" />

				<p:menuitem value="Summary of Graduating Students by Degree"
					url="/pages/reports/degree-summary/setup.xhtml" />
			</p:submenu>

			<p:submenu label="Student Reports" icon="ui-icon ui-icon-person">
				<p:menuitem value="All Convocating Students"
					url="/pages/reports/students/setup.xhtml" />
				<p:menuitem value="Students By Convocation"
					url="/pages/reports/students-by-convocation-setup.xhtml" />
				<p:menuitem value="Grad Responses For Missing Grads"
					url="/pages/reports/grad-responses-for-missing-grads.xhtml" />
				<p:menuitem value="Grad Info Cards For Missing Grads"
					url="/pages/reports/info-cards-for-missing-grads.xhtml" />
				<p:menuitem value="Special Characters and Name Mismatch"
					url="/pages/reports/special-students.xhtml" />
				<p:menuitem value="Grad Report by Degree and Program"
					url="/pages/reports/programs/setup.xhtml" />
				<p:menuitem value="Outstanding account diplomas to be mailed"
					url="/pages/reports/outstanding-accounts/report.xhtml" />
				<p:menuitem value="Special Characters in Name or Thesis"
					url="/pages/reports/spec-char/report.xhtml" />
			</p:submenu>

			<p:submenu label="Minors" icon="ui-icon">
				<p:menuitem value="Minors NOT Sent to Faculty"
					url="/pages/reports/minors/not-sent.xhtml" />
				<p:menuitem value="Minors Sent to Faculty"
					url="/pages/reports/minors/sent.xhtml" />
				<p:menuitem value="Minors NOT Returned from Faculty"
					url="/pages/reports/minors/not-returned.xhtml" />
				<p:menuitem value="Minors NOT Approved"
					url="/pages/reports/minors/not-approved.xhtml" />
			</p:submenu>

			<p:menuitem value="Day of Convocation Report"
				url="/pages/reports/day-of-convo/setup.xhtml" />

			<p:menuitem value="Current Convocation Cycle"
				url="/pages/reports/current-cycle-setup.xhtml" />

			<p:menuitem value="Ticket Scenario"
				url="/pages/scenarios/ticket-scenario.xhtml" />

		</p:submenu>

		<p:submenu label="Notifications" icon="ui-icon ui-icon-mail-closed">
			<p:menuitem value="Minors to Faculty"
				url="/pages/notifications/faculty-minors-setup.xhtml" />
		</p:submenu>


		<p:submenu label="Configuration" icon="ui-icon ui-icon-gear">
			<p:menuitem value="Institution" url="/pages/setup/home.xhtml" />
			<p:menuitem value="Convocations" url="/pages/convos/home.xhtml" />
			<p:menuitem value="Admin Groups"
				url="/pages/setup/admin-groups.xhtml" />
			<p:menuitem value="Graduand Standings"
				url="/pages/setup/grad-standings.xhtml" />
			<p:menuitem value="Email Templates"
				url="/pages/setup/mail-templates.xhtml" />
			<p:menuitem value="Move Programs between Convocations"
				url="/pages/convos/move-programs.xhtml" />
		</p:submenu>

	</p:menubar>
</ui:composition>

</html>
What am I doing wrong?

Thanks so much.
PrimeFaces: 3.0.M4; JSF Implementation : Mojarra 2.0.3b; Application Server: JBoss 6.1.0.Final

wabisabi2004
Posts: 5
Joined: 20 Jun 2011, 17:01

30 Nov 2011, 23:11

Just tried it with 3.0.RC1-SNAPSHOT, same problem...
PrimeFaces: 3.0.M4; JSF Implementation : Mojarra 2.0.3b; Application Server: JBoss 6.1.0.Final

wabisabi2004
Posts: 5
Joined: 20 Jun 2011, 17:01

30 Nov 2011, 23:23

Oh, never mind, may be a browser hiccup, may be a CSS-related issue... Changing the application font size to 11pt from 12pt fixed the menus... :?
PrimeFaces: 3.0.M4; JSF Implementation : Mojarra 2.0.3b; Application Server: JBoss 6.1.0.Final

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 22 guests