Re: WOLips resolving methods in the class hierarchy
Re: WOLips resolving methods in the class hierarchy
- Subject: Re: WOLips resolving methods in the class hierarchy
- From: "Edgar Ra. Klein" <email@hidden>
- Date: Tue, 5 Jun 2007 11:13:36 +0200
On 05.06.2007, at 09:36, Daniele Corti wrote:
2007/6/5, Edgar Ra. Klein <email@hidden>: Hi,
I'm wondering whether I'm doing s.th. wrong or WOLips just cannot
resolve some methods in the model files.
I have generated _Class and Class-files using eogenerator. Now I have
an instance of e.g. Author object, let say author, using in my
component and refer to it in the .wod file like author.firstName to
bind it to a WOString. Since the class Author extends _Author it does
not have the method firstName, but _Author does.
My question: Is WOLips currently not resolving methods going up the
class hierarchy as expected?
well, this can have many causes. Try do these solutions:
1- Select "Project"-> Clean , and Clean and rebuilt you app (this
is a tipical problem of Eclipse: if you do changes on your
resources with other apps it doesn't see those changes, so it use
the old versions)
I already tried it, but it didn't work.
2- If WOLips doesn't still see the bind, you should try to see if
Your model is valid with EntityModeler (just click two times on
EoModel file to open it), and check if changes have been committed
at the model.
The model is up-to-date, still no change.
3- This happen to me a couple of times, everything seems ok, but
the app doesn't work, so, don't think bad of me, simply cancel
you .woo package, and rewrite it. Anfter this it works at me!
Don't ask me why, even though I didn't change anything, the problem
solved itself ;) However, now I have the problem that my own
components do not resolve :/ Even though the code completion in
the .wod-files does, hmmmmm...
These two problems seem to occur alternately; but never both
together. Very strange behaviour...
Thanx for the help and I'll keep those suggestions in mind,
Ed
_______________________________________________
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