Re: [Wicket-user] DateField initializes value to current date

2007-05-18 Thread Dragos Bobes
After investigating a little I discovered that my problem is coming from 
org.apache.wicket.datetime.DateConverter class that converts an empty 
string to current date.
Is there a way to change the DateField's behaviour so I get a null date 
whenever there is not user input in that field?

Thanks,
Dragos


Dragos Bobes wrote:
 I have a form with a not required date field. The problem is that when 
 the form is submitted and no value was selected in the date field, the 
 date field is initialized to current date.
 Is this an intended behaviour and if yes how can I avoid it.
 I pasted an example code bellow.

 Thanks
 Dragos

 import java.util.Date;

 import org.apache.wicket.markup.html.WebPage;
 import org.apache.wicket.markup.html.form.Button;
 import org.apache.wicket.markup.html.form.Form;
 import org.apache.wicket.model.CompoundPropertyModel;
 import org.apache.wicket.extensions.yui.calendar.DateField;

 public class DateTest extends WebPage {

 private Date _date;

 public DateTest() {
 Form form = new Form(myForm, new CompoundPropertyModel(this));
 add(form);
 form.add(new DateField(date));
 form.add(new Button(btn));
 }

 public Date getDate() {
 System.out.println(get date  + _date);
 return _date;
 }

 public void setDate(Date date) {
 System.out.println(set date  + date);
 _date = date;
 }
 }


   form wicket:id=myForm
   span wicket:id=date /span
   input type=submit wicket:id=btn /
   /form

 -
 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] DateField initializes value to current date

2007-05-17 Thread Dragos Bobes
I have a form with a not required date field. The problem is that when 
the form is submitted and no value was selected in the date field, the 
date field is initialized to current date.
Is this an intended behaviour and if yes how can I avoid it.
I pasted an example code bellow.

Thanks
Dragos

import java.util.Date;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.form.Button;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.model.CompoundPropertyModel;
import org.apache.wicket.extensions.yui.calendar.DateField;

public class DateTest extends WebPage {

private Date _date;
   
public DateTest() {
Form form = new Form(myForm, new CompoundPropertyModel(this));
add(form);
form.add(new DateField(date));
form.add(new Button(btn));
}
   
public Date getDate() {
System.out.println(get date  + _date);
return _date;
}
   
public void setDate(Date date) {
System.out.println(set date  + date);
_date = date;
}
}


  form wicket:id=myForm
  span wicket:id=date /span
  input type=submit wicket:id=btn /
  /form

-
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] wicket-contrib-dojo for wicket 1.3.0

2007-05-14 Thread Dragos Bobes
Here it is http://wicketstuff.org/jira/browse/DOJO-64

Thanks,
Dragos

Vincent Demay wrote:
 Hi Dragos,

 Could you please fill a issue with that, I will try to fix it as soon as 
 got 5minutes.
 (http://wicketstuff.org/jira/browse/DOJO)

 --
 Vincent

 Dragos Bobes a écrit :
   
 Hi Vincent,

 Thanks again for your interest in helping me.
 I think I found the problem. I started a new project and the dojo stuff 
 was working there. When I compared the two projects one of the 
 differences was that in one of them (where dojo wasn't working) I was 
 mounting the application's pages to a specific url:

 mount(/pages, PackageName.forPackage(Home.class.getPackage()));

 When I removed the mount line dojo stuff worked fine.
 I've attached a small project in a working state. If you uncomment the 
 mount line in the MyApplication.java you'll see that the dojo page 
 doesn't work anymore.

 I hope this helps,
 Dragos


 Vincent Demay wrote:
   
 
 Dragos Bobes a écrit :
 
   
 Thanks Vincent but unfortunately it doesn't work for me. I get the same 
 exceptions when I try to use the drag-n-drop feature and I'm sure I'm 
 using the latest jar.
 Please let me know if you need more info about the errors.
   
   
 
 Ok, so can you give me a little code snippet, or a mini sample code 
 where I can reproduce that?

 Do you use firebug(https://addons.mozilla.org/fr/firefox/addon/1843)? 
 If you do,  can you copy paste the trace in it?

 Thanks

 --
 Vincent Demay
 http://www.demay-fr.net/blog
 
   
 Thanks
 Dragos

 Vincent Demay wrote:
   
   
 
 Dragos Bobes a écrit :
 
 
   
 Thanks Jean-Baptiste, now it's compiling successfully.
 But when I tried to use it for a drag-n-drop example I've ran into some 
 'FATAL' errors.

 FATAL exception raised: Could not load 
 'wicketstuff.dojodnd.DojoDropContainer'; last tried '__package__.js'
 FATAL exception raised: Could not load 
 'wicketstuff.dojodnd.DojoDragContainer'; last tried '__package__.js'
 FATAL exception raised: Could not load 
 'wicketstuff.dojodnd.DojoDragCopyContainer'; last tried '__package__.js'
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for panel in wicket.widget registered 
 to namespace wicket. Developers must specify correct namespaces for 
 all non-Dojo widgets -- will be removed in version: 0.5
 DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
 implementation for panel in wicket.widget registered to namespace 
 wicket
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for link in wicket.widget registered to 
 namespace wicket. Developers must specify correct namespaces for all 
 non-Dojo widgets -- will be removed in version: 0.5
 DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
 implementation for link in wicket.widget registered to namespace 
 wicket
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for message in wicket.widget registered 
 to namespace wicket. Developers must specify correct namespaces for 
 all non-Dojo widgets -- will be removed in version: 0.5
 DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
 implementation for message in wicket.widget registered to namespace 
 wicket
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for link in wicket.widget registered to 
 namespace wicket. Developers must specify correct namespaces for all 
 non-Dojo widgets -- will be removed in version: 0.5
 


 Is this version in a good state or is it my fault? Are there any 
 prerequisites for using wicketstuff-dojo?

 Thanks,
 Dragos
   
   
   
 
 Dragos,

 This Error has been fixed but build failed since a long time. Try to 
 get the last jar in the maven repo 
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-dojo/1.3.0-SNAPSHOT/
  
 (from today ;) )

 I think the problem has been solved

 Cheers

 --
 Vincent Demay
 http://www.demay-fr.net/blog

 
 
   
 Jean-Baptiste Quenot wrote:
   
   
   
 
 * Dragos Bobes:
   
 
 
 
   
 Is there any version of wicket-contrib-dojo that works with wicket 
 1.3.0-incubating-SNAPSHOT and where can I find it?
 I tried to use the corresponding version (1.3.0-incubating-SNAPSHOT) 
 from 
 http://wicketstuff.org/maven/repository/wicket-stuff/wicket-contrib-dojo/1.3.0-incubating-SNAPSHOT/
  
 but it seems is still referencing the old package names (without 
 'org.apache' prefix).
 
   
   
   
 
 The right location is:
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-dojo/1.3.0-SNAPSHOT/

 One day we'll need to clean the Maven repo!  Several users are
 confused with the various leftovers.  Should we just wipe out

Re: [Wicket-user] wicket-contrib-dojo for wicket 1.3.0

2007-05-10 Thread Dragos Bobes
Hi Vincent,

Thanks again for your interest in helping me.
I think I found the problem. I started a new project and the dojo stuff 
was working there. When I compared the two projects one of the 
differences was that in one of them (where dojo wasn't working) I was 
mounting the application's pages to a specific url:

mount(/pages, PackageName.forPackage(Home.class.getPackage()));

When I removed the mount line dojo stuff worked fine.
I've attached a small project in a working state. If you uncomment the 
mount line in the MyApplication.java you'll see that the dojo page 
doesn't work anymore.

I hope this helps,
Dragos


Vincent Demay wrote:
 Dragos Bobes a écrit :
 Thanks Vincent but unfortunately it doesn't work for me. I get the same 
 exceptions when I try to use the drag-n-drop feature and I'm sure I'm 
 using the latest jar.
 Please let me know if you need more info about the errors.
   

 Ok, so can you give me a little code snippet, or a mini sample code 
 where I can reproduce that?

 Do you use firebug(https://addons.mozilla.org/fr/firefox/addon/1843)? 
 If you do,  can you copy paste the trace in it?

 Thanks

 --
 Vincent Demay
 http://www.demay-fr.net/blog
 Thanks
 Dragos

 Vincent Demay wrote:
   
 Dragos Bobes a écrit :
 
 Thanks Jean-Baptiste, now it's compiling successfully.
 But when I tried to use it for a drag-n-drop example I've ran into some 
 'FATAL' errors.

 FATAL exception raised: Could not load 
 'wicketstuff.dojodnd.DojoDropContainer'; last tried '__package__.js'
 FATAL exception raised: Could not load 
 'wicketstuff.dojodnd.DojoDragContainer'; last tried '__package__.js'
 FATAL exception raised: Could not load 
 'wicketstuff.dojodnd.DojoDragCopyContainer'; last tried '__package__.js'
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for panel in wicket.widget registered 
 to namespace wicket. Developers must specify correct namespaces for 
 all non-Dojo widgets -- will be removed in version: 0.5
 DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
 implementation for panel in wicket.widget registered to namespace 
 wicket
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for link in wicket.widget registered to 
 namespace wicket. Developers must specify correct namespaces for all 
 non-Dojo widgets -- will be removed in version: 0.5
 DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
 implementation for link in wicket.widget registered to namespace 
 wicket
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for message in wicket.widget registered 
 to namespace wicket. Developers must specify correct namespaces for 
 all non-Dojo widgets -- will be removed in version: 0.5
 DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
 implementation for message in wicket.widget registered to namespace 
 wicket
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for link in wicket.widget registered to 
 namespace wicket. Developers must specify correct namespaces for all 
 non-Dojo widgets -- will be removed in version: 0.5
 


 Is this version in a good state or is it my fault? Are there any 
 prerequisites for using wicketstuff-dojo?

 Thanks,
 Dragos
   
   
 Dragos,

 This Error has been fixed but build failed since a long time. Try to 
 get the last jar in the maven repo 
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-dojo/1.3.0-SNAPSHOT/
  
 (from today ;) )

 I think the problem has been solved

 Cheers

 --
 Vincent Demay
 http://www.demay-fr.net/blog

 
 Jean-Baptiste Quenot wrote:
   
   
 * Dragos Bobes:
   
 
 
 Is there any version of wicket-contrib-dojo that works with wicket 
 1.3.0-incubating-SNAPSHOT and where can I find it?
 I tried to use the corresponding version (1.3.0-incubating-SNAPSHOT) 
 from 
 http://wicketstuff.org/maven/repository/wicket-stuff/wicket-contrib-dojo/1.3.0-incubating-SNAPSHOT/
  
 but it seems is still referencing the old package names (without 
 'org.apache' prefix).
 
   
   
 The right location is:
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-dojo/1.3.0-SNAPSHOT/

 One day we'll need to clean the Maven repo!  Several users are
 confused with the various leftovers.  Should we just wipe out the
 whole stuff?  Then we can fire Bamboo to rebuild everything.
   
 
 
 -
 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

Re: [Wicket-user] wicket-contrib-dojo for wicket 1.3.0

2007-05-09 Thread Dragos Bobes
Thanks Vincent but unfortunately it doesn't work for me. I get the same 
exceptions when I try to use the drag-n-drop feature and I'm sure I'm 
using the latest jar.
Please let me know if you need more info about the errors.

Thanks
Dragos

Vincent Demay wrote:
 Dragos Bobes a écrit :
 Thanks Jean-Baptiste, now it's compiling successfully.
 But when I tried to use it for a drag-n-drop example I've ran into some 
 'FATAL' errors.

 FATAL exception raised: Could not load 
 'wicketstuff.dojodnd.DojoDropContainer'; last tried '__package__.js'
 FATAL exception raised: Could not load 
 'wicketstuff.dojodnd.DojoDragContainer'; last tried '__package__.js'
 FATAL exception raised: Could not load 
 'wicketstuff.dojodnd.DojoDragCopyContainer'; last tried '__package__.js'
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for panel in wicket.widget registered 
 to namespace wicket. Developers must specify correct namespaces for 
 all non-Dojo widgets -- will be removed in version: 0.5
 DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
 implementation for panel in wicket.widget registered to namespace 
 wicket
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for link in wicket.widget registered to 
 namespace wicket. Developers must specify correct namespaces for all 
 non-Dojo widgets -- will be removed in version: 0.5
 DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
 implementation for link in wicket.widget registered to namespace 
 wicket
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for message in wicket.widget registered 
 to namespace wicket. Developers must specify correct namespaces for 
 all non-Dojo widgets -- will be removed in version: 0.5
 DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
 implementation for message in wicket.widget registered to namespace 
 wicket
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for link in wicket.widget registered to 
 namespace wicket. Developers must specify correct namespaces for all 
 non-Dojo widgets -- will be removed in version: 0.5
 


 Is this version in a good state or is it my fault? Are there any 
 prerequisites for using wicketstuff-dojo?

 Thanks,
 Dragos
   
 Dragos,

 This Error has been fixed but build failed since a long time. Try to 
 get the last jar in the maven repo 
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-dojo/1.3.0-SNAPSHOT/
  
 (from today ;) )

 I think the problem has been solved

 Cheers

 --
 Vincent Demay
 http://www.demay-fr.net/blog

 Jean-Baptiste Quenot wrote:
   
 * Dragos Bobes:
   
 
 Is there any version of wicket-contrib-dojo that works with wicket 
 1.3.0-incubating-SNAPSHOT and where can I find it?
 I tried to use the corresponding version (1.3.0-incubating-SNAPSHOT) 
 from 
 http://wicketstuff.org/maven/repository/wicket-stuff/wicket-contrib-dojo/1.3.0-incubating-SNAPSHOT/
  
 but it seems is still referencing the old package names (without 
 'org.apache' prefix).
 
   
 The right location is:
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-dojo/1.3.0-SNAPSHOT/

 One day we'll need to clean the Maven repo!  Several users are
 confused with the various leftovers.  Should we just wipe out the
 whole stuff?  Then we can fire Bamboo to rebuild everything.
   
 


 -
 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

[Wicket-user] wicket-contrib-dojo for wicket 1.3.0

2007-05-07 Thread Dragos Bobes
Is there any version of wicket-contrib-dojo that works with wicket 
1.3.0-incubating-SNAPSHOT and where can I find it?
I tried to use the corresponding version (1.3.0-incubating-SNAPSHOT) 
from 
http://wicketstuff.org/maven/repository/wicket-stuff/wicket-contrib-dojo/1.3.0-incubating-SNAPSHOT/
 
but it seems is still referencing the old package names (without 
'org.apache' prefix).

Thanks,
Dragos

-
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] wicket-contrib-dojo for wicket 1.3.0

2007-05-07 Thread Dragos Bobes
Thanks Jean-Baptiste, now it's compiling successfully.
But when I tried to use it for a drag-n-drop example I've ran into some 
'FATAL' errors.

FATAL exception raised: Could not load 
'wicketstuff.dojodnd.DojoDropContainer'; last tried '__package__.js'
FATAL exception raised: Could not load 
'wicketstuff.dojodnd.DojoDragContainer'; last tried '__package__.js'
FATAL exception raised: Could not load 
'wicketstuff.dojodnd.DojoDragCopyContainer'; last tried '__package__.js'
DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
locate widget implementation for panel in wicket.widget registered 
to namespace wicket. Developers must specify correct namespaces for 
all non-Dojo widgets -- will be removed in version: 0.5
DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
implementation for panel in wicket.widget registered to namespace 
wicket
DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
locate widget implementation for link in wicket.widget registered to 
namespace wicket. Developers must specify correct namespaces for all 
non-Dojo widgets -- will be removed in version: 0.5
DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
implementation for link in wicket.widget registered to namespace 
wicket
DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
locate widget implementation for message in wicket.widget registered 
to namespace wicket. Developers must specify correct namespaces for 
all non-Dojo widgets -- will be removed in version: 0.5
DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
implementation for message in wicket.widget registered to namespace 
wicket
DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
locate widget implementation for link in wicket.widget registered to 
namespace wicket. Developers must specify correct namespaces for all 
non-Dojo widgets -- will be removed in version: 0.5



Is this version in a good state or is it my fault? Are there any 
prerequisites for using wicketstuff-dojo?

Thanks,
Dragos


Jean-Baptiste Quenot wrote:
 * Dragos Bobes:
   
 Is there any version of wicket-contrib-dojo that works with wicket 
 1.3.0-incubating-SNAPSHOT and where can I find it?
 I tried to use the corresponding version (1.3.0-incubating-SNAPSHOT) 
 from 
 http://wicketstuff.org/maven/repository/wicket-stuff/wicket-contrib-dojo/1.3.0-incubating-SNAPSHOT/
  
 but it seems is still referencing the old package names (without 
 'org.apache' prefix).
 

 The right location is:
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-dojo/1.3.0-SNAPSHOT/

 One day we'll need to clean the Maven repo!  Several users are
 confused with the various leftovers.  Should we just wipe out the
 whole stuff?  Then we can fire Bamboo to rebuild everything.
   


-
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] DatePicker for a label

2007-05-04 Thread Dragos Bobes
Thanks Igor, I had already tried that route but I ran into problems 
finding a way to capture the select event.
But after you confirmed that this is the route to go, I discovered 
'appendToInit' in DatePicker that allowed me to insert my custom 
javascript.

Cheers,
Dragos

Igor Vaynberg wrote:
 you will have to create a panel that contains a hiddeninputfield to 
 capture the input, the label, and the datepicker. then create 
 javascript that wires all these together.

 -igor


 On 5/3/07, *Dragos Bobes* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Is there a way to use the DatePicker with a label component?
 I would like to be able to select a date from the DatePicker and
 change
 the value of the label and also to be able to capture the new value to
 persist it.
 Does anybody have any ideea on how can I do id?

 Thanks,
 Dragos

 -
 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
 mailto: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] DatePicker for a label

2007-05-03 Thread Dragos Bobes
Is there a way to use the DatePicker with a label component?
I would like to be able to select a date from the DatePicker and change 
the value of the label and also to be able to capture the new value to 
persist it.
Does anybody have any ideea on how can I do id?

Thanks,
Dragos

-
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] Cancel doesn't work for AjaxEditableLabel (1.3.0-incubating-SNAPSHOT)

2007-05-01 Thread Dragos Bobes
Something got broken in the new release (1.3.0-incubating-SNAPSHOT) 
because I've checked wicket-examples 1.2.5 and it works fine there.
Is this a known issue?

Thanks,
Dragos


 I've just noticed that the behaviour is specific to Firefox 2.0. In 
 Internet Explorer 7 everything works fine.

   
 Hey guys,

 I'm a newbie with wicket so it may be my fault but I tried to debug this 
 error and I couldn't find any solutions.
 I build a simple page with an editable ajax label, everything works fine 
 except when I try to cancel the changes (using the Esc key). After that 
 all AJAX features stop working with a INFO: Channel busy - 
 postponing... error.
 Bellow is a snapshot from AJAX debug:

 
 INFO: Response parsed. Now invoking steps...
 INFO: Response processed successfully.
 INFO: Invoking post-call handler(s)...
 INFO: last focus id was not set
 INFO:
 INFO: Initiating Ajax GET request on 
 Help?wicket:interface=:1:editableLabel:editor::IBehaviorListener:0wicket:ignoreIfNotActive=truesave=falserandom=0.5459241681095125
 INFO: Invoking pre-call handler(s)...
 INFO: Channel busy - postponing...


 My code:
 AjaxEditableLabel label = new AjaxEditableLabel(editableLabel, 
 new PropertyModel(this, name));
 add(label);

 Html:
  span wicket:id=editableLabelSomething/span

 Please let me know if this is a known issue or if there is something 
 missing in my code (I'm using 1.3.0-incubating-SNAPSHOT).

 Thanks,
 Dragos
 


-
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] Cancel doesn't work for AjaxEditableLabel (1.3.0-incubating-SNAPSHOT)

2007-05-01 Thread Dragos Bobes
done - http://issues.apache.org/jira/browse/WICKET-520

Thanks,
Dragos

Igor Vaynberg wrote:
 best bet is to open a jira issue so this doesnt get lost.

 -igor


 On 5/1/07, *Dragos Bobes* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Something got broken in the new release (1.3.0-incubating-SNAPSHOT)
 because I've checked wicket-examples 1.2.5 and it works fine there.
 Is this a known issue?

 Thanks,
 Dragos


  I've just noticed that the behaviour is specific to Firefox 2.0. In
  Internet Explorer 7 everything works fine.
 
 
  Hey guys,
 
  I'm a newbie with wicket so it may be my fault but I tried to
 debug this
  error and I couldn't find any solutions.
  I build a simple page with an editable ajax label, everything
 works fine
  except when I try to cancel the changes (using the Esc key).
 After that
  all AJAX features stop working with a INFO: Channel busy -
  postponing... error.
  Bellow is a snapshot from AJAX debug:
 
  
  INFO: Response parsed. Now invoking steps...
  INFO: Response processed successfully.
  INFO: Invoking post-call handler(s)...
  INFO: last focus id was not set
  INFO:
  INFO: Initiating Ajax GET request on
 
 
 Help?wicket:interface=:1:editableLabel:editor::IBehaviorListener:0wicket:ignoreIfNotActive=truesave=falserandom=0.5459241681095125

  INFO: Invoking pre-call handler(s)...
  INFO: Channel busy - postponing...
 
 
  My code:
  AjaxEditableLabel label = new
 AjaxEditableLabel(editableLabel,
  new PropertyModel(this, name));
  add(label);
 
  Html:
   span wicket:id=editableLabelSomething/span
 
  Please let me know if this is a known issue or if there is
 something
  missing in my code (I'm using 1.3.0-incubating-SNAPSHOT).
 
  Thanks,
  Dragos
 


 -

 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
 mailto: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] Cancel doesn't work for AjaxEditableLabel (1.3.0-incubating-SNAPSHOT)

2007-04-30 Thread Dragos Bobes
Hey guys,

I'm a newbie with wicket so it may be my fault but I tried to debug this 
error and I couldn't find any solutions.
I build a simple page with an editable ajax label, everything works fine 
except when I try to cancel the changes (using the Esc key). After that 
all AJAX features stop working with a INFO: Channel busy - 
postponing... error.
Bellow is a snapshot from AJAX debug:


INFO: Response parsed. Now invoking steps...
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
INFO: last focus id was not set
INFO:
INFO: Initiating Ajax GET request on 
Help?wicket:interface=:1:editableLabel:editor::IBehaviorListener:0wicket:ignoreIfNotActive=truesave=falserandom=0.5459241681095125
INFO: Invoking pre-call handler(s)...
INFO: Channel busy - postponing...


My code:
AjaxEditableLabel label = new AjaxEditableLabel(editableLabel, 
new PropertyModel(this, name));
add(label);

Html:
 span wicket:id=editableLabelSomething/span

Please let me know if this is a known issue or if there is something 
missing in my code (I'm using 1.3.0-incubating-SNAPSHOT).

Thanks,
Dragos


-
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] Cancel doesn't work for AjaxEditableLabel (1.3.0-incubating-SNAPSHOT)

2007-04-30 Thread Dragos Bobes
I've just noticed that the behaviour is specific to Firefox 2.0. In 
Internet Explorer 7 everything works fine.

Thanks,
Dragos

Dragos Bobes wrote:
 Hey guys,

 I'm a newbie with wicket so it may be my fault but I tried to debug this 
 error and I couldn't find any solutions.
 I build a simple page with an editable ajax label, everything works fine 
 except when I try to cancel the changes (using the Esc key). After that 
 all AJAX features stop working with a INFO: Channel busy - 
 postponing... error.
 Bellow is a snapshot from AJAX debug:

 
 INFO: Response parsed. Now invoking steps...
 INFO: Response processed successfully.
 INFO: Invoking post-call handler(s)...
 INFO: last focus id was not set
 INFO:
 INFO: Initiating Ajax GET request on 
 Help?wicket:interface=:1:editableLabel:editor::IBehaviorListener:0wicket:ignoreIfNotActive=truesave=falserandom=0.5459241681095125
 INFO: Invoking pre-call handler(s)...
 INFO: Channel busy - postponing...


 My code:
 AjaxEditableLabel label = new AjaxEditableLabel(editableLabel, 
 new PropertyModel(this, name));
 add(label);

 Html:
  span wicket:id=editableLabelSomething/span

 Please let me know if this is a known issue or if there is something 
 missing in my code (I'm using 1.3.0-incubating-SNAPSHOT).

 Thanks,
 Dragos


 -
 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