protected void populateItem(ListItem<String> innerItem)
{
Label label = new Label("label", innerItem.getModel());
if (secured)
innerItem.add(SecureComponentHelper.setSecurityCheck(label,
new ComponentSecurityCheck(label)));
else
innerItem.add(label);
// this will generate loads of distinct checks for
// component permissions
// usually you do not want this, instead you should use