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