Re: Problem with DatePicker

2008-03-27 Thread Fabien D.

Thank you !! It was that. I had not joda-time :)

igor.vaynberg wrote:
 
 do you have joda jars which wicket-datetime depends on???
 
 -igor
 
 
 On Wed, Mar 26, 2008 at 8:25 AM, Fabien D. [EMAIL PROTECTED]
 wrote:

  I've just migrated to wicket 1.3.2 and added the good librairies.

  And I have exactly the same error! That means I've done a mistake in my
  code?

  Thank you for your help :)




  Gerolf Seitz wrote:
  
   this is fixed in 1.3.2
  
 Gerolf
  
   On Wed, Mar 26, 2008 at 11:42 AM, Fabien D.
 [EMAIL PROTECTED]
   wrote:
  
  
   Hi,
  
   I try to use a DatePicker like this :
  
  TextField date_version = new TextField(date_version,
   model_date_version, Date.class);
  date_version.setRequired(true);
  date_version.add(new DatePicker());
  this.form_ajoutinfgeneral.add(date_version);
  
   I have import :
   import org.apache.wicket.extensions.yui.calendar.DatePicker;
  
   I'm using these librairies : wicket-datetime-1.3.1.jar and
   wicket-extensions-1.3.1.jar
  
   When I try to display my page, I have a problem, which is reported in
 my
   log
   file :
   java.lang.NoClassDefFoundError
  at
   org.apache.wicket.extensions.yui.calendar.DatePicker.class$(
   DatePicker.java:86)
  at
   org.apache.wicket.extensions.yui.calendar.DatePicker.getDatePattern(
   DatePicker.java:438)
  at
  
  
 org.apache.wicket.extensions.yui.calendar.DatePicker.checkComponentProvidesDateFormat
   (DatePicker.java:296)
  at
  
 org.apache.wicket.extensions.yui.calendar.DatePicker.bind(DatePicker.java
   :129)
  at org.apache.wicket.Component.add(Component.java:922)
  at com.mycompany.projet.PanelAjInfGeneral.initPage(Unknown
 Source)
   .
  
   I don't understand what is my mistake.
  
   Thank you in advance for your help.
   --
   View this message in context:
  
 http://www.nabble.com/Problem-with-DatePicker-tp16299775p16299775.html
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  

  --
  View this message in context:
 http://www.nabble.com/Problem-with-DatePicker-tp16299775p16302996.html


 Sent from the Wicket - User mailing list archive at Nabble.com.


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


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

-- 
View this message in context: 
http://www.nabble.com/Problem-with-DatePicker-tp16299775p16323375.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Problem with DatePicker

2008-03-27 Thread Igor Vaynberg
you couldve just used maven and saved us all some time...

-igor


On Thu, Mar 27, 2008 at 2:04 AM, Fabien D. [EMAIL PROTECTED] wrote:

  Thank you !! It was that. I had not joda-time :)



  igor.vaynberg wrote:
  
   do you have joda jars which wicket-datetime depends on???
  
   -igor
  
  
   On Wed, Mar 26, 2008 at 8:25 AM, Fabien D. [EMAIL PROTECTED]
   wrote:
  
I've just migrated to wicket 1.3.2 and added the good librairies.
  
And I have exactly the same error! That means I've done a mistake in my
code?
  
Thank you for your help :)
  
  
  
  
Gerolf Seitz wrote:

 this is fixed in 1.3.2

   Gerolf

 On Wed, Mar 26, 2008 at 11:42 AM, Fabien D.
   [EMAIL PROTECTED]
 wrote:


 Hi,

 I try to use a DatePicker like this :

TextField date_version = new TextField(date_version,
 model_date_version, Date.class);
date_version.setRequired(true);
date_version.add(new DatePicker());
this.form_ajoutinfgeneral.add(date_version);

 I have import :
 import org.apache.wicket.extensions.yui.calendar.DatePicker;

 I'm using these librairies : wicket-datetime-1.3.1.jar and
 wicket-extensions-1.3.1.jar

 When I try to display my page, I have a problem, which is reported in
   my
 log
 file :
 java.lang.NoClassDefFoundError
at
 org.apache.wicket.extensions.yui.calendar.DatePicker.class$(
 DatePicker.java:86)
at
 org.apache.wicket.extensions.yui.calendar.DatePicker.getDatePattern(
 DatePicker.java:438)
at


   
 org.apache.wicket.extensions.yui.calendar.DatePicker.checkComponentProvidesDateFormat
 (DatePicker.java:296)
at

   org.apache.wicket.extensions.yui.calendar.DatePicker.bind(DatePicker.java
 :129)
at org.apache.wicket.Component.add(Component.java:922)
at com.mycompany.projet.PanelAjInfGeneral.initPage(Unknown
   Source)
 .

 I don't understand what is my mistake.

 Thank you in advance for your help.
 --
 View this message in context:

   http://www.nabble.com/Problem-with-DatePicker-tp16299775p16299775.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




  
--
View this message in context:
   http://www.nabble.com/Problem-with-DatePicker-tp16299775p16302996.html
  
  
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  

  --
  View this message in context: 
 http://www.nabble.com/Problem-with-DatePicker-tp16299775p16323375.html


 Sent from the Wicket - User mailing list archive at Nabble.com.


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



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



Problem with DatePicker

2008-03-26 Thread Fabien D.

Hi,

I try to use a DatePicker like this : 

TextField date_version = new TextField(date_version,
model_date_version, Date.class);
date_version.setRequired(true);
date_version.add(new DatePicker());
this.form_ajoutinfgeneral.add(date_version);

I have import : 
import org.apache.wicket.extensions.yui.calendar.DatePicker;

I'm using these librairies : wicket-datetime-1.3.1.jar and
wicket-extensions-1.3.1.jar

When I try to display my page, I have a problem, which is reported in my log
file :
java.lang.NoClassDefFoundError
at
org.apache.wicket.extensions.yui.calendar.DatePicker.class$(DatePicker.java:86)
at
org.apache.wicket.extensions.yui.calendar.DatePicker.getDatePattern(DatePicker.java:438)
at
org.apache.wicket.extensions.yui.calendar.DatePicker.checkComponentProvidesDateFormat(DatePicker.java:296)
at
org.apache.wicket.extensions.yui.calendar.DatePicker.bind(DatePicker.java:129)
at org.apache.wicket.Component.add(Component.java:922)
at com.mycompany.projet.PanelAjInfGeneral.initPage(Unknown Source)
.

I don't understand what is my mistake. 

Thank you in advance for your help.
-- 
View this message in context: 
http://www.nabble.com/Problem-with-DatePicker-tp16299775p16299775.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Problem with DatePicker

2008-03-26 Thread Gerolf Seitz
this is fixed in 1.3.2

  Gerolf

On Wed, Mar 26, 2008 at 11:42 AM, Fabien D. [EMAIL PROTECTED]
wrote:


 Hi,

 I try to use a DatePicker like this :

TextField date_version = new TextField(date_version,
 model_date_version, Date.class);
date_version.setRequired(true);
date_version.add(new DatePicker());
this.form_ajoutinfgeneral.add(date_version);

 I have import :
 import org.apache.wicket.extensions.yui.calendar.DatePicker;

 I'm using these librairies : wicket-datetime-1.3.1.jar and
 wicket-extensions-1.3.1.jar

 When I try to display my page, I have a problem, which is reported in my
 log
 file :
 java.lang.NoClassDefFoundError
at
 org.apache.wicket.extensions.yui.calendar.DatePicker.class$(
 DatePicker.java:86)
at
 org.apache.wicket.extensions.yui.calendar.DatePicker.getDatePattern(
 DatePicker.java:438)
at

 org.apache.wicket.extensions.yui.calendar.DatePicker.checkComponentProvidesDateFormat
 (DatePicker.java:296)
at
 org.apache.wicket.extensions.yui.calendar.DatePicker.bind(DatePicker.java
 :129)
at org.apache.wicket.Component.add(Component.java:922)
at com.mycompany.projet.PanelAjInfGeneral.initPage(Unknown Source)
 .

 I don't understand what is my mistake.

 Thank you in advance for your help.
 --
 View this message in context:
 http://www.nabble.com/Problem-with-DatePicker-tp16299775p16299775.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: Problem with DatePicker

2008-03-26 Thread Fabien D.

I've just migrated to wicket 1.3.2 and added the good librairies.

And I have exactly the same error! That means I've done a mistake in my
code?

Thank you for your help :)


Gerolf Seitz wrote:
 
 this is fixed in 1.3.2
 
   Gerolf
 
 On Wed, Mar 26, 2008 at 11:42 AM, Fabien D. [EMAIL PROTECTED]
 wrote:
 

 Hi,

 I try to use a DatePicker like this :

TextField date_version = new TextField(date_version,
 model_date_version, Date.class);
date_version.setRequired(true);
date_version.add(new DatePicker());
this.form_ajoutinfgeneral.add(date_version);

 I have import :
 import org.apache.wicket.extensions.yui.calendar.DatePicker;

 I'm using these librairies : wicket-datetime-1.3.1.jar and
 wicket-extensions-1.3.1.jar

 When I try to display my page, I have a problem, which is reported in my
 log
 file :
 java.lang.NoClassDefFoundError
at
 org.apache.wicket.extensions.yui.calendar.DatePicker.class$(
 DatePicker.java:86)
at
 org.apache.wicket.extensions.yui.calendar.DatePicker.getDatePattern(
 DatePicker.java:438)
at

 org.apache.wicket.extensions.yui.calendar.DatePicker.checkComponentProvidesDateFormat
 (DatePicker.java:296)
at
 org.apache.wicket.extensions.yui.calendar.DatePicker.bind(DatePicker.java
 :129)
at org.apache.wicket.Component.add(Component.java:922)
at com.mycompany.projet.PanelAjInfGeneral.initPage(Unknown Source)
 .

 I don't understand what is my mistake.

 Thank you in advance for your help.
 --
 View this message in context:
 http://www.nabble.com/Problem-with-DatePicker-tp16299775p16299775.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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


 
 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-DatePicker-tp16299775p16302996.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Problem with DatePicker

2008-03-26 Thread Johan Compagner
you run it against 1.5?
try to do it against 1.6

somehow you still miss something

On Wed, Mar 26, 2008 at 4:25 PM, Fabien D. [EMAIL PROTECTED]
wrote:


 I've just migrated to wicket 1.3.2 and added the good librairies.

 And I have exactly the same error! That means I've done a mistake in my
 code?

 Thank you for your help :)


 Gerolf Seitz wrote:
 
  this is fixed in 1.3.2
 
Gerolf
 
  On Wed, Mar 26, 2008 at 11:42 AM, Fabien D. [EMAIL PROTECTED]
  wrote:
 
 
  Hi,
 
  I try to use a DatePicker like this :
 
 TextField date_version = new TextField(date_version,
  model_date_version, Date.class);
 date_version.setRequired(true);
 date_version.add(new DatePicker());
 this.form_ajoutinfgeneral.add(date_version);
 
  I have import :
  import org.apache.wicket.extensions.yui.calendar.DatePicker;
 
  I'm using these librairies : wicket-datetime-1.3.1.jar and
  wicket-extensions-1.3.1.jar
 
  When I try to display my page, I have a problem, which is reported in
 my
  log
  file :
  java.lang.NoClassDefFoundError
 at
  org.apache.wicket.extensions.yui.calendar.DatePicker.class$(
  DatePicker.java:86)
 at
  org.apache.wicket.extensions.yui.calendar.DatePicker.getDatePattern(
  DatePicker.java:438)
 at
 
 
 org.apache.wicket.extensions.yui.calendar.DatePicker.checkComponentProvidesDateFormat
  (DatePicker.java:296)
 at
  org.apache.wicket.extensions.yui.calendar.DatePicker.bind(
 DatePicker.java
  :129)
 at org.apache.wicket.Component.add(Component.java:922)
 at com.mycompany.projet.PanelAjInfGeneral.initPage(Unknown
 Source)
  .
 
  I don't understand what is my mistake.
 
  Thank you in advance for your help.
  --
  View this message in context:
  http://www.nabble.com/Problem-with-DatePicker-tp16299775p16299775.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Problem-with-DatePicker-tp16299775p16302996.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: Problem with DatePicker

2008-03-26 Thread Igor Vaynberg
do you have joda jars which wicket-datetime depends on???

-igor


On Wed, Mar 26, 2008 at 8:25 AM, Fabien D. [EMAIL PROTECTED] wrote:

  I've just migrated to wicket 1.3.2 and added the good librairies.

  And I have exactly the same error! That means I've done a mistake in my
  code?

  Thank you for your help :)




  Gerolf Seitz wrote:
  
   this is fixed in 1.3.2
  
 Gerolf
  
   On Wed, Mar 26, 2008 at 11:42 AM, Fabien D. [EMAIL PROTECTED]
   wrote:
  
  
   Hi,
  
   I try to use a DatePicker like this :
  
  TextField date_version = new TextField(date_version,
   model_date_version, Date.class);
  date_version.setRequired(true);
  date_version.add(new DatePicker());
  this.form_ajoutinfgeneral.add(date_version);
  
   I have import :
   import org.apache.wicket.extensions.yui.calendar.DatePicker;
  
   I'm using these librairies : wicket-datetime-1.3.1.jar and
   wicket-extensions-1.3.1.jar
  
   When I try to display my page, I have a problem, which is reported in my
   log
   file :
   java.lang.NoClassDefFoundError
  at
   org.apache.wicket.extensions.yui.calendar.DatePicker.class$(
   DatePicker.java:86)
  at
   org.apache.wicket.extensions.yui.calendar.DatePicker.getDatePattern(
   DatePicker.java:438)
  at
  
   
 org.apache.wicket.extensions.yui.calendar.DatePicker.checkComponentProvidesDateFormat
   (DatePicker.java:296)
  at
   org.apache.wicket.extensions.yui.calendar.DatePicker.bind(DatePicker.java
   :129)
  at org.apache.wicket.Component.add(Component.java:922)
  at com.mycompany.projet.PanelAjInfGeneral.initPage(Unknown Source)
   .
  
   I don't understand what is my mistake.
  
   Thank you in advance for your help.
   --
   View this message in context:
   http://www.nabble.com/Problem-with-DatePicker-tp16299775p16299775.html
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  

  --
  View this message in context: 
 http://www.nabble.com/Problem-with-DatePicker-tp16299775p16302996.html


 Sent from the Wicket - User mailing list archive at Nabble.com.


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



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