Skip to Content
Former Member
May 15, 2007 at 06:48 AM

Checking portal roles in WebDynpro



I want to make some role checking in my WD and depending on the role I want to create the WD dynamically. I know how I can check the roles and also how to generate the WD dynamically, but I don't know where to do it.

In which method should I do the role checking and generating the WD dynamically?

public void wdDoInit()


public static void wdDoModifyView(IPrivateComponentEDView wdThis, IPrivateComponentEDView.IContextNode wdContext, view, boolean firstTime)

I think I should use the wdDoInit() method, but to generate the WD dynamically I need this parameter IWDView from the wdDoModifyView method. But I think it's not the right method for that...

So what should I do where?

Thanks in advance,