This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Wicket Framework Basics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Wicket Framework Basics" Watch "Wicket Framework Basics" New topic

Wicket Framework Basics

Dishpal Bhaluja
Ranch Hand

Joined: Dec 30, 2007
Posts: 96
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?
I agree. Here's the link:
subject: Wicket Framework Basics
It's not a secret anymore!