Re: Still Ajax and Struts 2

2006-12-08 Thread walidito
Ok thank you very much that works ! My mistake was in the mapping, where I redirected to the same jsp as the one where I've putted the div tag. Actually, I had to write a simple jsp in ordrer that it works. Otherwise, I'm always having the error message on my console : SEVERE: Error setting expr

Re: Still Ajax and Struts 2

2006-12-08 Thread Musachy Barroso
What is happening is that there is an error on the request, probably the action mapping is wrong, and it is returning a page with the error, but that page has the same menu as showcase, that's why your are seeing it twice. Put the full url for the action on the address bar, after you get that t

Re: Still Ajax and Struts 2

2006-12-08 Thread walidito
I don't hink I'm adding anything. Here is my code : the action : public String execute() throws Exception { return SUCCESS; } the struts.xml: /JSPs/Menu.jsp and the jsp : ... ...

Re: Still Ajax and Struts 2

2006-12-08 Thread Musachy Barroso
Are you sure you are not adding anything else to it and you are looking at the right one? I just check it out on showcase and it only loads once. Can you see if you have the same problem on showcase? regards musachy walidito wrote: Sorry but it didn't... It loads it many times Musachy B

Re: Still Ajax and Struts 2

2006-12-08 Thread walidito
Sorry but it didn't... It loads it many times Musachy Barroso-2 wrote: > > That needs to be fixed in struts, this is the jira ticket: > https://issues.apache.org/struts/browse/WW-1551 > > from showcase: > > id="once" > theme="ajax" > cssStyle="border: 1px solid y

Re: Still Ajax and Struts 2

2006-12-08 Thread Musachy Barroso
That needs to be fixed in struts, this is the jira ticket: https://issues.apache.org/struts/browse/WW-1551 from showcase: Initial Content That should load the div only once. musachy walidito wrote: Hi, Actually, I get this error both in my eclipse "console" and in my web page (debug ena

Re: Still Ajax and Struts 2

2006-12-08 Thread walidito
Hi, Actually, I get this error both in my eclipse "console" and in my web page (debug enabled). First of all here is the "jsp" code that I use: @ this is the redundant error that I get on my eclipse console : -SEVERE: Error setting expr 'dojo.transport' with value

Re: Still Ajax and Struts 2

2006-12-08 Thread walidito
Hi, I'm using Struts 2.0.1 and IE 6.0.2800 Ian Roughley wrote: > > What release of Struts2 are you using and which browsers? > > /Ian > > > walidito wrote: >> thanks, but I get an error with the code you gave me : >> SEVERE: Error setting expr 'dojo.transport' with value >> '[Ljava.lang.St

Re: Still Ajax and Struts 2

2006-12-08 Thread Musachy Barroso
You are seeing that error in your server logs right? There's a couple of things that we still need to fix for this integration between Struts and Dojo, but the application should work anyway. musachy walidito wrote: thanks, but I get an error with the code you gave me : SEVERE: Error setting

Re: Still Ajax and Struts 2

2006-12-08 Thread Ian Roughley
What release of Struts2 are you using and which browsers? /Ian walidito wrote: thanks, but I get an error with the code you gave me : SEVERE: Error setting expr 'dojo.transport' with value '[Ljava.lang.String;@179567c' ognl.OgnlException: target is null for setProperty(null, "transport", [Ljav

Re: Still Ajax and Struts 2

2006-12-07 Thread walidito
thanks, but I get an error with the code you gave me : SEVERE: Error setting expr 'dojo.transport' with value '[Ljava.lang.String;@179567c' ognl.OgnlException: target is null for setProperty(null, "transport", [Ljava.lang.String;@179567c) thanks Musachy Barroso-2 wrote: > > I think you should

Re: Still Ajax and Struts 2

2006-12-07 Thread Musachy Barroso
I think you should take a look at the Struts2/Webwork tutorials http://www.opensymphony.com/webwork/wikidocs/Tutorial.html and http://struts.apache.org/2.x/docs/tutorials.html If you look at the showcase code you will see this for the AjaxTest action: in struts-ajax.xml: class="org.apache.str