> On 7/11/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > i dont think you can, because we really depend on one to onw mapping
> > currently, but i gues juergen knows more on that (for example markup
> > index)
> 
> Yes you can.
> 
>  <body>
>      <span wicket:id="mainNavigation"/>
>      <span wicket:id="message" id="message">Message goes here</span>
> +    <span wicket:id="message" id="message">Message goes here</span>
>  </body>
>  </html>
> ...
>       {
>               return HelloWorld.class;
>       }
> +
> +     @Override
> +     protected void init()
> +     {
> +             getDebugSettings().setComponentUseCheck(false);
> +     }
>  }
> :)
> 
> Whether it is smart to depend on this is another question.
>
> Eelco

I'm really liking this setComponentUseCheck(false); call! It's been the
solution to my last two issues:

1. Wanted to provide Labels, MultiLineLabels etc., to markup but don't
want to insist that the markup uses them.

2. Wanted to allow markup to use the same Label, MultiLineLabal more
than once in the same piece of markup.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to