Re: WOLips binding validation
Re: WOLips binding validation
- Subject: Re: WOLips binding validation
- From: Art Isbell <email@hidden>
- Date: Mon, 17 Dec 2007 13:06:36 -1000
On Dec 17, 2007, at 12:38 PM, Ricardo Parada wrote: Any ideas on how to make the component editor treat this as valid? :-)
AppealedAmountTextField: WOTextField { numberformat = "$#,##0.00"; value = appealedAmount; onChange = "_javascript_: if (this.value > this.form.RecoveredAmount.value) this.form.RAD.value = (this.value - this.form.RecoveredAmount.value); else this.form.RAD.value = 0; this.form.submit();"; }
Probably easier to define a method in your component that returns this JS string and then bind to this method rather than trying to figure out how to satisfy the component editor.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden