Hi,

I am wondering about stringresourcemodel stategy to retrieve label in
properties file.

In the join project which can be launch with "mvn clean compile jetty:run" :

I run

public class MyModalWindow extends ModalWindow {

private static int height = 700;

public MyModalWindow(String id) {
super(id);
StringResourceModel title = *new StringResourceModel("title",
MyModalWindow.this, null);*
 setTitle(title);
setInitialHeight(height -= 60);
}
}

but wicket don't take "title" property in *MyModalWindow.properties *but in
the root component properties file. (WebPage extended by HelloWorld then
taken in *HelloWorld.properties*).

Am I doing wrong ? do you have any ideas ?

Thank you

Clément

Attachment: bug.tar.gz
Description: GNU Zip compressed data

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to