Re: Problem passing strings to my wrapper component
Re: Problem passing strings to my wrapper component
- Subject: Re: Problem passing strings to my wrapper component
- From: "Jerry W. Walker" <email@hidden>
- Date: Sat, 24 Feb 2007 18:15:21 -0500
Hi, Kevin,
On Feb 22, 2007, at 11:51 PM, Kevin Windham wrote:
I have a page wrapper and I've set up an API for it so I can pass
some variables to it from the pages containing content. I have
managed to pass Boolean values without any problem. ...
However, if I do the same thing with a string, I get a null pointer
exception. The only difference I can see is there is no option for
String in the value set menu, so I just leave that unset. I imagine
I am missing something, but I can't seem to find any leads on what
it is.
... Is there any documentation on the chain of events for this
scenario?
There is, and Mike Schrag was right, it's hard to beat the chapter on
"The Secret Life of Components" in Chuck & Sacha's book.
However, there's also good documentation online on the chain of
events for this scenario.
For a good overview of the general method invocations on
WOApplication, WOSession and WOComponent during the Request-Response
loop, take a look at:
http://developer.apple.com/documentation/WebObjects/Web_Applications/
Articles/1_Architecture.html#//apple_ref/doc/uid/TP40003268-SW13
You'll need to be well grounded in those Request-Reponse Loop calls
to understand what's going on with InterComponent communication. Once
you've got that down, then for a good overview of InterComponent
communication, take a look at:
http://developer.apple.com/documentation/LegacyTechnologies/
WebObjects/WebObjects_4.5/System/Documentation/Developer/WebObjects/
DevGuide/ReusableComponents4.html
If you read that page and the other pages in that section of the
manual, you will far better understand how to control it and what you
can do to make it much more efficient.
This latter page was written for WO 4.5, but the things they're
describing haven't changed much since, so if you understand that
material, any minor changes are well covered in the WO 5.x API
documentation.
Good Luck
Regards,
Jerry
--
__ Jerry W. Walker,
WebObjects Developer/Instructor for High Performance Industrial
Strength Internet Enabled Systems
email@hidden
203 278-4085 office
_______________________________________________
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