Standardizing footers across the site.
So I will have a dozen pages which are bare content + footer from a common
file/db.
I don't want to have THAT many useless classes.  If I do - wicket is a
failure.

-----Original Message-----
From: Martin Makundi [mailto:[email protected]] 
Sent: Monday, October 05, 2009 6:27 PM
To: [email protected]
Subject: Re: how to map 2 html files to 1 class?

What are you handling there ?

**
Martin

2009/10/6 Alex Rass <[email protected]>:
> PageA.html <> PageB.html <> PageC.html
>
> Think about it this way:
> PageA.html  = Privacy Page
> PageB.html = SiteMap Page.
>
> I want to "handle" them both in same java class file cause hardly anything
> is going on there.
>
>
> -----Original Message-----
> From: Martin Makundi [mailto:[email protected]]
> Sent: Monday, October 05, 2009 6:08 PM
> To: [email protected]
> Subject: Re: how to map 2 html files to 1 class?
>
>> PageHandler.java, that handles all 3.
>> mountBookmarkablePage("/PageA.html", PageHandler.class);
>> mountBookmarkablePage("/PageB.html", PageHandler.class);
>> mountBookmarkablePage("/PageC.html", PageHandler.class);
>
> This is a bit confusing, you ar giving different aliases to the same
> page. Is that what you want or you really want different html files
> also..`?
>
> **
> Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to