Ah, sorry was trying to use as less words as possible :)
Q / Problem) Since Application.getHomePage() returns Class? extends Page
and in my case Multiple pages are mounted to point to the same WebPage. How
to I specify the Home Page.
In other words: CLASS to Mounted Pages is a one to many
To: users@wicket.apache.org
Subject: Re: Drilling Application.getHomePage()
Ah, sorry was trying to use as less words as possible :)
Q / Problem) Since Application.getHomePage() returns Class? extends
Page
and in my case Multiple pages are mounted to point to the same WebPage.
How
to I specify
: Drilling Application.getHomePage()
We do something similar but use
/content/value
Then you can mount the single page at /content and then treat what
follows as a parameter which determines how that page is rendered.
-Original Message-
From: Arjun Dhar [mailto:dhar...@yahoo.com]
Sent
Q / Problem) Since Application.getHomePage() returns Class? extends Page
and in my case Multiple pages are mounted to point to the same WebPage. How
to I specify the Home Page.
getHomePage() returns what Page to use for a request when the URL does not
refer to a mounted Page or other
Hi,
All my pages are generated dynamically in a particular project (including
Home).
Application.getHomePage() returns Class? extends Page
The trouble is that all my pages use the same WebPage class, based on the
name in the URL it determines which content to fetch.
Example:
On Thu, Oct 20, 2011 at 8:56 PM, Arjun Dhar dhar...@yahoo.com wrote:
Hi,
All my pages are generated dynamically in a particular project (including
Home).
Application.getHomePage() returns Class? extends Page
The trouble is that all my pages use the same WebPage class, based on the
name in