I,
I wanna run this type of example app :
http://www.planetstruts.org/struts2-showcase/viewSource.action?page=/ajax/remotediv/example1.jsp
 
:
<s:div
13:         id="once"
14:         theme="ajax"
15:         cssStyle="border: 1px solid yellow;"
16:         href="/AjaxTest.action"
17:         delay="5000"
18:         loadingText="loading...">
19:     Initial Content
</s:div>

In other word, a basic ajax component that allows a refreshment of only a
part of my page.

But I didn't get how to write the corresonding action and action mapping. 
For the moment I've tried to put a "success" return in my action ( is it
enough ?), but I don't see what to put in my action mapping (i mean inside
the <action name="blablabla" ...> tag. If I put nothing, of course it's
wrong.
If I only put a success-type result, It creates an infinite loop (always
displays "loading").
Can sobdy help please?
-- 
View this message in context: 
http://www.nabble.com/Still-Ajax-and-Struts-2-tf2776835.html#a7746954
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to