3 Replies Latest reply on Jun 16, 2008 4:49 PM by Steven Crosley

    Portal Admin customization

    Steven Crosley Newbie

      Hi,

      I'm looking into doing some customization of the admin portal.

      I need to assign a set of roles to a portal containing a set of pages. Each page would have a custom layout and set of portlets.

      Are there any Admin APIs that I can use? Also is it possible to create a standalone admin portlet that uses existing admin portal infrastructure?

      Thanks!

        • 1. Re: Portal Admin customization
          Antoine Herzog Master

          yes, you can do all that.

          you can make a portlet for admin, that works in a "standalone" page.

          and more over : it is open source : you can look at the code, and make some adaptation for your own needs.

          but there is no real "Admin API"
          the Admin portlet uses the Portal API to make the requests and change.
          and some JSP to provide the GUI to the user.

          so look how it is coded yet : you will find the portal API to do what you want (add some roles etc...)

          • 2. Re: Portal Admin customization
            Chris Laprun Master

            We'd be interested in seeing the results of any such customization if at all possible.

            • 3. Re: Portal Admin customization
              Steven Crosley Newbie

              Thanks for the replies. I was looking through the admin portlet code. In editPageLayout.xhtml it appears to pull in another portlet to get a list of instances:

              <jbp:portlet
               portletId="#{pageManager.selectedEditorPortletId}"
               portletInvoker="#{pageManager.portletInvoker}"
               actionListener="#{pageManager.assignWindow}"
               supportedModes="edit_content"
               supportedWindowStates="normal"
               initialMode="edit_content"
               initialWindowState="normal"
               renderParameters="#{pageManager.selectedRenderParameters}"
               onClick="url.setParameter('windowName', document.getElementById('windowForm:windowName').value);"/>


              Can someone explain how this jbp:portlet tag works and where this add'l portlet is located?

              Thanks!