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 <t:checkbox t:id="onclient" t:value="objectDetail.onclient" disabled="ocfgFormDisabled" />) and sumbit input is cut-out (<t:unless t:test="ocfgFormDisabled"> <tr> <th>${message:form.submit-label}</th> <td colspan="3"><input type="submit" value="${message:form.button.submit-label}" /></td> </tr> </t:unless>) after clicking the actionLink the ocfgFormDisabled is changed to false, zone refreshed and form's fields are enabled. user can edit fields and submit form.
on the server side in onPrepareForSubmit I initialize the object void onPrepareForSubmit(Long idObject, Long idVersion){ .. objectDetail = new GenObjectDetail(); objectDetail.setIdVersion(idVersion); objectDetail.setIdObject(idObject); } and in onValidateForm persist it 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 harder to get a user-friendly message. form.recordError(e.getMessage()); } } but the object's values are null (except idVersion and idObject that where correctly sent by form). If my actionLink didnt update the zone to enable the form, then everything would be all right and data is correctly send. what am I missing or is this a bug?? pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski....@gmail.com ______________________