Page paths show root level when page published as portlet

I use pages that simply work as repositories and which are published to the root page in the same page group as portlets. When these repository pages have sub pages I add a region with a page path for users to navigate within each page hierarchy.
When the pages are published as portlets and placed on the root page of the page group, the page path shows the root page as the first level of the path (root : repospage : reposSubPage1 : reposSubPage11).
This is confusing as it always seems that there is one more level above the top level when in fact reposPage is the top level.
I want to have the underlying repository page as the top level of the path. How do I do this?

The page path always shows the root page of the page group.
You can try building your own page path in a PL/SQL item. The function:
wwpro_api_parameters.get_value('_pageid','a')will return the value of the pageid parameter in the page URL (the second parameter is used by portlets and is ignored when used in a PL/SQL item). You can use this value to find the parent page in the WWSBR_ALL_FOLDERS view. By using a cursor loop (I recommend this over a connect by query against this view), you can walk up the tree to get the entire path. The root page will always have an id of 1.
One caveat - getting the pageid from the wwpro_api_parameters.get_value function may not work in future versions of Portal.
Also, you'll need 9.0.2.6 or later for the WWSBR_ALL_FOLDERS view.
Regards,
Jerry
PortalPM

Similar Messages

  • Website paths showing root level log in via ssh and not the specific spot?

    Hello, I have three sites on 10.5 server. Most of it in house use but when logging in or mounting for example archive.ota.com via terminal it brings you to the root level / of my server. The webfolder is set on my raid array for example /Volumes/website1/archive where I would hope it would bring you as home directory? The specific user set up has that as the home directory but still mounts higher up? Is this a permissions thing? Home directory maybe? Not sure what I am missing. I am rusty on this I admit. Thanks

    I was having the same issue with Eclipse. If I launched an xterm and then ran eclipse it worked fine but as a published application, it would die after showing the Eclipse splash screen for a second. Adding the ampersand to the end of the launch command fixed it. Strange.
    Thanks for following up your post with the fix. I don't think backgrounding the process from the SGD launcher would have ever occurred to me.

  • When you first download Pages, there is a welcome screen with a check mark, in a box, at the bottom left corner that says show this window when Pages opens. How do I recheck that box?

    When you first download Pages, there is a welcome screen with a check mark, in a box, at the bottom left corner that says show this window when Pages opens. How do I recheck that box?

    Alex,
    Go to Pages Help, Welcome to Pages.
    Jerry

  • Page Text and Photos dissapear when I Publish

    Here is a new problem I am encountering and wondering if there is anyone who knows how to resolve this. I have one certain page on my website that when I publish it to the desktop, and open it, the page header is there, but all the text and photos are gone. I'm using the "black" theme and I believe I used the welcome template. The page consists of a text box and photos, using the media place holders. The text is just white arial font, like on all my other pages. Since this is a page full of people writing in to the website, the correspondence from each person is separated by a graphic line. I have used the graphic line on other pages to separate want ads and on those pages, I am not having a publishing problem. I have already recreated this page from scratch once. It published fine a few times then one day all the text and pictures have disappeared again. Does anyone have any idea what is going wrong? I've tried deleting the cashe and we've tried "repair permissions - disk utilities."

    Posting more info on this problem:
    I did a test and think I have found a clue on what is going on. I carefully recreated the original page from scratch first with text only. I published it to make sure the text would publish. Then I added the photos back to the page using the image placeholders. I then published again and both text and photos are still there. Next, I duplicated the page, called it Mail Page #2, and noticed as soon as the page was duplicated, the section with text and photos now has a "text Imaging Indicator" on it in that section. the original page does not have that indicator. When I published the site again and this page now is publishing blank (all black, text and photos missing; only the header remains and that actually is a text w/shadow, so its an image). The original page where the imaging indicator did not turn on, that page is still publishing normally. So this has something to do with iWeb converting that section that has text and pictures, into an image. Other than that, I am still at a loss as to why it happens or how to avoid it. If anyone has any input I would greatly appreciate it. I will post back if I have additional info.

  • Page designer show small view when using page template and cannot be run

    Dear Experts,
    I need to make some page templates.
    I have build 2 simple page templates, let say template0 & template1 which template1 using template0.
    It show no any problem until I close my Jdeveloper & reopen it.
    When I reopen template1, it show so small in designer (Jdeveloper window).
    Is there any wrong?
    I have build another template, just 1 template.
    When I used it at the first time, no any strange behavior occur.
    After ... (I don't exactly when), it give me the same view in my designer.
    Then I force to use my first tempate (template1 which used template0 inside), I cannot run my application at all.
    After wait several minutes, I found error log in my log messages.
    *#### Server Instance DefaultServer could not be started: Server Instance was terminated.*
    Above the message, I found another error messages:
    *Jun 7, 2009 5:40:19 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: null/tag:xmlContent/id:dte_160d74a
    org.xml.sax.SAXParseException: <Line 69, Column 7>: XML-20100: (Fatal Error) Expected 'EOF'.
    *     at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)*
    Is there anyone that can help me to find out why this error occured?
    Should I raise this problem to metalink or just can post it in this forum?
    Many thanks for your supporting...
    N.B: Below I attach my template0 (AHM000.jspx) and template1 (AHM001.jspx)
    Best regards,
    Dominic Chandra
    AHM000.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <c:set var="ahmwebtemplateBundleAHM000"
    value="#{adfBundle['com.ahm.lib.view.template.AHMWebTemplateBundle']}"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <af:pageTemplateDef var="attrs">
    <af:panelSplitter orientation="vertical" splitterPosition="60">
    <f:facet name="first">
    <af:decorativeBox theme="dark" topHeight="0px">
    <f:facet name="center">
    <af:panelHeader text="#{attrs.pageTitle}">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend">
    <af:panelGroupLayout>
    <af:outputText value="#{attrs.pageName}"/>
    <af:outputText value="#{sessionScope.userState.userName}"/>
    <f:facet name="separator">
    <af:spacer width="10" height="10"/>
    </f:facet>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="info">
    <af:statusIndicator/>
    </f:facet>
    </af:panelHeader>
    </f:facet>
    <f:facet name="top"/>
    </af:decorativeBox>
    </f:facet>
    <f:facet name="second">
    <af:panelSplitter orientation="vertical" positionedFromEnd="true"
    splitterPosition="20">
    <f:facet name="first">
    <af:decorativeBox theme="light" topHeight="0px">
    <f:facet name="center">
    <af:facetRef facetName="mainArea"/>
    </f:facet>
    <f:facet name="top"/>
    </af:decorativeBox>
    </f:facet>
    <f:facet name="second">
    <af:panelGroupLayout inlineStyle="text-align:right;">
    <af:outputText value="#{ahmwebtemplateBundleAHM000.VERSION} #{attrs.appVersion}"
    inlineStyle="color:Navy;"/>
    <af:outputText value="© 2009 PT Astra Honda Motor"
    inlineStyle="color:Navy; font-weight:bold;"/>
    <f:facet name="separator">
    <af:spacer width="10" height="10"/>
    </f:facet>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:panelSplitter>
    <af:xmlContent>
    <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <display-name>AHM000</display-name>
    <facet>
    <description>Main Area</description>
    <facet-name>mainArea</facet-name>
    </facet>
    <attribute>
    <attribute-name>pageTitle</attribute-name>
    <attribute-class>java.lang.String</attribute-class>
    <default-value>Page Title</default-value>
    <required>true</required>
    </attribute>
    <attribute>
    <attribute-name>
    pageName
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    ahmxxyyynnnznn
    </default-value>
    <required>
    true
    </required>
    </attribute>
    <attribute>
    <attribute-name>
    appVersion
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    1.0.0
    </default-value>
    </attribute>
    </component>
    </af:xmlContent>
    </af:pageTemplateDef>
    </jsp:root>
    AHM001.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <c:set var="ahmwebtemplateBundleAHM001"
    value="#{adfBundle['com.ahm.lib.view.template.AHMWebTemplateBundle']}"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <af:pageTemplateDef var="attrs">
    <af:pageTemplate viewId="/template/AHM000.jspx">
    <f:facet name="mainArea">
    <af:panelSplitter splitterPosition="#{attrs.searchAreaPosition}">
    <f:facet name="first">
    <af:facetRef facetName="searchArea"/>
    </f:facet>
    <f:facet name="second">
    <af:panelSplitter positionedFromEnd="true"
    splitterPosition="#{attrs.infoAreaPosition}">
    <f:facet name="first">
    <af:facetRef facetName="mainArea"/>
    </f:facet>
    <f:facet name="second">
    <af:facetRef facetName="infoArea"/>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    <f:attribute name="pageTitle"
    value="#{attrs.pageTitle}"/>
    <f:attribute name="pageName" value="#{attrs.pageName}"/>
    <f:attribute name="appVersion" value="#{attrs.appVersion}"/>
    </af:pageTemplate>
    <af:xmlContent>
    <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <display-name>AHM001</display-name>
    <facet>
    <description>Search Area</description>
    <facet-name>searchArea</facet-name>
    </facet>
    <facet>
    <description>Main Area</description>
    <facet-name>mainArea</facet-name>
    </facet>
    <facet>
    <description>Info Area</description>
    <facet-name>infoArea</facet-name>
    </facet>
    <attribute>
    <attribute-name>pageTitle</attribute-name>
    <attribute-class>java.lang.String</attribute-class>
    <default-value>Page Title</default-value>
    <required>true</required>
    </attribute>
    <attribute>
    <attribute-name>
    pageName
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    ahmxxyyynnnznn
    </default-value>
    <required>
    true
    </required>
    </attribute>
    <attribute>
    <attribute-name>
    appVersion
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    1.0.0
    </default-value>
    </attribute>
    <attribute>
    <attribute-name>
    searchAreaPosition
    </attribute-name>
    <attribute-class>
    java.lang.Integer
    </attribute-class>
    <default-value>
    200
    </default-value>
    </attribute>
    <attribute>
    <attribute-name>
    infoAreaPosition
    </attribute-name>
    <attribute-class>
    java.lang.Integer
    </attribute-class>
    <default-value>
    200
    </default-value>
    </attribute>
    </component>
    <af:decorativeBox>
    <f:facet name="center"/>
    <f:facet name="top"/>
    </af:decorativeBox>
    </af:xmlContent>
    </af:pageTemplateDef>
    </jsp:root>

    Hi...
    Thanks for asking....
    As I put in my post before, I include template0 in my template1, as seen in template1 (AHM001):
    <af:pageTemplateDef var="attrs">
    *<af:pageTemplate viewId="/template/AHM000.jspx">*
    I use AHM000 inside AHM001. I use this approach to build many template based on one basic design.
    Actually, I don't think the problem is in page template usage because as I submitted paralel to Metalink, I've already not called template0 in template1 but I copy template0's contents to template1.
    Unfortunately, page designer show small view and below error messages still occured.
    *Jun 7, 2009 10:25:20 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: /AhmTestTemplate-ViewController1-context-root/template/AHM001.jspx/tag:xmlContent/id:null
    org.xml.sax.SAXParseException: <Line 115, Column 51>: XML-20100: (Fatal Error) Expected 'EOF'.
    Fortunately my application can be run already altough the error message still logged.
    Many thanks,
    Dominic C.

  • How can I get my files to print? when i go to the print page they show up a black page .

    I seem to be having trouble getting downlaoded pdfs to print off. I can view them and they look ok but then i go to the print setup and all that shows is a black page. If i try to open the saved file from the desktop it say the file is damaged or corrupt . this doesnt always happen. sometimes it's fine, so idont know what is wrong, the file , my printer , adobe reader?? can anyone help?

    HI thanks for that Pat, but doesn't seemed to have fixed it . I dont have that option on my print set up.
    this is message i get when i try to open the file.     Adobe Reader could not open 'calleen-2014-a4-form.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
    when i am viewing the document online i dont have any access to adobe reader menus or bar at the top, then i go to print from safari browser and then the page in the print box is black , no image. Any other suggestions . thanks

  • Why isn't my portrait page numbering showing up on landscape pages after creating PDF from Word?

    I have a lengthy Word document that has portrait and landscape oriented sections. The landscape sections have page numbering set up so that on screen it appears on the left, but in the printed book will have the page numbers in the same place as the portrait pages. For some reason when I create a PDF using the Adobe tab in Word and embed the fonts though, the portrait page numbers on my landscape pages do not show up. Does anyone know if there's a box or something I'm not checking?
    I'm using Microsoft 2010. Let me know if any other details are needed!

    Hi Liz,
    Can you share the file with me at [email protected] so that I can have a look.
    Regards,
    Anoop

  • Linked css page not showing next to html page

    i am not seeing the linked css page icon next to the html page icon unless i physically open the css file

    Are you working within a Defined Local Site folder?
    Part 03 - Setting up a Local Site | Classroom: Basic Site Layout and Navigation in Dreamweaver | Adobe TV
    Is your CSS file inside your Local Site folder?
    Are you sure your external CSS file is linked with the correct file path?  For example, if working with new pages, you must save & name the page first.  Then DW will update paths to external files for you.
    Nancy O.

  • Radio Buttons - Want both to show up blank when page comes up new.

    I have a radio group(with submit) that has 2 buttons(STATIC2:No;N,Yes;Y). When Y is selected, a submit is performed which then displays another field.
    I need this to be a required field and have the user definitely select no or yes so
    I want the buttons to come up blank. How is this accomplished?

    Hi,
    Let's say you have 2 fields:
    1- P1_RADIO (is required to display P1_TXT_FIELD)
    2- P1_TXT_FIELD
    add a conditional item display to this item:
    "value of item in expression 1 = expression 2"
    expression1: P1_RADIO
    expression2: Y
    The server validations should not be trigger during the form completion phase... i would review the page workflow if this is the case to ensure a better user experience
    Louis-Guillaume
    Homepage : http://www.insum.ca
    Blog : http://insum-apex.blogspot.com

  • Image from blog entry page not showing up on 'home' page of blog

    My first blog entry went well. I created a blog first page, then created an entry, and dragged a picture to that entry. I saved, published, and all looked great. Even the comment area worked. But when I created a second entry page, and dragge a picture to it, and saved, the photo is not showing up on that first page of the blog, the one that reads like a list only with a picture and teaser part of the entry...See http://web.me.com/brendatharp1/brendatharpblog/OnTheRoad/OnTheRoad.html
    The entry listing is there on the first page, and when you click on the title link, it takes you to the entry page and the photos are there. I noticed that on the first page, the Sept 13th entry with photo is inside a text box of sorts - this was the layered paper template I used and then modified. Dbl-clicking to make that box interactive shows the black floating box for dealing with the placement of the photo in that list; but that box only relates to that one photo from the 13th. If I drag and drop the 15th's photo there, it just sits over the text and doesn't interact. AND I didn't have to do that with the first entry. Any ideas out there? Thanks much, Brenda.

    Does this thread help http://discussions.apple.com/thread.jspa?threadID=1711038&tstart=15
    I have experienced this and it was because I removed the placeholder and just added the image on the entry page. I duplicate blog entries and delete content to add new stuff so don't have to reformat every time, if you do that don't remove the image just add on the top - it should replace the previous image. Hope this helps, it is frustrating at times but the more you learn the easier it becomes.

  • Show child levels when the top level is forced to be null - Avoid aggregations on the top level

    Hi everybody,
    it was difficult to select a title for my question.
    Let´s say I have a geographical hierarchy with Region --> Country --> District --> Store levels
    I want to avoid the aggregations in local currency at the Region Level because that makes no sense.
    I scoped the Net Sales measure like this:
    SCOPE ([Measures].[Net Sales], [Fx Rate].[Fx Rate].[Local Currency], [Stores].[Store].Members);
    this = SUM([Fx Rate].[Fx Rate].&[1], [Measures].[Net Sales LC]); 
    END SCOPE;
    SCOPE ([Measures].[Net Sales], [Fx Rate].[Fx Rate].[Local Currency], [Stores].[Region].Members);
    this = null;
    END SCOPE;
    The scopes are working but I have a visualization problem. When I drag and drop the geo hierarchy in the pivot table nothing is shown because the upper level (Region) has only empty cells (this=null;). If I change the Fx Rate type to a reference currency,
    then the regions are shown and I can expand the lower levels, change the filter again to local currency and the values are back, but this is not the best approach.
    Any ideas about how to tackle that? Any comment would be appreciated
    Kind Regards

    I blogged about this scenario and a solution here:
    http://www.artisconsulting.com/blogs/greggalloway/Lists/Posts/Post.aspx?ID=24
    http://artisconsulting.com/Blogs/GregGalloway

  • My ipad wont turn on or show battery level when charging

    I dont know what to do, my iPad wont show up in iTunes, the computer doesnt recognise it, the battery icon wont show up when it is plugged in and it doesnt turn on.

    Assuming that the battery isn't empty (and it can take up to 15 minutes of charging before it will respond), then have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds, after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Adding a page path to an "all items in page group" SELECT?

    I have a case where a client's asked me to produce a "report" (nothing fancy, so I'm thinking a basic SELECT right out of the DB here rather than a full solution like Discoverer or Business Objects) for them on all items in particular page groups in our Portal (v10.1.2.0.2).
    I have a query that Oracle Support provided which I can fiddle with a bit to get most of the info I need:
    select I.ID, I.display_name, I.name, I.itemtype, P.name
    from PORTAL.WWSBR_ALL_ITEMS I,
    PORTAL.WWSBR_ALL_CONTENT_AREAS CA,
    PORTAL.WWSBR_ALL_FOLDERS P
    where CA.name = 'MY_PAGE_GROUP'
    and P.caid = CA.id
    and I.caid = CA.id
    and I.folder_id=P.id
    and I.active=1
    and I.is_current_version=1
    and I.visible=1
    and I.itemtype in ('basefile','baseimagemap','basetext','baseurl');
    ...however, what I'd like to do is add a "page path" column; that is, one that would trace up the tree from the item's page to the root of the page group and present something like "My Page Group > Departments > HR" like you get in Portal Navigator.
    I can think of how to do this, conceptually, by tracing through the parent pages in WWSBR_ALL_FOLDERS, but what I'm not quite sure about is how to do it for an arbitrary depth in the page tree - i.e., the page can be any (reasonable) number of levels from the page group's root.
    Any thoughts? I'd prefer to do this as a basic SQL query if at all possible, but writing a little reusable PL/SQL procedure to do it isn't out of the question. My knowledge of PL/SQL is pretty rudimentary but I have enough programming experience in other languages that I could probably manage to bumble through it if necessary.
    Thanks.

    First create a page that can contain two regions. One for a page-path item, and another to have a report portlet.
    For the page-path, you can have another region in your page. Then edit this region to make it items type. Now add an item of type 'Page Path', with depth 3.
    Now, you can create a portal report based on your SQL query, publish it as portlet, add it on that page as portlet.
    That will give you exactly what you have described you want.
    hope that helps!
    AMN

  • Why do I need Library at root level AND a library in the admin user folder?

    I have three user accounts in my macbook, I share it with two brothers. I'm the "administrator". Under my user account there is a library folder, same as with the other two users. But I also have a library folder at the root level when I open the "Macintosh HD" icon on the desktop. I notice that both the library at my user folder and the one in the root folder have items that have been updated recently.
    While I noticed that the individual user libraries are "normal" in size, the one at the root level is 11 GB.
    Why do I need the library at the root level? Can I consolidate that with the Library in my user folder?
    Thanks!

    Why do I need the library at the root level?
    For items which apply to all user accounts.
    Can I consolidate that with the Library in my user folder?
    No.
    (57249)

  • One page in my site has 3 columns but when I publish the site it shows up with 2 columns

    I set up the site with 2 columns per page, except for one page which has 3 columns. I looks right in iweb, but when I publish the site it still shows up with 2 columns like the other pages...any idea how to correct that?

    Clear your browser's cache (Command+Option+E for Safari) and reload the page. 
    What's the URL of your site so we can examine it first hand?
    OT

Maybe you are looking for

  • Made a mess of mail, please help

    Hi everyone. I switched from PC to iMac last year, and here is my situation. I use mail on my iMac.  I have it set up to check my pop mail for my private email address ([email protected]) and my hotmail ([email protected]) and both of those are set t

  • Burning dvd with no menu

    Hello, I am looking for a way to burn a movie so that the movie automatically plays when ou put it in the dvd player, without a menu screen coming up first. is that possible?

  • OSB !!!

    Hi all, we want to know that OSB 10.3.1 (Oracle Service Bus) is certified on IBM LPAR AIX Power 5.3 or not. Please provide Certified information for OSB 10.3.1. thanks, karthik

  • How do you download music from itunes on pc to itunes on mac

    how do you download music from itunes on pc to itunes on mac

  • How can I send textes from phone to computer

    Hi I am having a really hard time, I am trying to send my Tex messages to my computer for I can print them up. Please Help Thanks Karen