Re: Why WebObjects is no success
Re: Why WebObjects is no success
- Subject: Re: Why WebObjects is no success
- From: Daniel Mejia <email@hidden>
- Date: Sat, 28 Feb 2004 15:55:32 -0600
Jean,
I would like to clarify something about your answer.
The recommendation that you suggest to change the default page, it is
good to change the first page _after_ you enter the main page (login
page in this case).
I totally agree with you, its better to try to get the answer from the
community before give up.
Saludos,
Daniel.
On Feb 28, 2004, at 3:20 PM, email@hidden
wrote:
Now did you look at the main.java file?
You will find a defaultPage() method that you can modify to return
whatever D2W component you need... (look at apple pdf mentionned above
at page 81 for an example)
If you want to use the rule system instead, you can use the following
keys (again from apple docs):
startupEntityName
Type: String
Appears: Rule's key (right-hand side)
The name of entity used on startup page. Since the startup page is a
query-all page by default, this key is not used in a Direct to Web
application generated by the wizard. If you change the default startup
task (see startupTask) to one that requires an entity, use this key.
startupTask
Type: String
Appears: Rule's key (right-hand side)
The startup page task. Defaults to "queryAll". If you override this
default and specify a task that requires an entity, you need to specify
the value for the startupEntityName key.
I am not programming with D2W, and thus not familiar with the
documentation. Yet it took me five minutes to locate the info you
needed...
_______________________________________________
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.