The JSF Application can additionaly be configured from the Struts.xml by adding <param> tags to the jsfSetup <interceptor-ref>.
Example struts.xml configuration:
<interceptor-ref name="jsfSetup"> <param name="actionListener"></param> <param name="defaultRenderKitId"></param> <param name="supportedLocale"></param> <param name="defaultLocale"></param> <param name="messageBundle"></param> <param name="navigationHandler">org.apache.struts2.jsf.StrutsNavigationHandler</param> <param name="propertyResolver"></param> <param name="stateManager"></param> <param name="variableResolver"> org.apache.myfaces.el.VariableResolverImpl ,org.apache.struts2.jsf.StrutsVariableResolver </param> <param name="viewHandler;">org.apache.shale.tiles.TilesViewHandler</param> </interceptor-ref>
Note: None of the parameters are required but all are shown in the example for completeness.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|