Hello,

Here is the exact code of the Jave Page class

public class I18nPage extends WebPage
{
        private Form frmProperty;
        private Label lblProperty;
        
        public I18nPage()
        {
                frmProperty = new Form("frmProperty");
                add(frmProperty);
                
                NameModel nameModel = new NameModel();
                nameModel.setPersonName("sakthi");
                
                lblProperty = new Label("lblProperty",new 
StringResourceModel("hello", new
PropertyModel(nameModel, "personName")));
                frmProperty.add(lblProperty);
        }
}
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Internalization-Exceptions-tp2536565p2537105.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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

Reply via email to