• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Referencing WO fields in JavaScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Referencing WO fields in JavaScript


  • Subject: Referencing WO fields in JavaScript
  • From: "Stresing, Stephan" <email@hidden>
  • Date: Tue, 25 Oct 2005 15:10:31 +0200
  • Thread-topic: Referencing WO fields in JavaScript

Title: Referencing WO fields in JavaScript

Hi,

we want to implement a low-level validation (and some security things) of a WOPasswordField and here's my question:
how I can refer a dynamic WOPasswordField in an embedded _javascript_ routine?

Usually we'd do it in _javascript_ like this: aVar = aField.value;

Can I refer to the WO name "3.7.2.2.1.5.3.11"?

Do I have to assign a "name" in the bindings of the WOPasswordField? Obviously I'd prefer the WO notation (like 3.7.2.2.1.5.3.11)...


Snippet from generated HTML:

<input size="7" maxlength="6" type=password name="3.7.2.2.1.5.3.11">


Associated .wod:

MyField: WOPasswordField {
        maxlength = 6;
        size = 7;
        value = myValue;
}

TIA!

Many regards,
    Stephan.

 
Stephan Stresing
 
IT Entwicklung & Systemintegration
 
ING-DiBa AG
Postfach 18 49
90007 Nürnberg

 
Besucher:
Südwestpark 97
90449 Nürnberg

 
Fon +49 (0)9 11 - 1 49 - 2 25 37
Fax +49 (0)9 11 - 1 49 - 2 25 48
eMail
mailto:email@hidden
WWW http://www.ing-diba.de


Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

 _______________________________________________
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

  • Follow-Ups:
    • Re: Referencing WO fields in JavaScript
      • From: Miguel Arroz <email@hidden>
    • Re: Referencing WO fields in JavaScript
      • From: Ken Anderson <email@hidden>
    • Re: Referencing WO fields in JavaScript
      • From: Seejo Pylappan <email@hidden>
  • Prev by Date: Re: where to download ERChangeNotificationJMS
  • Next by Date: Re: where to download ERChangeNotificationJMS
  • Previous by thread: Re: where to download ERChangeNotificationJMS
  • Next by thread: Re: Referencing WO fields in JavaScript
  • Index(es):
    • Date
    • Thread