Opening a new view in a new window on click of a table row entry.

Hi Guys,
How to open a new View of a same application in a new window (just like a pop up) on a click of a Table Row entry?
I am using NWDS 7.0 version. So please suggest acccorrdingly.

Hi Nikesh,
first of all you will have to declare use of onLeadSelect event handler for your table (note that it will only be triggered when a lead selection occurs not a multiselection).
Also, you can build at design time a View and a Window (for example, PopupWin) in your WebDynpro Component, and embed the view into the window.
In your code for onLeadSelect function, you can use something like this to pop up the window.
public void onActionRowSelection(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionSeleccionTabla(ServerEvent)
    IWDWindowManager windowManager = wdComponentAPI.getWindowManager();
    IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("PopupWin");
    IWDWindow window = windowManager.createModalWindow(windowInfo);
    window.setWindowPosition(WDWindowPos.CENTER);
    window.setWindowSize(new WDCssSize(450, WDWindowUnitOfLength.PX) , WDCssSize.UNDEFINED);
    // Store handle ti window in context attribute to able to close it later
    wdContext.currentContextElement().setPopup(window);
    window.show();
    //@@end
Hope it helps,
David

Similar Messages

  • Problem with openning a new window when click news tiltle link

    After create a news item using News form created by XML form builder, i try to click title link, It always opens a new window, what i want is keep it in same window when i click the title link, not open a new one. Is there anyone know how to do that? thanks

    Hi,
       I think its not possible in case of XML Form Builder. Bcoz,
    <b>Edit Form</b>:it is for authoring like creating News
    <b>Render list Form</b>:It is for Publishing the News
    <b>Show Form</b>:It is for showing the whole content of the News
    In XML Form Builder, by default when you create a new form these forms ie. Edit Form (You will design the Form here, only authorised person or the owner only view this).
    The Second Form(Render List Item) is the one will be shown to everyone with brief information.
    The Third Form(Show Form) is the one when you click on the News page, it will show you one more screen, there you can see the detailed description about the News.
    So, when you click on the Rendered List Item Title, it will open only in the separate window.
    Regards,
    Venkatesh. K

  • How to open a new window on click of a button, for printing stuffs in adf

    Hi ADF Experts,
    Jdeveloper 11.1.1.7.0 version.
    I am having a Print Button. On click of this I want to open a new window? how is it possible. Note it should not be a popup or panelwindow.
    Please suggest.
    Thanks,
    Roy

    Check out Frank's article http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501392.pdf which come with a sample at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501393.zip
    Timo

  • How to open a new window by clicking the string in the text field ?

    Hi
    is it possible to do this ?
    Some string value is retrieved from database and it is placed in the text field. [ done with this part ]
    i have to provide link to that string to open a new window. [ yet to do ]
    Please help me in this.
    Note : if this is not possible , give me some other idea to do this.
    -Arun

    whether this is useful ?
    I am using string field here.
    public StringField(java.lang.String name,
    java.lang.Object listener,
    java.lang.String callback,
    java.lang.String value)Constructs a StringField
    Parameters:
    name - Name of field
    listener - Listener to update
    callback - Callback of listener
    value - Value of field
    -Arun

  • Opening a new window when clicking on object links

    Hi,
      I have installed business package for crm and configured the object links, but when i click on object links, it is opening a new window, but i want it to be opened in the same window form which that link was activated.
    could you please help me in this regard
    Thank you

    Hello Koduru,
    you should have a look at the work protect modus settings of the user.
    Regards
    Gregor

  • Hyperlink to open in new window on clicking via crystal client

    Hi,
    How to call hyperlink in new window via crystal client.
    I have main report. In that ,for two-three columns, I have made the hyperlink and I want that when user click on that column, it should open in new window.
    But I am unable to open the below link in new window.
    Hyperlink code :
    'http://epint1ent1.jpmorganchase.com/vps/docViewer?invoiceIndexKey='
    &columnname
    I am using crystal client XI R2.
    Please let me know any solution.
    Thanks in advance

    Vishal,
    In your Hyperlink add in the parameter for
    sWindow=New
    i.e. 'http://epint1ent1.jpmorganchase.com/vps/docViewer?sWindow=New&invoiceIndexKey='.....
    You obviously need to complete the Hyperlink fully.
    This should do the trick

  • Open a new window by clicking on a HTMBL tableview row

    Hello
    I want to navigate to another BSP page in a new window by clicking on a row in a HTMLB TABLEVIEW.
    I also want to pass value for a tableview table field for the selected row index.
    This field is not defined by a tableviewcolumn tag for the tableview in the layout
    I want to do this stateless.
    Is this possible ?
    Thanks and regards
    Christian

    hi Christian
    For this you need to do .......
    in the table tag populate this event
    <b>onRowSelection = "<OnSelect>"</b> this event.
    Now use a flag, let it be SHOW_POPUP.
    Now in the event handling capture the selection event of the table.
    IF EVENT->EVENT_NAME = 'tableView' AND
    EVENT->EVENT_SERVER_NAME = 'onSelect'.
    TV ?= CL_HTMLB_MANAGER=>GET_DATA( REQUEST = REQUEST
    NAME = 'tableView'
    ID = '<tableID' ).
    IF TV IS NOT INITIAL.
    TABLE_EVENT = TV->DATA.
    ROWINDEX = TABLE_EVENT->ROW_INDEX.
    READ TABLE <Table Name> INDEX ROWINDEX into WA.
    Key = WA-<VALUE>.
    clear SHOW_POPUP.
    IF Key IS NOT INITIAL.
    SHOW_POPUP = 'X'.
    ENDIF.
    ENDIF.
    ENDIF.
    Now in the LayOut Page Write This Script In Between Form Tag in the begning only.
    <%
    if SHOW_POPUP EQ 'X'.
    %>
    <script>
    function call_help(name)
    var result = window.open(name,"helpWindow", "status=no, menubar=no width=730,height=550");
    result.moveTo(100,40);
    </script>
    <%
    endif.
    %>
    And in between <FORM> Tag Call This Function Like
    <script>
    call_help("<page Name.htm>?Key=<%= Key %>");
    </script>
    Do not use these code as u were using earlier
    onCellClick = "onCellClick"
    <htmlb:link id = "link"
    onClientClick = "return popitup('mat_move.do?key=11')">
    </htmlb:link>
    Do Remember to clear the SHOW_POPUP Flag on request of the page at each time.
    <b>What I am trying to do is , On click of the table control i will trigger a server event.
    i the server event i will set the flag SHOW_POPUP and navigate the data that is required on the popup window through navigate->setparameter().
    now when the layout will be refreshed it will check the SHOW_popup Flag. If it is set, it will define the javascript fuction, otherwise skip that code.</b>
    I think This will definitely help you , If you find any problem do revert back....

  • Opening in new window after clicking on h:commandLink

    hi,
    Please help to display jsp in new window after clicking on <h:commandLink>.
    This is what I have written.
    <h:commandLink value="Image" action="#{ImageBean.displayActualImage}" target="_blank"/>
    So Because of that I am able to display in the jsp in same window. displayActualImage() is function that is redirected to another jsp. But I want to disply it in new window. So can any one please help me.
    Thanks.

    Hello Koduru,
    you should have a look at the work protect modus settings of the user.
    Regards
    Gregor

  • Opening a new window by clicking icon on the tableview

    I would like to open a new popup window to show data by clicking an icon on one tableview. This data is kept in an internal table passed by a parent controller. Is there any example provided? (I am not familiar with the javascript language)

    You will not be able to get the index of the row which is being clicked by this method.  As the OnClientClick Event is processed on the client side, and the index is selected on the server side.
    For this you need to do some changes.......
    in the table tag populate this event <b>onSelect  = "<OnSelect>" </b> this event.
    Now use a flag, let it be SHOW_POPUP.
    Now in the event handling capture the selection event of the table.
    IF EVENT->EVENT_NAME = 'tableView' AND
                       EVENT->EVENT_SERVER_NAME = 'onSelect'.
      TV ?= CL_HTMLB_MANAGER=>GET_DATA( REQUEST = REQUEST
                                        NAME    = 'tableView'
                                      ID      = '<tableID' ).
      IF TV IS NOT INITIAL.
        TABLE_EVENT = TV->DATA.
        ROWINDEX = TABLE_EVENT->ROW_INDEX.
        READ TABLE <Table Name> INDEX ROWINDEX into WA.
        Key = WA-<VALUE>.
        clear SHOW_POPUP.
        IF Key IS NOT INITIAL.
        SHOW_POPUP = 'X'.
        ENDIF.
      ENDIF.
    ENDIF.
    Now in the LayOut Page Write This Script In Between Form Tag in the begning only.
    <%
    if SHOW_POPUP EQ 'X'.
    %>
    <script>
    function call_help(name)
       var result = window.open(name,"helpWindow", "status=no, menubar=no width=730,height=550");
       result.moveTo(100,40);
    </script>
    <%
    endif.
    %>
    And in between <FORM> Tag Call This Function Like
        <script>
    call_help("<page Name.htm>?Key=<%= Key %>");
        </script>
    Do not use these code as u were using earlier
    onCellClick = "onCellClick"
    <htmlb:link id = "link"
    onClientClick = "return popitup('mat_move.do?key=11')">
    </htmlb:link>
    Do Remember to clear the SHOW_POPUP Flag on request of the page at each time.
    I think This will definitely help you , If you find any problem do revert back....

  • When opening a new window, any clicks within the new window click through to the original window so you can't scroll or save from the new window.

    Anytime that a new window is opened (such as when sending an email message or opening a pdf) I am unable to click on the new window. I can't click send or click on the scroll bars of the new window. If I attempt to click on the window it clicks on whatever is behind the window instead. If the new window opens with a cursor within it then I am able to type or scroll through with keyboard arrows, but cannot click or use the mouse scroll buttons. I also cannot choose items from drop down menus with the mouse (even in the original window). I must use the keyboard arrows to select any menu options.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Nautilus doesn't open a new window when clicked

    For a while now, I have been experiencing an annoying issue.
    Whenever I open Nautilus either by clicking the icon in the drawer (example: http://i.imgur.com/uZc3n7S.png) or by hitting "Super" (the Windows key) and typing nautilus+enter, Nautilus doesn't create a new window anymore. Instead, it just shows "Files" in the top bar, as seen here: http://i.imgur.com/Ho2nJhv.png
    I can open a Nautilus window by clicking on the "Files" item in the top bar and clicking "New Window", as seen here: http://i.imgur.com/7IrWqvr.png
    Also, whenever my desktop is focused, the "Files" item is visible in the top bar. In the drawer, the Nautilus icon is always highlighted as well. This leads me to believe that GNOME thinks Nautilus is already open, while it is not.
    Note that I have enabled my desktop to be managed by Nautilus, so I can have icons on my desktop. I'm not sure, but if I recall correctly, this problem started ever since the one time I ran gnome-settings-daemon manually, to test if a certain bug still exists.
    Has anyone experienced a similar issue? How could I track down why this is happening?
    Last edited by Gerry (2014-02-12 20:59:18)

    Gnome-shell issue. You can disable desktop management as a temporary fix, but the next gnome-shell update will fix the problem.
    https://bbs.archlinux.org/viewtopic.php?id=175993
    https://bugzilla.gnome.org/show_bug.cgi?id=722510
    https://bugzilla.gnome.org/show_bug.cgi?id=722690

  • Open a new window on clicking the CommandButton in JSF

    Hi,
    I have a page and two <h:form> in that page.
    The second <h:form> just has a date field and a Submit button.
    Selecting a date and clicking the CommandButton should open the report in a new window.
    If no reports found then a msg needs to be displayed in the new window.
    <h:form styleClass="form" id="form2" target="_blank">
    Report Date
    <t:inputCalendar id="dtTo" required="true" value="#{controlDBean.reportDate}" renderAsPopup="true"   
            popupWeekString="week" renderPopupButtonAsImage="true" popupDateFormat="MM/dd/yyyy" size="12"
            maxlength="10"     forceId="true"      popupButtonStyleClass="calendar"
            title="MM/DD/YYYY"     popupButtonImageUrl="../../images/calendar.gif">
    <f:convertDateTime type="date" pattern="MM/dd/yyyy" />
    <div style = "FONT-SIZE: 8pt; FONT-FAMILY: Arial; COLOR: RED;"><h:message for="dtTo" /></div>                                                  </t:inputCalendar>
    <hx:commandExButton type="submit" value="Retrieve"  id="button1" action="#controlDBean.frmRetrieveReport}"></hx:commandExButton></td>this works fine...
    But even when the validation on the date field fails..it takes me to the new window with the message rather than staying on the current page.
    How can this be achieved at the button level rather than the form level?/
    Any help is really appreciated.
    Thanks!!

    whether this is useful ?
    I am using string field here.
    public StringField(java.lang.String name,
    java.lang.Object listener,
    java.lang.String callback,
    java.lang.String value)Constructs a StringField
    Parameters:
    name - Name of field
    listener - Listener to update
    callback - Callback of listener
    value - Value of field
    -Arun

  • Open a new window after clicking on a tab(workset)

    hi,
    i am creating 1 application in EP using PDK. m using jspdynpage for tht.
    what i want is when user clicks on a certain workset tab, a new window shud get open without taskbar,statusbar and without any toolbar (just like the window which gets opened when u click on preview button to see an iview)..... i know this is possible only thru javascript ..... but i didnt get any success....
    right now it is opening in the same page .... plz help me out ....
    Message was edited by: Nilesh Patil - Gayakwad

    hi Christian
    For this you need to do .......
    in the table tag populate this event
    <b>onRowSelection = "<OnSelect>"</b> this event.
    Now use a flag, let it be SHOW_POPUP.
    Now in the event handling capture the selection event of the table.
    IF EVENT->EVENT_NAME = 'tableView' AND
    EVENT->EVENT_SERVER_NAME = 'onSelect'.
    TV ?= CL_HTMLB_MANAGER=>GET_DATA( REQUEST = REQUEST
    NAME = 'tableView'
    ID = '<tableID' ).
    IF TV IS NOT INITIAL.
    TABLE_EVENT = TV->DATA.
    ROWINDEX = TABLE_EVENT->ROW_INDEX.
    READ TABLE <Table Name> INDEX ROWINDEX into WA.
    Key = WA-<VALUE>.
    clear SHOW_POPUP.
    IF Key IS NOT INITIAL.
    SHOW_POPUP = 'X'.
    ENDIF.
    ENDIF.
    ENDIF.
    Now in the LayOut Page Write This Script In Between Form Tag in the begning only.
    <%
    if SHOW_POPUP EQ 'X'.
    %>
    <script>
    function call_help(name)
    var result = window.open(name,"helpWindow", "status=no, menubar=no width=730,height=550");
    result.moveTo(100,40);
    </script>
    <%
    endif.
    %>
    And in between <FORM> Tag Call This Function Like
    <script>
    call_help("<page Name.htm>?Key=<%= Key %>");
    </script>
    Do not use these code as u were using earlier
    onCellClick = "onCellClick"
    <htmlb:link id = "link"
    onClientClick = "return popitup('mat_move.do?key=11')">
    </htmlb:link>
    Do Remember to clear the SHOW_POPUP Flag on request of the page at each time.
    <b>What I am trying to do is , On click of the table control i will trigger a server event.
    i the server event i will set the flag SHOW_POPUP and navigate the data that is required on the popup window through navigate->setparameter().
    now when the layout will be refreshed it will check the SHOW_popup Flag. If it is set, it will define the javascript fuction, otherwise skip that code.</b>
    I think This will definitely help you , If you find any problem do revert back....

  • Open a new window by clicking on a link using Personalization

    We have a requirement in personalization mode.
    i want to create one link,called "Customer Credit Information" when user clicks on that link it should open in another window.
    if anybody knows how to do it using personalizaion,can you throw me some points?

    set the destination URI and targetFrame property to _blank which will make the new window popup automatically                                                                                                                                                                                                                           

  • Open a new window while clicking on the command button

    Hi,
    Can I open a pdf report in a new window when adf command button is clicked?
    I am using jdev11g
    Thanks

    Hi John,
    I found the goButton's destination expression do not read value from any controls e.g.: Input Text.
    Is there anyway to read some value, that input by user not in the db, on the screen?
    e.g.: I have a Input Text for user to input a date to print the report. I've tried to binding the control in backingBean, but I get a null value from the goButton's destination function.
    the jspx:
    <af:inputText label="Search" id="it1"
                            value="#{backingBeanScope.backing_goUrl.it1Value}" autoSubmit="true"/>
    <af:goButton text="goButton 1" id="gb1" targetFrame="_blank"
                           destination="#{backingBeanScope.backing_goUrl.searchURL}"/>in the backing bean:
    public class GoUrl {
      private String it1Value;
      public String getIt1Value() {
        return it1Value;
      public void setIt1Value(String it1Value) {
        this.it1Value = it1Value;
      public String getSearchURL() {
        String s = getIt1Value();
        return "http://www.google.com/search?hl=zh-tw&q="+s; // the result of s is always null.
      }Cheers,
    Samson Fu
    Edited by: Samson Fu on Aug 31, 2010 1:46 PM

Maybe you are looking for