Hi peter,
try to use this part of web.xml

<filter>
    <display-name>Magnolia global filters</display-name>
    <filter-name>magnoliaFilterChain</filter-name>
    <filter-class>info.magnolia.cms.filters.MgnlMainFilter</filter-class>
    <init-param>
      <param-name>ActionResolver.Packages</param-name>
      <param-value>it.set.here.package.where.you.have.your.stripes.action
(ex. com.foo.bar)</param-value>
    </init-param>
    <init-param>
      <param-name>ActionResolver.Class</param-name>

<param-value>it.openutils.magnoliastripes.MgnlActionResolver</param-value>
    </init-param>
    <init-param>
      <param-name>MultipartWrapper.Class</param-name>

<param-value>it.openutils.magnoliastripes.MagnoliaMultipartWrapper</param-value>
    </init-param>
  </filter>
  <filter-mapping>
    <filter-name>magnoliaFilterChain</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>ERROR</dispatcher>
  </filter-mapping>
  <servlet>
    <servlet-name>StripesDispatcher</servlet-name>

<servlet-class>net.sourceforge.stripes.controller.DispatcherServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>StripesDispatcher</servlet-name>
    <url-pattern>*.action</url-pattern>
  </servlet-mapping>
  <listener>

<listener-class>info.magnolia.cms.servlets.MgnlServletContextListener</listener-class>
  </listener>


let me know
Luca

2010/4/15 Peter R <[email protected]>

>
>
> Hi Federico,
>
> yesterday i tried to get the stripes module running, but without success.
>
> I copied the stripes jar and the magnolia stripes module to WEB_INF/lib of
> my Magnolia 4.3.1 installation. After startup the installation of the
> module
> was successful; everything seemed to work fine, but i couldn't restart
> magnolia, because the StripesMagnoliaFilter couldn't get initialized:
>
> Message:
> ...
> You must supply a value for the configuration parameter
> 'ActionResolver.Packages'
> ...
>
> But even if I add the required initialization parameter to the filter in my
> web.xml, magnolia won't start.
>
>        <filter>
>                <display-name>Stripes Filter</display-name>
>                <filter-name>StripesFilter</filter-name>
>
>
> <filter-class>net.sourceforge.stripes.controller.StripesFilter</filter-class>
>                <init-param>
>                        <param-name>ActionResolver.Packages</param-name>
>                        <param-value>mypackage</param-value>
>                </init-param>
>                <init-param>
>                        <param-name>ActionResolver.Class</param-name>
>
> <param-value>it.openutils.magnoliastripes.MgnlActionResolver</param-value>
>                </init-param>
>        </filter>
>
> Could you give me a hint or an example how to get it running?
>
> Thanks for your help.
>
> Peter
>
>
> Federico Grilli-3 wrote:
> >
> >
> > Hi Peter,
> >
> > there is no particular web framework that Magnolia endorses or
> > recommends. As you could see the community has developed and shared
> > several modules to integrate different frameworks. In my working
> > experience I used OpenMind's Stripes module
> > http://www.openmindlab.com/lab/products/mgnlstripes.html and it works
> > pretty well. Moreover, far from being experimental, it's been used in
> > production for large public websites for a couple of years.
> >
> > HTH,
> >
> > Federico
> >
> > On Thu, 2010-04-15 at 04:07 -0700, Peter R wrote:
> >>
> >> Hi,
> >>
> >> I'm a Magnolia newbie and have to implement a CMS Application based on
> >> Magnolia 4.3
> >> My application consists of a typical CMS part + a web application part
> >> (authentication, forms, validation, i18n, business logic, relational
> >> database,...)
> >>
> >> Can someone recommend a framework stack, that smootly integrates with
> >> Magnolia?
> >> I'm experienced in JSF (1.2, 2.0), Struts, EJB3 and JPA, but is it even
> >> feasible to use JSF 2.0 for the application part?
> >> I already found experimental modules that integrate Stripes, JSF, Wicket
> >> and
> >> Spring. But whats the recommended way to go???
> >>
> >> Thanks
> >>
> >> Peter
> >
> >
> >
> > ----------------------------------------------------------------
> > For list details see
> > http://www.magnolia-cms.com/home/community/mailing-lists.html
> > To unsubscribe, E-mail to: <[email protected]>
> > ----------------------------------------------------------------
> >
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Web-Framework-Integration-tp28253919p28255310.html
> Sent from the Magnolia - User mailing list archive at Nabble.com.
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
>

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to