Re: Set default coding strategy

2011-04-01 Thread Loren Cole
Awesome.  We are already using wicketstuff-annotation, annotating the base
class is the (now obvious) solution we were looking for.

Thanks,
Loren

On Fri, Apr 1, 2011 at 4:10 AM, Mike Mander  wrote:

> Am 31.03.2011 17:39, schrieb Loren Cole:
>
>  We're using annotations to mount our pages, and would like to set things
>> up
>> so they use HybridUrlCodingStrategy by default.  Does anyone know of a way
>> to do this?
>>
>> Thanks,
>> Loren
>>
>>  Maybe you can write your own mount method "mountHybrid" and overload it.
> Then you can call
> this methods. Overwriting "mount methods" in application seems to be
> forbidden (final) and
> in these methods there is no "entry point" for startegy instanciation.
>
> Another (realy great) tool for mounting pages is in wicketstuff-annotation
> project. There you can set strategy
> to use in every page itself and if you derive all your pages from a base
> class you can annotate this class
> with a HybridUrlCodingStrategy.
>
> Hth
> Mike
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Set default coding strategy

2011-04-01 Thread Mike Mander

Am 31.03.2011 17:39, schrieb Loren Cole:

We're using annotations to mount our pages, and would like to set things up
so they use HybridUrlCodingStrategy by default.  Does anyone know of a way
to do this?

Thanks,
Loren

Maybe you can write your own mount method "mountHybrid" and overload it. 
Then you can call
this methods. Overwriting "mount methods" in application seems to be 
forbidden (final) and

in these methods there is no "entry point" for startegy instanciation.

Another (realy great) tool for mounting pages is in 
wicketstuff-annotation project. There you can set strategy
to use in every page itself and if you derive all your pages from a base 
class you can annotate this class

with a HybridUrlCodingStrategy.

Hth
Mike

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Set default coding strategy

2011-03-31 Thread Loren Cole
We're using annotations to mount our pages, and would like to set things up
so they use HybridUrlCodingStrategy by default.  Does anyone know of a way
to do this?

Thanks,
Loren