I want to be able to use the StringResourceModel, but
 
I want to use a property "string" that is loaded when the page is
loaded.
 
Basically, I want to set a dynamic property object?
 
With this code below, how can I do this.
----
 
public class SomePanel extends BaseContentPanel {
 
 private static final long serialVersionUID = 1L;
 
 public SomePanel(String id) {
  super(id);
  
    add(new Label("weatherMessage", new
StringResourceModel("weather.message", this, null)));
 

 }
}
 
 
Berlin Brown

Reply via email to