final MultiLineLabel clientInfo = new MultiLineLabel("clientinfo", new AbstractReadOnlyModel<String>()
{
@Override
public String getObject()
{
ClientProperties properties = getClientProperties();
return properties.toString();
}
});
clientInfo.setOutputMarkupPlaceholderTag(true);
clientInfo.setVisible(false);
IModel<String> clientTimeModel = new AbstractReadOnlyModel<String>()
{
@Override
public String getObject()
{
ClientProperties properties = getClientProperties();
TimeZone timeZone = properties.getTimeZone();
if (timeZone != null)
{
Calendar cal = Calendar.getInstance(timeZone);
Locale locale = getLocale();
DateFormat dateFormat = DateFormat.getTimeInstance(DateFormat.LONG, locale);