5 Replies Latest reply on May 31, 2010 12:00 PM by Matt Wringe

    Page Management

    Hardy Massen Novice

      Hi,

       

      1.

      If I create a page via the "add new page"-button in the "Page Management Portlet" the "Access Permission" and the "Edit Permission" of the newly created page is empty. How can I set the Permissions of this page?

       

      2.

      A page has a property "Page-Title". Is this title used somewhere in the portal-ui or is it accessible through Portal-API?

       

      3.

      If I edit the node "sitemap", I see the properties-key "#{portal.classic.sitemap}" as the content of the label-field. Is this the desired functionality? I would rather expect the properties-value.

       

      Regards,

       

      LeoLo

        • 1. Re: Page Management
          Matt Wringe Master
          If I create a page via the "add new page"-button in the "Page Management Portlet" the "Access Permission" and the "Edit Permission" of the newly created page is empty. How can I set the Permissions of this page?

          this looks like a bug, please file a jira about this

           

          A page has a property "Page-Title". Is this title used somewhere in the portal-ui or is it accessible through Portal-API?

           

          The page name is used to set the unique id for the page, the page title is what should be displayed when accessing that page.

           

          If I edit the node "sitemap", I see the properties-key "#{portal.classic.sitemap}" as the content of the label-field. Is this the desired functionality? I would rather expect the properties-value.

          this is the key that it will get from the resource bundle. This allows for the value to change based on what language is currently selected.

          If you do not want to use the value from the resource bundle then you can change it something else (without the #{}), if you want to use another value from the resource bundle then change the value inside #{}

          • 2. Re: Page Management
            Hardy Massen Novice

            Matt Wringe wrote:

             

            this looks like a bug, please file a jira about this

             

             

            https://jira.jboss.org/browse/GTNPORTAL-1278

            (Jira seems to have some issues atm)

             

            A page has a property "Page-Title". Is this title used somewhere in the portal-ui or is it accessible through Portal-API?

             

            The page name is used to set the unique id for the page, the page title is what should be displayed when accessing that page.

             

            But where is the page-title displayed?

             

            If I add a new page with the "Page Creation Wizard" I first set a node-name and a display-name. The display-name is shown in the navigation of the portal. In the Wizard-Step-3 (or later) I can edit the page-properties. By default the page-title there is filled with the node-name from step 1. I may edit this page-title, but the portal still shows the display-name in the navigation. So I wonder if and where the page-title is used?

             

            Regards,

             

            LeoLo

            • 3. Re: Page Management
              Matt Wringe Master

              But where is the page-title displayed?

               

              If I add a new page with the "Page Creation Wizard" I first set a node-name and a display-name. The display-name is shown in the navigation of the portal. In the Wizard-Step-3 (or later) I can edit the page-properties. By default the page-title there is filled with the node-name from step 1. I may edit this page-title, but the portal still shows the display-name in the navigation. So I wonder if and where the page-title is used?

              Ok, so when you create a new Page, what you are really creating is a new node and adding a page to that node. The display-name for the node is what the UI should show, the node-name is what is used to create a unique Id (and if the display-name is empty. it will use the node-name).

               

              When you view a portal page, it will show the node's name attributes in the UI. If you wish to change the name of a portal page, you will need to change the node name in the node managment.

               

              The page name on the other hand is used to keep track of pages (ie in page management) and shouldn't be displayed in the ui anywhere. It will use the node name by default.

              • 4. Re: Page Management
                Julien Viet Apprentice

                The page-title value of a page is used by GateIn to set the HTML page title name so it will be displayed as is by your browser: <title>Home Page</title>

                • 5. Re: Page Management
                  Matt Wringe Master

                  Ah, I completely missed that.

                   

                  I figured if I got it wrong someone would correct me