Portal page navigation

1st question. I have a jpf portlet in page when user calls action method in jpf I want to portlet to reneder in next page automatically. is it possible?
2nd Question . Can number of place holders and size of place holders shown in page can be changed automatically.
If any one has idea , please disuss with me.

I would use a bean object and use the setter/getter to set and get state from it, as follows:
in the Bean class:
     public void setState(int i) {
          state = i;
     public int getState() {
          return state;
in the jspdypage (java class):
public void onButtonClick(Event event) throws PageException
myBean.setState(DISPLAY_SELECT);
public void doProcessBeforeOutput() throws PageException {
// this.setJspName("MyAccountList.jsp");
switch (myBean.getState())
case INITIAL_STATE:
this.setJspName("select.jsp");
break;
case DISPLAY_SELECT:
this.setJspName("Display.jsp");
break;

Similar Messages

  • Page navigation same portal different portlet applications

    Hello OTN,
    I have a question regarding the best way to perform page navigation using the ActionResponse.sendRedirect method.
    There is one Webcenter Portal, and in it are multiple pages. Each page has portlets from different 286 PortletProducer applications.
    I can copy the url out of the browser and remove the params, and use that string in my controller to redirect me successfully to the home page of the portal.
    However that URL does not reference a non-home page, i.e. one not hooked up to Root.
    I tried constructing the page url by appending the path from pages.xml to the portal context, but got no love from that either.
    If i want to redirect to a different page, what is the best way to specify the page so I can use the sendRedirect method?
    Thanks,
    PowerUser 862605

    if you use sendRedirect method ,then make sure the following conditions are satisfied.
    This method only accepts an absolute URL (e.g. http://my.co/myportal/mywebap/myfolder/myresource.gif) or a full path URI (e.g. /myportal/mywebap/myfolder/myresource.gif). If required, the portlet container may encode the given URL before the redirection is issued to the client.
    some good examples are her -http://www.javadocexamples.com/javax/portlet/ActionResponse/sendRedirect%28String%20location%29.html
    Personally , I haven't checked it .so try this and see what's the results is .

  • Disable Navigation framework of BW iview in portal page of KM Search result

    We have BW Bookmarks in KM as Portal pages and recently we implemented search_from_here option for searching bookmarks of the KM folders. Trex index has been created. Search results of Trex displays the links of the searched BW Bookmarks.
    When clicking on these links BW iview is embedded in the Portal page and is displayed along with header framework.
    Is there a way we can customize link in the search result to launch in headerless portal window.
    Tried to maintain Content link parameters option '3' to display in new headerless window of the bookmark and also maintained NavMode=3 option in the content link of the Bookmark properties under access links but didnt work.
    Thanks.

    Resolved by appending NavMode=3 to Content link URL should launch in Headerless Portal window.

  • Change portal Page layout from Web Dynpro

    I have some problem:
    I need to rearrange Portal Page layout from 2 columns to 1 collumn from Dynpro action. Decision to hide 1 Column or resize its width to 0 is good idea, but I do not now how.
    Absolute Navigation is wrong idea, because I need to go back to multiply IViews mode and I will lost my data context.
    I saw PageService - custom Portal service, where I can resize IViews.
    In my Netweaver 2004 this class is absent.
    Probably exist some Portal events to manage Page layout? Anybody knows?
    Thanks!

    Hi,
    For this we have to use eventing among the webdynpro components of two different views.You can refer this example for this.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8d7cd90-0201-0010-4a8c-dd22fa16ca0a
    Thanks,
    Murthy.

  • No option to export a portal page (9i)

    hello,
    i have to export some of our portal pages to our new application server 10g (windows 2000/ windows 2003 server). I have two questions concerning to that:
    1. If I browse the portal pages in the navigator view there is no 'export' action next to the pages. I can only see the export links in the provider list, but I need to export the pages (logged in as portal admin). So how can this be done?
    2. Is it basically possible to export components from portal 9i to portal 10g? I read that this is not possible, and that both installation have to have the same version number. can you confirm this?
    thanks
    Katharina

    Answer 1: You should see export link against pages also.
    Just verify that you have privilege to "Manage Transport Set"
    Answer 2: Source and target need to be of same version.
    Thanx,
    Chetan.

  • Link in xml form article text to open another portal page?

    Like in all websites our intranet have pages with articles (xml forms) where it's logical for the text to include links to other articles in other areas of the portal.
    Since all iviews (km navigation in this case) are displayed as iframes, links within the text only lead to the target page being displayed within the iview/iframe. I need the complete portal page to change to also show where in the page hierachy/navigation structure the user has landed.
    I am aware of the related links iview, but this doesn't do the trick. I want the article text itself to include the links.
    A logical solution would be to find the page's navigation URL and use this as a text link, but then I would need to add a target=_top to change the whole page around. This is not possible within a xml form. (<a href="/irj/portal?NavigationTarget= navurl://cf1c773631c70d216fe3434ca4dc3a0e" target="_top")
    Ideas?
    Henning

    Thanks for answer. Points awarded.
    BUT: Still, a link to http://server/irj/portal/link added in the html editor window of an xml form only give the options of opening the link in new browser, or in the active window. The first option results in a massive amount of opened browsers, the second results in the target page being opened in the iframe (not nice!)
    Of course I could edit the xml directly adding a target=_top, but every new editing of this file would overwrite these changes.
    The best way would be to add a new option in the html editor allowing an option of "fill entire window" when adding a text link that adds target=_top in the xml.
    Ideas?
    Henning

  • Portal Page refresh

    Hi,
    I have created portal page links and I and using the hbj:link to place them on the page.  When I click the link, I go to the proper page, but the first and second level navigation do not refresh.  What do I have to do to accomplish that so it reflects the page that I am on?
    Thanks...
    Kevin

    You need to use the EPCM.doNavigate() method to cause the navigation plumbing to be made aware of what your intentions are.  EP is frame based and needs to carefully orchestrate what is displayed in each frame.
    See numerous posts on this forum for details.

  • How to run Import/Export for Portal Page

    Hi all !
    I have to export the Portal page .What are the steps I have to follow to complete the process ?I'm new to Oracle portal..
    Please help . Thanks in advance
    chris

    You could check out the Export/Import FAQ for some of your questions
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/DEPLOY_PERFORM/EXPORT_IMPORT_FAQ_1120.HTM
    Also see if you can get access to configuration guide for your version of portal. There has to be a chapter on how to use Export/Import utilities in Portal
    The simplest way to explain the process is
    1. Click on Export link next to the object to be exported
    2. Give a name for the transport set and export it.
    3. Download scripts for migrating the content and run it in export mode to generate the dump file.
    4. FTP the script and dump file to target
    5. Run the script in import mode to transfer the contents of dump file in target portal. The usage of scripts in export/import mode is given when you run the script without any parameters
    6. Go to the Export/Import portlet and select the transport set for import.
    7. View the logs to see if the migration has been successful.
    8. Go to the navigator and check if the object you migrated has been brought in successfully.

  • My portal page will contain two tabs

    Hi,
    I want to do a POC as described below.
    My portal page will contain two tabs say " Hello 1" and "Hello 2 "
    when I will click on " Hello 1" ,It will open an URL iView and for " Hello 2" it will be an MDM Resultset iView.
    Is it possible to create a Page which will have Tabs ?
    Plz share your experience.

    Not without coding your own portal component. Tab navigation is through portal role definition.

  • Content not getting refresh on Portal Page

    Hi,
    The structure of my page is WorkSet->Page-> iView1 + iView2.
    Prob 1: iView1 is a URL iView and the page to be displayed is an html page stored on the server. I  changed the content of the html page on the server but the same is not getting reflected on the portal page.
    iView2 is a webdynpro application.
    Prob 2: Any changes made to the pages like making iView1 visible-false, reflects the changes in the preview but not when the page is opened through workset.
    Kindly help.
    Thanks,
    Shruti

    It is already done
    dear shruti,
    once again check with navigation cache and other PCD cache related issues , do it once again.
    if you are not getting then simply delete that content from production and check the issues in development and Qulaity
    servers.after you get d desired output transport them into production. then sure it work.
    hope it will works fine
    Regards
    Maheshchandra

  • Calling a portal page from WebDynPro ABAp application

    Hi,
    I would like to call a portal page (any type) from a WebdynPro ABAP application. I have the PCD location of the page.
    Which call shall I make :
    Absolute Navigation
    Relative Navigation or
    OBN.
    Also, can anyone send me short code snippet on the following.
    The package SWDP test examples are not working.
    Best Regards
    Sid

    Hi Siddharth,
    Well, to start with you can go for ABSOLUTE NAVIGATION.
    Secondly, you can find the snippet here
      DATA LO_API_COMPONENT  TYPE REF TO IF_WD_COMPONENT.
      DATA LO_PORTAL_MANAGER TYPE REF TO IF_WD_PORTAL_INTEGRATION.
      DATA L_NAVIGATION_TARGET TYPE STRING.
      LO_API_COMPONENT = WD_COMP_CONTROLLER->WD_GET_API( ).
      LO_PORTAL_MANAGER = LO_API_COMPONENT->GET_PORTAL_MANAGER( ).
      MOVE 'pcd://portal_content/com.xxxx.zpof_f_XXXXportalcontent/com.xxxx.test/com.xxxx.folders.MaintenanceBusinessPackage/com.xxxx.test.mt.pages.Pages/com.xxxx.pages.MaintenanceTasks'
        to l_navigation_target.
      CALL METHOD lo_portal_manager->NAVIGATE_ABSOLUTE
        EXPORTING
          NAVIGATION_TARGET   = L_NAVIGATION_TARGET
    *      NAVIGATION_MODE     = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_INPLACE
    *      WINDOW_FEATURES     =
    *      WINDOW_NAME         =
    *      HISTORY_MODE        = IF_WD_PORTAL_INTEGRATION=>CO_NO_DUPLICATES
    *      TARGET_TITLE        =
    *      CONTEXT_URL         =
    *      POST_PARAMETERS     = ABAP_FALSE
    *      USE_SAP_LAUNCHER    = ABAP_TRUE
    *      BUSINESS_PARAMETERS =
    *      LAUNCHER_PARAMETERS =
    Above it, the examples of SWDP will not work if you test them from SE80-ABAP WAS...I suggest you to create a WDA IView in Portal and test it in Portal itself.
    Hope this should solve your problem.
    Regards
    <i><b>Raja sekhar</b></i>

  • Error: Navigate back to the same iView with Portal Absolute Navigation?

    Hi, SDN Fellows.
    When I tried to do a portal absolute navigation from and to the same iView, the iView before  an infinite loop that keep navigating by itself (the iView keep refreshing by itself non-stop).
    Here is the code that I used:
    My current URL, said: ROLES://portal_content/RoleA/WorksetA/PageA,
    then I called this method to navigate to itself:
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/RoleA/WorksetA/PageA"
    ,WDPortalNavigationMode.SHOW_INPLACE
    ,WDPortalNavigationHistoryMode.NO_DUPLICATIONS
    ,null);
    To make sure I have the right method, I changed the URL Target to, said: ROLES://portal_content/RoleA/WorksetA/PageB, then the navigation become fine and did navigate to PageB.
    Do any of you know what can be the problem?
    My optimal goal is to refresh the whole Web Dynpro application, by navigate to itself again. I used to implement this by using WDP Exit Plug and URL Navigation, but this does not work in the portal environment. So, I am thinking to use the portal navigation to do the same thing.
    Second question, do you have any other alternative way to refresh the whole Web Dynpro application without using Exit Plug?
    FYI:
    My current EP version is NW04s SP6.
    Thanks for advise.
    Kent

    Hi
    Use this code in ur action button event..
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/..............",WDPortalNavigationMode.SHOW_INPLACE,(String) null,(String) null,WDPortalNavigationHistoryMode.NO_HISTORY,(String) null,(String) null,(String) null,(String) null,true,false);
    It will open same view again..
    Do reward points if helpful
    Thanks
    Puneet

  • Incorrect display of portal pages after migration to EP7

    Hello,
    after the migration from EP 6 to EP 7 some of the portal pages do not diplay correctly (for example user administration -> identity management, content administration -> webdynpro, system administration -> system configuration -> UME configuration). They show up as plain text, no theme is applied to these pages and navigation on these pages is not possible.
    Has anyone else experienced this problem? I have searched in the SAP OSS and here on the SDN, but didn't find anything. The SAP support hasn't been able to help me so far.
    Any help would be much appreciated.
    Best regards,
    Nicole

    Hi Nicole,
    we had the same problem with our migration from EP6 SP2 to NW04 and upgrade to NW04s.
    The solution is to import the EP6 theme to the EP7 portal.
    After that, everything should display ok.
    to transport themes, go in portal to :
    System Adm \ Portal Display \ Theme archive
    Just export your themes from the EP6 portal.
    Then in the 2004s portal, go to :
    System Adm \ Portal Display \ Theme archive
    Then import the EP6 Themes.
    I hope this will help.
    Brad

  • Page Navigation Portlet issue

    I am having an issue with a page navigation portlet. I am using adaptive tags and we have actually implemented one custom tag that outputs the current page id.
    I will paste the code here. The issue is that in our portal the pages don't show up in the order we have set in community editor. They are showing up ordered by page id.
    This is being done on 6.0 sp1.
    Here is the code I am using.
    <link type="text/css" href="pt://images/plumtree/common/custom/CIENA/PageNavStandard/MenuStyle.css" rel="StyleSheet" lang="en" />
    <div id="PageNavStandard" xmlns:pt="http://www.plumtree.com/xmlschemas/ptui/">
    <div id="PageNavStandardTitle">Navigation</div>
    <pt:ptdata.currcommunitypagesdata pt:id="compages" />
         <ul id="MenuNav">
         <pt:logic.foreach pt:data="compages" pt:var="commpg">
                   <li>
                   <script>
                        var linkstr = "<pt:logic.value pt:value="$commpg.url" />";
                        var PageReg = new RegExp(/PageID=(\d*)\D/);
                        if(PageReg.exec("<pt:logic.value pt:value="$commpg.url" />")[1] == <pt:ciena.currpageid/>) {
                             document.write('<a href=" + linkstr +  id="ActivePage" ">');
                        } else {
                             document.write('<a href=" + linkstr +  ">');
                        document.write('<pt:logic.value pt:value="$commpg.title"/>');
                        document.write('</a>');
                        //document.write(PageReg.exec("<pt:logic.value pt:value="$commpg.url" />")[1]);
                   </script> <!--
                   <pt:core.html pt:tag="a" href="$commpg.url">
                        <pt:logic.value pt:value="$commpg.title"/>
                   </pt:core.html>
                                  -->
         </pt:logic.foreach>
         </ul>
    </div></a>

    That is most peculiar because we are doing a nearly identical page navigation portlet and we have the ability to shuffle the pages via the community object.
    Are you using your code in publisher or in a custom portlet?
    Perhaps you could try using this code in publisher and see if the results are returned appropriately:
    <span xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'>
    <!-- TOKEN NAMESPACE -->
    <pt:namespace pt:token="$$TOKEN$$"/>
    <style type="text/css">
            #pt-portlet-$$TOKEN$$ {
                    background-color: #3366CC;
                    font: verdana,arial,helvetica,"sans-serif";
                    font-size: 10px;
              margin-bottom: 10px;
            #portlet_navigation$$TOKEN$$ td {
              font: verdana,arial,helvetica,"sans-serif";
              font-size: 10px;
              color: #8CB5DE;
         #portlet_navigation$$TOKEN$$ a {
              text-decoration: none;
              color: #FFFFFF;
            #portlet_navigation$$TOKEN$$ a:hover {
              text-decoration: underline;
       #portlet_parent$$TOKEN$$ td {
          color: #8CB5DE;
          text-decoration: none;
          font: bold 10px verdana,arial,helvetica,"sans-serif";
       #portlet_parent$$TOKEN$$ a {
          color: #8CB5DE;
          text-decoration: none;
          font: bold 10px verdana,arial,helvetica,"sans-serif";
       #portlet_parent$$TOKEN$$ a:hover {
         text-decoration: underline;
    </style>
    <!-- get the portal data -->
    <pt:ptdata.currcommunitypagesdata pt:id="commmenu"/>
    <pt:ptdata.editcommunitydata pt:id="commactions"/>
    <pt:ptdata.currparentcommunitydata pt:id="parent"/>
    <pt:ptdata.currentcommunitypageiddata pt:id="currpage" />
    <table id="portlet_parent$$TOKEN$$" width="100%">
       <tr>
          <td colspan="2"> </td>
       </tr>
       <tr>
          <td class="platportletwideheader">
          <pt:logic.foreach pt:data="parent" pt:var="curr">
             <pt:core.html pt:tag="a" href="$curr.url"><pt:logic.value pt:value="$curr.title"/></pt:core.html>/
          </pt:logic.foreach><pt:standard.realmname/>
          </td>
       </tr>
    </table>
    <table cellpadding="0" cellspacing="0" border="0" width="100%" id="portlet_navigation$$TOKEN$$">
       <tr>
          <td>
          <table cellpadding="0" cellspacing="0" border="0" width="100%">
                  <pt:logic.foreach pt:data="commmenu" pt:var="commpg">
                  <!-- currpage will be set to null if it's not the current page -->
             <pt:standard.choose>
             <pt:standard.when pt:test="intsequal" pt:int1="$currpage.PageID" pt:int2="$commpg.PageID">
              <tr bgcolor="#338AF0" width="100%" style="padding-top:2px; padding-bottom:2px;">
                   <td width="15px" align="right"><img src="images/bullet_white_highlight.gif" /></td>
                          <td>
                               <pt:core.html pt:tag="a" href="$commpg.url">
                             <pt:logic.value pt:value="$commpg.title"/>
                        </pt:core.html>
                   </td>
                   <td valign="middle" align="right" style="padding-bottom:5px;"><img src="images/leftnav_arrow.gif" border="0" /></td>
              </tr>
         </pt:standard.when>
         <pt:standard.otherwise>
              <tr width="100%" style="padding-top:2px; padding-bottom:2px;">
                   <td width="15px" align="right"><img src="images/bullet_white.gif" /></td>
                   <td colspan="2">
                        <pt:core.html pt:tag="a" href="$commpg.url">
                             <pt:logic.value pt:value="$commpg.title"/>
                        </pt:core.html>
                   </td>
              </tr>
         </pt:standard:otherwise>
         </pt:standard.choose>
             </pt:logic.foreach>
             <tr>
                <td colspan="3"> </td>
             </tr>
             <!-- RETRIEVE RELATED COMMUNITY LIST AND SUBCOMMUNITY LIST -->
             <pt:ptdata.currrelatedcommunitiesdata pt:id="relcomms" />
             <pt:ptdata.currsubcommunitiesdata pt:id="relcomms" />
         <pt:ptdata.sortcollectiondata pt:id="sortedsubcomms" pt:data="relcomms" pt:sortby="title" pt:sorttype="string"></pt:ptdata.sortcollectiondata>
         <pt:standard.choose>
              <pt:standard.when pt:test="isEmpty" pt:col="relcomms">
              </pt:standard.when>
              <pt:standard.otherwise>
                   <tr><!--dotted line-->
                        <td colspan="3" background="images/dotted_line_leftnav.gif"><img src="images/spc.gif" width="180" height="1" alt="" border="0"></td>
                            </tr>
                   <tr>
                                 <td colspan="3" class="platportletwideheader">Associated Communities</td>
                                                    </tr>
                   <pt:logic.foreach pt:data="sortedsubcomms" pt:var="commpg" >
                                 <tr width="100%" style="padding-top:2px; padding-bottom:2px;">
                             <td height="16"> </td>
                                    <td colspan="2">
                                         <pt:core.html pt:tag="a" href="$commpg.url">
                                              <pt:logic.value pt:value="$commpg.title"/>
                                         </pt:core.html>
                                    </td>
                        </tr>
                            </pt:logic.foreach>
              </pt:standard.otherwise>
         </pt:standard.choose>
         <pt:standard.choose>
              <pt:standard.when pt:test="stringToACLGroup('group=1,771;').isMember($currentuser)" >
                   <tr><!--dotted line-->
                        <td colspan="3" background="images/dotted_line_leftnav.gif"><img src="images/spc.gif" width="180" height="1" alt="" border="0"></td>
                            </tr>
                   <!-- PORTAL TOOLS -->
                   <tr>
                               <td colspan="3" class="platportletwideheader">Portal Tools</td>
                            </tr>
                            <pt:logic.foreach pt:data="commactions" pt:var="element">
                            <tr width="100%" style="padding-top:2px; padding-bottom:2px;">
                        <td height="16"> </td>
                               <td colspan="2">
                                    <pt:core.html pt:tag="a" href="$element.url">
                                         <pt:logic.value pt:value="$element.title"/>
                                    </pt:core.html>
                               </td>
                   </tr>
                            </pt:logic.foreach>
                    </pt:standard.when>
         </pt:standard.choose>
          </table>
          </td>
       </tr>
       <tr>
          <td> </td>
       </tr>
    </table>
    </span>

  • Previous page navigation after on click of cancel button of a form in adf

    Hi,
    Can any one tell how previous page navigation works in adf?
    I am working on a portal page which is having a common footer for all jspx pages.This footer contains a golink for feedback form.
    so the problem is when I Navigate to any page (# page 1)and then Navigate to some other page (#page 2) and on click of Feedback link displayed on footer of page 2 Feedback form is displayed. and on Click of Cancel button of the form.
    Expected Result:
    User should be navigated to the page that they were on. (i.e., Page 2)
    Actual Result:
    User is navigated to page 1 instead of page 2
    i.e it is taking browser previous url.
    I am using the following code for the cancel button
    <af:commandLink text="Cancel" id="cl5">
    <af:clientListener method="goBack" type="click"/>
    </af:commandLink>
    java script....
    function goBack()
    window.history.back()
    Edited by: 993530 on Apr 23, 2013 3:35 AM

    Hi,
    Immediate = true is already been set for cancel button
    The problem is when i come back to the 1st page vo is getting executed again and is taking lot of time.. i need to see that vo does not get executed again
    in the vo for view criteria -- query execution mode , i have made as in memory and now it has become fast on click of cancel button. But i am getting the following error when i perform search in the first page
    Missing FROM in a SELECT statement
    An unexpected expression token is found.
    Thanks,
    .

Maybe you are looking for

  • HT201542 iPhone does not connect to a macmini

    my iPhone 6 with the latest update refuses to connect to my Mac mini (2012) version. They recognize each other and I select pair but they refuse to accept the pairing acceptance. How do I fix this. (my iPad air works fine)

  • Comcast modem/router and airport

    Comcast upgraded their modem. It includes a wireless router. After a couple of hour hours trying I got it set up so that both their router and my Airport Extreme can be chosen and used. (I have no idea how I got it to work). It seems that the Comcast

  • Importing/exporting playlists in Tunes - will take decades

    Is there a program that can do this effeciently or another method than ordinary manual selection? It's really frustrating having to select one and one playlist to import at a time when you have hundreds... Is there a way to import/export playlist fol

  • Lot of unplanned Purchase Orders

    Hello Experts, We place purchase orders on a regular vendor say X But he isnt able to deliver on given day and in case of an emergency, We place a verbal order and get materials from another regular vendor Y. Then we regularise it in SAP system. This

  • Accurals and account key

    Hi, I want to know differnece between accurals and account key. Suppose for particular condition if i will have both then what will be impact.. At the time of GRn which key is coouring meand accural or accoun key. Thx . in advance. regards, Rajendra