How to get the Path of the WebDynpro page

Hi All,
Can any one say how to get the path of the JSPDynPage ina Portlet in Portal Application.
Becoz i have to display that Page in another JSPDynPagee
Thanks in Advance....

Hi,
You can call your JSPDynPage component by calling the URL as:
http://localhost:50000/irj/servlet/prt/portal/prtroot/YourApplicationName.YourComponentName
Check this:
Calling portal component
Greetings,
Praveen Gudapati
[Points are welcome for helpful answers]

Similar Messages

  • How to get the Portal Page name from PLSQL?

    Can anyone tell me how to get the portal page name from my dynamic page using plsql?
    Apparently you can get the page id and work it out from there, but my calls to get the page id are not returning any values anyway.
    My code for attempting to get the page id is below.
    <oracle>
    declare
    v_pageid varchar2(30);
    begin
    v_pageid := wwpro_api_parameters.get_value('_pageid', '/pls/portal30');
    htp.print('Page is '|| v_pageid);
    end;
    </oracle>
    Ideally I'd actually just like to get the page name. Is there a straightforward way to do this?
    Thanks in advance!
    Sarah

    Few clarifications -
    1. wwpro_api_parameters cannot be used to get default portal
    page parameters such as '_pageid', '_dad', '_schema' etc.,
    2. Page information can be obtained through any components which
    are available in that particular page. For example, in case of
    dynamic page, we need to publish it as a portlet and add it to the
    page. This process creates necessary packages in the DB, but we
    will not have access to the portlet methods.
    So, I would prefer creating a simple DB provider & portlet and access
    page title from its show method as follows -
    //Declare local variable l_page_id, l_page_title as varchar2
    select page_id into l_page_id from wwpob_portlet_instance$ where
    portlet_id = p_portlet_record.portlet_id and
    provider_id = p_portlet_record.provider_id;
    select name into l_page_title from wwpob_page$ where id=l_page_id;
    More information on DB provider can be found at
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/understanding.database.providers.html
    Secondly, usage of wwpro_api_parameters.get_value method is
    incorrect. This method expects two arguments -
    <ul>
    <li><b>p_name : </b> The name of the parameter to be returned.</li>
    <li><b>p_reference_path : </b> An unique identifier for a portlet instance on the current page.</li>
    </ul>
    p_reference_path would be something like 99_SNOOP_PORTLET_76535103 and not some type of path as its name suggests.
    The following code fragment fetches all parameters available
    for a portlet.
    Note : Copy this code into 'show' method of your portlet.
    //Declare l_names, l_values as owa.vc_arr
    * Retreive all of the names of parameters for this portlet
    l_names := wwpro_api_parameters.get_names(
    p_reference_path=>p_portlet_record.reference_path);
    * Retreive all of the values of parameters for this portlet
    l_values := wwpro_api_parameters.get_values(p_names=>l_names,
    p_reference_path=>p_portlet_record.reference_path);
    //Loop through these arrays to get parameter information
    htp.p('<center><table BORDER COLS=2 WIDTH="90%" >');
    htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
    htp.tableData(wwui_api_portlet.portlet_heading('Name',1));
    htp.tableData(wwui_api_portlet.portlet_heading('Value',1));
    htp.tableRowClose;
    if l_names.count = 0 then
    htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
    htp.p('<td COLSPAN="2">'
    ||wwui_api_portlet.portlet_text(
    'No portlet parameters were passed on the URL.',1)
    ||'</td>');
    htp.tableRowClose;
    else
    for i in 1..l_names.count loop
    htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
    htp.tableData(l_names(i));
    htp.tableData(l_values(i));
    htp.tableRowClose;
    end loop;
    end if;
    htp.p('</table></center>');
    Hope it helps...
    -aMJAD.

  • How to get the last page  SAP Script form

    How to get the last page  SAP Script form.
    I want to print a specific information in the last page of SAP form (Script). Please tell me how to get the last page number.
    Regards

    Hi
    You have to check the system variable &NEXTPAGE&, if it's 0 it means you're in the last page.
    From SAP Help:
    This symbol is used to print the number of the following page. The output format is the same as with &PAGE& .
    Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.
    /: IF &NEXTPAGE& = '0'
       Last page
    /: ENDIF
    Max

  • How to get the current page URL

    HI All
    I am working in oracle apps 4.0
    I have one page called history in that i have one page item called Application url. My application id is 122 but its a copy of application 106
    How to get the current page url for the page item.
    Any steps should be help ful
    Thanks & Regards
    Srikkanth.M

    I'm not 100% clear on what the requirement is from the description, however it does sound like you are making things unnecessarily complicated.
    If you want permanent/ID-independent links then use application and page aliases.
    so here we used to display the url like this: <tt>{noformat}http://81.131.254.171:8080/apex/f?p=122{noformat}</tt>
    Do you mean that the URL is displayed like that? If so that doesn't seem particularly helpful. How is anyone supposed to know what it is?
    There are many ways to provide links in APEX&mdash;including lists and nav bars.
    Where the link is to another resource located on the same server (such as another page in the same app, or a different app in the workspace), relative addressing can be used, making it unecessary to include scheme, domain and port information in the URL. For example, if the page to be linked to has a page alias <tt>ABOUT</tt> in an application with alias <tt>UNITY</tt>, and the apps share an authentication scheme/cookie to permit shared sessions, then the link URL is simply
    f?p=UNITY:ABOUT:&APP_SESSION.

  • How to get the total pages in ALV report?

    Hi guys,
    Since I used page breaks can somebody please help me on how to get the total pages in ALV report?sincerely please...thanks guys.

    automatic display total page.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    r

  • How to get the Empty page in Webi report

    Hi,
    I have to insert the charts in the report but i don't have the space to insert the charts in same page so i need one more page how to get the blank page in report
    thanks,

    turn your report from Page Layout to Draft Mode. Than you will be able to insert chart in it.
    You can view Web Intelligence reports in different modes depending on how you want to work with data and how you want the data to appear.
    1. In Web Intelligence Interactive, select the report tab of the report you want to view.
    2. Click the arrow next to the View button on the main toolbar above the report.
    3. Select the viewing mode.
    4. In the Java Report Panel or Web Intelligence Rich Client, use Switch Page/Quick Display on the Reporting toolbar to alternate between Page mode and Quick Display mode.
    Edited by: srrachna on Apr 22, 2011 2:25 PM

  • How to get the jsp page name in jsp?

    how to get the jsp page name in jsp? how the jsp get the jsp page name dynamic.
    thanks in advance.

    Try request.getServletPath()

  • Quick question: How to get the scrolled page number using af:table

    Hi,
    When using range paging on scrolled table, how to get the current scrolled page number(1,2,3...), for example when moving the table vertical scroll bar forward or backward, is there any method in ViewObjectImpl class that I can use to get such information? I have seen the method scrollToRangePage(int i), but when scrolled ("Fetching data..."), it doesn't not get into this method. So it is wrong usage for this method, right?
    Thanks

    Didn't you just ask that question in this thread?: How to catch the page number when using scroll table in ADF 11g?
    A bit of patience might be in order.
    CM.

  • How to get the cropped page content

    Consider an A4 size pdf is cropped in Bottom and Right edges.
    If the user wants to open the pdf as A4 size then we are passing the rectangle size A4 to PDPage.DrawEx() method to get the page content.
    When we use like this, we are getting the full page content but our requirement is to get the cropped page content.
    Is there any way to get the cropped portion alone by passing the rectangle size as A4 to PDPage.DrawEx() method.
    But it is working fine for Left and Top edge cropping

    Have a look at this document:
    http://partners.adobe.com/public/developer/en/acrobat/sdk/AcroJSGuide.pdf
    go to the index and search for the term "Crop" or "Cropping" which has a hyperlink for page 70.  There you will find some JavaScript options for cropping the page from all sides which can then be saved using some other methods in the document.  I'm not sure, though, if JavaScript is what you're looking for.

  • How to get the customized page's xml version ?

    Hi All,
    I have created some fields (of style 'MessageChoice', 'MessageLovInput') through personalization in a page and after that i navigated to the middle-tier where our MDS repository holding all the page's source file (in form of XXXXPG.xml) to get the updated version of the same page in xml version.
    But i couldn't get the latest version of page's XML file instead i found the old standard file only.
    Please help me in getting the file and guide me the path if it got stored somewhere in the architecture.
    Thank You,
    Thiyagarajan

    Dear Anoop,
    Thanks for your immediate response.
    Could you please pour your ideas how to store the custom personalizations in Unix box through Functional Administrator responsibility ?
    And one more question is as you said it will be stored in the form of xml but i have searched the page in the middle tier where it(standard one) got stored, but unable to find any one. How to find the xml file after doing the personalizations and in which path ?
    Waiting for your reply.
    Thank You,
    Thiyagarajan

  • How to get the total page number when using Crystal Report in JSP

    In my JSP, I use the class CrystalReportViewer to generate and display the report views. But this class only sypply the function to get the info of the active view.
    Thus with this info, I only can get the active view's page number. How can I get the report total page number without showing the last page first?
    Thanks.

    Anything you do without submitting to form has to be done on the client side (ususally by JavaScript) using data which has been send already from the server.
    With JavaScript you can do quite a bit. You can download tables which don't necessarilly appear on the screen, loading them into JavaScript arrays by dynamically generating javascript. Then you can pick up events like drop-box selection and use these tables to chose what you do next (e.g. preloading other fields, setting drop box content etc.).
    Or, you can cause forms to be submitted when actions like a selection happen without the user clicking a button. It's generally a matter of how much data you'd need to transmit.
    Another posibility is to use a Java applet, which can generate requests to the server and handle the results as it chooses. That are a number of problems with that but occasionally it's the best solution.
    What you can't do is to handle user input inside a JSP. The JSP has come and gone before the user even gets to see your form.

  • How to get the Organizer page to install when only the Editor page appeared after Elements12 installation?

    I  Can't figure out if it is possible to retrieve/install the Organizer page after only the Editor page installed on Elements 12. If it is possible, how do I do it?

    When I launch PSE 12 directly I do get the "welcome" screen first. If I then click on the Organizer box it gives the moving line for a bit, and then nothing more: no Organizer screen ever appears. However when I click on the Editor box the Editor screen does come up after the moving line starts.
    By the way, I've long used PSE 10, and that still works for both screens, so I'm now having to jerryrig the post production process by using the Organizer screen from version 10 to access my photos and then drag them to the Editor screen from version 12 !
    I bought PSE 12 because it accomodates/processes/edits in  RAW, where version 10 doesn't. I sure don't want to have to pay for version 13, and Adobe chat no longer supports version 12, so any help you can offer would be wonderful !!!
    By the way -- in addition, a very useful  plug-in (Nik Collection) that i've come to love to use with version 10 doesn't appear with version 12's Editor screen at all. So if you have any thoughts about how to fix that I would really appreciate that too !
    Thanks in advance. -- Jessie
    Sent via the Samsung Galaxy Note® II, an AT&T 4G LTE smartphone

  • How to get the Report Page count using crystal reports 2008

    Hi,
    I  have to implement a business logic where in i will have to display the no. of pages generated for the report
    Say for e.g. crytal report that's generated spans 25 pages in the report.
    Then i will have to display a message to the user after the report generation something like  "25 Pages generated"
    So, how would i get this report page count so that i can fetch the value and display the same to the user.
    Any sample code snippet would be of great help.
    Thanks in Advance
    Regards,
    Ramnath

    Hi,
    I am using crystal reports 2008 and i  visited the link forwarded in your previous mail and got the solution for getting the lastpagenumber of the report.
    nPages = crReport.FormatEngine.GetLastPageNumber(New CrystalDecisions.Shared.ReportPageRequestContext)
    but, i don't find FormatEngine  property for ReportDocument object.
    I just wanted to know whether this property is availale in crystal reports 2008 or should i even install any service packs for this.
    Please find below the namespaces that importing in my class
    Imports System.Windows.Forms
    Imports System.Drawing.Printing
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.Windows.Forms
    Imports CrystalDecisions.CrystalReports.ViewerObjectModel
    Imports CrystalDecisions.Shared.ReportPageRequestContext
    Please let me know how can i get the formatEngine property for reportdocument object
    Thanks in Advance
    Regards,
    Ramnath

  • How to get the home page for a user using  Pl/sql code ?

    Hi,
    I have a pl/sql procedure which runs after a form submission on a dynamic page. At end of completion of the procedure I want to send user to his/her home page. I am trying to write at the end of procedure to redirect the user to the home page. How do I do that ? What is way to redirect to a page using pl/sql and how do I know the user home page url ?
    thanks,
    Mainak

    Hi,
    Try <portalschema>.wwv_redirect.url('<portalschema>.home');
    Please replace portalschema with the name of your portal schema.
    Thanks,
    Sharmila

  • How to Get the Total Page Count in XML Reports?

    Hi All,
    we have a requirement where we have to print Page X of Y(Total Page Count of the document).
    But whenever my header group resets the total count is also reseting.
    for e.g.
    I m getting the page 1 of 4, page 2 of 4, page 3 of 4, page 4 of 4 for my first record.
    same way i am getting page 1 of 3 ,page 2 of 3, page 3 of 3 for my second record.
    But the requirement is to display page 1 of 7, page 2 of 7, page 3 of 7, page 4 of 7 for the first header record.
    And page 5 of 7, page 6 of 7 and page 7of 7 for the second record.
    Is there any way to achieve this?
    Thanks,
    Sachin

    You might have better luck getting an answer here:
    BI Publisher

  • How to get the HTML page size displayed in JEditorPane

    Hi All,
    I'm using a JEditorPane object in order to view/display an HTML page. The nature fo my program is that it does not know the size of the page in advance, but only on runtime. I'd like to get the size of the HTML page in order to determine the frame size according to the size of the HTML page.
    Is there a way to get the size of the HTML page from the JEditorPane?
    Thanks.

    after displaying the page in your editor pane you can get the diamension for the page by calling
    JComponent class method getSize();
    actually your question is not so clear
    use the JScroll pane then you don't need to worry about the size of the page.

Maybe you are looking for

  • Error in transporting WF workflow task

    Hello, I face an error when moving WF workflow task from Dev to QA. System is 4.0B. The QA transport log shows (errors in bold): Subsequent processing RH_ACTIVATE_PDOBJECT_AFTER_IMP for PDWS T started at 20:23:01 Time... 20:23:02       Run time... 00

  • Infotype Creation

    Hi All,         I have created a custom infotype with time constraint 2 which has the multiple records for pernr.( Similar to Infotype 0168). When i am inserting the record since there is same key for the pernr its not inserting the data in the table

  • I have recently upgraded to mavericks and I cannot get my scanner to work.  I tried deleting the printer and reinstalled it but no luck

    I have recently upgraded to mavericks and I cannot get my scanner to work.  I tried deleting the printer and reinstalled it but no luck

  • How to insert data from itab to another itab ?

    Hi. Now, I have one PR which generates a lot of PO. Each PR number has one or more PO number. ITAB_EBAN has field BANFN, EBELN. ITAB_EKPO had fields EBELN, EBELP, BANFN. How do i insert the ekpo-ebelp into the itab_eban from itab_ekpo for each eban-b

  • How to call method in my JavaBean from JavaScript?

    I think I'd better make it clearer. I have a dropdown list in one jsp page, when user select one item of the list, he can press a "Get record" button in the page. so all the info of this particular record will be loaded into the same page. Then the u