you wouldnt mount one per user, you would do it like this:
mount(new indexedurlcodingstrategy("/user", userprofilepage.class));
class UserProfilePage extends WebPage {
public UserProfilePage(PageParameters params) {
String userid=params.get("0");
}
}
then your urls are myapp.com/user/username
and one page can handle all usernames
makes sense?
-igor
On Nov 27, 2007 7:22 AM, Daniele Dellafiore <[EMAIL PROTECTED]> wrote:
> Hi.
>
> In my app I would like to have a easy url for a user, say:
>
> http://myapp.com/username
>
> to make this, in wicket, I only know the mount url way.
> Anyone know about problems in adding a large number of url this way?
>
> Just in case, any alternatives?
>
> Thanks.
>
> --
> Daniele Dellafiore
> http://ildella.wordpress.com/
>
> ---------------------------------------------------------------------
> 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]