Calling another page in the portal

Hi,
I have created two pages p1 & p2 in Portal.
I want to access p2 form p1 ,is there any way for that.if it is possible programitically ,I would appreciate some sample code.
Thanks
Ravi

Hie
You can do this bye placing a url component created in your DB provider or using the go method (go('Address');)in success event of your form portlet on the page or use the <a href="page address">Link Text</a> as your field in your sql report which you will place it in your page as a portlet.

Similar Messages

  • Calling a page without the portal wrap

    I have a portlet with a form in it.
    The form:
    <netui:form action="toggleFavourite" onSubmit="return toggleFavourite(this)">
    If the user has JavaScript DISABLED, the form works like an ordinary form - the page submits itself.
    If the user has JavaScript ENABLED, the "toggleFavourite()" function is called, which submits the form entirely in JavaScript by extracting the target of the form, and calling it in script. This means that the page doesn't have to be reloaded.
    When using the non-JavaScript method, I obviously need the form to submit, and come back with my portal page, including the portlet I submitted from (i.e. exactly as it normally does in WebLogic portals).
    Whe submitting using JavaScript, I don't need the response to include any of the header/footer/pages/other portlets - I just want to return the single page referenced by the Page Flow (i.e. the page specified in the Forward action).
    Is there anything I can add/change in the URL that's submitted in JavaScript to specifically tell the portal server to ONLY return the content within the specific JSP referenced in the Forward action?
    The reason I'm asking this, is that it's a lot slower pulling down the entire portal page, than it would be to just return that single portlet content.
    I hope I've explained this clear enough, but feel free to ask questions.

    Nearly there.
    I can now generate a URL to the portlet, along with parameters to pass in. All that's left to do is trigger the action to make use of the parameters.
    It's beginning to sound very much like a bodge job - like we're trying to do something that hasn't been catered for. I've actually managed to get something working now, using a different bodge. I want to call the current portlet, calling the action "toggleFavourite". I therefore now do this:
    PortletPresentationContext portCtx = PortletPresentationContext.getPortletPresentationContext(request);
    String paramName = portCtx.getInstanceLabel();
    paramName += "_actionOverride";
    String paramValue = portCtx.getPortletUri();
    paramValue = paramValue.substring(0, paramValue.lastIndexOf("/")+1);
    paramValue += "toggleFavourite";
    StandalonePortletURL url = StandalonePortletURL.createStandalonePortletURL(request,response);
    url.addParameter("_nfpb","true");
    url.addParameter(paramName, paramValue);
    String postbackURL = url.toString();
    I then have a form elsewhere in the page, and use JavaScript to take the parameters from the form, and append them to the URL generated above.
    It's working, but it's not pretty!
    Sounds like 9.2 will be the only clean option.

  • HOW TO CALL ANOTHER PAGE USING PL/SQL PDK?

    Hi,
    I am using pl/sql pdk to create portlets. When I need to call
    another page I am using wwpob_page.show(p_pageid) but instead it
    displays File Download wizard.
    Anyone knows workaroud for this?
    Are there any other ways to call other pages with portlets from
    pl/sql portlets?
    Thank you,
    ya

    Hello Yuri
    If you want to call any component of an application from PL/SQL
    you have to take a look to the manage of the component and then
    to Call Interface (Show), There you can see the way to call the
    component, but if you want to call a Page the way I found to do
    it, even thought it is not the best, was put an url like
    this /pls/portal30/url/page/PAGE_NAME on the link.
    I hope this could help you, if you dont understand please let me
    know and I'll give you a hand
    Ana Maria

  • How to delete a Page in the portal

    Hello gurus,
    Could you please tell me how to delete a Page in the portal?
    Thanks in advance for any helps.
    Regards,
    Niki Nguyen

    I've tried that procedure, but it keeps giving me a message below, so it won't allow me to delete the Page, what is the next step?  Please advice.
    MESSAGE:
    An error occurred. Objects could not be deleted.
    Objects in the selected folder or object are currently locked
    Thanks in advance for any helps.
    Regards,
    Niki

  • How do I link to another page in the same iBook?

    I am trying to link from within the text of my book to another page in the same iBook. How do I do that in iBooks Author?
    For example...
    The text on page 1 might read.... "If you'd like to jump to the page on herbivores, click here". And that text would be linked to page 49, which is about herbivored.
    Any ideas? Greatly appreciated!!

    It looks like I figured this out by playing around with it.
    The reason that I couldn't bookmark the text earlier is that I had created a text box and entered text in there. When you create a text box, that text is not recognized by the bookmark widget. However when you type directly into the page template itself, it recognizes the text just fine. I'm able to set bookmarks and then link to those bookmarks using the hyperlink featuer. Looks like it's solved, I was just trying to use the wrong tool for text entering.
    Thanks for your help Don, you've been great!

  • Bug or feature : Using portlets with edit mode on a page in the portal

    Hi,
    i am using Workshop 8.1 (GA release july) and i have discovered a bug (or a
    feature) with respect to the beta version.
    i have created a simple portlet with a view mode and an edit mode. When i
    place the portlet on the very first page of a one book portal, it works
    perfectly. However, i have a book with three pages and placed the portlet on
    the second page. Now when i put the portlet in edit mode, by clicking the
    edit button, i am directed to the first page of the portal and the portlet
    will not show.
    Inspection learned that the URL generated for the edit button, didn't
    contain the _pagelabel parameter. When i added the parameter manually it
    works fine.
    A final remark is that the buttons in the titlebar have no icons the browser
    can load.
    hope someone can help me out,
    Lodewijk

    Can you please post this question to weblogic.developer.interest.portal
    newsgroup.
    Thanks
    "Lodewijk Spijker" <[email protected]> wrote in message
    news:3f165945$[email protected]..
    Hi,
    i am using Workshop 8.1 (GA release july) and i have discovered a bug (ora
    feature) with respect to the beta version.
    i have created a simple portlet with a view mode and an edit mode. When i
    place the portlet on the very first page of a one book portal, it works
    perfectly. However, i have a book with three pages and placed the portleton
    the second page. Now when i put the portlet in edit mode, by clicking the
    edit button, i am directed to the first page of the portal and the portlet
    will not show.
    Inspection learned that the URL generated for the edit button, didn't
    contain the _pagelabel parameter. When i added the parameter manually it
    works fine.
    A final remark is that the buttons in the titlebar have no icons thebrowser
    can load.
    hope someone can help me out,
    Lodewijk

  • How to call required page after the am.invokermethod is called.

    Hi All,
    I have a serch page which search the table ABC and returns the results(Standard functionality). I results table will have update icon. Now when the update icon, i will pass param mid = 100, is clicked I need to check the table MST whether it has records with mid=100. If yes, i need to display the details by calling the MSTPG page. If no, need to call other page called MSTTEMPPG.
    So, How do i check the record exists in the table or not and call the appropriate page.
    If i use am.invokermethod(), it call the procedure and executes but this method doesnot return values.so that based on the return value i can call the required page.
    Thanks,

    Thanks Senthil for the response.
    I Just wanted to keep the question simple and that is not all the requirement.
    I know the switcher bean concept i'm sure that it may not meet my requirements.lets keep it a side.
    But sure the second point you mentioned. To redirect to page based on the return value should help me can you elobrate / how do i call a page from the AM.
    1) Does am.invokermethod() - returns a value.
    2) If no, The procedure AM invokes should have the redirect method - what is the method and how do i call the page from AM
    Thanks
    Ganesh.

  • List of pages in the portal

    Hi,
    Can anybody tell me how to get the list of all pages in the portal using.
    Thanks in advance.

    To access the DesktopDefinitionManager EJB, look it up in JNDI such as:
    import com.bea.netuix.application.manager.persistence.DesktopDefinitionManagerHome;
    import com.bea.netuix.application.manager.IDesktopDefinitionManager;
    import com.bea.p13n.management.ApplicationHelper;
    import com.bea.netuix.application.manager.CustomizationContext;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    // Access the DesktopDefinitionManager EJB
    InitialContext context = new InitialContext();
    String lookupName = DesktopDefinitionManagerHome.LOOKUP_NAME;
    String applicationName = ApplicationHelper.getVersionedAppName();
    if((applicationName != null) && (applicationName.length() > 0))
    lookupName = applicationName + "." + lookupName;
    Object home = context.lookup(lookupName);
    home = PortableRemoteObject.narrow(home, DesktopDefinitionManagerHome.class)
    IDesktopDefinitionManager portalManager = ((DesktopDefinitionManagerHome)home).create();
    The DesktopInstanceManager is in the PortalCustomizationManager EJB-- this can be accessed using the same code as above, but replacing "DesktopDefinition" with "PortalCustomization" everywhere.
    Kevin
    Edited by: kfrender on Jun 5, 2009 9:08 AM

  • Can we call another transaction from the Userexit

    Hi all,
            Can we call another transaction from the Userexit?
    Thanks,
    Balaji

    Hi
    Because the statament CALL TRANSACTION triggers the end of the LUW so COMMIT WORK, so you should be sure not to insert that statament while some updating actions are been doing.
    So that exit shouldn't be triggered while updating
    Max

  • How to Call another screen using the ABAP Report which is displaying ALV ou

    Hello All,
    I am developing a ABAP report in which I want to transfer the stock from material to another material.
    My Report will include 3 to screens.
    The first sleection screen will display all the material with their stock value.
    When we execute the report I will get the list of materials along with their current stock. On the top of the output screen I want the Execute button. Also , each line of the output should have checkbox or the ALV provides the functionality of editing one cell like that.....Once the user tick the checkbox or the cell....then I want to move to another screen where user can enter the Quantity and then user will tick ok and then I will call one function module so that the material documnet is posted and transfer of posting form material to material is done successfully.
    Could anyone please help me out how to call another screen from the output screen where user can enter the Quantity amount....
    I dont want to use the Dialog programming.....I want to create the simple ALV Abap report.
    Regards,
    Komal Bhutada.

    Hi Raymond,
    Thanks for the input...I will try this in my code .....
    Can you please help me how to insert the checkbox in the ALV Output....so that I can select one of row and then press execute to process further?..
    Thanks for the information.
    Regards,
    Komal.

  • Can i call a Workbook trought the portal?

    Hi all,
    i have to call a workbook trought the portal, when i put the workbook en in the Rol, this just can be seen from the Browser. but im the portal doesnt appear,  now my task is put these reports (workbooks) that the users can execute them trought the portal, how can i do this? help

    this is what i got and what i need,
    i got a web template like a panel buttons, where behind each button is a web report,  but there is one report that is needed in a workbook,  i got the button for this report, the problem is how can i call this workbook trough the web template???
    trough javascript???
    trough html???
    trough FM ??
    i got a FM RSAH_LAUNCH_EXCEL , this FM just need the ID WORKBOOK and ID QUERY, this can fixed because this button is for this report, but now what can i do to make this...., help

  • How to Navigate from af:internalFrame to another page in the parent frame?

    Hi!
    I'm using an ADF IFrame Component <af:internalFrame>..
    we have a requirement where we needed to navigate from a page in the Internal frame to another page in the browser, i.e., on clicking a ceratain button in IFrame , the browser window should load an another page in the main window/frame(not in IFrame). I know this can be done with javascript by setting the
    window.location='newurl'
    But that would take me away from the normal JSF lifecycle, that is I have to perform certain processing of the inputs from the Iframe, and then navigate in the normal JSF way to another page in the main browser window,according to the navigation configured in the faces-config.xml; or if possible, programmatically ,in the backing bean.
    Can someone give me any hint of how to do this?
    Thanking you in advance,
    Samba

    Correct. To achieve this functionality JavaScript is required.
    --Ric                                                                                                                                                                                           

  • Using a custom login page for the portal

    Hi all,
    I'm currently doing a migration from Plumtree 4.5WS to Plumtree 5.0.4. In the current 4.5WS portal, I'm catering to 3 different login mechanisms due to time-lags in migration of my users' workstations. The 3 mechanisms are:
    1) Smart Card Reader on Windows 95 using TLS (uses a client side ActiveX)
    2) Smart Card Reader on Windows XP using SSL (uses client side ActiveX)
    3) Java PKI Card on Windows XP using SSL (uses server side scripting)
    To cater to the above, we've made customisations to login.asp and dologin.asp and also added a few scripts of our own.
    I now need to migrate these over to Plumtree 5.0 as well. I've thought of 2 ways to do this:
    1) Doing a custom view replacement of the Login View. This however has limitations as I'm not sure how the codes for the above 3 mechanisms will come in, especially 3), which involves server side scripting.
    2) Creating a custom login and exit page. This is probably a much more feasible solution in my case as it allows me to freely create my login pages and exit pages accordingly to cater for the above. However to do this, I need to be able to customize the Log In and Log Off links on the Portal Banner in order to point these to my own login and exit pages.
    Any ideas what is the best (or correct) way to do this?
    Thanks!
    Weng Kong Lee

    AFAIK only one login.jsp is called.
    But you can include logic into that one JSP file.
    If referer = portal.company.com THEN
    else
    This way you can create different look and feel for different virtual hosts.
    Login portlets have the disadvantage that https is not supported
    Ton

  • Call another page in BSP application

    Hi all,
    I am new to BSP. I want to know how to call a page from another page in BSP.
    Like, in dialog programming, we use CALL SCREEN etc., I want to know the procedure in BSP.
    Please help.
    Regards
    Natasha Garg

    search this forum, or read the documentation.
    Raja

  • Code to call another Page Flow URL from one page flow URL

    Can anyone send me the code to call another pageflow url from one page flow URL.

    thanks...
    In my appication there is no Form page. Only based on Canvas in that ,
    i implemented Text box, Text Field And Drop down list etc..by own coding without using any abstract methods.
    I did every thing with in single Midlet file.While developng goes on i got the problem ,
    Like "your application exceeds the memorylimit you cant
    use more than 32Kb of byte code in Canvas"...
    So the application is not opened.
    I tried to call the next file in same package to proceed, i got it. codition goes to next file, but its not return back to the Main(MIDlet) file, throws the excepton as "Security exception".
    How to solve this problem,is any other way? please...

Maybe you are looking for