-
1. Re: Page Management
mwringe May 28, 2010 9:30 AM (in response to leolo)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
leolo May 31, 2010 8:47 AM (in response to mwringe)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
mwringe May 31, 2010 9:29 AM (in response to leolo)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 May 31, 2010 10:45 AM (in response to leolo)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
mwringe May 31, 2010 12:00 PM (in response to julien_viet)Ah, I completely missed that.
I figured if I got it wrong someone would correct me