Re: Some help. I think I found a bug, but I am a wicket newbie anyway.

2007-10-17 Thread Fernando Wermus
I fixed!!! It is working accurately now. Thanks a lot.

On 10/17/07, Igor Vaynberg [EMAIL PROTECTED] wrote:

 svn co https://svn.apache.org/repos/asf/wicket/trunk wicket
 cd wicket
 mvn install

 -igor


 On 10/16/07, Fernando Wermus [EMAIL PROTECTED] wrote:
  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
   ddeninput
  
   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)
   {
   ListAbstractTab solapas = new ArrayListAbstractTab();
   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:hiddeninput
 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.
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Fernando Wermus.


Re: Some help. I think I found a bug, but I am a wicket newbie anyway.

2007-10-17 Thread Fernando Wermus
As you know I ve only changed the style in Form.java. I am using TabPanel
class, and if I switch to AjaxTabPanel doesn't work properly. For some
reason, the window Ajax debug close when I click in some panel. Anyway, I
will still use TabPanel with my fix. I don't know which is the connection
between changing the style (position:absolute; width:0; height:0) in a div
and AjaxTabPanel.

Bye!

On 10/17/07, Fernando Wermus [EMAIL PROTECTED] wrote:

 I fixed!!! It is working accurately now. Thanks a lot.

 On 10/17/07, Igor Vaynberg [EMAIL PROTECTED]  wrote:
 
  svn co https://svn.apache.org/repos/asf/wicket/trunk wicket
  cd wicket
  mvn install
 
  -igor
 
 
  On 10/16/07, Fernando Wermus [EMAIL PROTECTED] wrote:
   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
ddeninput
   
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)
{
ListAbstractTab solapas = new ArrayListAbstractTab();
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:hiddeninput
  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.
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Fernando Wermus.




-- 
Fernando Wermus.