Re: Tutorial
Re: Tutorial
- Subject: Re: Tutorial
- From: Gustavo Pizano <email@hidden>
- Date: Wed, 12 Mar 2008 19:18:16 -0500
Ok so I understadn that when the components form the ADdEdit.wo, such
as Title and DEscription, are being bound , then this binding will
cause the methohd DisplayBoard() being called, thats why im getting 2
NSLogs. so far its clear, but, the first time it will go trough the
conditional and create a new instance of displayDoard and add it to
the context, the second time it shoudln't do that... let me see
soemthing.....
OK I fix it..!!! hehehe sorry for the inconvenience I may caused... t
was a really noob thin I did. I copy pasted the code form the pdf and
somehow ecplise (even it didn't showed any errors) wasn't recognizing
the code as it should at runtime.
Gus
On Mar 12, 2008, at 7:07 PM, David LeBer wrote:
On 12-Mar-08, at 8:00 PM, Gustavo Pizano wrote:
yes i know that... i just didnt made myself clear
what i mean is that the DisplayBoard its null where it shoudlnt be
So your task is to find out why that is.
In looking at the code you can see that displayBoard is being lazily
created the first time something asks for it on the page.
Figure out why that is not happening and your problem is solved.
On Mar 12, 2008, at 6:56 PM, Mike Schrag wrote:
Its more than clear that there is no displayDoard where to work
at, so there is some problem with he constructor no?
Java classes don't need a constructor declared if your object
doesn't have any construction parameters. All Java classes get an
implicit YourClass() { super(); } generated by the compiler.
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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