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]