THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Wicket provides
IModel
implementations you can use with any component. These models can do things such as retrieve the value from a resource file, or read and write the value from a Java Bean property. - Wicket also provides
IModel
implementations that defer retrieving the value until it is actually needed, and remove it from the servlet Session when the request is complete. This reduces session memory consumption, and it particularly useful with large values such as lists. - Unlike Swing, you do not have to implement an extra interface or helper class for each different component. Especially for the most often used components such as Labels and TextFields you can easily bind to a bean property.
- In many cases you can provide the required value directly to the component and it will wrap a default model implementation around it for you.
- And while you so do not have to use beans as your models as you must with Struts, you may still easily use beans if you wish. Wicket provides the appropriate model implementations.
...