model « wicket « Java Enterprise Q&A





1. Ajaxrequest with Wicket but multiple possilbe model values    stackoverflow.com

I'm new to wicket and stuck with the following problem: I have a table with 5 rows. Each row contains 7 cells. Each cell has a unique value. Once a cell is ...

2. How to use the model in wicket?    stackoverflow.com

I try to create an page of the following structure:

MainPage {
    DateSelector {}
    TabGroup {
        Tab0 {...}
  ...

3. Wicket : Notify if page model has been changed    stackoverflow.com

The problem is like this; A webpage contains multiple form elements, which can be altered and saved by the user via a save button, or changes can be discarded. If the user ...

4. Attempt to set model object on null model of component    stackoverflow.com

I'm new to Wicket, but googling this problem didn't give me anything that made sense. So I'm hoping someone in SO can help. I have a SiteChoice object that extends Form, ...

5. Why ((Integer) weightModel.getObject()).intValue(); throws exception    stackoverflow.com

I am learning Wicket by "Enjoying Web Development with Wicket" book.It is written for Wicket 1.4.7
And in an example: int weight = ((Integer) weightModel.getObject()).intValue();

is used. When I click Submit button it ...

6. Should volatile be used for attributes of domain model classes in Java web apps?    stackoverflow.com

Here's my thinking: Even though a HTTP request cycle is essentially handled by a 'single thread', each time a HTTP request is processed for that same session it is likely to be ...

7. Using enums as model object in Wicket    stackoverflow.com

To use an Enum class in a PropertyModel you can write:

new PropertyModel(MyObject, "MyEnumClass");
Now this only works if MyEnumClass is defined within the MyObject-class. How can I use a stand-alone Enum-class in a ...

8. Wicket and Java: CheckGroup contains a null model object    stackoverflow.com

Im getting this error: CheckGroup contains a null model object, must be an object of type java.util.Collection Im not sure what is causing this issue, nor can anyone in my team resolve this. Ive ...

9. Populating ExternalLink from Model in Wicket    stackoverflow.com

I am sure I am overlooking something very basic here, but I just don't get how to create an ExternalLink inside a WebMarkupContainer from the model of the WebMarkupContainer.

   ...





10. Do i have to detach wicket models, if they are used in local variables?    stackoverflow.com

I am using PropertyModel and Compoundpropertymodel in my wicket application. I use them as local variables and not as members of the page classes. Do i have to override the ...

11. Wicket - Wrapped collection Model "transformation"    stackoverflow.com

I have a domain object which has a collection of primitive values, which represent the primary keys of another domain object ("Person"). I have a Wicket component that takes IModel<List<Person>>, and allows ...