Skip to Content
0
Former Member
Jan 11, 2007 at 04:41 PM

Access component profile from AbstractCommand

12 Views

Hello

I have created an AbstractCommand and I wonder if I can access the component profile properties of the iview that has called this command.

I have tried this :

IPortalComponentRequest request = (IPortalComponentRequest) this.getProxy().getDynPage().getPageContext().getRequest();

String StartUri = request.getComponentContext().getProfile().getProperty("StartUri");

but doesn´t work.

Thanks in advance.