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. Index: /Users/eelcohillenius/Documents/workspace_wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorld.html =================================================================== --- /Users/eelcohillenius/Documents/workspace_wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorld.html (revision 555176) +++ /Users/eelcohillenius/Documents/workspace_wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorld.html (working copy) @@ -7,5 +7,6 @@ <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> Index: /Users/eelcohillenius/Documents/workspace_wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorldApplication.java =================================================================== --- /Users/eelcohillenius/Documents/workspace_wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorldApplication.java (revision 555176) +++ /Users/eelcohillenius/Documents/workspace_wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorldApplication.java (working copy) @@ -40,4 +40,10 @@ { return HelloWorld.class; } + + @Override + protected void init() + { + getDebugSettings().setComponentUseCheck(false); + } } :) Whether it is smart to depend on this is another question. Eelco ------------------------------------------------------------------------- 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