From: <aro...@cl...> - 2012-02-16 17:09:17
|
Hi Henrique, It doesn't really matter what kind of Ajax component it is. I assumed AjaxObserveField and assumed wrong; however, they all have the binding "fullSubmit" and by default I think it assumes "true". Actually, it depends on what date you pulled WOnder libs because the default has changed over time. If "fullSubmit = true" you will get synchronization for all elements in the form. If you do "fullSubmit = false" you will get synchronization for only the form element that you are interested in. I believe this will solve your problem as you should not get validation errors for the other fields that you don't care about during the time of tickling the AjaxAutoComplete. Give it a try :-) Cheers, -- Aaron From: Henrique Gomes <li...@fa...> To: aro...@cl... Cc: "won...@li..." <won...@li...> Date: 02/16/2012 09:41 AM Subject: Re: [Wonder-disc] ERMD2WEditToOneTypeAhead submit and (no) validation? No, there's no AjaxObserveField, it's an AjaxAutoComplete. There's an AjaxSubmitButton called by the afterUpdateElement of the AutoComplete. I think that is required to invoke an action. Switching to an AjaxUpdateLink or AjaxHyperLink breaks the component. Any ideas? Regards, Henrique Gomes On Feb 15, 2012, at 8:23 PM, aro...@cl... wrote: > Hi Henrique. > > Sounds like that's an AJAX action correct? > > In the AjaxObserveField try setting "fullSubmit = false" in the .wod file. > > -- Aaron > > > > From: Henrique Gomes <li...@fa...> > To: "won...@li..." <won...@li...> > Date: 02/15/2012 03:05 PM > Subject: [Wonder-disc] ERMD2WEditToOneTypeAhead submit and (no) validation? > > > > > > Hi, > > When picking a value from a ERMD2WEditToOneTypeAhead, the form is submitted and since other (mandatory) fields are not yet filled, the user will encounter validation errors. > Do you think it would be possible for that component somehow tell D2W to not validate? It's not writing to the database at that point. I can try to make that change, just asking if it is a lost cause, or any pointers on the right direction. > > Regards, > > Henrique Gomes > > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Wonder-disc mailing list > Won...@li... > https://lists.sourceforge.net/lists/listinfo/wonder-disc > |