• 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: Another plea for help from a newbie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another plea for help from a newbie


  • Subject: Re: Another plea for help from a newbie
  • From: Justin Tocci <email@hidden>
  • Date: Thu, 3 Jun 2004 13:32:06 -0500

SOLVED! Ya-hoo!!

Thanks James Cicenia for this little bit of code:

>Part part = (Part)companyDisplayGroup.selectedObject();
>session.setkitNumber(part.kitNumber);

It actually ended up looking like this:

>>Session session = (Session)session();
>>session.setkitNumber(xforecasting.clickedkitNumber());

And I had to add the clickedkitNumber method to the Xforecasting class. I am going to use this quite a bit I can tell. Turns out I'm likely going to do this particular page a different way (as Joshua Marker suggested), but the very next thing I do will use this pattern out of necessity. The method looks like this:

	public String clickedItem() {
		return this.kitNumber();
	}

I couldn't have found it without Joshua Marker and his book WebObjects Visual QuickPro Guide page 158. Thanks Joshua.

And for the record I am going to capitalize my component names as suggested. Thanks all!

justin tocci
fort wayne, in
_______________________________________________
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.


  • Follow-Ups:
    • Re: Another plea for help from a newbie
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: WOSession: savePage
  • Next by Date: RE: issue with a nested editing context [long]
  • Previous by thread: Re: Another plea for help from a newbie
  • Next by thread: Re: Another plea for help from a newbie
  • Index(es):
    • Date
    • Thread