I have combine the signIn2 and the wizard for creating a new user. I have added both to my TabbedPanel. For some reason, the wizard appeared wrongly at the right when is clicked. This doesn't happen to the sigIn2. I found some strange html which I wanna share with you,
<div style="width:0px;height:0px;position:absolute;left:-100px;top:-100px;overflow:hidden"<input So I don't know how to solve it. I am using wicket 1.3 beta 3. If I remove it from the html, I can see the page accurately. I googled this line and I found this wicket link http://mail-archives.apache.org/mod_mbox/wicket-commits/200706.mbox/[EMAIL PROTECTED] this is where I add both of them in java. (it is mixed with some spanish words, I am sorry) public PaginaSignIn(final PageParameters parameters) { List<AbstractTab> solapas = new ArrayList<AbstractTab>(); solapas.add(new AbstractTab(new Model("Entrar")){ @Override public Panel getPanel(String panelId) { return new SolapaSignIn(panelId) { public boolean signIn(String username, String password) { return ((SignIn2Session)getSession()).authenticate(username, password); } }; } }); solapas.add(new AbstractTab(new Model("Nuevo usuario")){ @Override public Panel getPanel(String panelId) { return new NewUserWizard(panelId); } }); add(new TabbedPanel("tabs", solapas)); } Part of the html rendered <div class="wicketExtensionsWizard"> <form action="?x=6-%3A0%3Atabs%3Apanel%3Aform%3A1%3AIFormSubmitListener%3A%3A" wicket:id="form" class="wicketExtensionsWizardForm" method="post" id="form7"> <div style="display:none"> <input type="hidden" name="form7_hf_0" id="form7_hf_0" /> </div> <div style="width:0px;height:0px;position:absolute;left:-100px;top:-100px;overflow:hidden"<input type="text" autocomplete="false"/><input type="submit" onclick=" var b=Wicket.$('next8'); if (typeof(b.onclick) != 'undefined') { var r = b.onclick.bind(this)(); if (r != false) b.click(); } else { b.click(); }; return false;" /> </div> Thanks in advance -- Fernando Wermus.
