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 <sx:head /> 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 <sx:head debug="true" />
>> 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"?>
<web-app xmlns:xsi="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">
<display-name>DRH</display-name>
<context-param>
<param-name>
org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG </param-name>
<param-value>/WEB-INF/tiles.xml</param-value>
</context-param>
<listener>
<listener-class>org.apache.struts2.tiles.StrutsTilesListener
</listener-class>
</listener>
<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>/*</url-pattern>
</filter-mapping>
</web-app>
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