Re: Re(2): Javascript Error onBlur
Re: Re(2): Javascript Error onBlur
- Subject: Re: Re(2): Javascript Error onBlur
- From: Sam Barnum <email@hidden>
- Date: Sun, 3 Apr 2005 19:40:02 -0700
Looks like you have synchronizesVariablesWithBindings turned on for
your DMS_T_Box_Date field.
The binding is attempting to set an "onBlur" property during the
binding synchronization.
You should either override that method and return false, or add set &
get methods for "onBlur" that don't do anything. If you choose the
first option, you'll need to explicitly get the binding values you're
interested in by calling valueForBinding from within your component (in
the awake() method, for example).
--
Sam Barnum
360 Works
http://www.360works.com
415.929.7318
On Apr 3, 2005, at 4:50 PM, Robert Snyder wrote:
On Sun, Apr 3, 2005, Sacha wrote:
Thankfully, we did not have time or space to cover JavaScript in
detail
(I'd like to stay far away from JavaScript if I can :-), but this
looks more like a binding problem than a JavaScript one. Can you post
your bindings from the .wod? Also, is this a synchronizing component?
Here is the .wod file binding:
DMS_T_Box_Date1: DMS_T_Box_Date {
acsElementId = "\"PrgmApplicantPersonBirthDate";
eoAttribute = programApplicant.person.birthDate;
isViewMode = session.viewStep4;
onBlur = "dateCheck(this.value,'%mm/Ý/%yyyy','birth date')";
}
Robert
____________________________________________
Robert Snyder, Director
World Campus Data Management Services
The Pennsylvania State University
105 Mitchell Building
University Park PA 16802
Phone: 814-865-0912 Fax: 814-865-4406
E-mail: email@hidden
URL: http://www.worldcampus.psu.edu
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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