Two Laptop Bag*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Wicket Framework Basics" Watch "Wicket Framework Basics" New topic
Author

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?
 
wood burning stoves
 
subject: Wicket Framework Basics
 
Similar Threads
Nested Model Class + ModelDriven + Struts 2
Help on Struts2 if tag to implement logic:equal and logic:present
Regarding Entirty relationships...
Command object is not setting up properly
beginner