On 9/28/07, Frank Bille <[EMAIL PROTECTED]> wrote:
>
> on 9/28/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> >
> > but thats easy then
> >
> > getMarkupId()
> > {
> > return "id" + pageCounter++;
> > }
> >
> > And maybe have the switch that in development mode we do what we do now?
> >
>
> For my sake we could do that always. :-)
>
> Frank
>
i'd vote for that (if it were in the original vote).
if people still want to use the wicket:id as a base for html ids,
we could "generify" the markupId generation with some kind of
IMarkupIdGenerator or IMarkupIdStrategy which could be registered in the
application.
but that would probably be overkill.
gerolf