// properties by redirecting to a special page.
// don't use a property model here or anything else that is resolved
// during rendering, as changing the request target during rendering
// is not allowed.
final ClientProperties properties = ((WebClientInfo)getRequestCycle().getClientInfo()).getProperties();
add(new MultiLineLabel<String>("clientinfo", properties.toString()));
IModel<String> clientTimeModel = new AbstractReadOnlyModel<String>()
{
/**
* @see org.apache.wicket.model.AbstractReadOnlyModel#getObject()
*/
@Override
public String getObject()
{
TimeZone timeZone = properties.getTimeZone();
if (timeZone != null)
{
Calendar cal = Calendar.getInstance(timeZone);
Locale locale = getLocale();
DateFormat dateFormat = DateFormat.getTimeInstance(DateFormat.LONG, locale);