• 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
Re: Referencing WO fields in JavaScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Referencing WO fields in JavaScript


  • Subject: Re: Referencing WO fields in JavaScript
  • From: Daniel Mejia <email@hidden>
  • Date: Tue, 25 Oct 2005 08:46:09 -0500

You can use:

SelectContainer: WOGenericContainer {
    elementName = "select";
    name = context.elementID;
    formValue = selection;
}

Daniel.

 
On Oct 25, 2005, at 8:31 AM, email@hidden wrote:

Date: Tue, 25 Oct 2005 09:29:55 -0400

From: Arturo Perez <email@hidden>

Subject: Re: Referencing WO fields in _javascript_

To: Seejo Pylappan <email@hidden>

Cc: "Stresing, Stephan" <email@hidden>,

    email@hidden

Message-ID: <email@hidden">email@hidden>

Content-Type: text/plain; charset=ISO-8859-1; format=flowed


Is there anyway to get WO to generate the ID the way it generates the 

NAME?  I realize that sometimes you need to know the ID but there are 

many cases (WORepetition) where you cannot make the name unique without 

some help from WO.


I imagine people will say "bind to a method returning a string" but how 

then does one consistently generate the same ID for same element?  Can 

the contextID be used?


-arturo



 _______________________________________________
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

  • Prev by Date: Re: Referencing WO fields in JavaScript
  • Next by Date: Re: Referencing WO fields in JavaScript
  • Previous by thread: Re: Referencing WO fields in JavaScript
  • Next by thread: AW: Referencing WO fields in JavaScript
  • Index(es):
    • Date
    • Thread