you really seem to be mixing up wicket jars or something i see no other way why this would happen otherwise.

johan


On 2/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
hmm...one more thing, i am using DataBinder.net Version 0.2 to work with Hibernate and A Form class has to extend DataForm according to the API. So maybe DataForm in Databinder was compiled against an older Wicket? 
 


 
On 2/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED] > wrote:
I am using Wicket Version 1.1.1 and also Wicket extension version 1.1.1...i was doing this in my code
 
WebMarkupContainer dateLabel = new WebMarkupContainer("dateLabel");
            add(dateLabel);
            add(dateOfBirth = new RequiredTextField("dateOfBirth", Date.class));
            dobPicker = new DatePicker("dobPicker",dateOfBirth,dateLabel);
            add(dobPicker);
I am developing with Netbeans 5.0 and when i launch application contaiing the form i get:
 
java.lang.NoSuchMethodError: wicket.extensions.markup.html.datepicker.DatePicker.addToHeader(Lwicket/Component;)V
wicket.extensions.markup.html.datepicker.DatePicker.<init>(DatePicker.java:228)
wicket.extensions.markup.html.datepicker.DatePicker .<init>(DatePicker.java:179)
net.community.health.pages.RecordInputPage$InputForm.<init>(RecordInputPage.java:85)
net.community.health.pages.RecordInputPage.<init>(RecordInputPage.java:38)
net.community.health.pages.StartPage .<init>(StartPage.java:35)
 
 



--
"The more life's risk you take, the more life's reward you get" - Me

Aladejebi Ayodeji A., Project Leads
PentaSoft Technologies Nigeria Limited
Floor 1, AP Plaza, Ademola Adetokunbo Crescent, Wuse II
Abuja, Nigeria |Tel: 234-09-5233478 | Fax: 234-09-5233470

Interested in Java Development?
Visit my blog: Ayodeji Aladejebi's JBlog | http://blog.dabarobjects.com/
Community: Visit Cowblock.net, Nigeria

Reply via email to