Re: struts 2 and dojo innerHTML in a FORM

2007-11-01 Thread kingysball
Thankyou very much for the advice. The problem was indeed that IE was unhappy populating a DIV in a TABLE. Simply changed my HTML and it worked fine, allowing me to create dynamic FORMS. With regards to using the AJAX tags, I started with those but switched to DOJO code when the I ran into pr

Re: struts 2 and dojo innerHTML in a FORM

2007-11-01 Thread kingysball
Thankyou very much for the advice. The problem was indeed that IE was unhappy populating a DIV in a TABLE. Simply changed my HTML and it worked fine, allowing me to create dynamic FORMS. With regards to using the AJAX tags, I started with those but switched to DOJO code when the I ran into p

Re: struts 2 and dojo innerHTML in a FORM

2007-11-01 Thread Musachy Barroso
Why don't you let the "a" tag do this for you? I think using the ajax tags and hooking things to "onclick" at the same time is not a good idea. regards musachy On 11/1/07, kingysball <[EMAIL PROTECTED]> wrote: > > I am having problems with the following code in IE only. The basic premise > for wh

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

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