Portal, Book and pages enumeration

Hi, I´m having a bit of a problem using Bea Workshop 8.1.5.
I´m building a Portal which has inside books and pages.
The pages can hold inside books.
The problem is that I ´ve using the methods
DesktopBackingContext dbc=DesktopBackingContext.getDesktopBackingContext(this.getRequest());
BookBackingContext books=dbc.getBookBackingContextRecursive(rama);
List lista=books.getPages(); //Here is the list of the books and pages that it contains.
where "rama" is a String containing the Definition label of the book where I want to start the enumeration.
If the portlet that contains the .jpf ,where the previous code is, is placed outside the main book, it works perfectly but if that same portlets is placed inside the main book o the books that it contains it won´t work.
I debugged it and it seems that this
books.getPages(); is returning null (as it has no books or pages, but it does!).
Does anybody knows what I am missing here?
Best
Alejo

You need to set the portal property Tree Optimization to false, this way you force the portal to create instances of all the trees but you´ll loose performace.

Similar Messages

  • How to implement multlingual on bea portal books and pages

    Hi
    We are are using BEA weblogic portal.
    Now we want to use multilingual on bea portal.
    Ho we can change the portal book's name and pages according to languages.
    Regards
    Paramdeep Singh

    In your browser, you maintain your list of desired languages. This is an ordered list with the first language/locale in the list being the primary. This list of languages is passed to the server in as header. The portal server uses this header as the default mechanism to determine the language to serve back to the browser, although this behavior can be changed for your implementation if you wish. The server will look for a matching resource bundle based on the order of preference in your list of accepted languages.
    So, if you want to receive fr_FR responses, ensure the fr_FR is listed first in your browsers list of languages and that you have created fr resources in your portal.
    Brad

  • Creating Portal Books and Pages dynamically

    How do i create Portal Books Dynamically from a backingfile (preRender Method). And still be able to dynamically embed a portlet instance on each page created.
    very urgrent

    Hello,
    You would want t use the methods available on the BookDefinitionManager and PageDefinitionManager EJBs to add a new book or page definition. then use the methods from the IPageInstanceManager and IBookInstanceManager interfaces implemented by the PortalCustomizationManager EJB to add the book / page under an existing book / page / desktop.
    For the javadoc for all of these EJBs, see:
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadoc/com/bea/netuix/application/manager/persistence/package-summary.html
    Then, to access the EJB in your code, you can do the following (this example is for PageDefinitionManager, but it would be similar to all the other EJBs):
    import com.bea.netuix.application.manager.persistence.PageDefinitionManagerHome;
    import com.bea.netuix.application.manager.IPageDefinitionManager;
    import com.bea.p13n.management.ApplicationHelper;
    import com.bea.netuix.application.manager.CustomizationContext;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    // Access the PageDefinitionManager EJB
    InitialContext context = new InitialContext();
    String lookupName = PageDefinitionManagerHome.LOOKUP_NAME;
    String applicationName = ApplicationHelper.getVersionedAppName();
    if((applicationName != null) && (applicationName.length() > 0))
    lookupName = applicationName + "." + lookupName;
    Object home = context.lookup(lookupName);
    home = PortableRemoteObject.narrow(home, PageDefinitionManagerHome.class)
    IPageDefinitionManager pageManager = ((PageDefinitionManagerHome)home).create();
    Kevin

  • Getting hierarchy of books and pages in portal - sitemap

    Hi,
    I am using BEA Portal 8.1 SP5. I want to get a list of all the books and pages (up to the lowest level as one book can contain multiple books) contained in the portal. I am using BookPresentationContext.getEntitledPagePresentationContexts function. I also tried getPagePresentationContexts function. These functions return data only for active books. If user is not within a book, I do not get information about all children of this book.
    Is there a way to get hierarchy of all available books/pages? I want to use this information to create sitemap. Is there another way to do it with in portal?
    I would appreciate any help in this regards.
    Thank you,
    mqassim

    mqassim wrote:
    Hi,
    I am using BEA Portal 8.1 SP5. I want to get a list of all the books and pages (up to the lowest level as one book can contain multiple books) contained in the portal. I am using BookPresentationContext.getEntitledPagePresentationContexts function. I also tried getPagePresentationContexts function. These functions return data only for active books. If user is not within a book, I do not get information about all children of this book.
    Is there a way to get hierarchy of all available books/pages? I want to use this information to create sitemap. Is there another way to do it with in portal?
    I would appreciate any help in this regards.You have tree optimization on hence you only get the active items. To disable
    this for a specific request, such as to your site map, include the parameter
    _nfto=false in the link. See the docs on tree optimization for more info here:
    http://e-docs.bea.com/wlp/docs81/taxonomy/taxonomy.html
    In particular, look at the section "Disabling Tree Optimization"
    Gerald

  • Navigation structure with books and pages

    We are setting up a navigation system in Portal 8.1. When setting this up, we have
    run into some issues with the fact that books appear in the navigation structure,
    but contain no content. As a result, we have had to create a homepage for each
    book. This creates a repeat of the section name in the navigation structure, one
    for the book and one for the page. For example, we have our Home book. Then we
    have our Home page (since books cannot directly contain portlets). In our navigation
    "Home" is repeated twice, but the book link just goes to the default page (either
    the last visited page within that session or the top page in that book if the
    no page has been visited).
    The navigation we are trying to get is very similar to the one here on bea's website.
    For example, when you click on Partners, it takes you to the Partners home page.
    This section has many other pages located inside of it as well. Does anyone have
    any suggestions on how to set this up?
    Thanks!!!
    Erin

    I've opened a support case for this item. When I get this resolved I will post
    the solution. But, to clarify the issue, the standard way that portal navigation
    works is that when a user clicks on a book the user is directed to a default page.
    This default page is either the last page visited during the session or the first
    page in the book if no page has been visited. The problem is that the book itself
    does not contain content. So if you wanted the "Partners" book to have a homepage
    titled "Partners" (just like here on BEA's site) then the word "Partners" would
    appear twice in the left nav (once as a book and once as a page). But only the
    page would actually contain content. Plus when a user clicked on the "Partners"
    book it would not always take them to the "Partners" homepage.
    "Chris Jolley" <[email protected]> wrote:
    >
    Not sure i understand your problem:
    However:
    Books can contain 1 or more Books and Pages, and can have an optional
    menu.
    Pages can contain Portlets and Books.
    What is it that you want on the 'Partners' Book?
    "Erin Powell" <[email protected]> wrote:
    We are setting up a navigation system in Portal 8.1. When setting this
    up, we have
    run into some issues with the fact that books appear in the navigation
    structure,
    but contain no content. As a result, we have had to create a homepage
    for each
    book. This creates a repeat of the section name in the navigation structure,
    one
    for the book and one for the page. For example, we have our Home book.
    Then we
    have our Home page (since books cannot directly contain portlets). In
    our navigation
    "Home" is repeated twice, but the book link just goes to the default
    page (either
    the last visited page within that session or the top page in that book
    if the
    no page has been visited).
    The navigation we are trying to get is very similar to the one hereon
    bea's website.
    For example, when you click on Partners, it takes you to the Partners
    home page.
    This section has many other pages located inside of it as well. Does
    anyone have
    any suggestions on how to set this up?
    Thanks!!!
    Erin

  • Changing ALT and Title Tags for Book and Page  Icons

    Hi folks,
    Are you aware of any setting in Robo Help that would allow
    you to modify or even remove the ALT and titles introduced for the
    Book and and Page icons displayed on the navigation pane. I tried
    deleting it from the RoboHHRE.lng file, but still its not going
    away. Other than deleting it from the rendered files (whlstt0.htm)
    is there any other setting within RoboHelp that would do the trick.
    My idea is to remove all ALT and title attributes given to Book and
    Pages as its causing too much redundancy.
    Regards,
    Prabhat

    Hi Prabhat -
    Apologies for the delayed response: while there is no
    Robohelp checkbox for removing this, you can step into the
    generated files and remove it. This thread should provide what
    you're looking for:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=65&catid=451&threadid =1184760&highlight_key=y&keyword1=TOC

  • RH 10: TOC hierarchy limited to Books and Pages only?

    I am generating WebHelp on Windows 7 Professional and viewing the generated help in IE 9.
    In the TOC pod it looks like the TOC has only two levels of hierarchy for topics: Books and pages. There does not appear to be a way to add a topic below a page in the TOC hierarchy (a sub page of a page, in other words).
    In the attached sceen shot, a topic is highlighted, and the right pointing arrow is not available.
    Surely RH 10 does not restrict the TOC to just two levels.
    Please let me know how to move a topic to appear under a page in the TOC.
    Thanks.

    Sorry but that's the way it works. You get books and pages. The books contain the pages. If you want topics indented below other topics, you will need to make another book. RoboHelp can help you with this. Right click the page and choose "Create Book from Page" and poof!
    Cheers... Rick

  • Assign information types to books and pages

    Hi,
    I'm using Robohelp 7 HTML and am trying to Assign information types to books and pages. The information types are defined however I have no way of assigning them to the topics/books. All my categories are marked as "inclusive"
    The Adobe Hep file says that:
    Click View > Pods > Topic List. The Topics List appears.
    From the Topics list, select the topic.
    Click Properties .
    Click the Information Types Tab. .......
    There is no such Tab.
    What am I doing wrong? Can someone please help

    Hi there
    You aren't doing anything wrong. What you have done is stumble across a feature of HTML Help that was never properly and fully implemented. I had a play with Information Types back in 2000 and concluded that they weren't worth the effort.
    For one thing, they are far from intuitive for end users. An end user has to know they exist, then right-click the TOC and choose to sort the TOC by the Information Type (or types) that are available.
    If you choose to continue with Information Types, I believe the process you follow is to create the types. Sounds like you have gotten that far. Then in the TOC you right-click the Books and Pages and examine the properties. On the ensuing dialog you click the Advanced tab and enable the Use Information Types option. Then you assign the types by clicking the Add... button near the bottom.
    As Information types are only used with the TOC, it comes as no surprise there is nothing in Topic Properties to deal with them. Additionally, they only apply to CHM format and are totally moot if your output is WebHelp or FlashHelp.
    My best advice would be to suggest to Adobe that incorrect information exists in the help. I'll be doing that with the comment you posted in the help topic. I just opened RoboHelp X5 and even as far back as X5 there is no Information Types tab in the Topic Properties.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • To change the TOC icons for books and pages

    I want to change the TOC icons for books and pages.
    How I do this?
    Thank

    Hi Christine and welcome to our community
    Even in traditional WebHelp output, these are simple images.
    I just created a non-skinned output to check. I'm using X5 and in
    this version you should be able to find the following images:
    * Closed book should be: whd_toc1.gif
    * Open book should be: whd_toc2.gif
    * Page should be: whd_toc3.gif
    So if you want to influence changes to these, you would find
    them in your output folder and simply replace (using the same file
    name) with the image(s) of your choice.
    Cheers... Rick

  • Photo books and page order

    Ok i have a question about the page order on the photo books you make with iPhoto. Cover is.. a cover, then is Page 1 the page right behind the cover or the following one? On the book I've made page 2 and 3 look like as they are on the same side but if page 1 is the one behind the cover then the order should be like that : Page 1 & 2 go together, then Page 3 & 4 etc. I don't know if I made myself clear. I just want to make sure I've organized my book the way I want it to be.
    Thanks in advance.

    It is a book - when you open it odd numbered pages on on the right and even numbered pages on the left - same as every professional book made
    Page 2 is the back side of Page 1, etc.
    Before ordering your book preview it using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it.
    The preview will show the exact layout
    LN

  • Additional icons for book and page?

    I've been searching for a way to change the standard purple book and ? page icons.  is there a way in RH8?

    Indeed it can be done by right-clicking the TOC items and choosing Properties. From there choose the Advanced tab and you will see options.
    This only works if Microsoft HTML Help has been configured as the Primary Layout.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Customizing Portal tabs and pages

    hi,
      I am trying to customize the portal for BI. We would like to remove completely the stanard functionality and put only two tabs one Home and another tab "BI". So, i created two pages by name "Home" and "BI". and also i created a workset and kept these two pages in the workset and attached this workset to the role and attached the role to the test user ABC.
    After i have done this, i logged in as test user ABC. Nothing is visible. Do i need to do some settings in permissions or any where else so that the test user can see only two tabs like Home and BI and under Home , he would like to see "Home" Page and under BI "BI" page.
    Please advise.
    Thanks in advance....

    Dorson,
    you need to assign end user role to the user to make Home role visible for that user.
    coming to custom role did you set the entry point of role to yes
    Thanks
    Bala Duvvuri

  • Down loaded book from I books and page at the end of chapter missing. Stops mid sentence .

    Down loaded books from I books, end of chapter missing, stops mid sentence and skips to next chapter, several times

    How big is your book? Did you preview or share/sync?
    Try reinstalling iBooks on your iPad.

  • Setting Book Default page in runtime

    Hi All,
    How to set Book Default page in runtime.
    My requirement is based on loged in user group name we have to go to that page, in book there are four pages default is 3 page. based on user login we have to go the pirticular page.
    Thanks,
    Venkaata Sarvabatla

    Hi
    I have a similar requirement but the problem i am facing is that the control of the program does not go into the handlePostbackData() method of the desktop backing file. the URL i call from the login JSP is something like: "/../../myDesktop.portal" where myDesktop.portal is the desktop portal file having books and pages. Page1 is the default but based on an input i need to redirect to Page2 instead of landing on the default Page1. I wanted to give the redirect logic in the handlePostbackData() method but the control does not go into the method. I also tried giving sth like : "/../../myDesktop.portal?_nfpb=true&_pageLabel=Page2" but it still renders the (default) Page1.
    Do you have an idea what would I be possible missing out on or doing wrong here. Thanks.
    I am using struts portals.
    Thanks
    GT
    Edited by: 929390 on Apr 23, 2012 7:03 AM

  • In Pages 5.2, some fonts "not available", yet present in Font Book and working in other apps

    Using Pages 5.2, I open a document created in a previous version, and I get error messages about certain fonts within a font family being "not available" in OS X.  However, these supposedly unavailable fonts are present in Font Book and work just fine in all other apps running on OS X.  In fact, I still have the older version of Pages on my system, and it still finds the fonts without issue.  The specific fonts troubling me at the moment are Myriad Pro Semibold It and Myriad Pro Cond.  Pages 5.2 replaces them with Helvetica.  I have wasted hours of time trying to resolve this problem, and I am at a total loss.  What can I do?

    Like so many other thing is is probably gone. Why not use Pages 09 that has about 100 features more than Pages 5. If you haven't deleted it it should still be in Applications/iWork 09 folder.

Maybe you are looking for

  • Installing old apps on 1st gen iPod touch

    Hi all!!    Ok I have a 1st Gen iPod touch and I have 2 apps that were updated from iTunes but when updating it said that it couldn't update due to old system but the old apps stayed on my iPod but when I did a restore the apps are not on my iPod and

  • Display hyperlinks in Preview 6.0

    I use the standard Preview 6.0 that comes with Mountain Lion to view my pdf documents, and these contain many hyperlinks within. In the past versions of Preview, hyperlinks used to be highlighted with a red box round about them, hence clearly visible

  • My Mail is not properly Formatted

    I am trying to send mail using java. The mail is going Ok but the content is not properly formatted. it comes in only one line...whereas i have diffrent paragraphs in it. when i print the message on console it comes very fine, but the mail i receive

  • Unity 5.0 compatibility with Exchange 2010 SP2?

    Has anyone out there tested Unity 5.0 (1) with Exchange 2010 SP2? Did you have any problems? I understand that Unity 5.x has gone end of maintenance, and it has not been officially been tested for compatibility with Exchange 2010 SP2 for unified mess

  • AD binding Fail

    I am trying to join my Imac to my works AD server. Everytime I go to the Directory Utility to bind, it gives me the Error "Unable to access domain controller for an unknown reason." When I try to ping the .local server i'm trying to bind it to it can