Page switching in Streaming portal

Hi,
Am been working with weblogic portals recently.
In file based portals, we used to switch to different pages using the pageBackingContext.
But, am now working with Streaming portals, where we render the pages using the Preference set for the portlet in the admin console. If this is the case, how am i too switch between the pages?
Thanks in advance.

If you do not need to alter the output order (e.g. to reverse), the following will be sufficient:
%%Page: 1 1
%%BeginPageSetup
<</Duplex false/PageSize  [595 842] /Tumble false /ManualFeed false /MediaPosition 0>>  setpagedevice
%%PageOrientation: Portrait
pdfStartPage
0 0 595 842 re W
%%EndPageSetup
%%Page: 2 2
%%BeginPageSetup
<</Duplex false/PageSize  [595 842] /Tumble false /ManualFeed false /MediaPosition 1>>  setpagedevice
%%PageOrientation: Portrait
pdfStartPage
0 0 595 842 re W
%%EndPageSetup
The italic lines are copied from your sample file, the bold line is what you should insert. For the 3rd and following
pages you need not do anything as long as you don't change the output order.
Helge

Similar Messages

  • How to add a new page to a streaming portal?

    I want to add a new page to a streaming portal.
    I add a new page to the .portal file on my desktop development
    environment.
    I do a build, creating a new ear with an updated .portal file on it.
    I deploy that ear, but I do not see the page in the library.
    I found that if I create a new Desktop, based off the .portal file, the
    page is added to the library (as well as every other desktop).
    Is this the right way to do things? Or do I have to add the page using
    the admin tool? If I do, I don't have access to all the properties.

    Once you create desktop from a template (.portal) file built in workshop, all the elements of the portal template file get stored in database as library resources. Later when you add new pages to the .portal file, you wont see those changes in the streaming mode desktop. As far as I know, BEA is trying to fix this issue in future releases. But in the meanwhile, you have to create a new .portal file in workshop and create desktop out of it from admin portal to see the new changes.
    Seenu.

  • Portal Page switching

    Hello,
    I have an action that is supposed to switch the current portal page using the following code:
    String pageLabel = "portals_page_30";
    HttpServletRequest request = this.getRequest();
    WindowBackingContext context = (WindowBackingContext)BackingContext.getContextFromRequest(WindowBackingContext.class, request);
    context.setupPageChangeEvent(pageLabel);
    And indeed the page does switch but there is nothing on the page (no portlets) There is no mention of a problem in the logs and when I manually switch pages by selecting the tab the page is presented with the correct portlets present.
    please help this is driving me mad!
    Stephen

    Nice one that is that sorted. The link makes for interesting reading too as I do have concerns over performance.
    That document suggests that in terms of performance it is better to have tree optimisation switched on and to use multiple desktops instead of deeply nested pages,books and portlets. This is good news as this is the approach I was going to use anyway - I posted a question about this yesterday.
    ... but, I have one more technical question:
    Does anyone have a stratergy for parameter passing between desktops?

  • Content Area Export / -page switch

    I am using Portal Production 3.0.7.6.2 under NT.
    If I try to export a content area using the "-page" switch, then I get the following error in SQLPLUS:
    SP2-0310: unable to open file "pagename.sql"
    any ideas what is wrong?
    tks!!

    On Windows NT, the content area export script when invoked with the -page option looks for a script file named pagename.sql which was left out of the install (it has been fixed in 3.0.8). Using a text editor, save the following into a file named pagename.sql and place it in the <PORTAL_HOME>/admin/plsql/wwu directory:
    /* --- Cut Here --- */
    select 'set page_name='&#0124; &#0124;name from wwpob_page$
    where id = (select pageid from wwsbr_sites$ where upper(name) = upper('&&1'))
    set serverout on
    set echo off
    set feedback off
    set verify off
    set newpage 0
    set pagesize 0
    set space 0
    set heading off
    set trimspool on
    set termout off
    spo pagename.bat
    spo off
    exit
    /* --- Cut Here --- */

  • Page Switching in Post Script file

    I need to print the first page of my bills on a specified pre printed bill form and the next Page i.e two or three on plain sheet.  
    I have follwoing command line for Page switching.
    For First Page
    <</Duplex false/PageSize  [595 842] /Tumble false /ManualFeed false /MediaPosition 0>>  setpagedevice
    For Second Page
    <</Duplex false/PageSize  [595 842] /Tumble false /ManualFeed false /MediaPosition 1>>  setpagedevice
    Where Should I insert these lines in my PS File
    Please see my PS file here
    Dropbox - 1.PS
    The first five page are single page bill that are to be printed in Bill form. the next bill is a two page bill so first page will be printed on bill form and the next on lain sheet.
    Kinldy Guide where should I place those lines

    If you do not need to alter the output order (e.g. to reverse), the following will be sufficient:
    %%Page: 1 1
    %%BeginPageSetup
    <</Duplex false/PageSize  [595 842] /Tumble false /ManualFeed false /MediaPosition 0>>  setpagedevice
    %%PageOrientation: Portrait
    pdfStartPage
    0 0 595 842 re W
    %%EndPageSetup
    %%Page: 2 2
    %%BeginPageSetup
    <</Duplex false/PageSize  [595 842] /Tumble false /ManualFeed false /MediaPosition 1>>  setpagedevice
    %%PageOrientation: Portrait
    pdfStartPage
    0 0 595 842 re W
    %%EndPageSetup
    The italic lines are copied from your sample file, the bold line is what you should insert. For the 3rd and following
    pages you need not do anything as long as you don't change the output order.
    Helge

  • How to Link another JSP Page in the same portal component

    Hi Guys,
      I am a new guy to SAP, currently, I want to add href link to another JSP in the same component, so I used <a href="<%=webpath%>/jsp/AboutPage.jsp">, but obviously, the link can not display target page due to privilege restriction, does anyone know how to resolve this problem? thanks very much!
      Best Regards
      James

    Thanks srinivas,
       Sorry for late response, too busy yesterday.
       Currently, I want to create a URL link in the page which links another JSP page in the same portal component, but the problem is this JSP page is under PORTAL-INF folder, so due to privilege problem, I can not create the link like the following:
    <a href="jsp/test.jsp">Link</a>
       I konw if I move test.jsp out of folder PORTAL-INF, the above way should work, but then, I found the JSP page can not access componentRequest and get resource bundle object.
      Am I clear, please let me know, thanks!
    Regards.
    James

  • How to fast manual switching between streams in osmf plugin

    I just want to manual switching between streams using osmf plugin in custom player. For this I have use following code.
    mediaPlayer.autoDynamicStreamSwitch = false; mediaPlayer.switchDynamicStreamIndex(bitrateAdaptive.selectedIndex); mediaPlayer.addEventListener(DynamicStreamEvent.SWITCHING_CHANGE, onSwitchingChange);
    I am playing smil file streaming by wowza streaming server but code work but switch between streams very slow. It takes about 20 to seconds for switching which is not expected in this case.

    I just want to manual switching between streams using osmf plugin in custom player. For this I have use following code.
    mediaPlayer.autoDynamicStreamSwitch = false; mediaPlayer.switchDynamicStreamIndex(bitrateAdaptive.selectedIndex); mediaPlayer.addEventListener(DynamicStreamEvent.SWITCHING_CHANGE, onSwitchingChange);
    I am playing smil file streaming by wowza streaming server but code work but switch between streams very slow. It takes about 20 to seconds for switching which is not expected in this case.

  • Copying pages to the local portal

    Hi,
    Is it possible for me to copy the pages from our production portal to my local portal. This is because I would like to make try out something on the portal pages and I cannot do that in Production. Also, can I use WebDAV for the same? Thanks a lot.
    Sincerely,
    Sri

    Hi,
    To transport you have to create a package and then import:
    From prd system
    logon in portal:
    System Administrator-Transport-Portal Content-Choose your folders and using context menu select new->Transport Package
    Then you choose your objects and by mean context menu you press "Add object to transport package".
    Once you save all your objects in your transport package, you import this package in dev system.
    This link help you:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/6.0/best practice for transporting sap netweaver portal content.pdf
    Patricio.

  • Page Imports in Abstract Portal Component

    Hi,
    I have created an abstract portal component where I have called a JSP using IResource.
    The JSP is called and displayed.
    <%@ page import = "java.util.*;" %>
    <%@ page import = "com.sapportals.portal.prt.component.*;" %>
    <html>
    <body>
    hello
    </body>
    </html>
    In my JSP the moment I add the second import i.e. prt.runtime, it throws an error when I run the application:
    Error when rendering jsp.
    Am I missing out something?

    Hi Prem,
    Add that particular jar file in the lib folder of your application and also add it to the build path of your project properties.
    <b>Project -> Properties -> Java Build Path -> Libraries</b>
    Add to this build path as well.
    I hope this helps you.!!
    Regards
    Pravesh
    PS: Please consider rewarding points if solved and helpful.

  • Publishing Web Pages in a Federated Portal

    Hi all,
    we´re running WPC pages in a Federated Portal. We create the pcd structure in the root system and publish the roles in the federated portal. For that we created web pages on the root system. As it isn´t possible to publish WPC pages in a federated portal, we created a WPC runtime iView for each of the pages.
    But, when we´re logged on in the federated portal only one of the iViews is visible.
    Can anyone help me out?
    Thx and Rgds,
    Andreas

    Hi all,
    we changed our mind an decided to build a new portal landscape for our project. So the problem doesn´t exist any longer.
    Cheers,
    Andreas

  • How to add friendly URLs to pages within the ALUI portal?

    I want to know how to add friendly URLs (human-readable URLs that users can bookmark or type into the browser address bar) to pages within the ALUI portal.
    The portal application is developed using plumtree portlets.
    regards,
    Veeshoo

    In 6.5
    Community links look like this:
    http://your_Server/portal/server.pt/community/lockdown_console/
    Documents look like this:
    http://your_Server/portal/server.pt/document/50541/your_document_name.doc
    If your goal is for users to "type into the browser address bar" then your best bet would be dns mapping.
    At that point you could have communities with urls like:
    http://your_Community.your_Server.com
    or
    http://your_Server/your_Community
    Which is significantly easier for users

  • Dynamic page information from the portal database?

    Is it possible to get information about existing dynamic pages from the portal database? We're upgrading our portal from 9.0.4 to 10.1.4 and because we will be running the new version on a different platform, we can't run any upgrade scripts and need to build again from scratch. I was hoping I could pull dynamic page information from a portal view or table into a spreadsheet, to save our developers having to click into each dynamic page application in the old version to get the pl/sql code to copy and paste into the new version. The generated dynamic page packages just have api calls, so it may be possible that there's an api to do this. Does anyone know if this is possible, and if so, how to do it? Thanks.

    closing the thread

  • Hide/disable certain areas from the Overview page of ESS in portal

    HI All,
    We have a requirement where we need to hide/disable certain areas from the "Overview" page of ESS in portal.
    In Overview page, we have certain links like Employee search,Life and work events,
    Purchasing and travel and expenses.
    I m not able to find these pages under overview workset also.
    We have to hide 'Purchasing' and 'life and work events' areas from the overview page as the customer dosent want to use this sap standard impl.
    Is the customiztion to be done from portal side or do we need to do it from the IMG??
    Can someone pls tell us in detail how to do it?
    Thanks,
    Abhishek

    Hi Abhishek,
    Inorder to hide/diable certain areas from the Overview page of ESS you need to do it from the IMG.
    The detail steps are as follows:
    1) After logging in to your backend, run Transaction code SPRO.
    2) Select the SAP Reference IMG button.
    3) Follow the path: Cross-Application Components >> Homepage Framework >>
    Areas/Sub Areas.
    4) In the Assign SubAreas to Areas OR Assign Areas to Area Group Pages (depending on your requirement), to hide the particular area , set the Position value to 0 for the Area / SubArea that you wish to hide.
    5) After making the changes, Refresh the Portal browser page to reflect the new changes.
    Hope this helps.
    PS : Award points if found helpful.

  • Hiding certain areas from the overview page of ESS in portal

    HI All,
    We have a requirement where we need to hide/disable certain areas from the "Overview" page of ESS in portal.
    In Overview page, we have certain links like Employee search,Life and work events,
    Purchasing and travel and expenses.
    I m not able to find these pages under overview workset also.
    We have to hide 'Purchasing' and 'life and work events' areas from the overview page as the customer dosent want to use this sap standard impl.
    Is the customiztion to be done from portal side or do we need to do it from the IMG??
    Can someone pls tell us in detail how to do it?

    It sounds like first you need to understand the Overview page and how it gets built. This all comes from the Homepage Framework configuration in the BACKEND (ECC box). Look in the IMG under "Cross Application Components" (or in the ESS section as will which actually has the same section) to find the configuration area. The Homepage Framework configuration however is also tightly coupled to the portal content (ie. objects in a portal role PCD path are tied to configuration "resources" in the Homepage Framework configuration). I won't get into all that, as there is plenty of material in these forums and documentation (help.sap.com) that describes the details of how all of this works. However, to answer your immediate question....
    Ok....so the "lazy man's approach" is fairly simple....in the IMG where you assign the Areas to the Area Group, you can simply change the display order number of the ones you want hidden to 0 (zero)....this will at least keep your standard entries in place....or you can just delete them from the assignment to the Area Group in the "change" step.
    Sooooo....that gets them off the Overview (Area Group) page. However, they will still be in the standard delivered portal role (for example, the worksets will still show up in the second line of the top level navigation). So you need to remove the worksets from there.
    Now, I call the above the "lazy man's approach" because in actuality, you should build your own custom Homepage Framework to your needs. This way it is safer, customized and you are not touching the standard, delivered entries so you can use them as reference later. Also, you should be doing the same on the portal side....ie. build you own custom role based on delta-linked copies of the standard objects (worksets, pages, and iViews). This might seem like a lot of work, but it is way more flexible....for example, if you need several different ESS "versions" to accomodate different types of users.

  • Displaying multiple dynamic html pages within a single Portal folder.

    Hi all,
    Question: How can I display multiple dynamic html pages that are linked to each other, within a single portal folder?
    History:
    I have a designer/web server application (PL/SQL packakges) on Oracle
    8.1.7. Early in the development process we built it into WebDB2.2 and
    used folders on the left side as a navigation bar and the contents of my packages on the right side. This was easy, WebDB used Frames.
    Unfortunatley I could never automatically display a PL/SQL item in the folder area.
    Now I need to integrate the application into Portal 3.0 not the early adopters version, the one with 9iAS (NT for now, Unix later). I have a page/content area divided into regions and a navigation portlet on the left side containing links to PL/SQL folders whose contents are displayed on the right side. On the right side I have (for example) a Queryview. When I click on any of the buttons (i.e. Find, New), I land in a new page outside of my portal folder. This page contains a dynamically built list (from one or more DB Tables) and of course the first column contains a list of links that bring you to the individual item. How do I set my links or configure my folder to display
    within the portal folder area?

    Hi,
    One alternate is, increase the size of your screen, for this go to the layout of your screen and increase it as much you want, and also the custom container size, so that no scroll bar will appear at least.
    Other solution would be, as you said ALVs will be dynamical, it will be good to create buttons, or links on the screen based on the no of ALVs dynamically and on click of corresponding button call the corresponding ALV.
    But i dont think this will serve, first check the first option.
    Hope this helps u.,
    Thanks & Regards,
    Kiran.

Maybe you are looking for