Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

executeScript not working?

rrecoba

2007-08-06

Replies:


Hi, i´m trying to do something like the example "A div that calls the server,
and JS in the resulting page is executed" in the showcase. But with a little
diference, i´m not using the href in the s:div tag, i´m just using a link to
reload the content.

The problem is that the scripts in the reoladed content is not being
executed, any idea?

<s:url id="test3" value="/Test3.action" />

<s:a href="%{test3}" theme="ajax" targets="error" loadingText="Cargando
...">Alta persona</s:a>

<s:div
    id="error"
    cssStyle="border: 1px solid yellow;"
    theme="ajax"
    delay="1000"
    executeScripts="true"
    loadingText="reloading">loading now</s:div>

Thanks.
--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.