First of all, I'm not even sure if it's possible to use the portlet
and the jsf plugin at the same time. I have not tried, but there might
be issues with it if they try to do conflicting things in the
interceptors and the results.

>  struts.xml
>
>  <package name="default" extends="portlet-jsf-default" namespace="/view">
>
>         <action name="index" class="com.mycompany.HelloAction">
>             <interceptor-ref name="basicStack"/>
>             <interceptor-ref name="jsfStack"/>
>             <result name="success" type="jsf"/>
>             <result>/WEB-INF/jsp/view/index.jsp</result>
>         </action>
>     </package>
>

A couple of things here. You're extending portlet-jsf-default, which
still has the jsfStack as the default interceptor ref. Since you have
defined a "jsf" package that extends "portlet-jsf-default", you should
probably extend the "jsf" package instead. However, it's probably just
as easy configuring the correct interceptor stack and default
interceptor ref right there in the "portlet-jsf-default" package. In
addition, you're overriding the default interceptor stack in your
action definition, so it's not really using the portletDefaultStack,
even if you had configured your default interceptor stack correctly.
Unless you need to use different interceptors in your action, there's
no need configuring those interceptor-refs there.

You could also try swapping the order of the portletDefaultStack and
the jsfStack and see if that makes a difference.

Nils-H

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to