Struts 2 and Dojo toolkit

2008-01-04 Thread Filipe David Manana
Hi, I am trying to use dojo.require method in one of my JSPs. The code is the following: dojo.require("dojo.query"); dojo.query("window").onload( function() { alert("test"); } ); In Firefox's error console I have: "Error: Could not load 'dojo.query'; last

Re: struts 2 and dojo innerHTML in a FORM

2007-11-01 Thread kingysball
ayDiv.innerHTML = data; > }, > mimeType: "text/html" > }; > dojo.io.bind(kw); >} > > > > > > name="packageCount"/> >

Re: struts 2 and dojo innerHTML in a FORM

2007-11-01 Thread kingysball
- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/struts-2-and-dojo-in

Re: struts 2 and dojo innerHTML in a FORM

2007-11-01 Thread Musachy Barroso
> name="packageCount"/> > targets="packages" /> > quick test > > > > Thanks. > -- > View this message in context: > http://www.nabble.com/struts-2-and-dojo-innerHTML-in-a

Re: struts 2 and dojo innerHTML in a FORM

2007-11-01 Thread Dave Newton
--- kingysball <[EMAIL PROTECTED]> wrote: > I am having problems with the following code in IE > [...] > > >[...] I'd look at the generated HTML and try validating it. Remember that the S2 form tags create a table (with the default templates); I'm not sure how cross-browser (or legal) a i

struts 2 and dojo innerHTML in a FORM

2007-11-01 Thread kingysball
displayDiv.innerHTML = data; }, mimeType: "text/html" }; dojo.io.bind(kw); } quick test Thanks. -- View this

Re: Struts 2 and Dojo

2006-12-28 Thread walidito
for those interested : https://issues.apache.org/struts/browse/WW-1477 Musachy Barroso-2 wrote: > > I was talking about this javascript code: > > dojo.io.bind({ > url: "<@s.url > action="updateCharacterAvailable" namespace="/hangman/ajax" />", >

Re: Struts 2 and Dojo

2006-12-12 Thread Musachy Barroso
I was talking about this javascript code: dojo.io.bind({ url: "<@s.url action="updateCharacterAvailable" namespace="/hangman/ajax" />", load: function(type, data, event) { var div = dojo.byId("updateChar

Re: Struts 2 and Dojo

2006-12-12 Thread walidito
Thank you for your response, As I'm a newbie, I haven't undersood well this part of your answer for the "easy way": then use the code above to make the request and process the html returned from your action and create the widgets. -What "code above" are you talking about ? -Could you please be

Re: Struts 2 and Dojo

2006-12-12 Thread Musachy Barroso
walidito wrote: Hi everybody, I'm trying to use both the struts-2 embedded ajax tags, I mean And the real Dojo that I have downloaded from dojo's website. Both work in a separate way, but If I try to use them both at the same time it does'nt work anymore... Let me explain : In my div tag, I

Struts 2 and Dojo

2006-12-12 Thread walidito
Hi everybody, I'm trying to use both the struts-2 embedded ajax tags, I mean