PEGASUS84 wrote:
> it doesnt work mean that the action go to a jsp page but the data in the form
> there aren't in the jsp page
>
okay, i just took another look through my code, and it looks like i
incorrectly constructed the example in my response.
what i *should* have suggested you try was something along the lines
of the following:
<s:url id="actionurl" namespace="/" action="doRefresh" />
<form id="<s:property value="displayform" />"
action="<s:property value="#actionurl" />" >
[ fields... ]
<s:a theme="ajax" targets="targetDiv"
showLoadingText="false" formId="displayform">
<img src="refresh.gif" />
</s:a>
</form>
that is a trimmed-down version of an actual working form in my
current application, which refreshes the contents of a div with the id
"targetDiv".
(bear in mind, you're gonna need to include the <s:head
theme="ajax"> (for v2.0.x) in your <head> tag, for all this ajax hooey
to work correctly...)
(shouldn't have tried to wing it, should've just gone straight to my
code for a working example in the first place. sorry 'bout that.)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]