Hi. I have a div where I want to put the result of an action after submitting a form like this:
<s:form id="adauga_form"> <s:hidden name="actiune" value="1" id="parametru_actiune_adauga" /> <s:hidden name="id_user" value="" id="parametru_actiune_id_user" /> <s:hidden name="id_role" value="2" id="parametru_actiune_id_role" /> <s:submit value="Adauga" theme="ajax" action="loadUserRoles" targets="lUR" /> </s:form> The problem is that when I am not using theme="ajax" in the submit button, the correct action (loadUserRoles) is executed but it doesn't return the results in the <s:div named lUR. When I am using theme="ajax" property, it doesn't get the results from the action I mentioned before, but copies the entire page that contains de div ... IN THE DIV. Please tell me what did I do wrong ? Thanks. -- View this message in context: http://www.nabble.com/%3Cs%3Asubmit-button-changes-the-action-when-using-theme%3D%22ajax%22-tf4315747.html#a12288353 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]