your page markup does not contain a tag with wicket:id="navomaticBorder", also your border does not contain a tag with wicket:id="bodyBorder"
-igor On Sat, Nov 6, 2010 at 12:59 AM, JayJay <j.vondenbu...@gmail.com> wrote: > > I´m using version 1.4.13 > > NavomaticApplication.java: > > public class NavomaticApplication extends WebApplication > { > /** > * Constructor. > */ > public NavomaticApplication() > { > } > > /** > * @see org.apache.wicket.Application#getHomePage() > */ > �...@override > public Class< ? extends Page> getHomePage() > { > return Page1.class; > } > > > } > > NavomaticBorder.html: > > <html xmlns:wicket="http://wicket.apache.org/"> > <head> > <title>Wicket Examples - navomatic</title> > <link rel="stylesheet" type="text/css" href="style.css" /> > </head> > <body> > <wicket:border> > <p> > <table height="100%"> > <tr> > <td height="100%" valign="top"> > <div wicket:id="navigationBorder">Navigation Links > <p><wicket:link> > Page1.html Page1 > <br /> > Page2.html Page2 > <br /> > Page3.html Page3 > </wicket:link></p> > </div> > </td> > <td valign="top"> <wicket:body /> > </td> > </tr> > </table> > </p> > </wicket:border> > </body> > </html> > > WicketBorder.java: > > public class NavomaticBorder extends Border > { > > /** > * Constructor > * > * @param id > * The id of this component > */ > public NavomaticBorder(final String id) > { > super(id); > add(new BoxBorder("navigationBorder")); > add(new BoxBorder("bodyBorder")); > } > } > > Page1.html: > > <html xmlns:wicket="http://wicket.apache.org/"> > <head> > <title>Wicket Examples - navomatic</title> > <link rel="stylesheet" type="text/css" href="style.css"/> > </head> > <body> > > <div style = "width:250px"> > <center><h3>Page 1</h3></center> > Welcome to Navomatic. The navigation links on the left > will allow you to navigate between three pages. Notice that > the current > page > (Page1) is displayed in the "Navigation Links" area as > italicized text, > while the other pages are displayed as clickable links. Go > ahead > and click the "Page2" link now. > </div> > > </body> > </html> > > Page1.java: > > public class Page1 extends WebPage > { > /** > * Constructor > */ > public Page1() > { > add(new NavomaticBorder("navomaticBorder")); > } > } > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/navomatic-example-doesnt-t-work-tp3029232p3029763.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org