struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject Re: Struts Tags, Sitemesh & 2.1.3-SNAPSH
Date Mon, 24 Nov 2008 22:08:10 GMT
Houston we have a problem ;)

musachy

On Mon, Nov 24, 2008 at 5:04 PM, dusty <dustin_pearce@yahoo.com> 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 <dustin_pearce@yahoo.com> 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: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >>
> >>
> >
> >
> > --
> > "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-tp20666933p20670861.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message