Re: Say Hello with 2 Problems^^
Re: Say Hello with 2 Problems^^
- Subject: Re: Say Hello with 2 Problems^^
- From: Ken Ishimoto <email@hidden>
- Date: Fri, 16 Nov 2007 18:23:53 +0100
Hi Chuck,
I am downloading the Velocity Templates now, and will try.
Thanks..
Ken
On 2007/11/16, at 17:23, Chuck Hill wrote:
Hi Ken,
On Nov 16, 2007, at 8:12 AM, Ken Ishimoto wrote:
Thanks for answer.
Never heard about "objectsForFetchAll"? Mmmh.
JavaEOGenerator : JavaSubclassSourceEOF5.eotemplate
http://webobjects.mdimension.com/wolips/EOGenerator/JavaEOGenerator Templates/
Line : 32-34
public static NSArray<<wo:WOString
value="[entity.classNameWithoutPackage]"/>>
allObjects(EOEditingContext aContext) {
return <wo:WOString value="[superClassPrefix]"/><wo:WOString
value="[entity.classNameWithoutPackage]"/
>.objectsForFetchAll(aContext);
}
Create after "EOGenerate ..."
follow error Code
public static NSArray<DisplayBoard> allObjects(EOEditingContext
aContext) {
return _DisplayBoard.objectsForFetchAll(aContext);
}
Nobody is using the Template??
My guess is: no. I am not using JavaEOGenerator, but I would
consider the templates that come with it to be "examples".
Is this a wrong Template??
The template seems to assume things about the model which are not
true for your model.
You may be better off using the Velocity templates that come with
WOLips(?) and Mike's internal Java generator. I am not using that
either (not yet). For example (and working!) templates see:
http://webobjects.mdimension.com/wolips/EOGenerator/Velocity EOGenerator Templates/
Just leave off the eogenerator executable path to use the internal
Java generator.
or is it better to stop Programming and start working on a farm^^
If you do decide to take up farming, Miguel Arroz has a nice spot
picked out in Portugal. I am tempted to throw down this keyboard
and join you some days! :-)
Portugal must be a nice place. Maybe I will be there someday.
There might be a WebObjects Refugee Farm when you get there.
Chuck
On 2007/11/16, at 16:38, Chuck Hill wrote:
Hi Ken, and Welcome!
On Nov 16, 2007, at 2:07 AM, Ken Ishimoto wrote:
Thanks for answer.
I was installing now the latest build 4643. Some Problem. Now I
made a fresh install of Eclipse 3.3.1.1 & 4643, and the New ->
WebObjects Application works fine again.
No idea why that strange behavior.
Thanks, very much.
Only the Error that I get from JavaEOGenerator Templates Code, no
idea? Do I need some WO Frameworks to add? I made a search of
"objectsForFetchAll" in
the latest Wonder Source except bugtracker no word about this
Method. Missing I something,
I have never heard of that method. Perhaps it is something in the
example templates that is private to the person that wrote them?
Chuck
On 2007/11/16, at 8:29, Lachlan Deck wrote:
Hi and welcome Ken,
On 16/11/2007, at 11:41 AM, Ken Ishimoto wrote:
At first say Hi to all. My Name is Ken Ishimoto and I am a
newbie in WO. I have now learned on Tiger WO for several months,
now with Leopard it is hard to switch to Eclipse. Very
confusing. I am also working on an Translation to Japanese for
WebObjects 5.4 & Wonder.
It is only for internal use now, because it so much
translation, but after I get to a good point I will open it up
for other of course. The Translation has start and there only
5-6 Classes now, but it will grow.
I have setup Eclipse 3.3.1.1 with the nightly build of WOLips
4118. Also setup after a lot of problems now the JavaEOGenerator.
4118 is not the nightly build. That's the old 3.2.x stable
build. Are you sure you've got the right update site?
http://wiki.objectstyle.org/confluence/display/WOL/Install+WOLips+with+Eclipse+Update+Manager
It should be.
http://webobjects.mdimension.com/wolips/nightly
With WOLips 4118 , the New->WebObjects Application won't work?
Is that a Bug, or is there a Problem with my setup?
Have you tried New->WOnderApplication?
with regards,
--
Lachlan Deck
_______________________________________________
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
_______________________________________________
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
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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