So my theory is that in StrutsPrepareFilter, the interceptor stack is not run
because the action has not run yet.  

I am not sure how to fix it.  MessageStoreInterceptor is my guy I need for a
nice <s:actionmessage/> call, but I suppose I can just go back to handling
it manually like in Appfuse.... or using a ftl decorator but that causes
other issues.  I am not sure how to leverage the <content tag="..."> when
using a ftl decorator.  Maybe you can't have a ftl decorator and a jsp
content page?  But that is straying from the original point.    

The other option is back down to the old filter setup which I think still
works.



dusty wrote:
> 
> No it is the same as the showcase and it behaves this way as well.   The
> only struts tags in the decorator in showcase are s:url with a hard value
> attribute, so they are not accessing the session or stack (I think).  
> 
> I added an addActionMessage() to AbstractCRUDAction and a
> <s:actionmessage/> to the decorator, main.jsp.  The message was not
> rendered.  When I moved the <s:actionmessage/> to listActions.jsp (content
> page) it is rendered.
> 
> 
> 
> 
> Musachy Barroso wrote:
>> 
>> Is that any different form the configuration in showcase?
>> 
>> musachy
>> 
>> On Mon, Nov 24, 2008 at 1:38 PM, dusty <[EMAIL PROTECTED]> wrote:
>> 
>>>
>>> I am using the 2.1.3-SNAPSHOT of Struts2 with the SiteMesh JSP
>>> PageFilter.
>>>  I
>>> have found that the struts tags do not error out in the JSP decorator
>>> but
>>> they also cannot find any values (stack, session, etc).  They just
>>> return
>>> blank.
>>>
>>> I would use the struts2-sitemesh-plugin, but I would like to use JSP for
>>> my
>>> decorator template.   Is there someone out there using 2.1.3 & Sitemesh
>>> with
>>> struts tags in their JSP decorator?
>>>
>>> Here is my setup:
>>> web.xml
>>> ----------------
>>>    <filter>
>>>        <filter-name>struts-prepare</filter-name>
>>>
>>>
>>> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter</filter-class>
>>>        <init-param>
>>>            <param-name>actionPackages</param-name>
>>>            <param-value>com.jmh.edcare.webapp.action</param-value>
>>>        </init-param>
>>>    </filter>
>>>    <filter>
>>>    <filter-name>securityFilter</filter-name>
>>>    <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
>>>    <init-param>
>>>        <param-name>targetClass</param-name>
>>>       
>>> <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
>>>    </init-param>
>>> </filter>
>>>    <filter>
>>>        <filter-name>sitemesh</filter-name>
>>>
>>>
>>> <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
>>>    </filter>
>>>    <filter>
>>>        <filter-name>lazyLoadingFilter</filter-name>
>>>
>>>
>>> <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
>>>    </filter>
>>>    <filter>
>>>        <filter-name>struts-execute</filter-name>
>>>
>>>
>>> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter</filter-class>
>>>    </filter>
>>>    <filter-mapping>
>>>        <filter-name>struts-prepare</filter-name>
>>>        <url-pattern>/*</url-pattern>
>>>    </filter-mapping>
>>>    <filter-mapping>
>>>        <filter-name>sitemesh</filter-name>
>>>        <url-pattern>/*</url-pattern>
>>>    </filter-mapping>
>>>    <filter-mapping>
>>>        <filter-name>securityFilter</filter-name>
>>>        <url-pattern>/*</url-pattern>
>>>    </filter-mapping>
>>>    <filter-mapping>
>>>        <filter-name>lazyLoadingFilter</filter-name>
>>>        <url-pattern>/*</url-pattern>
>>>    </filter-mapping>
>>>    <filter-mapping>
>>>        <filter-name>struts-execute</filter-name>
>>>        <url-pattern>/*</url-pattern>
>>>    </filter-mapping>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Struts-Tags%2C-Sitemesh---2.1.3-SNAPSHOT-tp20666933p20666933.html
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> 
>> 
>> -- 
>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Struts-Tags%2C-Sitemesh---2.1.3-SNAPSHOT-tp20666933p20671291.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to