Hello.
I've always used
add(new Label("alabel", new Model("A message")); - does this not save the
"A message" string in the page store?
Is it not better to do add(new Label("alabel", new
LoadableDetachableModel<String>() {
@Override
protected String load() {
return "A message";
}
})); - while this option does not save it in the page store.
Is it because of the coding amount that nobody is using this? I guess not
because we could extend IModel and create a "label model" with a string
property that is cleared on detach.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]