Problem with 3.0-M3 on menuitem / onclick

UI Components for JSF
Post Reply
tcousin
Posts: 2
Joined: 30 Aug 2011, 14:32

30 Aug 2011, 14:52

Dear all,

Since we changed from 3.0-M2 to 3.0-M3, we have navigation problems.
Here our code :

Code: Select all

<p:menubar>
	<p:menuitem value="Page 1"  url="page1.xhtml" onclick="waitingDialog.show();"></p:menuitem>
	<p:submenu label="Group 1" >
		<p:menuitem value="Page 2" url="page2.xhtml" onclick="waitingDialog.show();" />
	</p:submenu>
</p:menubar>
For "Page 1" link, dialogBox stay appear and we can't go to page1.xhtml.
For submenu "Page 2", it's working fine : waitingDialog appear and then we go to page2.xhtml.

We have the same problem with the tag p:commandButton : waitingDialog appear but we didn't go through editUser() method.

Code: Select all

<p:commandButton  value="Edit" action="#{userBean.editUser}" ajax="false" onclick="waitingDialog.show();"></p:commandButton>
Is it a 3.0-M3 bug ?
JSF 2.0
Primefaces 3.0.RC1-SNAPSHOT
Mojarra 2.1.2
Jboss 5.1
--
French user of primefaces

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 48 guests