Re: struts2 dojo
Johannes Geppert wrote: > > How looks your filter configuration? > Do you have the filter configured only for *.action > or also for the reccources? > > Johannes > > > steev-dev wrote: >> >> >> >> Johannes Geppert wrote: >>> >>> Do you have included the tag in your head area? >>> >>> Johannes >>> >>> >>> >>> steev-dev wrote: I'm new in struts 2 in my form i use the Datetimepicker and autocompleter components in Struts2 dojo-plugin-2.2.1.1. my problem is when I execute my project in tomcat these components dosnt appear in the display. then i used firebug Under firefox to discover the error so i have error: djConfig.searchIds is undefined and Uncaught TypeError: Can not call method 'push' of undefined please help me? >>> >>> >> >> yes i have included >> but i have error : Uncaught ReferenceError: dojo is not defined >> > > i use last release of struts 2 is struts 2.2.1.1 and struts-dojo-plugin2.2.1.1 so my file web.xml is : ?xml version="1.0" encoding="UTF-8"?> http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"; id="WebApp_ID" version="3.0"> DRH org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG /WEB-INF/tiles.xml org.apache.struts2.tiles.StrutsTilesListener struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 /* errors are: dojo is not defined [Stopper sur une erreur] dojo.hostenv.writeIncludes(true); djConfig.searchIds is undefined -- View this message in context: http://old.nabble.com/struts2-dojo-tp31123840p31125777.html Sent from the Struts - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: struts2 dojo
Please move this thread to the user list. Thanks. -- Martin Cooper On Fri, Mar 11, 2011 at 4:17 AM, Johannes Geppert wrote: > > How looks your filter configuration? > Do you have the filter configured only for *.action > or also for the reccources? > > Johannes > > > steev-dev wrote: >> >> >> >> Johannes Geppert wrote: >>> >>> Do you have included the tag in your head area? >>> >>> Johannes >>> >>> >>> >>> steev-dev wrote: I'm new in struts 2 in my form i use the Datetimepicker and autocompleter components in Struts2 dojo-plugin-2.2.1.1. my problem is when I execute my project in tomcat these components dosnt appear in the display. then i used firebug Under firefox to discover the error so i have error: djConfig.searchIds is undefined and Uncaught TypeError: Can not call method 'push' of undefined please help me? >>> >>> >> >> yes i have included >> but i have error : Uncaught ReferenceError: dojo is not defined >> > > > - > --- > web: http://www.jgeppert.com > twitter: http://twitter.com/jogep > > -- > View this message in context: > http://old.nabble.com/struts2-dojo-tp31123840p31124534.html > Sent from the Struts - Dev mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > > - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: struts2 dojo
How looks your filter configuration? Do you have the filter configured only for *.action or also for the reccources? Johannes steev-dev wrote: > > > > Johannes Geppert wrote: >> >> Do you have included the tag in your head area? >> >> Johannes >> >> >> >> steev-dev wrote: >>> >>> I'm new in struts 2 in my form i use the Datetimepicker and >>> autocompleter components in Struts2 dojo-plugin-2.2.1.1. my problem is >>> when I execute my project in tomcat these components dosnt appear in the >>> display. then i used firebug Under firefox to discover the error so i >>> have error: djConfig.searchIds is undefined and >>> Uncaught TypeError: Can not call method 'push' of undefined >>> please help me? >>> >>> >> >> > > yes i have included > but i have error : Uncaught ReferenceError: dojo is not defined > - --- web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://old.nabble.com/struts2-dojo-tp31123840p31124534.html Sent from the Struts - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: struts2 dojo
Have you verified the dojo scripts are being loaded? (And you're aware the dojo plugin was deprecated some time ago, correct?) Dave On Mar 11, 2011 6:53 AM, "steev-dev" wrote: > > > > Johannes Geppert wrote: >> >> Do you have included the tag in your head area? >> >> Johannes >> >> >> >> steev-dev wrote: >>> >>> I'm new in struts 2 in my form i use the Datetimepicker and >>> autocompleter components in Struts2 dojo-plugin-2.2.1.1. my problem is >>> when I execute my project in tomcat these components dosnt appear in the >>> display. then i used firebug Under firefox to discover the error so i >>> have error: djConfig.searchIds is undefined and >>> Uncaught TypeError: Can not call method 'push' of undefined >>> please help me? >>> >>> >> >> > > yes i have included > but i have error : Uncaught ReferenceError: dojo is not defined > -- > View this message in context: http://old.nabble.com/struts2-dojo-tp31123840p31124364.html > Sent from the Struts - Dev mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org >
Re: struts2 dojo
Johannes Geppert wrote: > > Do you have included the tag in your head area? > > Johannes > > > > steev-dev wrote: >> >> I'm new in struts 2 in my form i use the Datetimepicker and >> autocompleter components in Struts2 dojo-plugin-2.2.1.1. my problem is >> when I execute my project in tomcat these components dosnt appear in the >> display. then i used firebug Under firefox to discover the error so i >> have error: djConfig.searchIds is undefined and >> Uncaught TypeError: Can not call method 'push' of undefined >> please help me? >> >> > > yes i have included but i have error : Uncaught ReferenceError: dojo is not defined -- View this message in context: http://old.nabble.com/struts2-dojo-tp31123840p31124364.html Sent from the Struts - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: struts2 dojo
but without result -- View this message in context: http://old.nabble.com/struts2-dojo-tp31123840p31124263.html Sent from the Struts - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: struts2 dojo
steev-dev wrote: > > I'm new in struts 2 in my form i use the Datetimepicker and autocompleter > components in Struts2 dojo-plugin-2.2.1.1. my problem is when I execute my > project in tomcat these components dosnt appear in the display. then i > used firebug Under firefox to discover the error so i have error: > djConfig.searchIds is undefined and > Uncaught TypeError: Can not call method 'push' of undefined > please help me? > > yes i have included here is my code : <%@ taglib prefix="s" uri="/struts-tags"%> <%@ taglib prefix="sx" uri="/struts-dojo-tags"%> http://www.w3.org/TR/html4/loose.dtd";> -- View this message in context: http://old.nabble.com/struts2-dojo-tp31123840p31124233.html Sent from the Struts - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: struts2 dojo
Do you have included the tag in your head area? Johannes steev-dev wrote: > > I'm new in struts 2 in my form i use the Datetimepicker and autocompleter > components in Struts2 dojo-plugin-2.2.1.1. my problem is when I execute my > project in tomcat these components dosnt appear in the display. then i > used firebug Under firefox to discover the error so i have error: > djConfig.searchIds is undefined and > Uncaught TypeError: Can not call method 'push' of undefined > please help me? > > - --- web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://old.nabble.com/struts2-dojo-tp31123840p31123887.html Sent from the Struts - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org