<s:action refresh issue and greybox
Hello !
I want to ask you something, I have a problem with the tag action and the greybox concern to the refresh of the data, I mean, I have a view where I show the user information and I have a button when I press appear a greybox windows to edit this user. Later when I update the user I go to the view where I show the user and still have the old user data ...I don't know if there are other posibility to make this and show later the updates data.
I use this action tag to show the information in the view:
<s:action name="crearEncuesta!getFormInView" id="action" namespace="default" executeResult="false"/>
...
<p><strong>Nombre de la Encuesta : </strong> ${form.name}</p>
<p><strong>Introducción de la Encuesta : </strong> ${form.introduction}</p>
<p><strong>Fecha de Cierre:</strong> ${form.close_date}</p>
...
Here I call the greybox window:
< a href="<c:url value="/editarEncuesta.html?id=${form.id}"/>" style="float:right;" title="Editar Encuesta" rel="gb_page_center[600, 500]">Edit Form< / a>
And in the action :
public String getFormInView() {
//formManager.makeFlush();
form = formManager.getForm(id);
return "success";
}
I believed that was problem of hibernate and put some Flush methods to flush the query but I didnt have any joy...Please if someone can help me I will be very grateful....
Thanks in advance
Best Regards
Pancho