On Mon, Sep 19, 2011 at 8:36 AM, cablepuff <cablep...@gmail.com> wrote: > Hi iam getting error in my test case. > > I have the standard navomaticborder file with > addToBorder("navigationBorder") and addToBorder("bodyBorder"); > > > my test contains: > > this.tester.startPage(LoginPage.class); > final FormTester formTester = > this.tester.newFormTester("loginBody:signInPanel:signInForm"); > > my login page extends WebPage with this constructor: > public LoginPage() { > super(); > final NavomaticBorder loginBody = new NavomaticBorder("loginBody"); > final SignInPanel panel = new SignInPanel("signInPanel"); > this.addOrReplace(loginBody > .addOrReplace(panel) > .addOrReplace(new FeedbackPanel("feedback", new > ContainerFeedbackMessageFilter(panel)).setOutputMarkupId(true))); > } > > > path: 'loginBody:signInPanel:signInForm' does not exist for page: LoginPage > > This work in 1.4.18 but no in 1.5 > > What went wrong? > https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+1.5#MigrationtoWicket1.5-RemovedmagicfromBorderComponent
addOrReplace() uses add() behind the scenes which is not what addToBorder() does. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/1-5-wicketeser-with-navomatic-border-path-not-found-tp3823023p3823023.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 > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org