Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ik wil graag naar een andere pagina gaan
- XHTML (orderSubmitted.xhtml) :
- <h:form>
- <h:commandLink id="modifyAfterError"
- action="#{orderInformation.redirectModify()}">
- #{messages.checkout_modifyOrder}
- </h:commandLink>
- </h:form>
- Java :
- public String redirectModify(){
- return "success";
- }
- Pages.xml :
- <page view-id="/secure/orderSubmitted.xhtml">
- <navigation from-action="#{orderInformation.redirectModify}">
- <rule if-outcome="success">
- <redirect view-id="/secure/shoppingBasket.xhtml"/>
- </rule>
- </navigation>
- </page>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement