Re: Another plea for help from a newbie
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.