• 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: Converting an EO to a String
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting an EO to a String


  • Subject: Re: Converting an EO to a String
  • From: Art Isbell <email@hidden>
  • Date: Tue, 7 Jan 2003 11:25:45 -1000

On Tuesday, January 7, 2003, at 07:18  AM, Jonathan Fleming wrote:

I have looked at the valueForKey() method and have managed to retrieve the value of this property in WOBuilder by binding it to a WOString with account.valueForKey("clientRef"), but how do I convert this in my next page called CustomerLookup to a String for use in an instance variable of the same name (private String clientRef;)

Assuming CustomerLookup.java implements a "setClientRef()" method, in the method in your current component that opens CustomerLookup as "nextPage":


nextPage.setClientRef(account.valueForKey("clientRef"));

Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Converting an EO to a String (From: "Jonathan Fleming" <email@hidden>)

  • Prev by Date: JSModalWindow
  • Next by Date: Many-to-many relationship bug
  • Previous by thread: Converting an EO to a String
  • Next by thread: JSModalWindow
  • Index(es):
    • Date
    • Thread