Musachy Barroso wrote:
Ah, and I thought we were about to fix this one :). I think you are right
on, wouldn't calling eval() on the generated script, instead of expecting
the browser to execute it fix this problem?
musachy
It probably would work better in this case, but creating a script node
and inserting that into the DOM was the recommended approach at the time.
I'm hesitant about putting an eval in there.
You'll notice I marked the specific issue resolve. I'm happy with the
separateScripts case as it works for *most* code. Unfortunately with
separateScripts=false case, I couldn't get an inline alert to work in
FF. I'm not sure why...it created the script node and added it to the
parent (a span) and then ...nothing...
I think the updated docs at
http://struts.apache.org/2.x/docs/ajax-tags.html clarifies it now, or at
least will encourage users to look at their own javascript. I'm not
sure I want to put much more time in these tags.
I'm going to Dougle Crockford's workshop in a few weeks time to get my
head around these issues a little better.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]