Hi,
I'm using
STRUTS 1.2 and the "javawebparts ajaxparts" taglib.
I'm trying to implement 'please wait' functionality in a
JSP page.
I wrote a Action/JSP page that has two display modes.
The first display mode displays a 'please wait' graphic inside a DIV.
At the end of this page display mode, I manually kick off an Ajax request for the same Action/JSP with a special flag in a hidden form element that tells the JSP to display in a different mode.
This new content is displayed inside the DIV described.
Everything I described so far is working, but when I post back the form on the JSP page, I always get the same form values, even if I modify them with JavaScript on the client.
Example:
<html:hidden property="operation" value="update" />
When I check the parameter value on the server as follows:
request.getParameter("operation")
It always returns the
string "update" even if I change the value on the client (browser) via Javascript.
Since the form elements in question are outside the DIV, this would not seem to be AJAX related, but I have not been able to solve this problem.
I'm wondering if there's something about the STRUTS framework that I'm missing.
Any help would be greatly appreciated.
Thanks!
Jonathan