Re: form submits empty values if it was dynamically refreshed with AJAX

2010-02-03 Thread kamiseq
10 13:51 Subject: Re: form submits empty values if it was dynamically refreshed with AJAX To: thiag...@gmail.com thanks for helping me. I will post this to the thread as well but I dont know if user group accept mails with attachments if you have any questions or advises how my code could be

Re: form submits empty values if it was dynamically refreshed with AJAX

2010-02-03 Thread Thiago H. de Paula Figueiredo
On Wed, 03 Feb 2010 06:37:39 -0200, kamiseq wrote: if (form.getHasErrors() && request.isXHR()) { return zonaFormulario.getBody(); } else { return null; } this doesn't matter as I dont care about errors right now. and I dont need to persist my object as all information are in

Re: form submits empty values if it was dynamically refreshed with AJAX

2010-02-03 Thread kamiseq
and the form itself is working ok as I return the body of the zone in onSuccess or onFail callbacks pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ On 3 February 2010 09:37, kamiseq wrote: > void onValidateForm() { >>>try { >>>Lo

Re: form submits empty values if it was dynamically refreshed with AJAX

2010-02-03 Thread kamiseq
> > void onValidateForm() { >>try { >>Logger.getLogger(this.getClass()).debug("**onValidateForm"); >>this.version = versionService.updateObjectCfg(objectDetail); >>} catch (Exception e) { >>// Display the cause. In a real system we would try hard

Re: form submits empty values if it was dynamically refreshed with AJAX

2010-02-02 Thread Thiago H. de Paula Figueiredo
On Tue, 02 Feb 2010 13:47:36 -0200, kamiseq wrote: hi, Hi! void onValidateForm() { try { Logger.getLogger(this.getClass()).debug("**onValidateForm"); this.version = versionService.updateObjectCfg(objectDetail); } catch (Exception e) { // D

form submits empty values if it was dynamically refreshed with AJAX

2010-02-02 Thread kamiseq
hi, I have a strange problem with my form. a page contains a actionLink button, a div zone and a form in that zone. now both form's submit and action's link event will refresh the zone (and so the form). initially inputs/checkboxes/textareas of the form are disabled (ie ) and sumbit input is cut-ou