Sure...first, the JSF interceptors trigger if there is a JSF result. The result code from the action, even if it is a JSF action, is treated like a normal Struts 2 result code, and therefore, subject to the Struts 2 navigation. When the page is rendered, the Action instance is injected into the JSF context as if it was a backing bean named "action". Furthermore, the JSF result assumes the jsp file has the same name as the action path, in a manner similar to normal JSF pages.
The wiki page [1] covers this in a bit more detail. HTH, Don [1] http://confluence.twdata.org/display/WW/JavaServer+Faces On 7/31/06, Chris Waring <[EMAIL PROTECTED]> wrote:
I'm trying out the Struts2 JSF integration using the first snapshot build that was out last week. What I can't seem to figure out is how the showcase example is forwarding to the correct jsp? The action result does not have any jsp listed and I don't see a faces-config.xml anywhere? Can someone clue me in to how this is working? Thanks, --Chris Waring -- View this message in context: http://www.nabble.com/Struts2-JSF-integration-question-tf2027690.html#a5576311 Sent from the Struts - User forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]