Thanks for you quick answer.
I have replace *.action by /* ans it's run :)

The good way it's that during my search i learned lot of interessting thing
about struts 2.

Cédric

2008/6/9 Dave Newton <[EMAIL PROTECTED]>:

> Why is your filter mapping different than the one the docs recommend?
>
> If you map S2 to "*.action" there's no reason S2 would know to serve up its
> copy of Dojo--that's why the docs say to map S2 to "*", so it can pick up
> when it needs to serve static content.
>
> If you're going to use a mapping like that you'd probably need to use your
> own Dojo (and init code, since the generated code assumes you're using S2's
> Dojo).
>
> Dave
>
> --- On Mon, 6/9/08, Craftyman <[EMAIL PROTECTED]> wrote:
>
> > From: Craftyman <[EMAIL PROTECTED]>
> > Subject: Struts 2.0.x : Dojo integration problem (Tag
> optiontransferselect)
> > To: user@struts.apache.org
> > Date: Monday, June 9, 2008, 10:51 AM
> > Hi,
> >
> > I'm using Struts 2.0.9 and I would like to use
> > optiontransferselect tag.
> > Nevertheless this tag seemed to required dojo struts
> > integrate libraries.
> >
> > I'm add the <s:head /> tag on the header on my
> > jsp but dojo is not found
> > (Error message : dojo is required)
> > I'm also test with the tag <s:head
> > theme="ajax" /> with the same result
> >
> > I'm know that dojo is located in struts core jar but it
> > is not loaded or
> > found.
> > I'm always try the solution of this thread but it's
> > not resolv my problem :
> > http://www.mail-archive.com/user@struts.apache.org/msg72947.html
> >
> > I need do declare dojo in my webApp ?
> >
> > Here my jsp code (Inspirate by the struts showcase code):
> >
> > <[EMAIL PROTECTED] prefix="s"
> > uri="/struts-tags" %>
> >
> > <html>
> > <head>
> > <title>Show Case - Tags - UI Tags -
> > Optiontransferselect</title>
> > <s:head/>
> > </head>
> > <body>
> >
> > <s:form
> > action="lotsOfOptiontransferselectSubmit"
> > namespace="/tags/ui"
> > method="post">
> >    <s:optiontransferselect
> >      label="Favourite Cartoons Characters"
> >      name="leftSideCartoonCharacters"
> >      list="{'Popeye', 'He-Man',
> > 'Spiderman'}"
> >      doubleName="rightSideCartoonCharacters"
> >      doubleList="{'Superman', 'Mickey
> > Mouse', 'Donald Duck'}"
> >      />
> >     <s:submit value="Submit It" />
> > </s:form>
> >
> > </body>
> > </html>
> >
> > Here the main configuration of my web.xml configuration
> >
> > <?xml version="1.0"
> > encoding="ISO-8859-1"?>
> >
> > <!DOCTYPE web-app
> >     PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> > Application 2.3//EN"
> >     "http://java.sun.com/dtd/web-app_2_3.dtd";>
> >
> >
> > <web-app>
> >     <description>My Application</description>
> >
> >     <!-- ======== -->
> >     <!-- Struts 2 -->
> >     <!-- ======== -->
> >     <filter>
> >         <filter-name>struts2</filter-name>
> >
> >
> <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
> >     </filter>
> >     <filter-mapping>
> >         <filter-name>struts2</filter-name>
> >         <url-pattern>*.action</url-pattern>
> >     </filter-mapping>
> >
> >     <!-- ======= -->
> >     <!-- TagLibs -->
> >     <!-- ======= -->
> >     <taglib>
> >
> > <taglib-uri>http://tiles.apache.org/tags-tiles</taglib-uri>
> >
> > <taglib-location>/WEB-INF/tld/tiles-jsp.tld</taglib-location>
> >     </taglib>
> >     <taglib>
> >
> > <taglib-uri>http://displaytag.sf.net</taglib-uri>
> >
> > <taglib-location>/WEB-INF/tld/displaytag.tld</taglib-location>
> >     </taglib>
> >     <taglib>
> >
> > <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
> >
> > <taglib-location>/WEB-INF/tld/taglibs-core.tld</taglib-location>
> >     </taglib>
> >     <taglib>
> >
> > <taglib-uri>http://ajaxtags.org/tags/ajax</taglib-uri>
> >
> > <taglib-location>/WEB-INF/tld/ajaxtags.tld</taglib-location>
> >     </taglib>
> >
> > </web-app>
> >
> > Best Regards
> > Cédric
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to