You only have to code it once, if you share a base page. Alternatively
(or additionally), take a look at IPageFactory.

Eelco


On 3/9/07, genepi <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
> Eelco Hillenius wrote:
> >
> > You can read them in in your home page's constructor
> > ((WebApplication)Application.get()).getInitParameter("foo")
> >
>
> I forgot to tell that there is no difference between the home page and
> secondary pages. In secondary pages, I can obtain dynamic information from
> request parameters.
> From what I understand, I have to create 2 classes: one for the home page to
> get the information from the constructor, and the other one for the
> secondary pages. I hoped I could avoid this duplication of code/html.
>
> Thanks
>
> --Pierre Métras
> --
> View this message in context: 
> http://www.nabble.com/How-to-get-a-dynamic-home-page--tf3379386.html#a9406773
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to