ITab metadataTab = new AbstractTab(new ResourceModel("pam.details.tabs.pa_metadata"))
{
public Panel getPanel(String panelId)
{
return new MetadataPanel(panelId, paNodeBean);
}
};
tabs.add(metadataTab);
TabbedPanel tabbedPanel = new TabbedPanel("tabs", tabs);