How to display content in same page when a custom command is clicked

I have created a custom command and returned the following parameters in getLinkAttributes method but the content still opens in a window. How can I display the content in the same window/
String editwindow = "open("iViewURL","windowName","javaScriptParam")";
return new LinkAttributes(editwindow,"_self",true);
Thanks in advance
Vidya

Hi,
This is part of JPDK. You will have to install it. Which version of portal are you using? You can also try this out using
URL portlet which is available with webview in 309.
Thanks,
Sharmila

Similar Messages

  • How to display reports in same portlet when clicked on report links in a menu portlet

    Hi,
    I am not sure what forum I should ask this question. Anyway, I am trying in this forum.
    Let me explain what I trying to do.
    I have reports links as menu item links in a menu. I have published this menu to portal and added it to a page. I can now see the report links. If I now click on the report link, it opens the report in a whole window. How do I open the report in the same portlet? Is this possible to open the report in a different portlet at least?
    Thanks for your help.

    Hi,
    This is part of JPDK. You will have to install it. Which version of portal are you using? You can also try this out using
    URL portlet which is available with webview in 309.
    Thanks,
    Sharmila

  • How to display exception on error page raised from custom login module?

    Hi All,
    I've created my own login module and I am using form authentication mechanism.
    Here is how my login and error pages defined in web.xml:
        <login-config>
          <auth-method>FORM</auth-method>
          <form-login-config>
            <form-login-page>/logon.jsp</form-login-page>
            <form-error-page>/error.jsp</form-error-page>
          </form-login-config>
        </login-config>
    But when my login module throws an exception (LoginException) the following code in <i>error.jsp</i> returns null:
    <%=request.getAttribute("javax.servlet.error.message")%>
    though this code works good on Weblogic.
    Declaring the <i>error.jsp</i> also in the <error-page> tag didn't help.
    So what did I miss to configure?
    Or maybe NetWeaver doesn't allow to get the exception from the <form-error-page> at all?

    If I understand your question correctly, you can use the CQ.Notification JavaScript object for this. See documentation here: http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.Notification

  • How to display  Columns  in Alphabatical  order when using DESC command

    Hello
    A table column is inserted not in alphabetic order during the table creation definition.
    So while describing the table definition (e.g. desc emp)
    it will not show in the same order as we are written during the table creation.
    Question: is there any utility/command/query which will display the columns in alphabatical order while describing it.
    Regards
    Nikhil Wani

    select column_name from user_tab_columns
    order by column_name;
    should do it.
    Sunil

  • When I click on my Yahoo bookmarks, I only get the download Yahoo toolbar page, I downloaded the toolbar again and I still get the same page when I hit bookmark icon - how do I get my bookmarks back - they still show on Microsoft Explorer

    Question
    When I click on my Yahoo bookmarks, I only get the download Yahoo toolbar page, I downloaded the toolbar again and I still get the same page when I hit bookmark icon - how do I get my bookmarks back - they still show on Microsoft Explorer

    julianscars wrote:
    I don't get a page, all I get is the player popping
    Click the green jelly button at the top left of the player.

  • To display the same page when an error occurs.

    Hi,
      I need to display the same page when an error occurs in the page. For example, I am validating a few fields in a page. If an error occurs, then same page is to be displayed.
      I am presently using MVC type programming.
    Thanks in advance.
    Regards,
    Vara

    I usually use the Message class, for handling all possible validations. In the DO_HANDLE_DATA, do the validation, and if your validation fails, put your message in the message attribute available for that method. As you have not given a pointer to a new page, it will refresh that same page.
    If your validation is successful, go to next page.
    In the layout of this page(where you require validation), there is an attribute called page and it has get_message method. Call that method at the appropriate place in the layout.
    For more information , refer to :
    http://help.sap.com/saphelp_470/helpdata/en/91/b197ce280011d5991f00508b6b8b11/frameset.htm
    Web Applications and BSP --> Programming Environment -->
    Handling Incorrect Entries
    Let us know, if this answered your query.
    Regards,
    Subramanian V.

  • Process error message: Display on the same page

    When I create a before header process and that has an error, the error message shows up on a page by itself with the OK button. This takes away the context of the error
    Similar to how validations have the option of displaying inline on the same page, is there a way to have the process error message display on the same page?
    Thanks

    I just want to display the error message on the same page, thats all. I dont want a error page with just the error since it takes away all the context.
    Well what do you want to do, you can set a item to
    hold a message and display that item in a region
    when this_exception then
    :P20_ERROR_MESSGE := 'Something went wrong here';So, P20_ERROR_MESSAGE would be a hidden item on the page?
    Then display the item in a region.How can I display that hidden item in the region? So the region would just have this read-only text box in it? But then it wont be hidden? I guess I can conditionally display the region only if the error message is not null?

  • Help on jsp code to display data in same page using using ajax ?

    Is there any jsp code to display in same page using using ajax ?

    Re: need help on how to display data in same jsp page. Locking.

  • How to display region from one page on the other page?

    Hi,
    I'd like to ask if someone know how to display region created on page X on page Y.
    I've tried to create a "URL" region on Y but this doesn't work and I generally think this is blind way.
    Next I've found an internal function "flows_020100.wwv_flow_disp_page_plugs()" that works pretty well (PL/SQL type region with calling the function) except that is displaying only regions on the same page. I know it's dirty hack but ...
    Any ideas or hints how to solve this? Thanks ...

    have a look here ...
    http://www.oracle.com/technology/products/database/application_express/pdf/apex_best_practices.pdf

  • How to avoid printing a blank page when there is 'no data' in the report.

    how to avoid printing a blank page when there is 'no data' in the report.

    try like this
    if@section:IND=1
    this template
    end ifsectionbreak
    if@section:IND=2
    this template
    end if

  • I'm Stuck at: Safari can't display content on this page.???

    I'm still somewhat new to Apple so bear with me here.
    As I use Safari I attempt to listen to a Radio Player online I'm greeted with this message:
    Safari can't display content on this page.
    Some content on this page requires an Internet plug-in that Safari doesn’t support. The application “Windows Media Player” may be able to display this content. Would you like to try?
    I try that also but to no avail.
    Thanks ahead of time

    There is no windows media player support for the Intel Macs. MS has dropped support for Windows Media on the Mac platform.
    Filp4Mac should have an Intel compatible plugin soon - I have no idea if it will solve this problem, though.

  • How can I display the same page when I'll press

    i have a jsp page. It contains user name & password.
    and a link like SIGNOUT COMPLETELY. when i press the back button it should show only this page.
    You have noticed one thing that when u sign out from YHAOO MAIL then a page is displayed
    USERNAME : [email protected]
    PASSWORD :XXXXXXXXXX
    SIGNOUT COMPLETELY
    when this page is dispalyed and u press the back button of the browser
    it displays the same page. How it happens?

    Kindly neglect the previous post.....
    Okay check something like this
    1).maintain either a HttpSessionListener or a session flag try to checkout whether the user is active or else close the PrintWriter.
    2).Prevent caching of the webpage by using customary meta tag or by response,setHeader("Cache-Control","no-cache");
    way...
    Guess tht shud work.....

  • How to get a form to appear on the same page when a button is clicked?

    Hi,
    I have a report on a page with a create button. When a user clicks the create button, a form should appear on another region in the same page....how do i go about doing this?
    I know how to do this if the form is on a different page, but i'd like the form to appear on the same page as the report and only when the button is clicked.
    Thanks.

    Hi,
    I did the following, but it didnt work....
    1) Created a hidden item on the page, and in the Default Value field, I set the value to N.
    2) Created a button in the report with the following values under "Optional URL Redirect":
    Target is a: Page in this application
    Page: 4
    Set these items: P1_SHOW_FORM
    With these values: Y
    3) Created a form of HTML text type with the following values under "Conditional Display":
    Condition Type: Request=Expression 1
    Expression 1: P1_SHOW_FORM='Y'
    What have I done wrong or have i missed something?
    Thanks.

  • Linking and displaying on the same page

    Hello I am currently trying to build my website, I want to
    click on a link in one table and the results to display in another
    table on the same page. Example - I have a left column, center
    table, and right column. In the left column "Athletic Diamonds" is
    one of the choices, when this is clicked on I want a group of
    photos to be displayed in the center table on the same page. How
    can I do this?

    You can use DW's SetText behavior to set the text of a
    content region with
    an ID to the desired HTML required to display the results.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "LPrime" <[email protected]> wrote in
    message
    news:ga1nqg$4cj$[email protected]..
    > Hello I am currently trying to build my website, I want
    to click on a
    > link in
    > one table and the results to display in another table on
    the same page.
    > Example - I have a left column, center table, and right
    column. In the
    > left
    > column "Athletic Diamonds" is one of the choices, when
    this is clicked on
    > I
    > want a group of photos to be displayed in the center
    table on the same
    > page.
    > How can I do this?
    >

  • Load different content in same page

    Hello,
    I am putting together a css site and have my css file working
    and an html file that sets up my page how I would like. however I
    don't have the nav bar working in an ideal fashion. Is it possible
    to have different content load into the content area of my one html
    file based on user nav menu selection? If it is not already clear,
    I am new to this and any help is truly appreciated. Thank you,
    John
    btw,I am using CS4 design premium.

    It's a bad idea for all the reasons we have already
    mentioned.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "DWFAQ.info" <[email protected]> wrote in
    message
    news:gnticf$6mk$[email protected]..
    > Hey John,
    >
    > You can have nav links display different content in body
    all in one page
    > with
    > spry.
    >
    > Check out this for demos:
    >
    >
    >
    http://labs.adobe.com/technologies/spry/samples/data_region/DataWithURLParams.ht
    > ml
    >
    > You can also use SpryURLUtils.js to allow users to
    bookmark individual
    > links
    > that are all located in one page.
    >
    > If spry dataset is received through
    dynamically-generated xml from a
    > database
    > you can also setup a database-driven mirror of the pages
    that can be
    > crawled by
    > search engines since no javascript is used in php
    version of site. For
    > instance you can have index.php that retrieves dynamic
    xml dataset using
    > spry
    > to display pages and you can have index2.php that uses
    php MySQL with url
    > parameters ti display content through article id like
    index2.php?id=1,
    > index2.php?id=2, index2.php?id=3, etc. on the index2.php
    version you can
    > have
    > a javascript that redirects javascript users to
    index.php and keeps
    > non-javascript users on index2.php
    >
    > Bottom line is it *can be done with bookmarks and search
    crawl ability but
    > it
    > takes a little work and ingenuity. Question really
    should be whether the
    > effort is worth it to you or not...
    >
    > Hope that helps.
    >

Maybe you are looking for

  • Can't Mount Windows Partition in OSX After Upgrading to 10.5 and BC 2.0

    I just installed Leopard today, using the upgrade option (as opposed to a clean install). I was happy to see that I could boot into Windows still, and installed all of the Boot Camp 2.0 drivers while booted into Vista. However, I can no longer mount

  • Apple Remote Desktop and 2 different networks

    Hello everyone, The issue is as follows... I manage an iMac lab with about 24 Macs and I've used ARD to control/manage the Macs.  Recently we installed cable wifi, but did not want to flood the signal with one router and 24 computers so i got 2 cisco

  • Portal Roles (ABAP & JAVA)

    Hi, We are planning to go for a portal implementation for our BW reports.. I had a few questions with regards to the roles (BW & Portal) or (ABAP & JAVA) Question 1: I want a single place (BW) where I can assign all the roles (BI & Portal) to users,

  • Have an iPod mini what next for my G4

    Hello, My wonderful used G4 audio digital is a really nice computer and I enjoy learning more about it. Now I have a hand me down iPod mini. OK I charged it up using the USB on my Gateway PC. So when I plug the iPod mini into the Gateway USB the good

  • Clean install or install

    Would people recommend I flatten the system first nd install clean or just install it with all my photos and music on the system. Is it downloading smoothly or is it suffering from too many people downloading? Thanks