Calling a portal page in webdynpro iview.

Hi Portalites,
I have developed an webdynpro iview, where it will call other uwl page inside the code.
This iview is placed in home role(like welcome page).
in wddoinit method, i have written the code,
where portal users locale is set to English.and then it will navigate to UWL using WDPortalNavigation method.
WDPortalNavigation.navigateAbsolute("ROLES://uwl_page",
WDPortalNavigationMode.SHOW_INPLACE,
(String)null,
(String)null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
"UWL",
(String)null,
(String)null);
Iam able to view the UWL in Home page, but after that if i  click on any user admin, or content admin roles, and agian clicking on home page again or refreshing the page it is showing previous navigation path in top level navigation but in content area it is dispaying uwl.
Let us clearly expalain, first i have opened portal, home page opened with UWL page in content area.after that i clicked on sytem admin> sytem configuration, after that when i cliked on home role again in TLN, in the TLN it is highlighting system admin>system config but displaying UWL in content area.
In the detailed navigation, it showing all iviews what home page has.
Please advice.
Thanks
Sony.

Try setting its contextURL property in WDPortalNavigation(...).
For info :
[http://help.sap.com/saphelp_nw70/helpdata/EN/c3/235a428a1e9041e10000000a1550b0/frameset.htm]
-Abhijeet

Similar Messages

  • 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>

  • Calling a portal page in using Webdynpro

    Hi Portalites,
    I have developed an webdynpro iview, where it will call other uwl page inside the code.
    This iview is placed in home role(like welcome page).
    in wddoinit method, i have written the code,
    where portal users locale is set to English.and then it will navigate to UWL using WDPortalNavigation method.
    WDPortalNavigation.navigateAbsolute("ROLES://uwl_page",
    WDPortalNavigationMode.SHOW_INPLACE,
    (String)null,
    (String)null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
    "UWL",
    (String)null,
    (String)null);
    Iam able to view the UWL in Home page, but after that if i click on any user admin, or content admin roles, and agian clicking on home page again or refreshing the page it is showing previous navigation path in top level navigation but in content area it is dispaying uwl.
    Let us clearly expalain, first i have opened portal, home page opened with UWL page in content area.after that i clicked on sytem admin> sytem configuration, after that when i cliked on home role again in TLN, in the TLN it is highlighting system admin>system config but displaying UWL in content area.
    In the detailed navigation, it showing all iviews what home page has.
    Please advice.
    Thanks
    Sony.

    Hi Sony,
    It may be caching problem.
    So close all your portal browsers and delete your cache and temporary files.
    OR It may be because you have been aaded to lots of Portal roles and groups.
    So try minimizing your role and group assignment on portal.
    Hope this helps. Am not sure though. Just give it a try.
    Regards,
    Biroj Patro

  • Closing a webdynpro application, should call a portal page

    Hi All,
    I have a requirement in which, after a webdynpro application is closed in portal, the portal should show the workset content from which the webdynpro application is triggered.
    For example,
    Wedynpro application Created is  ZWDA1.
    Two iviews are created in portal which refers to the webdynpro application ZWDA1, the portal Iview names are ZPORTAL_IVIEW1, ZPORTAL_IVIEW2.
    Two worksets ZWORKSET1 & ZWORKSET2 are created in portal which refers to Iview ZPORTAL_IVEW1 and ZPORTAL_IVEW2 respectively.
    Two roles ZROLE1 & ZROLES2 are created in portal which refers to workset ZWORKSET1 & ZWORKSET2 resepectively. These two roles are assigned to users ZUSER1 and ZUSER2, when these user logs into portal they will see the content of the  workset ZWORKSET1 & ZWORKSET2 respectively.
    Assuming ZUSER1 and ZUSER2 invokes the portal ivew ZPORTAL_IVEW1 & ZPORTAL_IVEW2, the underlying webdynpro application called is same. So in the webdynpro application only I need to write the code to close the application and call the workset ZWORKSET1 for ZUSER1 and workset ZWORKSET2 FOR ZUSER2. This differentiation I am not able to indentify in webdynpro application, I thought of using relative navigation.
    Any suggestion to achieve this functionality is greatly appreciatable
    Regards,
    H.K.Hayath Basha.

    Just closing the message

  • Call a Portal Application from WebDynpro

    Hi experts,
    i hope you can resolve my problem!
    My intention is to refresh the browser and call the first page of the portal after the portaluser pressed a button in an WebDynpro application.
    For this purpose i create a portal application with an JSPDynPage and an JSP how call the  JavaScript Method "top.location.reload();".
    My question:
    How can i call an portal application in a WebDynpro onAction Event?
    Thanks,
    Florian

    1)Creat one action method "ReactPortalEventing" with the parameter dataObject and write the code in wdDoInit method as
    //the urn and method name like "sendEvent" both should be same
    WDPortalEventing.subscribe("urn:com.abc.practice","sendEvent",wdThis.wdGetReactPortalEventingAction() );
    2)and in the action method display the name as
    wdComponentAPI.getMessageManager().reportSuccess("Event value"dataObject);
    also chk it
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60d7d690-0201-0010-e581-9c4fc69cec0e

  • How to call a BSP page or webdynpro from a WAD Template button

    Hi All,
    I want to implement a button on a web template which when called involes a BSP page or a web dynpro and displays the BSP page or webdynpro in a popup window.
    Thanks
    Karen

    Hi Karen,
    What you could do is create a bsp application which receives workbook id as url parameter.
    From WAD create a link to this BSP page and pass the wbook id in the url.
    Within the BSP you can then read the excel as binary string like below
    Select * from rsrwbstore into table wb_tab where workbookid = wbid.
    You can then set wb_tab-clustd as the response of the page with mime type to 'application/vnd.ms-excel'. which will open as excel
    Take a look on this weblog,
    /people/durairaj.athavanraja/blog/2006/02/06/read-sap-table-data-from-bw-webtemplate-ajax-in-bw-webtemplate
    Hope it Helps,
    Regards,
    Amit

  • Open Webpage in portal as java webdynpro iView

    Hi Experts,
    I am trying to find the way to open Webpage in portal as webdynpro iView. Do any one know how to do this using webDynpro programming. I promise to award point for the answers. Please help.
    Thank you && Regards
    Maruti CR

    Hi,
       You have 2 options:
    1. Create an URL iview and on evaluation of the condition in WD fire a portal navigation to this iview. This would also mean that the URL needs to be static.
    2. You can use the suspend-resume mechanism in WD. You can find more information [here|http://help.sap.com/saphelp_nwce10/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm].
    Regards,
    Satyajit.

  • Portal form custom button to call new portal page

    Portal 3.0.9
    I can create a portal form componment which sets session variables appropriately based on a custom button. I can get a 2nd component such as a report to read this session variable ok as long as it on the SAME portal page.
    However, how do I get the form (exposed as a portlet on a page) to call A DIFFERENT Portal page which contains a number of application components reading the previously set session variable? I do not want to call the module directly as it will appear in a popup window.
    I've tried using owa_util.redirect_url('page url'); but this gets ignored and the same page is refreshed.
    Any ideas?
    John

    Hi,
    You can call the new page in the success procedure of the form
    example
    declare
    l_url varchar2(2000);
    begin
    l_url := 'cut and paste the page link from the navigator';
    go(l_url);
    end;
    Thanks,
    Sharmila

  • WebDynpro proxy page with Webdynpro iView and SAP Gui for html iView

    Hello,
    I have a requirement to have a page that has at the top of it a webdynpro for java iView screen with several links that when pressed pop-up various data pulled from the back-end. This part is fine and presents no problem. Beneath this the requirement calls for a SAP Gui for HTML iView to be displayed. Which is no problem either. The problem occurs when one of the links in the java webdynpro application at the top of the screen is pressed it causes the SAP Gui for HTML portion to refresh and come back to the beginning. So for example you first navigate to this screen and you go into the sap gui for html portion and drill into 2 or 3 screens in the sap gui for html transaction. If you then press one of the webdynpro links the sap gui for html (which is a separate iView) refreshes and you are taken back to the initial screen. This only occurs when using a web dynpro proxy page. If I use a standard page the SAP Gi for html does not refresh. Unfortunately there are other things not mentioned here that require us to use the webdynpro proxy page.
    Any help is greatly appreciated,
    Bert

    Use System admin -> System Config and find your system in the PCD (under portal content). Right click and open -> permissions. Find a user or group or role and give it the end user permission. I'd suggest the group Everyone.
    Cheers

  • How to call Java WebDynpro iViews from Portal (Portal Content Directory)

    Hello everybody,
    I am trying to call a Java WebDynpro iView, which was created within the Enterprise Portal and is stored in the portal content directory (pcd).
    I have created an HTML-iView in VC, where I have put in the pcd-link into the default-url field (pcd:portal_content/com.sap.pct/every_user/com.sap.pct.cprxrpm.ppmdc/com.sap.pct.cprxrpm.iviews/com.sap.pct.cprxrpm.iviews_cprojects/com.sap.pct.cprxrpm.cpr_projects). This iView is calling the cProjects WebDynpro Application. But after I run my model, the portal page is running and running, but nothing happens.
    I did the same with transactional iView, which was also created in the Portal before. I have also created an HTML-iView in VC, where I have put in the pcd-link into the default-url field (pcd:portal_content/IBU_content/SAP_for_Service_Provider/com.sap.pct.issp.ps.professional_services/com.sap.pct.issp.prs.iviews/com.sap.pct.issp.prs.display_sd). This is working fine!
    What I also tried is to call another VC-Model with an HTML-iView. Here I have put-in into the default-url field the pcd-location of my VC-model (pcd:portal_content/IBU_content/SAP_for_Service_Provider/com.sap.pct.issp.vcmodels/com.myComp.myProduct.1DM9.CreateEngagement/com.myComp.myProduct.iviews/com.myComp.myProduct.1G62.Cprojects_neu). This is also running fine!
    Now I do not understand the difference between this three objects. There are all iViews within the portal but the WebDynpro iView is not callable through a HTML-iView in VC.
    Could you help me in this case? Your help is very appreciated!
    Thank you in advance.
    Best regards,
    Aylin.

    Hi Marcel,
    when you mean the preview within the portal, yes, it is working fine.
    URL is not the way to solve my problem. I am working with IDES-Systems. This is our Demo System within SAP. I have to build my VC-Model in a Master IDES-System which will be transported than into the other IDES-Systems. The URL of the WD is not the same in the other systems. It is changing depending on the several Sysems. But the pcd-location is in all systems the same. Therefore I have to specify the pcd-location of the application.
    Is there a restriction with WD within VC?
    If we can do some kind of a netmeeting, I can show you my problem exactly.
    Thank you.
    Regards,
    Aylin.

  • Reg: calling default desktop page of enterprise portal from webdynpro java

    hi Experts
    Here is an scenario where i need to call enterprise portal desktop from webdynpro java application.
    Actually i have designed a custom Home page in  WDJAVA  and this page i have assigned as default  frame work page in enterprise portal ,so once we logon through the portal URL wewill  be getting this custom home page as default page and when i click on next button it should connect to the predefined  SAP given default frame work page.
    The thing is i am able to see the custom page and the button but when i click on the button it is opening the same custom home page only not able to log on to portal default frame work page.
    My question is how can we connect to the predefined page from the custom home page.
    please share your regarding this scenario...
    regards & Thanks
    Deepika
    Edited by: deepika_indian on Mar 3, 2010 6:05 AM

    hi Experts
    you didnt get my point  i vl give in brief
    1) that at first we are going to enter the portal URL.
    2)we are going give userid and password and click  logon button.
    3)so once we click on that button it should open custom page what we have designed in by using web dynpro java.with in this application we will have next button which should connect to the sap given predefined default desktop page.
    i hope you have got my point.
    and more over where can we get the logon action coding in which par file,if so can you give brief information related to it.
    i changed the themes master rule collection there i have assigned this custom home page ,but when i click on next button it is opening the same custom it is not connecting to the default desktop.i think this is not the write approach.
    please share your knowledge and document also related to it.
    Thanking you
    Deepika.

  • Calling portal framework page from non portal page

    Hi,
    We are having some difficulty in passing control from the non portal pages to
    the Portal Pages.
    To explain you more elaborately, I am writing down the scenario:
    Both our portal and non portal pages reside under the same web application folder.
    We have a Portal Page containing one portlet.Clicking on one of the hyperlink
    on this portlet page takes us out of the portal environment where we are doing
    some processing.
    (Why we are going out of the portal environment is because we want to call the
    existing pages as it is and our intention is not to make the existing pages portal
    enabled to start with).
    Somewhere down the journey on the non portal page, there is a requirement to call
    the Portal Framework page.
    We can call the portal Framework page from the non portal page by hard coding
    the URL of the Portal page by writing something like this in href:
    http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
    But this is not what we want. We want to call the portal page without hard coding
    the URL.
    If we use portlet tag in non portal page to call the Portal Framework page ( <a
    href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>), it throws
    us error "Could not find current Portlet State" which is quite understandable,
    because portlet state is now lost.
    Is there any way we can achieve this .
    Any suggestions or ideas?
    Thanks
    Ajay

    Hi
    i think you should use portal:createPortalPageChangeURL (you are effectively changing
    your portal page) .
    if you want to invoke a specific event in your portlet webflow you can either
    write a RefreshControllerIP or use WebflowJSPHelper.createWebflowURL.
    bear in mind if you have urls that directly go to an intermediate event in the
    portlets webflow you may need
    http://dev2dev.bea.com/codelibrary/code/portlet_pp.jsp
    regards
    deepak
    "Ajay" <[email protected]> wrote:
    >
    Hi,
    We are having some difficulty in passing control from the non portal
    pages to
    the Portal Pages.
    To explain you more elaborately, I am writing down the scenario:
    Both our portal and non portal pages reside under the same web application
    folder.
    We have a Portal Page containing one portlet.Clicking on one of the
    hyperlink
    on this portlet page takes us out of the portal environment where we
    are doing
    some processing.
    (Why we are going out of the portal environment is because we want to
    call the
    existing pages as it is and our intention is not to make the existing
    pages portal
    enabled to start with).
    Somewhere down the journey on the non portal page, there is a requirement
    to call
    the Portal Framework page.
    We can call the portal Framework page from the non portal page by hard
    coding
    the URL of the Portal page by writing something like this in href:
    http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
    But this is not what we want. We want to call the portal page without
    hard coding
    the URL.
    If we use portlet tag in non portal page to call the Portal Framework
    page ( <a
    href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>),
    it throws
    us error "Could not find current Portlet State" which is quite understandable,
    because portlet state is now lost.
    Is there any way we can achieve this .
    Any suggestions or ideas?
    Thanks
    Ajay

  • PeopleFinderComponent  Error in service call of Portal Component

    Hi:
    I created the PeopleFinderComponent iview from scratch, when I preview the iview this error is display:
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : the iview I´m testing
    Component class : com.sap.ip.collaboration.coreui.impl.people.peoplefinder.PeopleFinderComponent
    User : my user
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sapportals.wdf.WdfError
    at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:688)
    at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:406)
    at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:238)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    ... 29 more
    I´m working just with EP 7.01 (EHP1) (there´s not any ABAP System in the Portal Landscape).
    I searched for PeopleFinder.xml in the server file system* (it´s the value of com_sapportals_wdf_ConfigFileName property) and nothing was found, so I think that´s the problem but I couldn´t find so much about it.
    Thanks a lot for your time on this thread.
    Rocío.

    Hi Rocio,
    Is this just a regular AbstractPortalComponent iView you have written? What are you trying to do in the code? I don't see any non-sap classes in the error stack only com.sap.*
    Is the PeopleFinder.xml file a file that you have included in the PAR?
    BRgds,
    Simon

  • How to open NEW PORTAL PAGE from current portal page ?

    I'm very confuse with my problem.
    I have 2 portal page.
    portal page I has 2 portlet : portlet A & portlet C.
    portal page II has 2 portlet : portlet B & portlet C.
    Now my customer want : start with portal page I, when i submit portlet A, program will open portal page II.
    I don't know the way to call new portal page from current portal page. Help me, please.
    Thanks.
    Edited by: young_hero on Oct 30, 2008 1:12 AM

    Could you please help me how to call a .html page
    from a Pl/Sql procedure or trigger ?
    Thanks & Regards
    Kalyani KothaKalyani,
    Could you explain a little more exactly what you're trying to acheive? I'm not quite sure what it is you're asking for. Are you asking: "how would you/can you open a browser and direct it to a URL with PL/SQL?"
    Earl

  • Small pop up window inside a portal page

    My portal page has one html portlet. I need to have a small pop-up window on this page which contains periodically changing messages(message is retrieved from a table in the database). The popup window should appear if the message inside the popup message has changed, otherwise it should not appear.
    this is my code below:
    declare
    cursor cur_popup is
    SELECT POPUP_MSG_READ_FLG
    FROM app_users
    WHERE PORTAL_USER_ID = portal30.wwctx_api.get_user();
    BEGIN
    open cur_popup;
    fetch cur_popup into msg_read;
    close cur_popup;
    IF msg_read = 'N' THEN
    url := PORTAL30.wwv_user_utilities.get_url('CAPS.LINK_POPUP');-- links to a portal page with popup
    portal30.wwv_redirect.url(p_url => url);
    ELSE
    url := PORTAL30.wwv_user_utilities.get_url('CAPS.LINK_without_popup');--links to a duplicate portal page without popup
    portal30.wwv_redirect.url(p_url => url);
    END IF;
    END;
    I don't want to maintain duplicate portal pages -one with onLoad=window.open('popup') and the other page without the pop up.
    Pls. suggest an alternate method. How can I pass parameters to the portal page and retrieve it in my portlet's javascript? Please let me know as I need it urgently.

    Hi Lavanya. I have implemented the same.
    Within my oracle tags, I'm using htp.print to produce the javascript for opening the window if it has not yet been viewed. It gets a bit confusing to produce one language syntax with another, but seems to work fine - you're kind of saved by pl/sql's single quote syntax vs. javascript double quotes!
    Some improvements I'd like to make are for cases where the browser has cached the content (which tells the browser to open a popup window) and to produce a receipt when the user clicks "OK" in the popup, rather than when the page is delivered.
    Let me know how it goes. Sounds like a common need - maybe we should get together and publish a new portal component! :^) Thanks, Luke.
    My portal page is not generated from within my pl/sql. My code just calls the link which,in turn calls the portal page. The portal page contains a html portlet, and the popup window is opened from <body onLoad = window.open(.....)>
    so, i cannot use htp.p here.
    Pls. help!!

Maybe you are looking for

  • SMQ2 queue stops

    Hi, I have an integration process that sends a synchronous message (soap adapter) to a receiver system.  After that  the receiver system needs about 5 to 10 minutes to respond to the request. Sometimes this is no problem and the queue of outgoing mes

  • Import of songs results in skipping, file corruption

    Apologies in advance for the length of this post, but I want to provide very specific details... One month ago I upgraded a WIndows XP machine to Windows 7 64-bit. All of the iTunes MP3 files were backed up on a second hard drive in the machine. Afte

  • External tables with user defined fuction help

    Can any one help me I have problem with using user defined function while creating the External table. The user defined function Just takes an input empno and returns one number. CREATE TABLE EMPXT_1(empno NUMBER(4) ORGANIZATION EXTERNAL TYPE ORACLE_

  • How do I stop the login process when I open iTunes?

    How do I stop the login process when I open iTunes? It often request I login sometimes twice.

  • AGO function seems to ignore filter

    I have a column that uses the ago function to calculate the value from a week ago for certain hours that are considered "high traffic". I'm trying to get the average of these high traffic hours this week and last week, but the ago function seems to b