I found a solution to my developing. I changed to beta 4 and that line is
well formed, but I still have the panel in the wrong position. Testing a
little on the html, I realized that if I remove the "height:0px" from the
div the page looks well. It seems as if Mozilla moved the panel because of
that line.

I need some help. I need to recompile the wicket extracting the "height:0px"
from the code and I am not used to recompile libraries. Could anyone help me
on the issue?

Thanks a lot and in advance.

On 10/17/07, Fernando Wermus <[EMAIL PROTECTED]> wrote:
>
> 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:hi
> dden"<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.




-- 
Fernando Wermus.

Reply via email to