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.

Aloha,
Art

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to