Okay, with your example implementation I can disable the content of the tab.
But the tab itself is still visible. And I am searching a way to disable
this tab itself too.
Jeroen Steenbeeke wrote:
>
> I believe the default behavior is to throw an
> UnauthorizedInstantiationException
> if compo
This is my problem. How do I get the information, if the user has not the
permission to see the panel?
I create a tab list like this:
List tabs = new ArrayList();
tabs.add(new AbstractTab(new Model("panel")) {
public Panel getPanel(String panelId) {
return new FooPanel(panelId);
}
...
Hi,
I'm sorry to put such an old topic up.
But I'm searching for a way to secure tabs with wicket-auth-roles and I
don't want to display the tabs when the user has no authorization for its
content panel.
I can't find the source code which is related to. Maybe somone can just add
a little code sn