Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wicket Framework Basics

 
Dishpal Bhaluja
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing a wicket 1.4 application using NetBeans 6.5

My question is:I have written a Class that extends the LoadableDetachableModel and i have written a getObject() method in that and a parameterised constructor for the class

Code is:

Where customer is my Pojo class.My aim is to load Customer Object from Database.


And in my Wicket Page i am doing like


and on rendering the page I am getting Mr in the username field while the password field is still blank.

And more importantly my load() function has not been called.Why is this behaviour?

Can anyone explain to me what is happening here?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic