added scope on the Generic Resource for portal Layout
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@9938 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f7ededc5c1
commit
d819772daf
|
@ -33,6 +33,7 @@ public class GenericResourcePortlet {
|
|||
resource.setDescription("List of selectable Portlet for the VRE "+vreName);
|
||||
resource.setName("AvailablePortlets");
|
||||
resource.setSecondaryType("PortletLayoutResource");
|
||||
resource.addScope(GCUBEScope.getScope(ServiceContext.getContext().getScope()+"/"+vreName));
|
||||
|
||||
ISPublisher publisher = GHNContext.getImplementation(ISPublisher.class);
|
||||
publisher.registerGCUBEResource(resource,GCUBEScope.getScope(ServiceContext.getContext().getScope()+"/"+vreName) , ServiceContext.getContext());
|
||||
|
|
Loading…
Reference in New Issue