Class Navigate
java.lang.Object
org.ocpsoft.rewrite.faces.navigate.Navigate
Helper class to build JSF action outcomes.
- Author:
- Christian Kaltepoth
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build and return the fully constructed navigationString.static Navigatestatic NavigateCreate a newNavigateinstance that will invoke navigation to the specified View ID.toString()with(CharSequence name, Object value) Set a query parameter to be passed to the specified View Id.Specify that navigation should be performed using JavaServer Faces non-redirecting navigation.
-
Method Details
-
to
Create a newNavigateinstance that will invoke navigation to the specified View ID.Query parameters to be provided to the destination View ID may be supplied via
with(CharSequence, Object).- Parameters:
viewId- the destination View ID
-
to
Create a newNavigateinstance that will invoke navigation to the specifiedClass. For instance, if the class specifies a @Join rule, this would generate a navigation case targeting theAddressfor the defined resource.Query parameters to be provided to the destination View ID may be supplied via
with(CharSequence, Object).- Parameters:
clazz- the targetClass- See Also:
-
with
Set a query parameter to be passed to the specified View Id.- Parameters:
The- query parameter name.The- query parameter value.
-
withoutRedirect
Specify that navigation should be performed using JavaServer Faces non-redirecting navigation. -
build
Build and return the fully constructed navigationString. -
toString
-