-
1. Re: rich:menuItem hangs when click on it...but does redirect
nohacks Feb 13, 2008 2:10 PM (in response to nohacks)Here is my action from bean...
public String go_emailSent(ActionEvent event) {
System.out.println(" go_emailSent ----> : " );
System.out.println((new StringBuilder()).append("ActionEvent on ")
.append(event.getComponent().getId()).append(" & Phase is ")
.append(event.getPhaseId()).toString());
this.current="go_emailSent";
return "go_emailSent";
}
===============================
faces-config.xml
<navigation-rule>
Welcome
<from-view-id>/welcomeMenuTest.jsp</from-view-id>
<navigation-case>
<from-outcome>go_emailSent</from-outcome>
<to-view-id>/memberEmailSent.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/welcome.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>logout</from-outcome>
<to-view-id>/loggedOut.jsp</to-view-id>
</navigation-case>
</navigation-rule>
=====================================
JSP
<rich:menuItem submitMode="ajax" value="Sent" action="go_emailSent"> </rich:menuItem>
Thanks
Phil -
2. Re: rich:menuItem hangs when click on it...but does redirect
nohacks Feb 13, 2008 3:20 PM (in response to nohacks)http://jira.jboss.com/jira/browse/RF-2102
is this the same error???
Phil -
3. Re: rich:menuItem hangs when click on it...but does redirect
supernovasoftware.com Feb 13, 2008 3:26 PM (in response to nohacks)I hope the fix makes in into 3.1.5.
-
4. Re: rich:menuItem hangs when click on it...but does redirect
ilya_shaikovsky Feb 17, 2008 7:14 AM (in response to nohacks)"nohacks" wrote:
http://jira.jboss.com/jira/browse/RF-2102
is this the same error???
Phil
No. This issue about external components which doesn't work inside the menu.
For your issue - there is a solution which is explained in all our ajax navigation articles.
If you use ajax-ed control for navigation - just add<redirect/>
to your navigation case in faces config.