[Wicket-user] help needed with creation of image Link component

2007-07-03 Thread Erik Dreyer

I'm trying to create a link component that will produce output similar to
the following:

a href=link/to/somewhereimg src=imgA onmousedown=this.src='imgB';
onmouseup=this.src='imgA';/a

where:
1) The link handler (onClick) is defined by users of the component
2) The two images are provided in the component constructor
   for example, ImageLink link = new ImageLink(id, path/to/imageA,
path/to/imageB);

The idea is that anytime I want to create an image link, I can just drop
that in with the paths to the image(s) I want to use.

I've got working code for the image:

   StaticImage image = new StaticImage(image, new
Model(imageOffPath));
   if (StringUtils.isNotBlank(imageOnPath)) {
   image.add(new AttributeModifier(onmousedown, true, new Model(
this.src='+imageOnPath+')));
   image.add(new AttributeModifier(onmouseup, true, new Model(
this.src='+imageOffPath+')));
   }

But I'm having trouble figuring out the rest of it.
I started by extending Panel, but that doesn't work due to Panels requiring
their own markup.
I tried extending Link, but I'm not sure how to get it to render the image
above without creating a markup file.

Any assistance is greatly appreciated.

Thanks,
Erik
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help needed with creation of image Link component

2007-07-03 Thread Igor Vaynberg

On 7/3/07, Erik Dreyer [EMAIL PROTECTED] wrote:


I'm trying to create a link component that will produce output similar to
the following:

a href=link/to/somewhereimg src=imgA onmousedown=this.src='imgB';
onmouseup= this.src='imgA';/a

where:
1) The link handler (onClick) is defined by users of the component
2) The two images are provided in the component constructor
for example, ImageLink link = new ImageLink(id, path/to/imageA,
path/to/imageB);

The idea is that anytime I want to create an image link, I can just drop
that in with the paths to the image(s) I want to use.

I've got working code for the image:

StaticImage image = new StaticImage(image, new
Model(imageOffPath));
if (StringUtils.isNotBlank(imageOnPath)) {
image.add(new AttributeModifier(onmousedown, true, new
Model(this.src='+imageOnPath+')));
image.add (new AttributeModifier(onmouseup, true, new
Model(this.src='+imageOffPath+')));
}

But I'm having trouble figuring out the rest of it.
I started by extending Panel, but that doesn't work due to Panels
requiring their own markup.
I tried extending Link, but I'm not sure how to get it to render the image
above without creating a markup file.

Any assistance is greatly appreciated.



i would make a panel and forward link's onclick to the panel's onclick. the
panels markup would look like this:
wicket:panela wicket:id=linkimg wicke:id=img//a/wicket:panel

-igor






Thanks,

Erik

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help needed with creation of image Link component

2007-07-03 Thread Erik Dreyer

Ahh.  I assumed that if you subclassed a Panel, you had to provide your own
markup for that subclass.  I didn't realize that if the subclassed panel
does not provide its own markup that it uses the markup from the parent.
Very nice feature.  Thx!

On 7/3/07, Igor Vaynberg [EMAIL PROTECTED] wrote:



On 7/3/07, Erik Dreyer [EMAIL PROTECTED] wrote:

 I'm trying to create a link component that will produce output similar
 to the following:

 a href=link/to/somewhereimg src=imgA onmousedown=this.src='imgB';
 onmouseup= this.src='imgA';/a

 where:
 1) The link handler (onClick) is defined by users of the component
 2) The two images are provided in the component constructor
 for example, ImageLink link = new ImageLink(id, path/to/imageA,
 path/to/imageB);

 The idea is that anytime I want to create an image link, I can just drop
 that in with the paths to the image(s) I want to use.

 I've got working code for the image:

 StaticImage image = new StaticImage(image, new
 Model(imageOffPath));
 if (StringUtils.isNotBlank(imageOnPath)) {
 image.add(new AttributeModifier(onmousedown, true, new
 Model(this.src='+imageOnPath+')));
 image.add (new AttributeModifier(onmouseup, true, new
 Model(this.src='+imageOffPath+')));
 }

 But I'm having trouble figuring out the rest of it.
 I started by extending Panel, but that doesn't work due to Panels
 requiring their own markup.
 I tried extending Link, but I'm not sure how to get it to render the
 image above without creating a markup file.

 Any assistance is greatly appreciated.


i would make a panel and forward link's onclick to the panel's onclick.
the panels markup would look like this:
wicket:panela wicket:id=linkimg wicke:id=img//a/wicket:panel

-igor






Thanks,
 Erik


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Help: modalwindow question

2007-06-14 Thread Crag
An open modalwindow, when the form had been submmitted, I want to refresh
parent window , and close current window, how to do ?

the simple code:

html
 head/head
 body
  form wicket:id=nodeForm
   table
tr
 td
  input wicket:id=name type=text /
 /td
/tr
tr
 td 
  input wicket:id=edit type=submit value=Add/Update
onclick=return confirm('Are you sure you want to edit?') /
 /td
/tr
   /table
  /form
 /body
/html


public class EditModal extends WebPage {
 private static final long serialVersionUID = 1L;

 public Tree0EditModal(final ModalWindowPage modalWindowPage, IModel model)
{

  final NodeForm form = new NodeForm(nodeForm, model);

  Button btnEdit = new Button(edit) {
   protected void onSubmit( ) {
System.out.println(submit...);
// now I want to refresh parent window(modalWindowPage), and close
current window(EditModal), how to do ?
//ModalWindow.close(target);
   }
  };

  form.add(btnEdit);
  TextField name = new TextField(name);

  form.add(name);

  add(form);
 }

 class NodeForm extends Form {
  private static final long serialVersionUID = 1L;

  public NodeForm(String id, IModel model) {
   super(id, model);
  }
 }
}




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help: modalwindow question

2007-06-14 Thread Nili Adoram
in your panel:


final ModalWindow modal;
add(modal = new ModalWindow(modalAdvancedSearch));
add(new AjaxLink(openModal) {

@Override
public void onClick(AjaxRequestTarget target) {

modal.show(target);

}
});

modal.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() {

public boolean onCloseButtonClicked(AjaxRequestTarget target) {
return true;
}
});

modal.setWindowClosedCallback(new
ModalWindow.WindowClosedCallback() {

public void onClose(AjaxRequestTarget target) {

setResponsePage();
}
});
Crag wrote:
 An open modalwindow, when the form had been submmitted, I want to refresh
 parent window , and close current window, how to do ?

 the simple code:

 html
  head/head
  body
   form wicket:id=nodeForm
table
 tr
  td
   input wicket:id=name type=text /
  /td
 /tr
 tr
  td 
   input wicket:id=edit type=submit value=Add/Update
 onclick=return confirm('Are you sure you want to edit?') /
  /td
 /tr
/table
   /form
  /body
 /html


 public class EditModal extends WebPage {
  private static final long serialVersionUID = 1L;

  public Tree0EditModal(final ModalWindowPage modalWindowPage, IModel model)
 {

   final NodeForm form = new NodeForm(nodeForm, model);

   Button btnEdit = new Button(edit) {
protected void onSubmit( ) {
 System.out.println(submit...);
 // now I want to refresh parent window(modalWindowPage), and close
 current window(EditModal), how to do ?
 //ModalWindow.close(target);
}
   };

   form.add(btnEdit);
   TextField name = new TextField(name);

   form.add(name);

   add(form);
  }

  class NodeForm extends Form {
   private static final long serialVersionUID = 1L;

   public NodeForm(String id, IModel model) {
super(id, model);
   }
  }
 }




 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

   

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help: modalwindow question

2007-06-14 Thread Crag
thanks Nili.


but   it's not my meaning.

An open modalwindow has a form, when the form had been submmitted( where 
form onSubmit( )  I will do something here), I want to refresh
parent window , and close current window, how to do ?




Nili Adoram [EMAIL PROTECTED]  
news:[EMAIL PROTECTED]
 in your panel:


 final ModalWindow modal;
 add(modal = new ModalWindow(modalAdvancedSearch));
 add(new AjaxLink(openModal) {

@Override
public void onClick(AjaxRequestTarget target) {

modal.show(target);

}
});

 modal.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() {

public boolean onCloseButtonClicked(AjaxRequestTarget target) {
return true;
}
});

modal.setWindowClosedCallback(new
 ModalWindow.WindowClosedCallback() {

public void onClose(AjaxRequestTarget target) {

setResponsePage();
}
});
 Crag wrote:
 An open modalwindow, when the form had been submmitted, I want to refresh
 parent window , and close current window, how to do ?

 the simple code:

 html
  head/head
  body
   form wicket:id=nodeForm
table
 tr
  td
   input wicket:id=name type=text /
  /td
 /tr
 tr
  td 
   input wicket:id=edit type=submit value=Add/Update
 onclick=return confirm('Are you sure you want to edit?') /
  /td
 /tr
/table
   /form
  /body
 /html


 public class EditModal extends WebPage {
  private static final long serialVersionUID = 1L;

  public Tree0EditModal(final ModalWindowPage modalWindowPage, IModel 
 model)
 {

   final NodeForm form = new NodeForm(nodeForm, model);

   Button btnEdit = new Button(edit) {
protected void onSubmit( ) {
 System.out.println(submit...);
 // now I want to refresh parent window(modalWindowPage), and 
 close
 current window(EditModal), how to do ?
 //ModalWindow.close(target);
}
   };

   form.add(btnEdit);
   TextField name = new TextField(name);

   form.add(name);

   add(form);
  }

  class NodeForm extends Form {
   private static final long serialVersionUID = 1L;

   public NodeForm(String id, IModel model) {
super(id, model);
   }
  }
 }




 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/ 




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help: modalwindow question

2007-06-14 Thread Crag
sorry.

An opener modalwindow has a form,  when  the form onSubmit( ) , I want to 
refresh
parent window , and close current window, how to do ?



Crag [EMAIL PROTECTED]  news:[EMAIL PROTECTED]
 thanks Nili.


 but   it's not my meaning.

 An open modalwindow has a form, when the form had been submmitted( where 
 form onSubmit( )  I will do something here), I want to refresh
 parent window , and close current window, how to do ?




 Nili Adoram [EMAIL PROTECTED]  
 news:[EMAIL PROTECTED]
 in your panel:


 final ModalWindow modal;
 add(modal = new ModalWindow(modalAdvancedSearch));
 add(new AjaxLink(openModal) {

@Override
public void onClick(AjaxRequestTarget target) {

modal.show(target);

}
});

 modal.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() {

public boolean onCloseButtonClicked(AjaxRequestTarget target) 
 {
return true;
}
});

modal.setWindowClosedCallback(new
 ModalWindow.WindowClosedCallback() {

public void onClose(AjaxRequestTarget target) {

setResponsePage();
}
});
 Crag wrote:
 An open modalwindow, when the form had been submmitted, I want to 
 refresh
 parent window , and close current window, how to do ?

 the simple code:

 html
  head/head
  body
   form wicket:id=nodeForm
table
 tr
  td
   input wicket:id=name type=text /
  /td
 /tr
 tr
  td 
   input wicket:id=edit type=submit value=Add/Update
 onclick=return confirm('Are you sure you want to edit?') /
  /td
 /tr
/table
   /form
  /body
 /html


 public class EditModal extends WebPage {
  private static final long serialVersionUID = 1L;

  public Tree0EditModal(final ModalWindowPage modalWindowPage, IModel 
 model)
 {

   final NodeForm form = new NodeForm(nodeForm, model);

   Button btnEdit = new Button(edit) {
protected void onSubmit( ) {
 System.out.println(submit...);
 // now I want to refresh parent window(modalWindowPage), and 
 close
 current window(EditModal), how to do ?
 //ModalWindow.close(target);
}
   };

   form.add(btnEdit);
   TextField name = new TextField(name);

   form.add(name);

   add(form);
  }

  class NodeForm extends Form {
   private static final long serialVersionUID = 1L;

   public NodeForm(String id, IModel model) {
super(id, model);
   }
  }
 }




 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/




 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/ 




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help: modalwindow question

2007-06-14 Thread Nili Adoram
add AjaxSubmitButton to the form embedded inside the modal window:

 AjaxSubmitButton submit = new AjaxSubmitButton(submitSearch,
AdvancedSearchForm.this) {


@Override
protected void onSubmit(AjaxRequestTarget target, Form form) {
ModalWindow.close(target);

}
};

Crag wrote:
 sorry.

 An opener modalwindow has a form,  when  the form onSubmit( ) , I want to 
 refresh
 parent window , and close current window, how to do ?



 Crag [EMAIL PROTECTED]  news:[EMAIL PROTECTED]
   
 thanks Nili.


 but   it's not my meaning.

 An open modalwindow has a form, when the form had been submmitted( where 
 form onSubmit( )  I will do something here), I want to refresh
 parent window , and close current window, how to do ?




 Nili Adoram [EMAIL PROTECTED]  
 news:[EMAIL PROTECTED]
 
 in your panel:


 final ModalWindow modal;
 add(modal = new ModalWindow(modalAdvancedSearch));
 add(new AjaxLink(openModal) {

@Override
public void onClick(AjaxRequestTarget target) {

modal.show(target);

}
});

 modal.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() {

public boolean onCloseButtonClicked(AjaxRequestTarget target) 
 {
return true;
}
});

modal.setWindowClosedCallback(new
 ModalWindow.WindowClosedCallback() {

public void onClose(AjaxRequestTarget target) {

setResponsePage();
}
});
 Crag wrote:
   
 An open modalwindow, when the form had been submmitted, I want to 
 refresh
 parent window , and close current window, how to do ?

 the simple code:

 html
  head/head
  body
   form wicket:id=nodeForm
table
 tr
  td
   input wicket:id=name type=text /
  /td
 /tr
 tr
  td 
   input wicket:id=edit type=submit value=Add/Update
 onclick=return confirm('Are you sure you want to edit?') /
  /td
 /tr
/table
   /form
  /body
 /html


 public class EditModal extends WebPage {
  private static final long serialVersionUID = 1L;

  public Tree0EditModal(final ModalWindowPage modalWindowPage, IModel 
 model)
 {

   final NodeForm form = new NodeForm(nodeForm, model);

   Button btnEdit = new Button(edit) {
protected void onSubmit( ) {
 System.out.println(submit...);
 // now I want to refresh parent window(modalWindowPage), and 
 close
 current window(EditModal), how to do ?
 //ModalWindow.close(target);
}
   };

   form.add(btnEdit);
   TextField name = new TextField(name);

   form.add(name);

   add(form);
  }

  class NodeForm extends Form {
   private static final long serialVersionUID = 1L;

   public NodeForm(String id, IModel model) {
super(id, model);
   }
  }
 }




 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
   


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/ 
 




 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

   

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help: modalwindow question

2007-06-14 Thread Matej Knopp
You need to use AjaxSubmitButton inside the modal window. And to
refresh the parent window you need to add WindowClosedCallback to it,
just like in the wicket-examples.

-Matej

On 6/14/07, Nili Adoram [EMAIL PROTECTED] wrote:
 add AjaxSubmitButton to the form embedded inside the modal window:

  AjaxSubmitButton submit = new AjaxSubmitButton(submitSearch,
 AdvancedSearchForm.this) {


 @Override
 protected void onSubmit(AjaxRequestTarget target, Form form) {
 ModalWindow.close(target);

 }
 };

 Crag wrote:
  sorry.
 
  An opener modalwindow has a form,  when  the form onSubmit( ) , I want to
  refresh
  parent window , and close current window, how to do ?
 
 
 
  Crag [EMAIL PROTECTED]  news:[EMAIL PROTECTED]
 
  thanks Nili.
 
 
  but   it's not my meaning.
 
  An open modalwindow has a form, when the form had been submmitted( where
  form onSubmit( )  I will do something here), I want to refresh
  parent window , and close current window, how to do ?
 
 
 
 
  Nili Adoram [EMAIL PROTECTED] 
  news:[EMAIL PROTECTED]
 
  in your panel:
 
 
  final ModalWindow modal;
  add(modal = new ModalWindow(modalAdvancedSearch));
  add(new AjaxLink(openModal) {
 
 @Override
 public void onClick(AjaxRequestTarget target) {
 
 modal.show(target);
 
 }
 });
 
  modal.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() {
 
 public boolean onCloseButtonClicked(AjaxRequestTarget target)
  {
 return true;
 }
 });
 
 modal.setWindowClosedCallback(new
  ModalWindow.WindowClosedCallback() {
 
 public void onClose(AjaxRequestTarget target) {
 
 setResponsePage();
 }
 });
  Crag wrote:
 
  An open modalwindow, when the form had been submmitted, I want to
  refresh
  parent window , and close current window, how to do ?
 
  the simple code:
 
  html
   head/head
   body
form wicket:id=nodeForm
 table
  tr
   td
input wicket:id=name type=text /
   /td
  /tr
  tr
   td 
input wicket:id=edit type=submit value=Add/Update
  onclick=return confirm('Are you sure you want to edit?') /
   /td
  /tr
 /table
/form
   /body
  /html
 
 
  public class EditModal extends WebPage {
   private static final long serialVersionUID = 1L;
 
   public Tree0EditModal(final ModalWindowPage modalWindowPage, IModel
  model)
  {
 
final NodeForm form = new NodeForm(nodeForm, model);
 
Button btnEdit = new Button(edit) {
 protected void onSubmit( ) {
  System.out.println(submit...);
  // now I want to refresh parent window(modalWindowPage), and
  close
  current window(EditModal), how to do ?
  //ModalWindow.close(target);
 }
};
 
form.add(btnEdit);
TextField name = new TextField(name);
 
form.add(name);
 
add(form);
   }
 
   class NodeForm extends Form {
private static final long serialVersionUID = 1L;
 
public NodeForm(String id, IModel model) {
 super(id, model);
}
   }
  }
 
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
 
 
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it 

Re: [Wicket-user] Help: modalwindow question

2007-06-14 Thread Crag
I see, thanks all~:-)

Matej Knopp [EMAIL PROTECTED]  
news:[EMAIL PROTECTED]
 You need to use AjaxSubmitButton inside the modal window. And to
 refresh the parent window you need to add WindowClosedCallback to it,
 just like in the wicket-examples.

 -Matej

 On 6/14/07, Nili Adoram [EMAIL PROTECTED] wrote:
 add AjaxSubmitButton to the form embedded inside the modal window:

  AjaxSubmitButton submit = new AjaxSubmitButton(submitSearch,
 AdvancedSearchForm.this) {


 @Override
 protected void onSubmit(AjaxRequestTarget target, Form form) 
 {
 ModalWindow.close(target);

 }
 };

 Crag wrote:
  sorry.
 
  An opener modalwindow has a form,  when  the form onSubmit( ) , I want 
  to
  refresh
  parent window , and close current window, how to do ?
 
 
 
  Crag [EMAIL PROTECTED]  news:[EMAIL PROTECTED]
 
  thanks Nili.
 
 
  but   it's not my meaning.
 
  An open modalwindow has a form, when the form had been submmitted( 
  where
  form onSubmit( )  I will do something here), I want to refresh
  parent window , and close current window, how to do ?
 
 
 
 
  Nili Adoram [EMAIL PROTECTED] 
  news:[EMAIL PROTECTED]
 
  in your panel:
 
 
  final ModalWindow modal;
  add(modal = new ModalWindow(modalAdvancedSearch));
  add(new AjaxLink(openModal) {
 
 @Override
 public void onClick(AjaxRequestTarget target) {
 
 modal.show(target);
 
 }
 });
 
  modal.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() {
 
 public boolean onCloseButtonClicked(AjaxRequestTarget 
  target)
  {
 return true;
 }
 });
 
 modal.setWindowClosedCallback(new
  ModalWindow.WindowClosedCallback() {
 
 public void onClose(AjaxRequestTarget target) {
 
 setResponsePage();
 }
 });
  Crag wrote:
 
  An open modalwindow, when the form had been submmitted, I want to
  refresh
  parent window , and close current window, how to do ?
 
  the simple code:
 
  html
   head/head
   body
form wicket:id=nodeForm
 table
  tr
   td
input wicket:id=name type=text /
   /td
  /tr
  tr
   td 
input wicket:id=edit type=submit value=Add/Update
  onclick=return confirm('Are you sure you want to edit?') /
   /td
  /tr
 /table
/form
   /body
  /html
 
 
  public class EditModal extends WebPage {
   private static final long serialVersionUID = 1L;
 
   public Tree0EditModal(final ModalWindowPage modalWindowPage, IModel
  model)
  {
 
final NodeForm form = new NodeForm(nodeForm, model);
 
Button btnEdit = new Button(edit) {
 protected void onSubmit( ) {
  System.out.println(submit...);
  // now I want to refresh parent window(modalWindowPage), and
  close
  current window(EditModal), how to do ?
  //ModalWindow.close(target);
 }
};
 
form.add(btnEdit);
TextField name = new TextField(name);
 
form.add(name);
 
add(form);
   }
 
   class NodeForm extends Form {
private static final long serialVersionUID = 1L;
 
public NodeForm(String id, IModel model) {
 super(id, model);
}
   }
  }
 
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
 
 
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the 

[Wicket-user] Help: modalwindow question

2007-06-13 Thread Crag
An open modalwindow, when the form had been submmitted, I want to refresh 
parent window , and close current window, how to do ?

the simple code:

html
 head/head
 body
  form wicket:id=nodeForm
   table
tr
 td
  input wicket:id=name type=text /
 /td
/tr
tr
 td 
  input wicket:id=edit type=submit value=Add/Update 
onclick=return confirm('Are you sure you want to edit?') /
 /td
/tr
   /table
  /form
 /body
/html


public class EditModal extends WebPage {
 private static final long serialVersionUID = 1L;

 public Tree0EditModal(final ModalWindowPage modalWindowPage, IModel model) 
{

  final NodeForm form = new NodeForm(nodeForm, model);

  Button btnEdit = new Button(edit) {
   protected void onSubmit( ) {
System.out.println(submit...);
// now I want to refresh parent window(modalWindowPage), and close 
current window(EditModal), how to do ?
//ModalWindow.close(target);
   }
  };

  form.add(btnEdit);
  TextField name = new TextField(name);

  form.add(name);

  add(form);
 }

 class NodeForm extends Form {
  private static final long serialVersionUID = 1L;

  public NodeForm(String id, IModel model) {
   super(id, model);
  }
 }
} 




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help Me Improve Wicket Quickstart

2007-05-21 Thread Reinout van Schouwen
Op vrijdag 06-04-2007 om 13:18 uur [tijdzone -0500], schreef Philip
Weaver:

 I am interested in helping to improve the Quickstart download. I would
 be more pleased if the quickstart first presented a  generic
 quickstart with NetBeans, Idea, and Eclipse as additional setups. The
 QuickStart should at the least illustrate how to get Wicket up and
 running manually (script for lauching, etc)
 
 I can set all of this up myself but help will make it quicker and more
 pleasing. :-) 


Here's a small data point, if it helps.

I tried following the instructions on
http://wicket.sourceforge.net/wicket-quickstart/netbeans.html to get the
wicket quickstart 1.2.6 running. However, I didn't succeed. First, I
tried to create a new project from existing source. Netbeans warned me
that build.xml would be overwritten. So then I tried to create it from
an existing build script. This worked, but there was no Run project
target present so I couldn't run the project as described. I tried the
test target but that failed too, as there was no test directory. 

As far as I can tell, the Quickstart instructions are totally out of
sync with the actual code...

regards,

-- 
Reinout van Schouwen




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for Wicket

2007-04-24 Thread Johan Compagner


And I  also admit that  I don't have  the same patience  as yours,
providing code snippets all the  time, answering to every question
with such accuracy :-)

Congratulations, Igor!



+1  Igor for president!
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for Wicket

2007-04-24 Thread Thomas R. Corbin
On Tuesday 24 April 2007 2:14 am, Johan Compagner escreveu:
  And I  also admit that  I don't have  the same patience  as yours,
  providing code snippets all the  time, answering to every question
  with such accuracy :-)
 
  Congratulations, Igor!

 +1  Igor for president!

+1 Thanks to all of you.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for Wicket

2007-04-23 Thread Ralf Eichinger
there is a tinymce-component in distribution.
but it is very heavyloaded and I want to start a wysiwyg-textarea for wicket.
the license should be apache, so wicket can incorporate it.
as a first time component for me I started reading source-codes (datepicker),
the pro wicket book and got confused about component creation

I started based on this article:
http://www.bewebmaster.com/55.php

I managed to display the iframe (is donw with javascript...), but can not
replace javascript-component-creation with dynamic
wicket-java-component-creation.
how is it possible to replace this javascript:

//Javascript function dislpayEditor will create the textarea.

function displayEditor(editor, html, width, height) {
   if(isEditable){
   document.writeln('iframe id=' + editor + ' name=' + editor + '
width=' + width + 'px height=' + height + 'px/iframe');
//create a hidden field that will hold everything that is typed in the textarea
   document.writeln('input type=hidden id=hidden' + editor + '
name=hidden' + editor + ' value=');
//assign html (textarea value) to hiddeneditor
  document.getElementById('hidden' + editor).value = html;
//call function designer
  designer(editor, html);
   }else{
 document.writeln('textarea name=' + editor + ' id=' + editor + '
cols=39 rows=10' + html + '/textarea');
   }
}

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for

2007-04-23 Thread Ralf Eichinger
thank you Jean-Baptiste.
ok, I see there is another solution.

but nevertheless I want to learn how things can be done.
and I couldn't figure out how I can add dynamically gui-components.
when I do a if/else in java I get exceptions because of wicket:ids in html not
finding their component in java model.

it will be a great help (not only for me) in learning how to develop a new
component.
so again, how can the javascript generated solution (se first post) be replaced
with wicket-java-code?

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for

2007-04-23 Thread Robbert Vergeten

with panels?

a.k.a

Panel myPanel;
if(showPanel1)
myPanel = new Panel1();
else
myPanel = new Panel2();

each panel has its own markup so this way your wicket:ids are only those
from the correct panel.

On 4/23/07, Ralf Eichinger [EMAIL PROTECTED] wrote:


thank you Jean-Baptiste.
ok, I see there is another solution.

but nevertheless I want to learn how things can be done.
and I couldn't figure out how I can add dynamically gui-components.
when I do a if/else in java I get exceptions because of wicket:ids in html
not
finding their component in java model.

it will be a great help (not only for me) in learning how to develop a new

component.
so again, how can the javascript generated solution (se first post) be
replaced
with wicket-java-code?

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for Wicket

2007-04-23 Thread Igor Vaynberg

you know jbq, i would love to see you for once answer a question instead of
only pimping dojo :)

class rtebehavior extends abstractbehavior implements iheadercontributor {
 public static JavascriptReference ref=new JavascriptReference(
rtebehavior.class, rte.js);
 private Component target;

 public void bind(Component c) {
 target=c;
  // tell target textarea to output its markup id
  target.setOutputMarkupId(true);
  }

  public void renderhead(iheaderresponse r) {
   // include any needed js files
   r.renderJavascriptReference(ref);
   // output activating javascript
   r.renderOnDomReadyJavascript(displayEditor('+target.getmarkupid()+',
html, width, height));
  }
}

and thats all there is to it, now what you do is

TextArea ta=new TextArea(...);
ta.add(new rtebehavior());

-igor


On 4/23/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:


* Ralf Eichinger:

 there is  a tinymce-component  in distribution.  but it  is very
 heavyloaded and I want to start a wysiwyg-textarea for wicket.

Such a widget already exists, check out DojoRichTextEditorBehavior
in WicketStuff Dojo:


http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-dojo/src/main/java/org/wicketstuff/dojo/markup/html/richtexteditor/DojoRichTextEditorBehavior.java?view=markup

Cheers,
--
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for

2007-04-23 Thread Igor Vaynberg

see my reply in your original thread

-igor


On 4/23/07, Ralf Eichinger [EMAIL PROTECTED] wrote:


thank you Jean-Baptiste.
ok, I see there is another solution.

but nevertheless I want to learn how things can be done.
and I couldn't figure out how I can add dynamically gui-components.
when I do a if/else in java I get exceptions because of wicket:ids in html
not
finding their component in java model.

it will be a great help (not only for me) in learning how to develop a new
component.
so again, how can the javascript generated solution (se first post) be
replaced
with wicket-java-code?

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for Wicket

2007-04-23 Thread Igor Vaynberg

i thought doing this was part of the job. i thought being of apache
background you wouldve understood this better then any of us.

-igor


On 4/23/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:


* Igor Vaynberg:

 you know jbq, i would love to see you for once answer a question
 instead of only pimping dojo :)

Igor you  know most users  (like me) don't  want to spend  time on
bloated Javascript.  That's why I mention this component.  Besides
that, Dojo's rich text editor is also a very nice wysiwyg editor.

But I admit I don't answer the question directly.  However someone
looking for  wysiwyg textarea will find  my post, and may  find it
useful even if not directly linked with the initial problem.

And I  also admit that  I don't have  the same patience  as yours,
providing code snippets all the  time, answering to every question
with such accuracy :-)

Congratulations, Igor!
--
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help Me Improve Wicket Quickstart

2007-04-09 Thread Martin Funk

 Well, isn't that just what mvn jetty:run gives you? :-)

talking about quickstart and mvn jetty:run:

https://issues.apache.org/jira/browse/WICKET-455

Martin

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help Me Improve Wicket Quickstart

2007-04-08 Thread Jean-Baptiste Quenot
Why not opening an issue on JIRA with the required patch to
build.xml?  And about the documentation, it's in Confluence,
right?
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help Me Improve Wicket Quickstart

2007-04-07 Thread Gwyn Evans




Hi Philip,

Saturday, April 7, 2007, 1:24:33 AM, you wrote:








In summary, the intent of the QuickStart with a bundled Jetty is fabulous. However, I feel that it falls short by only offering means to run the project using NetBeans, IDEA, or Eclipse. And I think this is a little disappointing. I happen to use jEdit - so I think it's a little annoying that the QuickStart doesn't have generic instructions or, say, a "java" target immediately in the build file.





Well, isn't that just what "mvn jetty:run" gives you? :-)

We're open to patches if you feel that the Ant script could be extended though, but as far as the IDEs go, they're not one's that we're explictly decided upon, just the ones that there are Maven plugins for (that we're aware of) that generate the respective IDE-specific project files.

--
Best regards,
Gwyn  mailto:[EMAIL PROTECTED]




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help Me Improve Wicket Quickstart

2007-04-07 Thread Philip Weaver

The difficulty I faced was perhaps more of a documentation issue. It seems
like the QuickStart documentation assumes that the user is using IDEA,
Eclipse, or NetBeans and also assumes that the user is already has Maven
installed. The only reference I have found so far to Maven in in the change
log page.

So IMO the documentation basically needs another document on how to build
and run the QuickStart from Ant or Maven using any IDE. More users are
likely to have Ant installed than Maven I would guess. The Ant build file
which is already included just needs an execute target with java command -
that's what I do. But regardless, the QuickStart docs need a generic setup
document which does not assume that Maven is installed.

On 4/7/07, Gwyn Evans [EMAIL PROTECTED] wrote:


 Hi Philip,


Saturday, April 7, 2007, 1:24:33 AM, you wrote:


  

In summary, the intent of the QuickStart with a bundled Jetty is fabulous.
However, I feel that it falls short by only offering means to run the
project using NetBeans, IDEA, or Eclipse. And I think this is a little
disappointing. I happen to use jEdit - so I think it's a little annoying
that the QuickStart doesn't have generic instructions or, say, a java
target immediately in the build file.


Well, isn't that just what mvn jetty:run gives you? :-)


We're open to patches if you feel that the Ant script could be extended
though, but as far as the IDEs go, they're not one's that we're explictly
decided upon, just the ones that there are Maven plugins for (that we're
aware of) that generate the respective IDE-specific project files.


--

Best regards,

 Gwynmailto:[EMAIL PROTECTED][EMAIL PROTECTED]

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Help Me Improve Wicket Quickstart

2007-04-06 Thread Philip Weaver

Can anyone send me pointers for setting up quickstart manually? (scripts,
build file w/ exec, etc)
Who to talk to to create a generic quickstart setup document?

I am interested in helping to improve the Quickstart download. I would be
more pleased if the quickstart first presented a generic quickstart with
NetBeans, Idea, and Eclipse as additional setups. The QuickStart should at
the least illustrate how to get Wicket up and running manually (script for
lauching, etc)

I can set all of this up myself but help will make it quicker and more
pleasing. :-)

Thanks.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help Me Improve Wicket Quickstart

2007-04-06 Thread Igor Vaynberg

in quickstart you can do mvn eclipse:eclipse to generate an eclipse project,
or mvn idea:idea for idea.

you can writeup a document on the wiki, and if we all like it we can export
it into quickstart's readme or something like that

-igor


On 4/6/07, Philip Weaver [EMAIL PROTECTED] wrote:



Can anyone send me pointers for setting up quickstart manually? (scripts,
build file w/ exec, etc)
Who to talk to to create a generic quickstart setup document?

I am interested in helping to improve the Quickstart download. I would be
more pleased if the quickstart first presented a generic quickstart with
NetBeans, Idea, and Eclipse as additional setups. The QuickStart should at
the least illustrate how to get Wicket up and running manually (script for
lauching, etc)

I can set all of this up myself but help will make it quicker and more
pleasing. :-)

Thanks.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help Me Improve Wicket Quickstart

2007-04-06 Thread Philip Weaver

In summary, the intent of the QuickStart with a bundled Jetty is fabulous.
However, I feel that it falls short by only offering means to run the
project using NetBeans, IDEA, or Eclipse. And I think this is a little
disappointing. I happen to use jEdit - so I think it's a little annoying
that the QuickStart doesn't have generic instructions or, say, a java
target immediately in the build file. Just one of the selling points of
Wicket that attracts me is no XML/configuration files. This QuickStart has
several and none of them are generic enough to run the QuickStart from the
ant build file using java. I even consider Ant to use XML configuration
files and I think Ant should die. Hehe.

I'll work all of this out and will add to the wiki. Let me know if anyone
can send me anything to help me out. I hate ant and I hate configuring stuff
- just want to play with Wicket.

Thanks,
Phil

On 4/6/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


in quickstart you can do mvn eclipse:eclipse to generate an eclipse
project, or mvn idea:idea for idea.

you can writeup a document on the wiki, and if we all like it we can
export it into quickstart's readme or something like that

-igor


On 4/6/07, Philip Weaver [EMAIL PROTECTED] wrote:


 Can anyone send me pointers for setting up quickstart manually?
 (scripts, build file w/ exec, etc)
 Who to talk to to create a generic quickstart setup document?

 I am interested in helping to improve the Quickstart download. I would
 be more pleased if the quickstart first presented a generic quickstartwith 
NetBeans, Idea, and Eclipse as additional setups. The QuickStart should
 at the least illustrate how to get Wicket up and running manually (script
 for lauching, etc)

 I can set all of this up myself but help will make it quicker and more
 pleasing. :-)

 Thanks.




 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys-and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help Me Improve Wicket Quickstart

2007-04-06 Thread Philip Weaver

Basically, would be nice if instructions as simple as the following were
part of the build file:

   target name=execute
   java classname=wicket.quickstart.Start fork=true
failonerror=true maxmemory=128m classpathref=build.classpath
   classpath
   path refid=build.classpath/path
   pathelement path=${build.main.classes}/pathelement
   /classpath
   /java
   /target

I'll see if I can add something to the wiki - but I want to play now.

On 4/6/07, Philip Weaver [EMAIL PROTECTED] wrote:


In summary, the intent of the QuickStart with a bundled Jetty is fabulous.
However, I feel that it falls short by only offering means to run the
project using NetBeans, IDEA, or Eclipse. And I think this is a little
disappointing. I happen to use jEdit - so I think it's a little annoying
that the QuickStart doesn't have generic instructions or, say, a java
target immediately in the build file. Just one of the selling points of
Wicket that attracts me is no XML/configuration files. This QuickStart has
several and none of them are generic enough to run the QuickStart from the
ant build file using java. I even consider Ant to use XML configuration
files and I think Ant should die. Hehe.

I'll work all of this out and will add to the wiki. Let me know if anyone
can send me anything to help me out. I hate ant and I hate configuring stuff
- just want to play with Wicket.

Thanks,
Phil

On 4/6/07, Igor Vaynberg [EMAIL PROTECTED] wrote:

 in quickstart you can do mvn eclipse:eclipse to generate an eclipse
 project, or mvn idea:idea for idea.

 you can writeup a document on the wiki, and if we all like it we can
 export it into quickstart's readme or something like that

 -igor


 On 4/6/07, Philip Weaver  [EMAIL PROTECTED] wrote:

 
  Can anyone send me pointers for setting up quickstart manually?
  (scripts, build file w/ exec, etc)
  Who to talk to to create a generic quickstart setup document?
 
  I am interested in helping to improve the Quickstart download. I would
  be more pleased if the quickstart first presented a generic quickstartwith 
NetBeans, Idea, and Eclipse as additional setups. The QuickStart should
  at the least illustrate how to get Wicket up and running manually (script
  for lauching, etc)
 
  I can set all of this up myself but help will make it quicker and more
  pleasing. :-)
 
  Thanks.
 
 
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
  share your
  opinions on IT  business topics through brief surveys-and earn cash
 
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help Me Improve Wicket Quickstart

2007-04-06 Thread Eelco Hillenius
Patches are always welcome at: https://issues.apache.org/jira/browse/WICKET

Eelco


On 4/6/07, Philip Weaver [EMAIL PROTECTED] wrote:
 Basically, would be nice if instructions as simple as the following were
 part of the build file:

 target name=execute
 java classname=wicket.quickstart.Start fork=true
 failonerror=true maxmemory=128m classpathref= build.classpath
 classpath
 path refid=build.classpath/path
 pathelement path=${build.main.classes}/pathelement
 /classpath
 /java
 /target

 I'll see if I can add something to the wiki - but I want to play now.


 On 4/6/07, Philip Weaver [EMAIL PROTECTED] wrote:
  In summary, the intent of the QuickStart with a bundled Jetty is fabulous.
 However, I feel that it falls short by only offering means to run the
 project using NetBeans, IDEA, or Eclipse. And I think this is a little
 disappointing. I happen to use jEdit - so I think it's a little annoying
 that the QuickStart doesn't have generic instructions or, say, a java
 target immediately in the build file. Just one of the selling points of
 Wicket that attracts me is no XML/configuration files. This QuickStart has
 several and none of them are generic enough to run the QuickStart from the
 ant build file using java. I even consider Ant to use XML configuration
 files and I think Ant should die. Hehe.
 
  I'll work all of this out and will add to the wiki. Let me know if anyone
 can send me anything to help me out. I hate ant and I hate configuring stuff
 - just want to play with Wicket.
 
  Thanks,
  Phil
 
 
 
  On 4/6/07, Igor Vaynberg [EMAIL PROTECTED]  wrote:
   in quickstart you can do mvn eclipse:eclipse to generate an eclipse
 project, or mvn idea:idea for idea.
  
   you can writeup a document on the wiki, and if we all like it we can
 export it into quickstart's readme or something like that
  
   -igor
  
  
  
  
   On 4/6/07, Philip Weaver  [EMAIL PROTECTED] wrote:
   
   
Can anyone send me pointers for setting up quickstart manually?
 (scripts, build file w/ exec, etc)
Who to talk to to create a generic quickstart setup document?
   
I am interested in helping to improve the Quickstart download. I would
 be more pleased if the quickstart first presented a generic quickstart with
 NetBeans, Idea, and Eclipse as additional setups. The QuickStart should at
 the least illustrate how to get Wicket up and running manually (script for
 lauching, etc)
   
I can set all of this up myself but help will make it quicker and more
 pleasing. :-)
   
Thanks.
   
   
   
   
 -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
opinions on IT  business topics through brief surveys-and earn cash
   
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
  
 
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] help: how to reverse the order of RepeatingView's children

2007-03-01 Thread Otan

[Wicket 2.0] The javadoc says that RepeatingView renders all of its children
in order they were added. Could anyone give me a pointer or a demonstration
on how to reverse the order of a RepeatingView's children? Thanks.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help: how to reverse the order of RepeatingView's children

2007-03-01 Thread Igor Vaynberg

override repeatingview.renderiterator() and reverse the order

-igor


On 3/1/07, Otan [EMAIL PROTECTED] wrote:


[Wicket 2.0] The javadoc says that RepeatingView renders all of its
children in order they were added. Could anyone give me a pointer or a
demonstration on how to reverse the order of a RepeatingView's children?
Thanks.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help wanted for testing custom serialization (Wicket 1.3)

2007-02-19 Thread Andrew Klochkov
It doesn't work. Maybe I should update? I have a week old version I guess.

ERROR - Objects- Error serializing object class
com.webalta.context.ad.web.stat.mock.MockStatPage [object=[Page class =
com.webalta.context.ad.web.stat.mock.MockStatPage, id = 0, version = 0]]
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(ClassStreamHandler.java:423)
at
wicket.util.io.WicketObjectOutputStream.writeObjectOverride(WicketObjectOutputStream.java:134)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at
wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.writeField(ClassStreamHandler.java:766)
at
wicket.util.io.ClassStreamHandler.writeFields(ClassStreamHandler.java:342)
at
wicket.util.io.WicketObjectOutputStream.writeObjectOverride(WicketObjectOutputStream.java:136)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at
wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.writeField(ClassStreamHandler.java:766)
at
wicket.util.io.ClassStreamHandler.writeFields(ClassStreamHandler.java:342)
at
wicket.util.io.WicketObjectOutputStream.writeObjectOverride(WicketObjectOutputStream.java:136)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at wicket.util.lang.Objects.objectToByteArray(Objects.java:1043)
at
wicket.protocol.http.FilePageStore.serializePage(FilePageStore.java:412)
at wicket.protocol.http.FilePageStore.access$4(FilePageStore.java:409)
at
wicket.protocol.http.FilePageStore$PageSavingThread.run(FilePageStore.java:599)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(ClassStreamHandler.java:411)
... 15 more
Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(ClassStreamHandler.java:423)
at
wicket.util.io.WicketObjectOutputStream.writeObjectOverride(WicketObjectOutputStream.java:134)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.ArrayList.writeObject(Unknown Source)
... 20 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(ClassStreamHandler.java:411)
... 23 more
Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(ClassStreamHandler.java:423)
at
wicket.util.io.WicketObjectOutputStream.writeObjectOverride(WicketObjectOutputStream.java:134)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at
wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.writeField(ClassStreamHandler.java:766)
at
wicket.util.io.ClassStreamHandler.writeFields(ClassStreamHandler.java:342)
at
wicket.util.io.WicketObjectOutputStream.defaultWriteObject(WicketObjectOutputStream.java:155)
at javax.swing.tree.DefaultMutableTreeNode.writeObject(Unknown Source)
... 28 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(ClassStreamHandler.java:411)
... 34 more
Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(ClassStreamHandler.java:423)
at
wicket.util.io.WicketObjectOutputStream.writeObjectOverride(WicketObjectOutputStream.java:134)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at
wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.writeField(ClassStreamHandler.java:766)
at
wicket.util.io.ClassStreamHandler.writeFields(ClassStreamHandler.java:342)
at
wicket.util.io.WicketObjectOutputStream.defaultWriteObject(WicketObjectOutputStream.java:155)
at javax.swing.tree.DefaultMutableTreeNode.writeObject(Unknown Source)
... 39 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 

Re: [Wicket-user] Help wanted for testing custom serialization (Wicket 1.3)

2007-02-19 Thread Johan Compagner

i think that is an old one yes that should be fixed



On 2/19/07, Andrew Klochkov [EMAIL PROTECTED] wrote:


It doesn't work. Maybe I should update? I have a week old version I guess.

ERROR - Objects- Error serializing object class
com.webalta.context.ad.web.stat.mock.MockStatPage [object=[Page class =
com.webalta.context.ad.web.stat.mock.MockStatPage, id = 0, version = 0]]
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(
ClassStreamHandler.java:423)
at
wicket.util.io.WicketObjectOutputStream.writeObjectOverride(
WicketObjectOutputStream.java:134)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at
wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.writeField(
ClassStreamHandler.java:766)
at
wicket.util.io.ClassStreamHandler.writeFields(ClassStreamHandler.java:342)
at
wicket.util.io.WicketObjectOutputStream.writeObjectOverride(
WicketObjectOutputStream.java:136)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at
wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.writeField(
ClassStreamHandler.java:766)
at
wicket.util.io.ClassStreamHandler.writeFields(ClassStreamHandler.java:342)
at
wicket.util.io.WicketObjectOutputStream.writeObjectOverride(
WicketObjectOutputStream.java:136)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at wicket.util.lang.Objects.objectToByteArray(Objects.java:1043)
at
wicket.protocol.http.FilePageStore.serializePage(FilePageStore.java:412)
at wicket.protocol.http.FilePageStore.access$4(FilePageStore.java:409)
at
wicket.protocol.http.FilePageStore$PageSavingThread.run(FilePageStore.java
:599)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(
ClassStreamHandler.java:411)
... 15 more
Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(
ClassStreamHandler.java:423)
at
wicket.util.io.WicketObjectOutputStream.writeObjectOverride(
WicketObjectOutputStream.java:134)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.ArrayList.writeObject(Unknown Source)
... 20 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(
ClassStreamHandler.java:411)
... 23 more
Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(
ClassStreamHandler.java:423)
at
wicket.util.io.WicketObjectOutputStream.writeObjectOverride(
WicketObjectOutputStream.java:134)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at
wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.writeField(
ClassStreamHandler.java:766)
at
wicket.util.io.ClassStreamHandler.writeFields(ClassStreamHandler.java:342)
at
wicket.util.io.WicketObjectOutputStream.defaultWriteObject(
WicketObjectOutputStream.java:155)
at javax.swing.tree.DefaultMutableTreeNode.writeObject(Unknown Source)
... 28 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(
ClassStreamHandler.java:411)
... 34 more
Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at
wicket.util.io.ClassStreamHandler.invokeWriteMethod(
ClassStreamHandler.java:423)
at
wicket.util.io.WicketObjectOutputStream.writeObjectOverride(
WicketObjectOutputStream.java:134)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at
wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.writeField(
ClassStreamHandler.java:766)
at
wicket.util.io.ClassStreamHandler.writeFields(ClassStreamHandler.java:342)
at
wicket.util.io.WicketObjectOutputStream.defaultWriteObject(
WicketObjectOutputStream.java:155)
at javax.swing.tree.DefaultMutableTreeNode.writeObject(Unknown Source)
... 39 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 

[Wicket-user] help How to include *.htc files in css files?

2007-02-16 Thread Elemer Zagoni
Hi,

 

I'm new to Wicket (using Wicket ver. 1.2.4).

 

I tried to include an htc file (Internet Explorer behavior file) in a
css (to fix incorrect png handling in IE).

I did it like below:

 

 *img, div {behavior:url(../htc/iepngfix.htc)}

 

the browser cannot find the referenced htc file. The strange thing is
that I refer to various images (in the same css) the same way, I mean:
background-image:url(../img/background.png), and the images are found.

 

Could anyone tell me why the above technique did not work for *.htc
files, and what's the way to do it for *.htc files?

 

Thanx in advance.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help How to include *.htc files in css files?

2007-02-16 Thread Nino Wael
Not sure about this but could it be that the container does not serve these 
files by default?

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Elemer Zagoni
Sent: 16. februar 2007 10:51
To: wicket-user@lists.sourceforge.net
Subject: [Wicket-user] help How to include *.htc files in css files?

 

Hi,

 

I'm new to Wicket (using Wicket ver. 1.2.4).

 

I tried to include an htc file (Internet Explorer behavior file) in a css (to 
fix incorrect png handling in IE).

I did it like below:

 

 *img, div {behavior:url(../htc/iepngfix.htc)}

 

the browser cannot find the referenced htc file. The strange thing is that I 
refer to various images (in the same css) the same way, I mean: 
background-image:url(../img/background.png), and the images are found.

 

Could anyone tell me why the above technique did not work for *.htc files, and 
what's the way to do it for *.htc files?

 

Thanx in advance.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Help wanted for testing custom serialization (Wicket 1.3)

2007-02-15 Thread Eelco Hillenius
Hi all,

We're (Johan mostly) are experimenting with custom serialization to
see whether we could speed things up a bit (which doesn't mean what we
have now is bad btw).

For anyone working on 1.3: we could use your help testing that
feature. The only thing you need to do is turn it on on your
development machine, by doing this in e.g. your application's class
init method:

Objects.setObjectStreamFactory(new wicket.util.io.WicketObjectStreamFactory());

And then just report any issues you encounter to this list or the
developers list. Of course, if you have tweaks, test reports etc,
that'd be even cooler.

The default can be set like this:

Objects.setObjectStreamFactory(new
IObjectStreamFactory.DefaultObjectStreamFactory());

which is based on JDK's serialization. If you don't configure
otherwise, that is what is used.

Thanks,

Eelco

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help urgent

2007-02-13 Thread Igor Vaynberg

of course if you clear out cookies while in the middle of a session you will
get a page expired page. this is because the container can no longer find
the session since the cookie is gone.

-igor


On 2/13/07, ketan gote [EMAIL PROTECTED] wrote:


hello
friends

there is problem in wicket example, ie farme example
when this example is run , and clear out cookies, the expire page comes
when i click on bottom page link.
Then click on expire page link and see the result.

--
Regards

Ketan D.Gote
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help urgent

2007-02-13 Thread Nino Wael
Yeah, Im guessing that the web container must have been forced to do the url 
rewrite from the start. How else should it be able to do such a thing...

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg
Sent: 14. februar 2007 07:27
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] help urgent

 

of course if you clear out cookies while in the middle of a session you will 
get a page expired page. this is because the container can no longer find the 
session since the cookie is gone.

-igor



On 2/13/07, ketan gote [EMAIL PROTECTED] wrote:

hello 
friends

there is problem in wicket example, ie farme example
when this example is run , and clear out cookies, the expire page comes when i 
click on bottom page link. 
Then click on expire page link and see the result.

-- 
Regards

Ketan D.Gote 
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your 
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user 

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Help. Have been encountering this error in Wicket 2.0

2007-01-12 Thread Otan

WicketMessage: Error attaching this container for rendering: [Page
class = packedge.EditPage, id = 9]

Root cause:

java.lang.IllegalStateException: wicket.Component has not been
properly attached. Something in the hierarchy of
wicket.extensions.ajax.markup.html.modal.ModalWindow has not called
super.onAtach() in the override of onAttach() method
at wicket.Component.attach(Component.java:2799)
at wicket.MarkupContainer.attachChildren(MarkupContainer.java:372)
at wicket.Component.attach(Component.java:2807)
at wicket.Page.renderPage(Page.java:1082)
at 
wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:229)
at 
wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:53)
at 
wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:65)
at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:944)
at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:973)
at wicket.RequestCycle.step(RequestCycle.java:1054)
at wicket.RequestCycle.steps(RequestCycle.java:1125)
at wicket.RequestCycle.request(RequestCycle.java:470)
at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:232)
at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

Complete stack:

wicket.WicketRuntimeException: Error attaching this container for
rendering: [Page class = packedge.EditPage, id = 9]
at wicket.MarkupContainer.attachChildren(MarkupContainer.java:383)
at wicket.Component.attach(Component.java:2807)
at wicket.Page.renderPage(Page.java:1082)
at 
wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:229)
at 
wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:53)
at 
wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:65)
at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:944)
at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:973)
at wicket.RequestCycle.step(RequestCycle.java:1054)
at wicket.RequestCycle.steps(RequestCycle.java:1125)
at wicket.RequestCycle.request(RequestCycle.java:470)
at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:232)
at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 

Re: [Wicket-user] Help. Have been encountering this error in Wicket 2.0

2007-01-12 Thread Igor Vaynberg

extensions has been aligned with wicket refactorings, so it looks like you
got a new wicket jar, but not a new extensions jar. update your extensions.

-igor


On 1/12/07, Otan [EMAIL PROTECTED] wrote:


WicketMessage: Error attaching this container for rendering: [Page class = 
packedge.EditPage, id = 9]

Root cause:

java.lang.IllegalStateException: wicket.Component has not been properly 
attached. Something in the hierarchy of
wicket.extensions.ajax.markup.html.modal.ModalWindow has not called 
super.onAtach() in the override of onAttach() method
 at wicket.Component.attach(Component.java:2799)
 at wicket.MarkupContainer.attachChildren
(MarkupContainer.java:372)
 at wicket.Component.attach(Component.java:2807)
 at wicket.Page.renderPage(Page.java:1082)
 at 
wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java
:229)
 at 
wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:53)
 at 
wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java
:65)
 at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:944)
 at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:973)
 at wicket.RequestCycle.step(RequestCycle.java:1054)

 at wicket.RequestCycle.steps(RequestCycle.java:1125)
 at wicket.RequestCycle.request(RequestCycle.java:470)
 at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:232)
 at wicket.protocol.http.WicketFilter.doFilter
(WicketFilter.java:122)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java
:173)
 at 
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:869)
 at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:527)
 at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
 at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java
:684)
 at java.lang.Thread.run(Thread.java:595)

Complete stack:

wicket.WicketRuntimeException: Error attaching this container for rendering: 
[Page class = packedge.EditPage, id = 9]
 at wicket.MarkupContainer.attachChildren
(MarkupContainer.java:383)
 at wicket.Component.attach(Component.java:2807)
 at wicket.Page.renderPage(Page.java:1082)
 at 
wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java
:229)
 at 
wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:53)
 at 
wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java
:65)
 at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:944)
 at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:973)
 at wicket.RequestCycle.step(RequestCycle.java:1054)

 at wicket.RequestCycle.steps(RequestCycle.java:1125)
 at wicket.RequestCycle.request(RequestCycle.java:470)
 at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:232)
 at wicket.protocol.http.WicketFilter.doFilter
(WicketFilter.java:122)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java
:173)
 at 
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at org.apache.catalina.core.StandardContextValve.invoke

[Wicket-user] help, problem with IE

2006-12-14 Thread ketan gote

friends
  we are using AutoCompleteTextField ,
  which works fine on mozila firefox,
  but problem it is not working on IE.
  wating for reply
  --
  Regards
  Ketan D.Gote
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help, problem with IE

2006-12-14 Thread Johan Compagner

What doesn't work?
What is exactly the problem

this one works fine in my IE7:
http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.AutoCompletePage

johan


On 12/14/06, ketan gote [EMAIL PROTECTED] wrote:


 friends
   we are using AutoCompleteTextField ,
   which works fine on mozila firefox,
   but problem it is not working on IE.
   wating for reply
   --
   Regards
   Ketan D.Gote
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help with AjaxFormComponentUpdatingBehavior

2006-12-09 Thread TH Lim

Thanks for your reply. I have some follow up questions to your respond: -

1. Do you mean ListChoice.onSelectionChange is not invoked instead of
ListChoice.onchange which is on client side?

2. What and when do I use getCallbackUrl()?

3. Am I right to presume the implementation in
AjaxFormComponentUpdatingBehavior.onUpdate(...) is to populate palette on
client side? Why does your implementation keep adding components to target?
My assumption is for target is add the component you are referring to
target

Thanks 
 

Nino Wael wrote:
 
 With Listchoiec are no longer invoked, I meant listchoice.onchange.
 
 
  
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
 Sent: 8. december 2006 12:51
 To: wicket-user@lists.sourceforge.net
 Subject: Re: [Wicket-user] Help with AjaxFormComponentUpdatingBehavior
 
 As you write ListChoice are no longer invoked. The ajax event are called
 afaik after all updates of model has occurred. I actually changed my
 coding style after this and began using abstract models, its actually much
 easyer coding this way, and all of your components will be ajax
 prepaered...:)
 
 Heres a code sniplet of what I do:
 
   dropdown.add(new AjaxFormComponentUpdatingBehavior(onchange) {
   public CharSequence getCallbackUrl() {
   // hack since url is not encoded and so will 
 fail xhtml
   // validation
   String s = getCallbackUrl(true).toString();
   return s.replaceAll(wicket, amp;wicket);
   }
 
   protected void onUpdate(AjaxRequestTarget target) {
   AJAXpopulatepaletteList();
   if (submit) {
   target.addComponent(paletteSubmit);
   if (addit) {
   Iterator iter = 
 additional.iterator();
   while (iter.hasNext()) {
   
 target.addComponent((Component) iter.next());
   }
   }
   } else {
   target.addComponent(palette);
   if (addit) {
   Iterator iter = 
 additional.iterator();
   while (iter.hasNext()) {
   
 target.addComponent((Component) iter.next());
   }
   }
   }
   }
   });
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of TH Lim
 Sent: 7. december 2006 07:03
 To: wicket-user@lists.sourceforge.net
 Subject: Re: [Wicket-user] Help with AjaxFormComponentUpdatingBehavior
 
 
 Yes, the examples are good and it is where I started off when I look into
 Wicket's AJAX. 
 
 I have questions: -
 
 1. ListChoice.onSelectionChanged is not invoke when I add
 AjaxFormComponentUpdatingBehavior to ListChoice. Does this mean ListChoice
 behavior is handled thru AjaxFormComponentUpdatingBehavior after it is
 added
 to the component?
 
 2. AjaxFormComponentUpdatingBehavior.onEvent is called when there is an
 AJAX
 event. What is AJAX event?
 
 
 igor.vaynberg wrote:
 
 see this example
 
 http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ChoicePage
 
 -igor
 
 
 On 12/6/06, TH Lim [EMAIL PROTECTED] wrote:


 Hi,

 Where do I find more information about AjaxFormComponentUpdatingBehavior
 class and classes related to it? I presume this is the starting point
 when
 I
 want to add AJAX / JS feature to my application. Am I right to say so?

 I have an usecase where I would like to use to JS resolve because this
 is
 what I normally do with my previous web applications. I have 2
 ListChoice
 (LC_A and LC_B), 1 ListMulitpleChoice (LMC_C) and 1 DropDownChoice
 (DDC_D
 ~
 in DISABLED state). What I want to do is I choose from LC_A and LC_B
 will
 be
 populated with items based on what I have chosen in LC_A. Subsequently
 LMC_C
 will populated with items depending on what I have selected in LC_B.
 Finally, when I click on any item in LMC_C, DDC_D will be ENABLED. If I
 select another item in either LC_A or LC_B, DDC_D will be DISABLED. What
 is
 the way to accomplish this using AjaxFormComponentUpdatingBehavior or
 other
 Wicket AJAX components? Thanks

 
 

-- 
View this message in context: 
http://www.nabble.com/Help-with-AjaxFormComponentUpdatingBehavior-tf2768381.html#a7770576
Sent from the Wicket - User mailing list archive at Nabble.com

Re: [Wicket-user] Help with AjaxFormComponentUpdatingBehavior

2006-12-09 Thread Johan Compagner


Thanks for your reply. I have some follow up questions to your respond: -

1. Do you mean ListChoice.onSelectionChange is not invoked instead of
ListChoice.onchange which is on client side?




ListChoice.onSelectionChange is not  an ajax thing. And when you
have both specified i think the ajaxbehavour will just override the onChange
code
that is inserted for the onSelectionChange event.



2. What and when do I use getCallbackUrl()?



you don't use it. Is is just what gets generated for you that is inserted in
the onchange of your select component in the html.


3. Am I right to presume the implementation in

AjaxFormComponentUpdatingBehavior.onUpdate(...) is to populate palette on
client side? Why does your implementation keep adding components to
target?
My assumption is for target is add the component you are referring to
target




onUpdate() == onSelectionChange but then as an ajax call. (both code are
ofcourse server side..)
addTarget is saying all those components must be rerendered. When the ajax
request ends.

johan
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help with AjaxFormComponentUpdatingBehavior

2006-12-08 Thread Nino Wael
As you write ListChoice are no longer invoked. The ajax event are called afaik 
after all updates of model has occurred. I actually changed my coding style 
after this and began using abstract models, its actually much easyer coding 
this way, and all of your components will be ajax prepaered...:)

Heres a code sniplet of what I do:

dropdown.add(new AjaxFormComponentUpdatingBehavior(onchange) {
public CharSequence getCallbackUrl() {
// hack since url is not encoded and so will 
fail xhtml
// validation
String s = getCallbackUrl(true).toString();
return s.replaceAll(wicket, amp;wicket);
}

protected void onUpdate(AjaxRequestTarget target) {
AJAXpopulatepaletteList();
if (submit) {
target.addComponent(paletteSubmit);
if (addit) {
Iterator iter = 
additional.iterator();
while (iter.hasNext()) {

target.addComponent((Component) iter.next());
}
}
} else {
target.addComponent(palette);
if (addit) {
Iterator iter = 
additional.iterator();
while (iter.hasNext()) {

target.addComponent((Component) iter.next());
}
}
}
}
});



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of TH Lim
Sent: 7. december 2006 07:03
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Help with AjaxFormComponentUpdatingBehavior


Yes, the examples are good and it is where I started off when I look into
Wicket's AJAX. 

I have questions: -

1. ListChoice.onSelectionChanged is not invoke when I add
AjaxFormComponentUpdatingBehavior to ListChoice. Does this mean ListChoice
behavior is handled thru AjaxFormComponentUpdatingBehavior after it is added
to the component?

2. AjaxFormComponentUpdatingBehavior.onEvent is called when there is an AJAX
event. What is AJAX event?


igor.vaynberg wrote:
 
 see this example
 
 http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ChoicePage
 
 -igor
 
 
 On 12/6/06, TH Lim [EMAIL PROTECTED] wrote:


 Hi,

 Where do I find more information about AjaxFormComponentUpdatingBehavior
 class and classes related to it? I presume this is the starting point
 when
 I
 want to add AJAX / JS feature to my application. Am I right to say so?

 I have an usecase where I would like to use to JS resolve because this is
 what I normally do with my previous web applications. I have 2 ListChoice
 (LC_A and LC_B), 1 ListMulitpleChoice (LMC_C) and 1 DropDownChoice (DDC_D
 ~
 in DISABLED state). What I want to do is I choose from LC_A and LC_B will
 be
 populated with items based on what I have chosen in LC_A. Subsequently
 LMC_C
 will populated with items depending on what I have selected in LC_B.
 Finally, when I click on any item in LMC_C, DDC_D will be ENABLED. If I
 select another item in either LC_A or LC_B, DDC_D will be DISABLED. What
 is
 the way to accomplish this using AjaxFormComponentUpdatingBehavior or
 other
 Wicket AJAX components? Thanks

 --
 View this message in context:
 http://www.nabble.com/Help-with-AjaxFormComponentUpdatingBehavior-tf2768381.html#a7720283
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

Re: [Wicket-user] Help with AjaxFormComponentUpdatingBehavior

2006-12-08 Thread Nino Wael
With Listchoiec are no longer invoked, I meant listchoice.onchange.


 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
Sent: 8. december 2006 12:51
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Help with AjaxFormComponentUpdatingBehavior

As you write ListChoice are no longer invoked. The ajax event are called afaik 
after all updates of model has occurred. I actually changed my coding style 
after this and began using abstract models, its actually much easyer coding 
this way, and all of your components will be ajax prepaered...:)

Heres a code sniplet of what I do:

dropdown.add(new AjaxFormComponentUpdatingBehavior(onchange) {
public CharSequence getCallbackUrl() {
// hack since url is not encoded and so will 
fail xhtml
// validation
String s = getCallbackUrl(true).toString();
return s.replaceAll(wicket, amp;wicket);
}

protected void onUpdate(AjaxRequestTarget target) {
AJAXpopulatepaletteList();
if (submit) {
target.addComponent(paletteSubmit);
if (addit) {
Iterator iter = 
additional.iterator();
while (iter.hasNext()) {

target.addComponent((Component) iter.next());
}
}
} else {
target.addComponent(palette);
if (addit) {
Iterator iter = 
additional.iterator();
while (iter.hasNext()) {

target.addComponent((Component) iter.next());
}
}
}
}
});



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of TH Lim
Sent: 7. december 2006 07:03
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Help with AjaxFormComponentUpdatingBehavior


Yes, the examples are good and it is where I started off when I look into
Wicket's AJAX. 

I have questions: -

1. ListChoice.onSelectionChanged is not invoke when I add
AjaxFormComponentUpdatingBehavior to ListChoice. Does this mean ListChoice
behavior is handled thru AjaxFormComponentUpdatingBehavior after it is added
to the component?

2. AjaxFormComponentUpdatingBehavior.onEvent is called when there is an AJAX
event. What is AJAX event?


igor.vaynberg wrote:
 
 see this example
 
 http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ChoicePage
 
 -igor
 
 
 On 12/6/06, TH Lim [EMAIL PROTECTED] wrote:


 Hi,

 Where do I find more information about AjaxFormComponentUpdatingBehavior
 class and classes related to it? I presume this is the starting point
 when
 I
 want to add AJAX / JS feature to my application. Am I right to say so?

 I have an usecase where I would like to use to JS resolve because this is
 what I normally do with my previous web applications. I have 2 ListChoice
 (LC_A and LC_B), 1 ListMulitpleChoice (LMC_C) and 1 DropDownChoice (DDC_D
 ~
 in DISABLED state). What I want to do is I choose from LC_A and LC_B will
 be
 populated with items based on what I have chosen in LC_A. Subsequently
 LMC_C
 will populated with items depending on what I have selected in LC_B.
 Finally, when I click on any item in LMC_C, DDC_D will be ENABLED. If I
 select another item in either LC_A or LC_B, DDC_D will be DISABLED. What
 is
 the way to accomplish this using AjaxFormComponentUpdatingBehavior or
 other
 Wicket AJAX components? Thanks

 --
 View this message in context:
 http://www.nabble.com/Help-with-AjaxFormComponentUpdatingBehavior-tf2768381.html#a7720283
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

[Wicket-user] Help with AjaxFormComponentUpdatingBehavior

2006-12-06 Thread TH Lim

Hi,

Where do I find more information about AjaxFormComponentUpdatingBehavior
class and classes related to it? I presume this is the starting point when I
want to add AJAX / JS feature to my application. Am I right to say so? 

I have an usecase where I would like to use to JS resolve because this is
what I normally do with my previous web applications. I have 2 ListChoice
(LC_A and LC_B), 1 ListMulitpleChoice (LMC_C) and 1 DropDownChoice (DDC_D ~
in DISABLED state). What I want to do is I choose from LC_A and LC_B will be
populated with items based on what I have chosen in LC_A. Subsequently LMC_C
will populated with items depending on what I have selected in LC_B.
Finally, when I click on any item in LMC_C, DDC_D will be ENABLED. If I
select another item in either LC_A or LC_B, DDC_D will be DISABLED. What is
the way to accomplish this using AjaxFormComponentUpdatingBehavior or other
Wicket AJAX components? Thanks

-- 
View this message in context: 
http://www.nabble.com/Help-with-AjaxFormComponentUpdatingBehavior-tf2768381.html#a7720283
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help with AjaxFormComponentUpdatingBehavior

2006-12-06 Thread Igor Vaynberg

see this example

http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ChoicePage

-igor


On 12/6/06, TH Lim [EMAIL PROTECTED] wrote:



Hi,

Where do I find more information about AjaxFormComponentUpdatingBehavior
class and classes related to it? I presume this is the starting point when
I
want to add AJAX / JS feature to my application. Am I right to say so?

I have an usecase where I would like to use to JS resolve because this is
what I normally do with my previous web applications. I have 2 ListChoice
(LC_A and LC_B), 1 ListMulitpleChoice (LMC_C) and 1 DropDownChoice (DDC_D
~
in DISABLED state). What I want to do is I choose from LC_A and LC_B will
be
populated with items based on what I have chosen in LC_A. Subsequently
LMC_C
will populated with items depending on what I have selected in LC_B.
Finally, when I click on any item in LMC_C, DDC_D will be ENABLED. If I
select another item in either LC_A or LC_B, DDC_D will be DISABLED. What
is
the way to accomplish this using AjaxFormComponentUpdatingBehavior or
other
Wicket AJAX components? Thanks

--
View this message in context:
http://www.nabble.com/Help-with-AjaxFormComponentUpdatingBehavior-tf2768381.html#a7720283
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help with AjaxFormComponentUpdatingBehavior

2006-12-06 Thread TH Lim

Yes, the examples are good and it is where I started off when I look into
Wicket's AJAX. 

I have questions: -

1. ListChoice.onSelectionChanged is not invoke when I add
AjaxFormComponentUpdatingBehavior to ListChoice. Does this mean ListChoice
behavior is handled thru AjaxFormComponentUpdatingBehavior after it is added
to the component?

2. AjaxFormComponentUpdatingBehavior.onEvent is called when there is an AJAX
event. What is AJAX event?


igor.vaynberg wrote:
 
 see this example
 
 http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ChoicePage
 
 -igor
 
 
 On 12/6/06, TH Lim [EMAIL PROTECTED] wrote:


 Hi,

 Where do I find more information about AjaxFormComponentUpdatingBehavior
 class and classes related to it? I presume this is the starting point
 when
 I
 want to add AJAX / JS feature to my application. Am I right to say so?

 I have an usecase where I would like to use to JS resolve because this is
 what I normally do with my previous web applications. I have 2 ListChoice
 (LC_A and LC_B), 1 ListMulitpleChoice (LMC_C) and 1 DropDownChoice (DDC_D
 ~
 in DISABLED state). What I want to do is I choose from LC_A and LC_B will
 be
 populated with items based on what I have chosen in LC_A. Subsequently
 LMC_C
 will populated with items depending on what I have selected in LC_B.
 Finally, when I click on any item in LMC_C, DDC_D will be ENABLED. If I
 select another item in either LC_A or LC_B, DDC_D will be DISABLED. What
 is
 the way to accomplish this using AjaxFormComponentUpdatingBehavior or
 other
 Wicket AJAX components? Thanks

 --
 View this message in context:
 http://www.nabble.com/Help-with-AjaxFormComponentUpdatingBehavior-tf2768381.html#a7720283
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/Help-with-AjaxFormComponentUpdatingBehavior-tf2768381.html#a7734037
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help needed: Best practise or example for first level navigation model

2006-10-31 Thread Eelco Hillenius
And there are projects wicket-extensions-menubar and
wicket-contrib-navmenu in wicket-stuff.

Eelco


On 10/26/06, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
 Hi,

 I'm not sure because I haven't used it yet, but the components in
 wicket.markup.html.tree or wicket.extensions.markup.html.tree
 could be what you're looking for.

 - Johannes

 [EMAIL PROTECTED] wrote:

 Hi there !
 
 I am new in wicket developement and currently setting up my first project. 
 Everythin is so far very fine, but I am still lokking for a best practice 
 navigation model. What I would like to do is someting like one level tree 
 navigation as shown here:
 
 - Topic 1 (goes to Topic1.class)
 -- Topic 1.1 (goes to Topic11.class)
 -- Topic 1.2 (goes to Topic12.class)
 - Topic 2 (goes to Topic2.class)
 -- Topic 2.1 (goes to Topic21.class)
 -- Topic 2.2 (goes to Topic22.class)
 ...
 
 My current idea is to maintain the navigation structure within a ListView 
 for Topic1  Topic2 each having a subsequent view for subtopics. So far I 
 think the idea is not so bad but I do not know how to code wicket aware. 
 Does anyone have some example code how to handle such a navigation 
 structure? Is there some way to put this in a model, so I can mark the 
 current selected page within the model?
 
 Thank you very much,
 
 Maciej A. Bednarz
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help needed: Best practise or example for first level navigation model

2006-10-26 Thread Johannes Fahrenkrug
Hi,

I'm not sure because I haven't used it yet, but the components in 
wicket.markup.html.tree or wicket.extensions.markup.html.tree
could be what you're looking for.

- Johannes

[EMAIL PROTECTED] wrote:

Hi there !

I am new in wicket developement and currently setting up my first project. 
Everythin is so far very fine, but I am still lokking for a best practice 
navigation model. What I would like to do is someting like one level tree 
navigation as shown here:

- Topic 1 (goes to Topic1.class)
-- Topic 1.1 (goes to Topic11.class)
-- Topic 1.2 (goes to Topic12.class)
- Topic 2 (goes to Topic2.class)
-- Topic 2.1 (goes to Topic21.class)
-- Topic 2.2 (goes to Topic22.class)
...

My current idea is to maintain the navigation structure within a ListView for 
Topic1  Topic2 each having a subsequent view for subtopics. So far I think 
the idea is not so bad but I do not know how to code wicket aware. Does anyone 
have some example code how to handle such a navigation structure? Is there 
some way to put this in a model, so I can mark the current selected page 
within the model?

Thank you very much,

Maciej A. Bednarz

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

  



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Help needed: Best practise or exa mple for first level navigation model

2006-10-23 Thread bednarz-hannover
Hi there !

I am new in wicket developement and currently setting up my first project. 
Everythin is so far very fine, but I am still lokking for a best practice 
navigation model. What I would like to do is someting like one level tree 
navigation as shown here:

- Topic 1 (goes to Topic1.class)
-- Topic 1.1 (goes to Topic11.class)
-- Topic 1.2 (goes to Topic12.class)
- Topic 2 (goes to Topic2.class)
-- Topic 2.1 (goes to Topic21.class)
-- Topic 2.2 (goes to Topic22.class)
...

My current idea is to maintain the navigation structure within a ListView for 
Topic1  Topic2 each having a subsequent view for subtopics. So far I think the 
idea is not so bad but I do not know how to code wicket aware. Does anyone have 
some example code how to handle such a navigation structure? Is there some way 
to put this in a model, so I can mark the current selected page within the 
model?

Thank you very much,

Maciej A. Bednarz

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Help

2006-10-09 Thread ketan gote
hello
freinds

we are implementingGIS and GPS project , is it possible in wicket .
if yes ?
then why wicket is not providing any related stuff or example related to it
watind for rep
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help

2006-10-09 Thread Juergen Donnerstag
Please search the mailing list. I remember I've seen users talking
about it and referring to GIS/GPS apps developed with Wicket. We are
more than happy to add a GIS/GPS apps to our example if someone
provides the code.

Juergen

On 10/9/06, ketan gote [EMAIL PROTECTED] wrote:
 hello
 freinds

 we are implementingGIS and GPS project , is it possible in wicket .
 if yes ?
 then why wicket is not providing any related stuff or example related to it
 watind for rep

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help

2006-10-09 Thread Gwyn Evans
See http://www.nabble.com/Wicket-%2B-GIS-tf2072089.html#a5704559

On 09/10/06, ketan gote [EMAIL PROTECTED] wrote:
 hello
  freinds

  we are implementingGIS and GPS project , is it possible in wicket .
  if yes ?
  then why wicket is not providing any related stuff or example related to it
  watind for rep

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help getting SNAPSHOTS properly installed in rep

2006-10-06 Thread Martijn Dashorst
Geoff,

Maven will always try to download SNAPSHOT dependencies from your
remote repositories. This is the nature of SNAPSHOT: the artifact on
the remote server is likely to change, so maven tries to find a
fresher version (by comparing the dates).

You can remove the wicket repository @sourceforge, because that is
used to sync between us and ibiblio. If you want Wicket-built
snapshots, then you should add our snapshots repository hosted by
sateh (see wicket-parent/pom.xml in
branches/wicket-1.x/wicket-parent/pom.xml

Martijn

On 10/6/06, Geoff hendrey [EMAIL PROTECTED] wrote:
 Clearly I have not properly installed the wicket-2.0-SNAPSHOT in the local 
 repo, because the compilation of the phonebook fails because it can't find 
 the wicket classes.
 But I can't for the life of me figure out why! the jar files are there in my 
 local repo. I tried putting them there manually, AND i installed them using 
 mvn install:install-file. Any help would be appreciated.

 C:\project\phonebook2mvn compile
 [INFO] Scanning for projects...
 [INFO] 
 -
 ---
 [INFO] Building Wicket Phonebook Example
 [INFO]task-segment: [compile]
 [INFO] 
 -
 ---
 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources.
 Downloading: 
 http://wicketframework.org/maven2/wicket/wicket-spring/2.0-SNAPSHOT
 /wicket-spring-2.0-SNAPSHOT.pom
 [WARNING] Unable to get resource from repository wicket-repo 
 (http://wicketframe
 work.org/maven2)
 Downloading: 
 http://wicketframework.org/maven2/wicket/wicket-extensions/2.0-SNAP
 SHOT/wicket-extensions-2.0-SNAPSHOT.pom
 [WARNING] Unable to get resource from repository wicket-repo 
 (http://wicketframe
 work.org/maven2)
 Downloading: 
 http://wicketframework.org/maven2/wicket/wicket/2.0-SNAPSHOT/wicket
 -2.0-SNAPSHOT.pom
 [WARNING] Unable to get resource from repository wicket-repo 
 (http://wicketframe
 work.org/maven2)
 [INFO] [compiler:compile]
 Compiling 14 source files to C:\project\phonebook2\target\classes
 [INFO] 
 
 [ERROR] BUILD FAILURE
 [INFO] 
 
 [INFO] Compilation failure

 C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
 .java:[28,42] cannot find symbol
 symbol  : class EmailAddressPatternValidator
 location: package wicket.markup.html.form.validation

 C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
 .java:[29,42] cannot find symbol
 symbol  : class StringValidator
 location: package wicket.markup.html.form.validation

 C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
 .java:[68,61] cannot find symbol
 symbol  : variable StringValidator
 location: class wicket.contrib.phonebook.web.page.EditContactPage

 C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
 .java:[71,60] cannot find symbol
 symbol  : variable StringValidator
 location: class wicket.contrib.phonebook.web.page.EditContactPage

 C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
 .java:[74,57] cannot find symbol
 symbol  : variable StringValidator
 location: class wicket.contrib.phonebook.web.page.EditContactPage

 C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
 .java:[78,37] cannot find symbol
 symbol  : variable EmailAddressPatternValidator
 location: class wicket.contrib.phonebook.web.page.EditContactPage

 C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
 .java:[77,49] cannot find symbol
 symbol  : variable StringValidator
 location: class wicket.contrib.phonebook.web.page.EditContactPage


 [INFO] 
 
 [INFO] For more information, run Maven with the -e switch
 [INFO] 
 
 [INFO] Total time: 4 seconds
 [INFO] Finished at: Thu Oct 05 22:21:28 PDT 2006
 [INFO] Final Memory: 7M/20M
 [INFO] 
 




 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
a href=http://www.thebeststuffintheworld.com/vote_for/wicket;Vote/a
for a href=http://www.thebeststuffintheworld.com/stuff/wicket;Wicket/a
at the a 

Re: [Wicket-user] Help with wicket-bench preview path

2006-10-06 Thread Guy Davis
Joni Freeman wrote:
 Your directory layout looks fine to me. Try to change style sheets
 to /images/style.css and please let me know if it helps.

Hi,

Thanks for the response.  No, that makes no difference unfortunately.  I 
can even leave the Style Sheets box empty and the problem still occurs.

Guy


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help with wicket-bench preview path

2006-10-05 Thread Juergen Donnerstag
Links:
http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench
http://www.laughingpanda.org/jira/browse/WB
http://www.laughingpanda.org/~inhuman/wicket-bench/docs/features-0.4.html

Juergen

On 10/1/06, Guy Davis [EMAIL PROTECTED] wrote:
 Hi all,

 Sorry if this list isn't the right place for a question about the
 Eclipse-plugin called Wicket  Bench, but the site didn't have any
 mailing lists, forums or even a FAQ.   I'm trying to use wicket-bench on
 an existing project I have.  We have embedded Tomcat as part of our
 server application.  Our project SVN directory looks like so:

 src/java/
- holds our application code (in packages)
 src/web/
- holds the Wicket .java and .html files (in packages)
 tomcat/webapps/ROOT/
- holds stylesheets, images, and WEB-INF including web.xml

 In Eclipse, both the src directories above are in the Java Build Path as
 source folders.  The tomcat directory is not on the classpath at all,
 but is used as the Tomcat root when we start it in embedded mode.

 I tried to configure the Wicket-Bench properties:
   - Mark as Wicket project (checked)
   - Conext root: tomcat/webapps/ROOT/
   - Style sheets: images/style.css   (this path is relative to context root)
 When I open a Wicket webpage Java file, I get the following error:
  Can't preview file. Check your wicket:preview paths. Reason:
 org.eclipse.internal.resources.Folder

 Any ideas? What is the expected directory layout?  Wicket-bench looks
 neat so I'd like to get it working for my project.

 Thanks,
 Guy

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] help getting SNAPSHOTS properly installed in rep

2006-10-05 Thread Geoff hendrey
Clearly I have not properly installed the wicket-2.0-SNAPSHOT in the local 
repo, because the compilation of the phonebook fails because it can't find the 
wicket classes.
But I can't for the life of me figure out why! the jar files are there in my 
local repo. I tried putting them there manually, AND i installed them using mvn 
install:install-file. Any help would be appreciated.

C:\project\phonebook2mvn compile
[INFO] Scanning for projects...
[INFO] -
---
[INFO] Building Wicket Phonebook Example
[INFO]task-segment: [compile]
[INFO] -
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://wicketframework.org/maven2/wicket/wicket-spring/2.0-SNAPSHOT
/wicket-spring-2.0-SNAPSHOT.pom
[WARNING] Unable to get resource from repository wicket-repo (http://wicketframe
work.org/maven2)
Downloading: http://wicketframework.org/maven2/wicket/wicket-extensions/2.0-SNAP
SHOT/wicket-extensions-2.0-SNAPSHOT.pom
[WARNING] Unable to get resource from repository wicket-repo (http://wicketframe
work.org/maven2)
Downloading: http://wicketframework.org/maven2/wicket/wicket/2.0-SNAPSHOT/wicket
-2.0-SNAPSHOT.pom
[WARNING] Unable to get resource from repository wicket-repo (http://wicketframe
work.org/maven2)
[INFO] [compiler:compile]
Compiling 14 source files to C:\project\phonebook2\target\classes
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure

C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
.java:[28,42] cannot find symbol
symbol  : class EmailAddressPatternValidator
location: package wicket.markup.html.form.validation

C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
.java:[29,42] cannot find symbol
symbol  : class StringValidator
location: package wicket.markup.html.form.validation

C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
.java:[68,61] cannot find symbol
symbol  : variable StringValidator
location: class wicket.contrib.phonebook.web.page.EditContactPage

C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
.java:[71,60] cannot find symbol
symbol  : variable StringValidator
location: class wicket.contrib.phonebook.web.page.EditContactPage

C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
.java:[74,57] cannot find symbol
symbol  : variable StringValidator
location: class wicket.contrib.phonebook.web.page.EditContactPage

C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
.java:[78,37] cannot find symbol
symbol  : variable EmailAddressPatternValidator
location: class wicket.contrib.phonebook.web.page.EditContactPage

C:\project\phonebook2\src\java\wicket\contrib\phonebook\web\page\EditContactPage
.java:[77,49] cannot find symbol
symbol  : variable StringValidator
location: class wicket.contrib.phonebook.web.page.EditContactPage


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Oct 05 22:21:28 PDT 2006
[INFO] Final Memory: 7M/20M
[INFO] 




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help with wicket-bench preview path

2006-10-02 Thread Joni Freeman
On Sun, 2006-10-01 at 13:41 -0600, Guy Davis wrote:
 Hi all,
 
 Sorry if this list isn't the right place for a question about the 
 Eclipse-plugin called Wicket  Bench, but the site didn't have any 
 mailing lists, forums or even a FAQ.   I'm trying to use wicket-bench on 
 an existing project I have.  We have embedded Tomcat as part of our 
 server application.  Our project SVN directory looks like so:
 
 src/java/
- holds our application code (in packages)
 src/web/
- holds the Wicket .java and .html files (in packages)
 tomcat/webapps/ROOT/
- holds stylesheets, images, and WEB-INF including web.xml
 
 In Eclipse, both the src directories above are in the Java Build Path as 
 source folders.  The tomcat directory is not on the classpath at all, 
 but is used as the Tomcat root when we start it in embedded mode.
 
 I tried to configure the Wicket-Bench properties:
   - Mark as Wicket project (checked)
   - Conext root: tomcat/webapps/ROOT/
   - Style sheets: images/style.css   (this path is relative to context root)
 When I open a Wicket webpage Java file, I get the following error:
  Can't preview file. Check your wicket:preview paths. Reason: 
 org.eclipse.internal.resources.Folder
 
 Any ideas? What is the expected directory layout?  Wicket-bench looks 
 neat so I'd like to get it working for my project.

Hi Guy,

Your directory layout looks fine to me. Try to change style sheets
to /images/style.css and please let me know if it helps.

Joni


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Help with wicket-bench preview path

2006-10-01 Thread Guy Davis
Hi all,

Sorry if this list isn't the right place for a question about the 
Eclipse-plugin called Wicket  Bench, but the site didn't have any 
mailing lists, forums or even a FAQ.   I'm trying to use wicket-bench on 
an existing project I have.  We have embedded Tomcat as part of our 
server application.  Our project SVN directory looks like so:

src/java/
   - holds our application code (in packages)
src/web/
   - holds the Wicket .java and .html files (in packages)
tomcat/webapps/ROOT/
   - holds stylesheets, images, and WEB-INF including web.xml

In Eclipse, both the src directories above are in the Java Build Path as 
source folders.  The tomcat directory is not on the classpath at all, 
but is used as the Tomcat root when we start it in embedded mode.

I tried to configure the Wicket-Bench properties:
  - Mark as Wicket project (checked)
  - Conext root: tomcat/webapps/ROOT/
  - Style sheets: images/style.css   (this path is relative to context root)
When I open a Wicket webpage Java file, I get the following error:
 Can't preview file. Check your wicket:preview paths. Reason: 
org.eclipse.internal.resources.Folder

Any ideas? What is the expected directory layout?  Wicket-bench looks 
neat so I'd like to get it working for my project.

Thanks,
Guy

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] help: markup in different filename and folder

2006-08-17 Thread Otan
Currently, as suggested by Wicket, my html markup is in the directory where its corresponding java file is located./var/webapps/myapp/WEB-INF/classes/
com/company/Page1.java/var/webapps/myapp/WEB-INF/classes/
com/company
/Page1.htmlwhat I want to do now is put 
Page1.html into different directory and with different filename like the following:/var/webapps/myapp/WEB-INF/
com.company.Page1.htmland still have this renamed and relocated markup used by Page1.java.How can I do this if it's possible?

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help: markup in different filename and folder

2006-08-17 Thread Otan
Or it could also be/home/ludius/myapp/templates/com.company.Page1.htmlOn 8/17/06, Otan [EMAIL PROTECTED]
 wrote:/var/webapps/myapp/WEB-INF/

com.company.Page1.html


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help: markup in different filename and folder

2006-08-17 Thread Johan Compagner
you need to make your own resourceloader thenIf you do keep the package structure then it is possible to relocate it to a different folder (IResourceFinder)But do try to just keep it besides your classes, in the end it most people are used to that and like it.
johanOn 8/17/06, Otan [EMAIL PROTECTED] wrote:
Or it could also be/home/ludius/myapp/templates/com.company.Page1.htmlOn 8/17/06, Otan 
[EMAIL PROTECTED]
 wrote:/var/webapps/myapp/WEB-INF/


com.company.Page1.html



-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help: markup in different filename and folder

2006-08-17 Thread Otan
On 8/17/06, Johan Compagner [EMAIL PROTECTED] wrote:
But do try to just keep it besides your classes, in the end it most people are used to that and like it.
But this time, my app's requirement is different from the ordinary use case. My app has to load an html markup personalized by users and use it for the wicket page. Dynamically at runtime, I have to get the user's preferred markup saved somewhere in the server and then use it as the wicket page's markup. Also, the filename of the markup is no longer the same as its corresponding wicket page. This is my probelm and I have no idea how to do this.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help, autocomplete text feild

2006-07-14 Thread Johan Compagner
please give a bit more information.An example of what you exactly do and what goes wrong On 7/13/06, ketan gote 
[EMAIL PROTECTED] wrote:hello

freinds



we have implemented autocomplete text feild ,
and we have to implement another _javascript_ file to its also

we have to set UTF-8 to it,

ie showing that particular format to that component.

wating for reply

-- 
Regards

Ketan D.Gote

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] help, autocomplete text feild

2006-07-13 Thread ketan gote
hello
freinds

we have implemented autocomplete text feild ,
we have to set UTF-8 to it,
ie showing that particular format to that component.
wating for reply-- RegardsKetan D.Gote

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] help, autocomplete text feild

2006-07-13 Thread ketan gote
hello

freinds



we have implemented autocomplete text feild ,
and we have to implement another _javascript_ file to its also

we have to set UTF-8 to it,

ie showing that particular format to that component.

wating for reply

-- 
Regards

Ketan D.Gote

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] help, checkgroup

2006-06-26 Thread ketan gote
hello
friends

i want to develop the checkboxgroup which will be inside another checkboxgroup.
ie
i want to develop a screen which will have first checkbox on which
other checkbo will be clicked and on that event i want inner checkbox
to be checked 
ie inner within inner

wating for reply-- RegardsKetan D.Gote
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help, checkgroup

2006-06-26 Thread Igor Vaynberg
you have to use _javascript_ for this. see how CheckGroupSelector works, you will have to use a similar idea.-IgorOn 6/26/06, ketan gote 
[EMAIL PROTECTED] wrote:hello

friends

i want to develop the checkboxgroup which will be inside another checkboxgroup.
ie
i want to develop a screen which will have first checkbox on which
other checkbo will be clicked and on that event i want inner checkbox
to be checked 
ie inner within inner

wating for reply-- RegardsKetan D.Gote

Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1
 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] help writing an encoding strategy

2006-06-25 Thread Ittay Dror
Hello,

I'm trying to write a coding strategy that maps all pages with a given package 
prefix to a url prefix. so a.b.c.Page, and the prefix a.b, and url prefix 1/2, 
will be mapped to 1/2/c/Page.

I keep running into needing to reimplement functions in 
WebRequestCodingStrategy. Like encoding/decoding the page map (for the double 
window handling), encoding/decoding listener interface targets (btw, how is 
that bookmarkable?) - to handle redirects, encoding/decoding references to 
resources.

What is the best way to reuse the code/logic in WebRequestCodingStrategy?

Thank you,
Ittay

-- 
===
Ittay Dror, 
Chief architect, openQRM TL, 
RD, Qlusters Inc.
[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841

http://www.openQRM.org
- Keeps your Data-Center Up and Running

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help writing an encoding strategy

2006-06-25 Thread Ittay Dror
also, i found that for redirects, only the query part of the url is used to 
save the rendered page. so i must create a url where all the details are in the 
query part, if i want to use REDIRECT_TO_BUFFER. is that true?

Ittay Dror wrote:
 Hello,
 
 I'm trying to write a coding strategy that maps all pages with a given 
 package prefix to a url prefix. so a.b.c.Page, and the prefix a.b, and url 
 prefix 1/2, will be mapped to 1/2/c/Page.
 
 I keep running into needing to reimplement functions in 
 WebRequestCodingStrategy. Like encoding/decoding the page map (for the double 
 window handling), encoding/decoding listener interface targets (btw, how is 
 that bookmarkable?) - to handle redirects, encoding/decoding references to 
 resources.
 
 What is the best way to reuse the code/logic in WebRequestCodingStrategy?
 
 Thank you,
 Ittay
 


-- 
===
Ittay Dror, 
Chief architect, openQRM TL, 
RD, Qlusters Inc.
[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841

http://www.openQRM.org
- Keeps your Data-Center Up and Running

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help writing an encoding strategy

2006-06-25 Thread Johan Compagner
So you want a special bookmarkable url encoding?Can you just use Package mounting? Or see how that works and copy parts of it to fit your needs?Listener interface request are not bookmarkable they are internal wicket urls. And those urls are used for the redirect to buffer
So that shouldn't be a problem for you. Because bookmarkable urls don't use redirect to buffer at all.johanOn 6/25/06, Ittay Dror 
[EMAIL PROTECTED] wrote:also, i found that for redirects, only the query part of the url is used to save the rendered page. so i must create a url where all the details are in the query part, if i want to use REDIRECT_TO_BUFFER. is that true?
Ittay Dror wrote: Hello, I'm trying to write a coding strategy that maps all pages with a given package prefix to a url prefix. so a.b.c.Page, and the prefix a.b, and url prefix 1/2, will be mapped to 1/2/c/Page.
 I keep running into needing to reimplement functions in WebRequestCodingStrategy. Like encoding/decoding the page map (for the double window handling), encoding/decoding listener interface targets (btw, how is that bookmarkable?) - to handle redirects, encoding/decoding references to resources.
 What is the best way to reuse the code/logic in WebRequestCodingStrategy? Thank you, Ittay--===Ittay Dror,Chief architect, openQRM TL,
RD, Qlusters Inc.[EMAIL PROTECTED]+972-3-6081994 Fax: +972-3-6081841http://www.openQRM.org- Keeps your Data-Center Up and Running
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help writing an encoding strategy

2006-06-25 Thread Ittay Dror


Johan Compagner wrote:
 So you want a special bookmarkable url encoding?
 Can you just use Package mounting? Or see how that works and copy parts 
 of it to fit your needs?

package mounting is for one package, i want all packages with the same prefix 
to be mounted. the problem i'm facing is not encoding the bookmarkable urls, 
this works fine. the problem is that it seems i have a lot of other targets i 
need to encode:
listener interface target (for redirects) - the rendering itself is found, but 
the page has relative urls to javascript/css (so it can be previewable) - 
because the encoding is something like /context?interface-params, the js/css 
can't be found
references to resources - less of an issue, because we worked around it 
differently, but for the same reason - i need to encode the urls that the page 
references.

 
 Listener interface request are not bookmarkable they are internal wicket 
 urls. And those urls are used for the redirect to buffer
 So that shouldn't be a problem for you. Because bookmarkable urls don't 
 use redirect to buffer at all.

but if i load a page, and it redirects to a url that is transient, i can't 
bookmark that url. 

 
 johan
 
 
 On 6/25/06, *Ittay Dror*  [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 also, i found that for redirects, only the query part of the url is
 used to save the rendered page. so i must create a url where all the
 details are in the query part, if i want to use REDIRECT_TO_BUFFER.
 is that true?
 
 Ittay Dror wrote:
   Hello,
  
   I'm trying to write a coding strategy that maps all pages with a
 given package prefix to a url prefix. so a.b.c.Page, and the prefix
 a.b, and url prefix 1/2, will be mapped to 1/2/c/Page.
  
   I keep running into needing to reimplement functions in
 WebRequestCodingStrategy. Like encoding/decoding the page map (for
 the double window handling), encoding/decoding listener interface
 targets (btw, how is that bookmarkable?) - to handle redirects,
 encoding/decoding references to resources.
  
   What is the best way to reuse the code/logic in
 WebRequestCodingStrategy?
  
   Thank you,
   Ittay
  
 
 
 --
 ===
 Ittay Dror,
 Chief architect, openQRM TL,
 RD, Qlusters Inc.
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 +972-3-6081994 Fax: +972-3-6081841
 
 http://www.openQRM.org
 - Keeps your Data-Center Up and Running
 
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make your
 job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 
 
 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-- 
===
Ittay Dror, 
Chief architect, openQRM TL, 
RD, Qlusters Inc.
[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841

http://www.openQRM.org
- Keeps your Data-Center Up and Running

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Help: problem with wicket-phonebook 1.2

2006-06-10 Thread Gwyn Evans
Odd, I'm sure I tested that before uploading it...

Best thing would be to download the latest from SVN, using the
following SVN URL:
https://svn.sourceforge.net/svnroot/wicket-stuff/branches/WICKET_1_2/wicket-phonebook

/Gwyn

On 10/06/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 nested exception is java.lang.NoSuchMethodError:
 org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/Strin

 g;[Ljava/lang/String;Ljava/lang/String;)V

 looks like asm depenendcy needed by hibernate is missing?

 -Igor




 On 6/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED]  wrote:
  Hi,
 
I am new to wicket. I just downloaded wicket-phonebook 1.2 . When I
  started jetty, I get the following exceptions:
 
  2006-06-09 17:04:50,968 ERROR
  org.springframework.web.context.ContextLoader - Context
 initialization
  failed
  org.springframework.beans.factory.BeanCreationException :
 Error creating
  bean with name 'sessionFactory' defined in class path resource
  [applicationContext.xml]: Initialization of bean failed; nested
  exception is java.lang.NoSuchMethodError:
  org.objectweb.asm.ClassVisitor.visit
 (ILjava/lang/String;Ljava/lang/Strin
  g;[Ljava/lang/String;Ljava/lang/String;)V
  java.lang.NoSuchMethodError:
 
 org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/Strin
  g;[Ljava/lang/String;Ljava/lang/String;)V
  at
 
 net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:63)
  at
 
 net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173
  )
  at
  net.sf.cglib.core.DefaultGeneratorStrategy.generate
 (DefaultGeneratorStra
  tegy.java:25)
  at
 
 net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.j
  ava:215)
  at
 
 net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
  at
 net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
  at
 net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
  at
 net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
  at
 
 org.hibernate.impl.SessionFactoryImpl.clinit(SessionFactoryImpl.java:3
  21)
  at
 
 org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1
  005)
  at
 
 org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFac
  tory(LocalSessionFactoryBean.java:800)
  at
 
 org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterProperti
  esSet(LocalSessionFactoryBean.java:726)
  at
 
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
 
 tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
  at
 
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
  tory.createBean(AbstractAutowireCapableBeanFactory.java
 :363)
  at
 
 org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
  stractBeanFactory.java:226)
  at
 
 org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
  stractBeanFactory.java :147)
  at
 
 org.springframework.beans.factory.support.DefaultListableBeanFactory.pre
  InstantiateSingletons(DefaultListableBeanFactory.java:269)
  at
 
 org.springframework.context.support.AbstractApplicationContext.refresh
 (A
  bstractApplicationContext.java:320)
  at
 
 org.springframework.web.context.support.AbstractRefreshableWebApplicatio
 
 nContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
  at
 
 org.springframework.web.context.ContextLoader.createWebApplicationContex
  t(ContextLoader.java:246)
  at
 
 org.springframework.web.context.ContextLoader.initWebApplicationContext(
  ContextLoader.java:184)
  at
 
 org.springframework.web.context.ContextLoaderListener.contextInitialized
  (ContextLoaderListener.java:49)
  at
 
 org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.jav
  a:392)
  at
 
 org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java
 :9
  96)
  at
 
 org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:365
  )
  at
 
 org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:373)
  at
  org.mortbay.component.AbstractLifeCycle.start
 (AbstractLifeCycle.java:38)
  at
 
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.ja
  va:159)
  at
 
 org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandle
  rCollection.java:118)
  at
 
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
  at
 
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.ja
  va:159)
  at
 
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
  at
 
 org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:97)
  at org.mortbay.jetty.Server.doStart(Server.java
 :194)
  at
 
 

Re: [Wicket-user] Help: problem with wicket-phonebook 1.2

2006-06-10 Thread Gwyn Evans
I've updated the SF download with the (working) version from the 1.2
branch (which includes IBATIS support) - Unpack the war  edit the
applicationContext  the web.xml where indicated to switch to
Hibernate.

/Gwyn

On 10/06/06, Gwyn Evans [EMAIL PROTECTED] wrote:
 Odd, I'm sure I tested that before uploading it...

 Best thing would be to download the latest from SVN, using the
 following SVN URL:
 https://svn.sourceforge.net/svnroot/wicket-stuff/branches/WICKET_1_2/wicket-phonebook

 /Gwyn

 On 10/06/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
  nested exception is java.lang.NoSuchMethodError:
  org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/Strin
 
  g;[Ljava/lang/String;Ljava/lang/String;)V
 
  looks like asm depenendcy needed by hibernate is missing?
 
  -Igor
 
 
 
 
  On 6/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED]  wrote:
   Hi,
  
 I am new to wicket. I just downloaded wicket-phonebook 1.2 . When I
   started jetty, I get the following exceptions:
  
   2006-06-09 17:04:50,968 ERROR
   org.springframework.web.context.ContextLoader - Context
  initialization
   failed
   org.springframework.beans.factory.BeanCreationException :
  Error creating
   bean with name 'sessionFactory' defined in class path resource
   [applicationContext.xml]: Initialization of bean failed; nested
   exception is java.lang.NoSuchMethodError:
   org.objectweb.asm.ClassVisitor.visit
  (ILjava/lang/String;Ljava/lang/Strin
   g;[Ljava/lang/String;Ljava/lang/String;)V
   java.lang.NoSuchMethodError:
  
  org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/Strin
   g;[Ljava/lang/String;Ljava/lang/String;)V
   at
  
  net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:63)
   at
  
  net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173
   )
   at
   net.sf.cglib.core.DefaultGeneratorStrategy.generate
  (DefaultGeneratorStra
   tegy.java:25)
   at
  
  net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.j
   ava:215)
   at
  
  net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
   at
  net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
   at
  net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
   at
  net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
   at
  
  org.hibernate.impl.SessionFactoryImpl.clinit(SessionFactoryImpl.java:3
   21)
   at
  
  org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1
   005)
   at
  
  org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFac
   tory(LocalSessionFactoryBean.java:800)
   at
  
  org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterProperti
   esSet(LocalSessionFactoryBean.java:726)
   at
  
  org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
  
  tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
   at
  
  org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
   tory.createBean(AbstractAutowireCapableBeanFactory.java
  :363)
   at
  
  org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
   stractBeanFactory.java:226)
   at
  
  org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
   stractBeanFactory.java :147)
   at
  
  org.springframework.beans.factory.support.DefaultListableBeanFactory.pre
   InstantiateSingletons(DefaultListableBeanFactory.java:269)
   at
  
  org.springframework.context.support.AbstractApplicationContext.refresh
  (A
   bstractApplicationContext.java:320)
   at
  
  org.springframework.web.context.support.AbstractRefreshableWebApplicatio
  
  nContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
   at
  
  org.springframework.web.context.ContextLoader.createWebApplicationContex
   t(ContextLoader.java:246)
   at
  
  org.springframework.web.context.ContextLoader.initWebApplicationContext(
   ContextLoader.java:184)
   at
  
  org.springframework.web.context.ContextLoaderListener.contextInitialized
   (ContextLoaderListener.java:49)
   at
  
  org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.jav
   a:392)
   at
  
  org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java
  :9
   96)
   at
  
  org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:365
   )
   at
  
  org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:373)
   at
   org.mortbay.component.AbstractLifeCycle.start
  (AbstractLifeCycle.java:38)
   at
  
  org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.ja
   va:159)
   at
  
  org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandle
   rCollection.java:118)
   at
  
  

Re: [Wicket-user] Help: problem with wicket-phonebook 1.2

2006-06-10 Thread qzheng

Thanks a lot. It works now.

Qing
 
I've updated the SF download with the (working) version from the 1.2
branch (which includes IBATIS support) - Unpack the war  edit the
applicationContext  the web.xml where indicated to switch to
 Hibernate.
 
/Gwyn


___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Help: problem with wicket-phonebook 1.2

2006-06-09 Thread qzheng
Hi,

  I am new to wicket. I just downloaded wicket-phonebook 1.2. When I
started jetty, I get the following exceptions:

2006-06-09 17:04:50,968 ERROR
org.springframework.web.context.ContextLoader - Context initialization
failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in class path resource
[applicationContext.xml]: Initialization of bean failed; nested
exception is java.lang.NoSuchMethodError:
org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/Strin
g;[Ljava/lang/String;Ljava/lang/String;)V
java.lang.NoSuchMethodError:
org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/Strin
g;[Ljava/lang/String;Ljava/lang/String;)V
at
net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:63)
at
net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173
)
at
net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStra
tegy.java:25)
at
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.j
ava:215)
at
net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
at
org.hibernate.impl.SessionFactoryImpl.clinit(SessionFactoryImpl.java:3
21)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1
005)
at
org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFac
tory(LocalSessionFactoryBean.java:800)
at
org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterProperti
esSet(LocalSessionFactoryBean.java:726)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.createBean(AbstractAutowireCapableBeanFactory.java:363)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:226)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:147)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.pre
InstantiateSingletons(DefaultListableBeanFactory.java:269)
at
org.springframework.context.support.AbstractApplicationContext.refresh(A
bstractApplicationContext.java:320)
at
org.springframework.web.context.support.AbstractRefreshableWebApplicatio
nContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at
org.springframework.web.context.ContextLoader.createWebApplicationContex
t(ContextLoader.java:246)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(
ContextLoader.java:184)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized
(ContextLoaderListener.java:49)
at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.jav
a:392)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:9
96)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:365
)
at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:373)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.ja
va:159)
at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandle
rCollection.java:118)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.ja
va:159)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:97)
at org.mortbay.jetty.Server.doStart(Server.java:194)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
at
org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:900)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:184)
at org.mortbay.start.Main.start(Main.java:508)
at org.mortbay.start.Main.main(Main.java:116)
:WARN:  failed
[EMAIL PROTECTED]/wicket-phonebook-1.2,file:/C:/Documents%20and%20S
ettings/qzheng/Local%20Settings/Temp/Jetty__wicket-phonebook-1_2/webapp/
}
:WARN:  failed [EMAIL PROTECTED]
:WARN:  failed [EMAIL PROTECTED]
:INFO:  Started SelectChannelConnector @ 0.0.0.0:8080
:WARN:  failed [EMAIL 

Re: [Wicket-user] Help: problem with wicket-phonebook 1.2

2006-06-09 Thread Igor Vaynberg
nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Vlooks like asm depenendcy needed by hibernate is missing?
-IgorOn 6/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:Hi,I am new to wicket. I just downloaded wicket-phonebook 1.2
. When Istarted jetty, I get the following exceptions:2006-06-09 17:04:50,968 ERRORorg.springframework.web.context.ContextLoader - Context initializationfailedorg.springframework.beans.factory.BeanCreationException
: Error creatingbean with name 'sessionFactory' defined in class path resource[applicationContext.xml]: Initialization of bean failed; nestedexception is java.lang.NoSuchMethodError:org.objectweb.asm.ClassVisitor.visit
(ILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Vjava.lang.NoSuchMethodError:org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
atnet.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:63)atnet.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)atnet.sf.cglib.core.DefaultGeneratorStrategy.generate
(DefaultGeneratorStrategy.java:25)atnet.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)atnet.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)at
org.hibernate.impl.SessionFactoryImpl.clinit(SessionFactoryImpl.java:321)atorg.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1005)atorg.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFac
tory(LocalSessionFactoryBean.java:800)atorg.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:726)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java
:363)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java
:147)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)atorg.springframework.context.support.AbstractApplicationContext.refresh
(AbstractApplicationContext.java:320)atorg.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)atorg.springframework.web.context.ContextLoader.createWebApplicationContex
t(ContextLoader.java:246)atorg.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)atorg.springframework.web.context.ContextLoaderListener.contextInitialized
(ContextLoaderListener.java:49)atorg.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:392)atorg.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java
:996)atorg.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:365)atorg.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:373)atorg.mortbay.component.AbstractLifeCycle.start
(AbstractLifeCycle.java:38)atorg.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:159)atorg.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandle
rCollection.java:118)atorg.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)atorg.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:159)at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)atorg.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:97)at org.mortbay.jetty.Server.doStart(Server.java
:194)atorg.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)atorg.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:900)at sun.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:184)at org.mortbay.start.Main.start(Main.java:508)at org.mortbay.start.Main.main(Main.java:116):WARN:failed[EMAIL PROTECTED]
/wicket-phonebook-1.2,file:/C:/Documents%20and%20Settings/qzheng/Local%20Settings/Temp/Jetty__wicket-phonebook-1_2/webapp/}:WARN:failed [EMAIL PROTECTED]:WARN:failed [EMAIL PROTECTED]
:INFO:Started SelectChannelConnector @ 0.0.0.0:8080:WARN:failed [EMAIL PROTECTED]:WARN:EXCEPTIONThanks in advance.Qing___
Wicket-user mailing 

[Wicket-user] help, tree view

2006-06-02 Thread ketan gote
hello 
frnds

i am trying to implement tree view in wicket framework, but its not
taking link as a param, which will have diffirent links for each node
wating for reply-- RegardsKetan D.Gote


[Wicket-user] Help, CheckGroup

2006-05-30 Thread ketan gote


we are trying to implement checkgroup , and checkgroupselector,
we want to creat multiple checkgroup within first checkgroup and respective , checkgroupselector,
consider 
first checkbox is selected then its respective childs will selected and
when this child is selected then its child will also be selected 
wating for reply..-- RegardsKetan D.Gote


Re: [Wicket-user] Help, CheckGroup

2006-05-30 Thread Andrew Berman
You need _javascript_ to do that. As far as I know Wicket has not built in functionality for what you want to do. You should check this out for a pre-canned version of what you want: 
http://developer.yahoo.com/yui/examples/treeview/check.html?mode=distDownload the Yahoo UI Library and you should be good to go. Otherwise, you'll need to write your own homegrown _javascript_ (which isn't hard).
On 5/30/06, ketan gote [EMAIL PROTECTED] wrote:


we are trying to implement checkgroup , and checkgroupselector,
we want to creat multiple checkgroup within first checkgroup and respective , checkgroupselector,
consider 
first checkbox is selected then its respective childs will selected and
when this child is selected then its child will also be selected 
wating for reply..-- RegardsKetan D.Gote




Re: [Wicket-user] Help: My RSS Panel is not Ajaxifying Properly

2006-05-27 Thread Martijn Dashorst

did you do rss.setOutputMarkupId(true)

It doesn't show in your example code.

Martijn


On 5/27/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:

Everything works as i wanted it but for proper ajax update

I have attached the RSSPanel.java and RSSPanel.html

This is how it is used:

 RSSPanel rss = new RSSPanel(rssPanel,new URL(
http://www.javalobby.org/forumRSS/17.xml;));
 rss.setAutoUpdate (true);
 add(rss);


This is the AJAX Debug:

  INFO: received ajax response. 7199 characters, envelope following...
 INFO:
 INFO: ?xml version=1.0
encoding=UTF-8?ajax-responsecomponent
id=rssPanel_rssContainer_rssListing ![CDATA[li
wicket:id=rssListing
id=rssPanel_rssContainer_rssListing_0
a
href=http://www.javalobby.org/java/forums/t72975.html;
wicket:id=rssItem onmouseover=var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:0:rssItem::IBehaviorListenerwicket:behaviorId=0',
function() { }, function() { });Secure FTP Factory 5.7 - Java
FTP/SFTP/FTPS/SCP library/abr
hr align=left width=100 style=border-top-width:
thin;border-top-style: solid; border-top-color: #CC; /
div wicket:id=rssDescription style=visibility: hidden;
id=rssPanel_rssContainer_rssListing_0_rssDescription/div
/lili wicket:id=rssListing
id=rssPanel_rssContainer_rssListing_1
a
href=http://www.javalobby.org/java/forums/t72972.html;
wicket:id=rssItem onmouseover=var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:1:rssItem::IBehaviorListenerwicket:behaviorId=0',
function() { }, function() { });PgsLookAndFeel 1.0/abr
hr align=left width=100 style=border-top-width:
thin;border-top-style: solid; border-top-color: #CC; /
div wicket:id=rssDescription style=visibility: hidden;
id=rssPanel_rssContainer_rssListing_1_rssDescription/div
/lili wicket:id=rssListing
id=rssPanel_rssContainer_rssListing_2
a
href=http://www.javalobby.org/java/forums/t72969.html 
wicket:id=rssItem onmouseover=var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:2:rssItem::IBehaviorListenerwicket:behaviorId=0',
function() { }, function() { });Java News Ticker Applet released/abr
hr align=left width=100 style=border-top-width:
thin;border-top-style: solid; border-top-color: #CC; /
div wicket:id=rssDescription style=visibility: hidden;
id=rssPanel_rssContainer_rssListing_2_rssDescription/div
/lili wicket:id=rssListing
id=rssPanel_rssContainer_rssListing_3
a
href=http://www.javalobby.org/java/forums/t72936.html 
wicket:id=rssItem onmouseover=var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:3:rssItem::IBehaviorListenerwicket:behaviorId=0',
function() { }, function() { });BuildDesk 1.0 - IDE for build engineer -
is released!/abr
hr align=left width=100 style=border-top-width:
thin;border-top-style: solid; border-top-color: #CC; /
div wicket:id=rssDescription style=visibility: hidden;
id=rssPanel_rssContainer_rssListing_3_rssDescription/div
/lili wicket:id=rssListing
id=rssPanel_rssContainer_rssListing_4
a
href=http://www.javalobby.org/java/forums/t72873.html;
wicket:id=rssItem onmouseover=var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:4:rssItem::IBehaviorListenerwicket:behaviorId=0',
function() { }, function() { });DbWrench Database Design  v1.3.3/abr
hr align=left width=100 style=border-top-width:
thin;border-top-style: solid; border-top-color: #CC; /
div wicket:id=rssDescription style=visibility: hidden;
id=rssPanel_rssContainer_rssListing_4_rssDescription/div
/lili wicket:id=rssListing
id=rssPanel_rssContainer_rssListing_5
a
href=http://www.javalobby.org/java/forums/t72871.html 
wicket:id=rssItem onmouseover=var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:5:rssItem::IBehaviorListenerwicket:behaviorId=0',
function() { }, function() { });Pulse Continuous Integration Server
1.0.4/abr
hr align=left width=100 style=border-top-width:
thin;border-top-style: solid; border-top-color: #CC; /
div wicket:id=rssDescription style=visibility: hidden;
id=rssPanel_rssContainer_rssListing_5_rssDescription/div
/lili wicket:id=rssListing
id=rssPanel_rssContainer_rssListing_6
a
href=http://www.javalobby.org/java/forums/t72867.html 
wicket:id=rssItem onmouseover=var
wcall=wicketAjaxGet('/president/app?wicket:interface=:0:rssPanel:rssContainer:rssListing:6:rssItem::IBehaviorListenerwicket:behaviorId=0',
function() { }, function() { });JvPrinter/abr
hr align=left width=100 style=border-top-width:
thin;border-top-style: solid; border-top-color: #CC; /

[Wicket-user] Help creating MapView Component??

2006-05-22 Thread Michiel Trimpe








For my current application I need to write a component that
will edit a Map.



Ive tried a dozen of different approaches and all of
them end up becoming ugly hacks.



Would anyone help me write a proper component for editing
Map objects?



My scenario is:



The map: MapNetwork, NetworkSetting settingsMap ;

Key value list: ListNetwork networkList ;

Value object form: Form(id, new
CompoundPropertyModel(NetworkSetting setting) containing:

-
Form fields

-
Delete link

Add object form: A dropdown box with possible key values
without an existing NetworkSetting and an Add button



This sounds like the ideal scenario for a MapView component:

new MapView(mapViewId, ListNetwork
keys, new Model((Serializable) map ) ;



Could anyone please help me with creating this?



Kind regards,



Michiel Trimpe





Michiel Trimpe|Java Developer| TomTom | [EMAIL PROTECTED] | +31
(0)6 41482341mobile







This e-mail message contains information which is confidential and may be privileged. It is intended for use by the addressee only. If you are not the intended addressee, we request that you notify the sender immediately and delete or destroy this e-mail message and any attachment(s), without copying, saving, forwarding, disclosing or using its contents in any other way. TomTom N.V., TomTom International BV or any other company belonging to the TomTom group of companies will not be liable for damage relating to the communication by e-mail of data, documents or any other information.






Re: [Wicket-user] Help creating MapView Component??

2006-05-22 Thread Igor Vaynberg
i think what you need is something similar to how tabbed view works.have a IMapKeyEditor { Panel getEditorForKey(String key, Map map); }then you iterate over keys and create links that when clicked use the provided impl of IMapKeyEditor to create a new panel that has the formcomponents to edit that key, and then make it visible.
so hierarchy likeform - listview for keys - editor panellook at tabbedview in extensions it should be a good starting point-IgorOn 5/22/06, 
Michiel Trimpe [EMAIL PROTECTED] wrote:















For my current application I need to write a component that
will edit a Map.



I've tried a dozen of different approaches and all of
them end up becoming ugly hacks.



Would anyone help me write a proper component for editing
Map objects?



My scenario is:



The map: MapNetwork, NetworkSetting settingsMap ;

Key value list: ListNetwork networkList ;

Value object form: Form("id", new
CompoundPropertyModel(NetworkSetting setting) containing:

-
Form fields

-
Delete link

Add object form: A dropdown box with possible key values
without an existing NetworkSetting and an "Add" button



This sounds like the ideal scenario for a MapView component:

new MapView("mapViewId", ListNetwork
keys, new Model((Serializable) map ) ;



Could anyone please help me with creating this?



Kind regards,



Michiel Trimpe





Michiel Trimpe
|Java Developer| TomTom | [EMAIL PROTECTED] | +31
(0)6 41482341mobile







This e-mail message contains information which is confidential and may be privileged. It is intended for use by the addressee only. If you are not the intended addressee, we request that you notify the sender immediately and delete or destroy this e-mail message and any attachment(s), without copying, saving, forwarding, disclosing or using its contents in any other way. TomTom 
N.V., TomTom International BV or any other company belonging to the TomTom group of companies will not be liable for damage relating to the communication by e-mail of data, documents or any other information.








Re: [Wicket-user] help

2006-05-19 Thread Johan Compagner
this is just _javascript_. set the src attribute when that event happens.johanOn 5/19/06, ketan gote 
[EMAIL PROTECTED] wrote:hello
friends

we want to change the images on diffrent events 
eg:
suppose there is one image on its onMouseOver method we want to replace previous image is diaplyed on form
wating for reply

regards
ketan d.gote




[Wicket-user] help, setModel

2006-05-18 Thread ketan gote
hello

friends ,
we are fetching some values from database and displaying in some TextField bu model,
on other part we have one image link on page on which on onClick method
we want to get all the form component value, which we are not able to
get

wating for reply

regards

ketan d.gote


[Wicket-user] help

2006-05-18 Thread ketan gote
hello
friends

we want to change the images on diffrent events 
eg:
suppose there is one image on its onMouseOver method we want to replace previous image is diaplyed on form
wating for reply

regards
ketan d.gote


Re: [Wicket-user] help

2006-05-13 Thread Igor Vaynberg
see DropDownChoice in wicket-examples/component reference-IgorOn 5/11/06, ketan gote [EMAIL PROTECTED]
 wrote:hello friends

we are looking for drop down menu in wicket, we are not getting any idea related to it please send some stuff which will help us

ketan




[Wicket-user] help

2006-05-03 Thread ketan gote
hello

sir



i am currently doing RD in wicket but i am not able to solve the
problem of BACK BUTTON and SESSION TIMEOUT for whole application

wating for reply



regards

ketan d.gote


Re: [Wicket-user] help

2006-05-03 Thread Johan Compagner
what problems do you have??On 5/3/06, ketan gote [EMAIL PROTECTED] wrote:
hello

sir



i am currently doing RD in wicket but i am not able to solve the
problem of BACK BUTTON and SESSION TIMEOUT for whole application

wating for reply



regards

ketan d.gote




Re: [Wicket-user] help: dynamically change the meta tag's content attribute

2006-04-18 Thread Igor Vaynberg
markup:meta wicket:id=meta name=description content=I want to dynamically change this text/code:WebMarkupContainer meta=new WebMarkupContainer(meta);
add(meta);meta.add(new SimpleAttributeModifier(content, mydynamiccontent);-IgorOn 4/18/06, nato 
[EMAIL PROTECTED] wrote:I have a meta tag in my markup:
meta name=description content=I want to dynamically change this text
Is it possible with wicket to change the content attribute of that meta 

tag? How can I do that?




Re: [Wicket-user] help: dynamically change the meta tag's content attribute

2006-04-18 Thread Eelco Hillenius
Or, if you write components without knowing about the pages that they
are on, you can use header contributions (see
wicket.behavior.HeaderContributor).

Eelco


On 4/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 markup:
 meta wicket:id=meta name=description content=I want to dynamically
 change this text/

 code:
 WebMarkupContainer meta=new WebMarkupContainer(meta);
  add(meta);
 meta.add(new SimpleAttributeModifier(content,
 mydynamiccontent);

 -Igor



 On 4/18/06, nato  [EMAIL PROTECTED] wrote:
 
  I have a meta tag in my markup:
  meta name=description content=I want to dynamically change this text
 
  Is it possible with wicket to change the content attribute of that meta
 tag? How can I do that?
 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] help

2006-04-15 Thread ketan gote
hello

friends



i have taken 

1) RequriedTextBox

2) ListMultipleChoice 

components

for which i am implementing AjaxFormComponentUpdatingBehavi
or(onblur) for  RequriedTextBox
now i what to pass entred value in  RequriedTextBox to  ListMultipleChoice ,
on other side i want to display pervious value in  ListMultipleChoice ie previous plus current.

wating for reply


[Wicket-user] help

2006-03-29 Thread ketan gote
hi

i want to fetch the data from database which i have done
and want to display it in respective textfield which i am not able to do.
wating for replay

regards
ketan


Re: [Wicket-user] help

2006-03-29 Thread Igor Vaynberg
heh, you are not really giving us much to go on. show us what you have so far.-IgorOn 3/29/06, ketan gote 
[EMAIL PROTECTED] wrote:hi

i want to fetch the data from database which i have done
and want to display it in respective textfield which i am not able to do.
wating for replay

regards
ketan




[Wicket-user] help

2006-03-22 Thread ketan gote
hi

i want to validation of textfield which will take only characters in it
eg for name there shouls be only character string.
for which i have written
TextField txtusername=new TextField(username,Character.class);
which only check for single alphabets
wating for reply


ketan




Re: [Wicket-user] help

2006-03-22 Thread Eelco Hillenius
Yeah, so that would be something like:

TextField txtusername = new TextField(username);
txtusername.add(new PatternValidator([a-zA-Z]));

Eelco


On 3/22/06, JasonB [EMAIL PROTECTED] wrote:
 Johan wrote an answer earlier that you should use a regular expression
 validator.
 I believe he was referring to the following class:
 wicket.markup.html.form.validation.PatternValidator

 What problems are you having with this class and/or solution?

  - Jason B.


 ketan gote wrote:
  hi
 
  i want to validation of textfield  which will take only  characters in it
  eg for name there shouls be only character string.
  for which i have written
  TextField txtusername=new TextField(username,Character.class);
  which only check for single alphabets
  wating for reply
 
 
  ketan
 
 



 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] help

2006-03-22 Thread Igor Vaynberg
did you mean ([a-zA-Z]*) ? notice the star at the end-IgorOn 3/22/06, Eelco Hillenius 
[EMAIL PROTECTED] wrote:Yeah, so that would be something like:
TextField txtusername = new TextField(username);txtusername.add(new PatternValidator([a-zA-Z]));EelcoOn 3/22/06, JasonB [EMAIL PROTECTED]
 wrote: Johan wrote an answer earlier that you should use a regular _expression_ validator. I believe he was referring to the following class: wicket.markup.html.form.validation.PatternValidator
 What problems are you having with this class and/or solution?- Jason B. ketan gote wrote:  hi   i want to validation of textfieldwhich will take onlycharacters in it
  eg for name there shouls be only character string.  for which i have written  TextField txtusername=new TextField(username,Character.class);  which only check for single alphabets
  wating for replyketan   --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user---
This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



Re: [Wicket-user] help

2006-03-22 Thread Eelco Hillenius
Heh. You don't want just one character? :)

Eelco


On 3/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 did you mean
 ([a-zA-Z]*) ? notice the star at the end

 -Igor



 On 3/22/06, Eelco Hillenius  [EMAIL PROTECTED] wrote:
 
 Yeah, so that would be something like:

  TextField txtusername = new TextField(username);
 txtusername.add(new PatternValidator([a-zA-Z]));

 Eelco


 On 3/22/06, JasonB [EMAIL PROTECTED]  wrote:
  Johan wrote an answer earlier that you should use a regular expression
  validator.
  I believe he was referring to the following class:
  wicket.markup.html.form.validation.PatternValidator
 
  What problems are you having with this class and/or solution?
 
   - Jason B.
 
 
  ketan gote wrote:
   hi
  
   i want to validation of textfield  which will take only  characters in
 it
   eg for name there shouls be only character string.
   for which i have written
   TextField txtusername=new TextField(username,Character.class);
   which only check for single alphabets
   wating for reply
  
  
   ketan
  
  
 
 
 
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking scripting
 language
  that extends applications into web and mobile media. Attend the live
 webcast
  and join the prime developer group breaking into this new coding
 territory!
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 ---

 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
 ___

 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


  1   2   >