Opening a view from another view of the same window in diff Browser.

Hi Experts,
My requirement is to open a view (say view 2) from another view (say view 1) with click of a button in a different browser, both the views are embedded into the same window, and also i have to pass some data from view1 to view2, based no the input data, i am displaying some information. Also both views belog to the same component.
Some pointers on this would be of great help.
Regards,
Ashish.

You would need to open another window.
See if_wd_window and if_wd_window_manager.
Call the GET_API to get a handle to window manager.
The new window can show V2.
The original Window with 2 views,
must fire plug to navigate v2 to empty view to hide it from Window1.
The to Views talk to one another via WDC Controller.
View 2 calls WDC controller methods.  The WDC controller the fires Event.
View 1 can listen to this event with a method of type event handler.
View 1 can for example react to button on View 2 and close WINDOW 2.
Good luck
Phil.

Similar Messages

  • How to refer one view from another view?

    Hi,
    I have 2 views in my Adobe Flash Builder mobile app. I need to refer the first view in my second view.
    How to refer one view from another view? Or how to create a reference to a view wherever needed?

    I don't need any data from my first view. In a certain flow, I need to make my first view to be invisible.
    for eg., My First view is in portrait mode. I change the device to Landscape. In the landscape mode, I want to show a completely different view (second view).
    In this case, what happens is, I see my first view in Landscape mode for a second. Then the second view appears. When I change to Landscape mode, only the second view should be seen. I need to make my first view to be completely invisible in the OnOrientationChanging event of
    StageOrientationEvent
    As stage object and StageOrientationEvent works at application level, I need to know how to refer my first view object in the application level.
    private function onOrientationChanging(soe:StageOrientationEvent):void
          MyFirstView.Visible = False; ====> don't know how to refer MyFirstView here
    Is my question clear now?

  • How to open another iView in the same window

    Hallo,
    I user following code for opening iView:
    String iView = "http://server/irj/portal?NavigationTarget=ROLES://portal_content/example";
              this.getForm().addRawText("<SCRIPT>\n");
              this.getForm().addRawText("EPCM.doNavigate('" + iView + "',"
                             + "'1',"
                             + "'toolbar,menubar,resizable,scrollbars',"
                             + "'',"
                             + "'',"
                             + "'',"
                             + "''"
                             +
                        //","+
                        ");\n");
              this.getForm().addRawText("</SCRIPT>");
    ... but this open iView in new window. I'd like to open iView in the same window as the primary iView.
    Best Regards,
    Josef Motl

    Hello all:
    And... How could I show some i-views with another contents in the same page, like this?
    photo
    IVIEW
    photo
    IVIEW
    Thanks,
    Alejandro.
    P.D.: Excuse my poor English.

  • Whenever I click the + Tab to open a new tab, it doesn't do anything. It seems like it has a safety lock on or something. It will not allow me to open up another tab in the same window.

    I try to open up another webpage on the same window, by clicking on the + Tab Button next to the current webpage Im viewing. For some reason it will not do anything. It will not open up.

    This problem has been associated with the Ask toolbar. You could try disabling it here:
    Tools > Add-ons > Extensions
    You may want to update to 3.6.17 to take advantage of security fixes.

  • Error occurred in deployment step 'Install app for SharePoint': The provided App differs from another App with the same version and product ID.

    I am facing this problem while start debugging the Provider-Hosted app through VS2013. I want to deploy the app with same version. So please let me know any solution
    to remove the app instance from office365 online, so that I can deploy the same app with same version on the specified "Developer Site".
    Note: If I change the version in AppManifesst.xml file then this problem/error gets resolved. But I want to deploy with the same version as
    per my business requirement.
    The actual error renders while I click to "Start" button of the Visual Studio 2013 to deploy the provider-hosted app, for the sake
    to deploying it on say "ABC" site collection (i.e. developer site). I work on office365 online. Therefore, request you to please provide the solution for SharePoint online office 365. The occurrences is:
    "Error occurred in deployment step 'Install app for SharePoint': The provided App differs from another App with the
    same version and product ID."
    Please assist me anyone. It will be so kind of you.....
    Naveen Kumar
    Steria India Ltd.

    Did you updated the  AppManifest.xml file
    and change the version.
    If this helped you resolve your issue, please mark it Answered

  • UPDATING A TABLE WITH SAME INFO FROM ANOTHER TABLE ON THE SAME DB

    0down votefavorite
    I am trying to update a table with info from another table on the same db with same table name. I just want the info to be the same , no primary key or constraint involve just a straight replacement of records and I keep getting errors WITH THE TABLE not
    being recignize. below is my query:
    UPDATE
    VNDFIL
    SET EOBTYP
    =  VNDFIL.EOBTYP, 
    EDI_X12_835_VERSION =  VNDFIL.EDI_X12_835_VERSION
    FROM
    AGERECOVERY
    WHERE
    VNDFIL.EOBTYP
    = VNDFIL.EOBTYP
    AND
    VNDFIL
    .EDI_X12_835_VERSION
    = VNDFIL.EDI_X12_835_VERSION

    Hi rotary,
    If those two same named tables are in the same database then they have to be in different schemas. If you mean they are in the same server instance, then they may be in different databases, besides the "table not being recognized" error,
    anyway you should use the fully qualified table names, that is database.Schema.Table(If across instances, ServerName should be prefixed) to avoid the table unrecognized error.
    Using Identifiers As Object Names
    With the fully qualified names, your update statement can be like below.
    UPDATE
    db1.schema1.VNDFIL
    SET EOBTYP = srcTbl.EOBTYP, EDI_X12_835_VERSION = srcTbl.EDI_X12_835_VERSION
    FROM
    db1.schema2.VNDFIL srcTbl
    WHERE
    db1.schema1.VNDFIL.EOBTYP = srcTbl.VNDFIL.EOBTYP AND
    db1.schema1.VNDFIL.EDI_X12_835_VERSION = srcTbl.VNDFIL.EDI_X12_835_VERSION
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Navigate to another application in the same window

    How can I navigate to another application in the same window? I know how to open in a new browser.
    Also, I cannot give a linktourl UI. I have to do it on click of a button.
    I can get the URL. How to go there now?
    Thanks in adv.

    Hi Shweta,
    You can get a URL to a webdynpro application and also navigate to it. I used  below code snippet,
    METHOD onactionclick .
    * Data Declarations
    DATA:
    lr_ref TYPE REF TO ig_ZWDA_APP1,
    str TYPE string.
    *Get the URL of the Application
    CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
        application_name = 'ZWDA_APP2'
    IMPORTING
       out_absolute_url = str.
    *Reference of Window
    lr_ref = wd_this->get_ZWDA_APP1_ctr( ).
    * Fire Exit Plug
    lr_ref->fire_go_exit_plg(
    url = str
    ENDMETHOD.
    u can modify it so that ur current application is not closed or that new application gets launched in seperate browser window.
    Greetings
    Prashant

  • Refresh/Reprocess view from another view.

    Hi all,
    I'm facing a problem with reprocessing a view in webgui:
    In component BT126H_CALL i've created a new assignment block ZREGDETAILS based on a Z-table which contains products.
    Also in component BT126H_CALL i've enhanced a view SCDETAILS and added a total-field (ztotal) that should show the total value of the records in ZREGDETAILS.
    My problem is now that view SCDETAILS is processed before ZREGDETAILS, so I cannot update the ztotal field... How can I call the SCDETAILS to be reprocessed again from the ZREGDETAILS view?
    In other projects I used folowing code for calling the save event on ZREGDETAILS from another view. But in this case the SCDETAILS is not a subcontroller of ZREGDETAILS.
      DATA: sub_contr TYPE REF TO CL_BSP_WD_VIEW_CONTROLLER,
            contr_regdetails TYPE REF TO ZL_ZBT126H__REGDETAILS_IMPL.
      sub_contr = ME->GET_SUBCONTROLLER_BY_VIEWNAME('ZBT126H_CALL/ZRegdetails').
      IF sub_contr is bound.
        contr_regdetails ?= sub_contr.
        contr_regdetails->Save( ).
      ENDIF.
    Many thanks in advance!
    Siegfried

    Hi Pooja,
    According to my understanding on action of radio buttons i hope you are calling some other component so on action of the radio  button may be it might be any of the radio button u can set the radio buttons as it was initially and then call the screen ...
    Setting the radio buttons should be done in the action of radio buttons... By doing this i hope that radio buttons will be set and second view also will be calleed when we go back to the screen we can view the radio buttons refreshed.. Try this hope it might be helpful...
    Regards,
    Sana.

  • How to navigate from webdynpro view to bsp page in the same window?

    hi i want to call a page by its url.
    i am using the "create_external_window" method.
    but it is displying my url in a new window.
    i want to display it in the same window.
    the second page i want to call is a bsp page.
    i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
    it displays nothing.
    thanks for your hints.

    >
    Achref zaidi wrote:
    > hi i want to call a page by its url.
    > i am using the "create_external_window" method.
    > but it is displying my url in a new window.
    >
    > i want to display it in the same window.
    > the second page i want to call is a bsp page.
    >
    > i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
    > it displays nothing.
    >
    > thanks for your hints.
    Hi,
    Navigate_absolute method has navigation mode. Can you please tell me what you mean by nothing happens ? This will work only in Portal environment.
    So if you try with portal then remember to use  Navigation_mode as inplace.

  • Navigate to another page in the same window problem

    Hi,
    I have a problem with the following scenario:
    When a user clicks on a link in a portal, a web dynpro page opens in new window with the url similar to this
    http://server:port/irj/servlet/prt/portal/prtmode/runtime/prtroot/pcd!3aportal_content!2fCompany!2fIntranet_v2!2fApplications!2fZZ!2fPages!2fBrowseCopies
    So basically in this way we only want to display this single application, without portal top level navigation, inner page, masthead etc.
    The problem occurs when we try to implement navigation from this web dynpro application to another page
    When we use WDPortalNavigation a new window opens but we want the navigation to happen in the same window.
    We cannot use LinkToUrl control with _self parameter because its not supported.
    We also cannot use HttpServletResponse by getting it through com.sap.tc.webdynpro.services.sal.adapter.core.IWDWebContextAdapter class.
    We also cannot use ExitPlugs because the error occurs with the message that the ExitPlugs cannot be used in portal.
    Basically I need a redirect to another page. Any ideas how to solve this problem?
    Regards,
    Ladislav

    Hi,
    the link which initially opens this web dynpro application page is contained in a html page.
    Here is the code:
    WDPortalNavigation.navigateAbsolute(
      "ROLES://portal_content/Company/Intranet_v2/Applications/ZZ/Pages/PurchaseRequests",
      WDPortalNavigationMode.SHOW_INPLACE,
      WDPortalNavigationHistoryMode.NO_HISTORY,
      "requestNr="+wdContext.currentContextElement().getRequestNr());
    Regards,
    Ladislav
    Edited by: Ladislav Pomezny on Jul 2, 2009 1:23 PM

  • Opening Hyperlinks inside Excel WebAccess webpart in the Same Window

    I was trying to access Excel Web parts hyperlink like below, but this solution is not working for me.
    $(document).ready(function() {
    $(".ewr-sheetcontainer a").each(function(){
    $(this).attr("onclick","openLink(this)");
    function openLink(Atagproperties)
    Atagproperties.target = "_self";
    Problem is .ewr-sheetcontainer has role="Presentation" atttribute,
    which says it will delete the contents from accessible tree. 
    Is this the reason it is not working for me? or Am I missing anything?
    Appreciate your help on this. Thanks, Maddy

    Hi,
    According to your description, my understanding is that you want to set the hyperlink in Excel Access Web Part opening in the same window.
    As the excel access web part is dynamic loading after the page load, so when the page has loaded, the excel web part element has not been loaded completely.
    I suggest you can use setInterval method to run function circularly until the excel access web part has loaded in the page.
    Here is a code snippet for your reference:
    <script src="http://code.jquery.com/jquery-1.10.2.js" type="text/javascript"></script>
    <script type="text/javascript">
    var $a;
    var interval;
    $(document).ready(function(){
    interval = setInterval(ready, 1000);
    function ready()
    $a = $('div.cv-nwl a');
    if($a.html()!=null)
    $a.attr('target','_self');
    clearInterval(interval);
    </script>
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How modify data one view from another view in Cluster view

    Hi,
    I have a cluster view which includes two independent maintenance views. These views have not a direct relationship.
    If I would append or change or delete records in the first view I want to add or change or delete some records in the second view.
    1.
    I have tried to use Extended Table Maintenance Events of the first view to modify the second but I cant access to the TOTAL and EXTRACT tables the second view from the fist view.
    Is there any way to get access from one view to another using Extended Table Maintenance Events?
    2.
    I have tried to use the Event 04/VC: Before Saving the Data in the Database of the cluster view. I can access and modify the second view internal table using routines
    READ TABLE vcl_struc_tab WITH KEY object = 'ZFIRST_VIEW' INTO structab_wa.
    if  not structab_wa-UPD_REQU is initial.
       perform VCL_SET_TABLE_ACCESS_FOR_OBJ using 'ZSECOND_VIEW' changing error_flag.
       it_tbl_second = <VCL_TOTAL>.
       loop at it_tbl_second into wa_second.
         wa_tbl_second-vim_action = 'U'.
         modify it_tbl_second from wa_second
       endloop.
    endif.
    But to save modified entries of the second view to database I have to twice press SAVE buttons.
    The first time I have pressed SAVE above routines are executed and modified entries appear only in the second view internal table. The second time I have pressed SAVE modified entries appear in the database.
    I would like user press SAVE button only once. How I can do it?
    Regards,
    Malnor
    Edited by: Malnor on Nov 30, 2010 9:11 PM

    If I would append or change or delete records in the first view I want to add or change or delete some records in the second view
    Without a dependant field how will you perform this operation ?
    You have to link the fields in the tables, generate maintenance view, add it to cluster view and do it.

  • UI5 load view from another view

    Hi all,
    I'm trying to load a view from an external project. The idea being that a view can be used by multiple projects to cater for reuse e.g a view that has different view modes, user role privileges etc.
    however I can't seem to find a way to find out how to do it. I've been trying to use the sap.ui.localResources function but that only looks locally (obviously). I can also register the folder structure using the jQuery.sap.registerModulePath but then when trying to combine it with embedding a view, it uses a different path, off the UI5 resource root.
    Has anyone else been able to do this? It feels like something that should be possible (like normal web project dependency) but I can't figure it out.
    If you can help or refer me to some documentation then that would be great!
    Thanks
    Mark

    the issue was because of the path name ABC
    since you views in project two are defined using application.viewOne / application.viewTwo -
    i had to register the path using the same name
    $.sap.registerModulePath("application", "../projectTwo/application");
    var view2 = sap.ui.jsview("application.viewTwo");
    here is the index.html
    <!DOCTYPE HTML>
    <html>
      <head>
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <script src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
      id="sap-ui-bootstrap"
      data-sap-ui-libs="sap.ui.commons"
      data-sap-ui-theme="sap_goldreflection">
      </script>
      <!-- add sap.ui.table,sap.ui.ux3 and/or other libraries to 'data-sap-ui-libs' if required -->
      <script src="js/bootstrap.js"></script>
      <script>
      sap.ui.localResources("application");
      var view = sap.ui.jsview("application.viewOne");
      view.placeAt("viewOneContainer");
      //$.sap.registerModulePath("ABC", "../projectTwo/application");
      $.sap.registerModulePath("application", "../projectTwo/application");
      var view2 = sap.ui.jsview("application.viewTwo");
      view2.placeAt("viewTwoContainer2");
      </script>
      </head>
      <body class="sapUiBody" role="application">
      <div id="viewOneContainer"></div>
      <div id="viewTwoContainer2"></div>
      </body>
    </html>

  • Can't open a jsp in a pop up or iframe from another jsp in the same portlet

    Hi There,
    I have a simple struts portlet "MNPPortlet" it contains some JSPs as the below hirearchy
    MNPPortlet
    WebContent
    pages
    A.jsp
    B.jsp
    I just want to open B.jsp in a popup window or in an iframe from A.jsp, I have tried the following
    1- window.open("B.jsp")
    2- <IFRAME src="B.jsp">
    but it doesn't seem to work, I always get 404 page not found error, since it generates wrong URLs, any ideas how can i get the right URIs generated ?
    P.S. it's working fine as struts application, not portlet
    Thanks alot

    Thanks guys for reply
    @Sadhu, yes this works <%=request.getContextPath()%>/<location of your Jsp>/B.jsp
    but i thought i can get something to generate the location of my jsp (the portlet module folder) dynamically, since the page I'm referring to is on the same location of the caller page
    @Kevin, I have tried <render:resourceUrl path="B.jsp" /> but this only gets localhost:7001/b.jsp
    I have tried also <render:resourceUrl contextualPath="B.jsp" /> this gets the url with the context root appended localhost:7001/applicationRoot/b.jsp
    both of them didn't get the complete URL
    the only thing that works is using <render:getJspUri> to get the URI of the page I'm in , then appending the "B.jsp" to this , is this really the only way ?
    what about netui ?
    Sorry but I'm beginner on weblogic portal, really appreciate your help :)

  • How can I import photos from photo stream to windows photo gallery? These photos are not on the camera roll on my iPad but are from another iPad on the same iCloud account.

    I work at a Learning Center that has 12 iPads on the same iTunes and iCloud account.  Each classroom uses an iPad assigned to their room to take photos.  Each of these photos then shows up in the Photo Stream in all 11 of the other iPads.  I have no trouble importing photos that are in the Camera Roll of any individual iPad, but I have not been able to import photos from the Photo Stream if the picture was not taken on the specific iPad I am using.  It is not feasible for me to collect all 12 iPads everyday to import everyones photos, so how can I use one "master" iPad that will let me import photos from the Photo Stream since it has all the photos that everyone has taken? 

    You downloaded an iCloud backup to your PC?  I assume you mean you downloaded your photo stream to your PC.  What you may not know is that photo stream only keeps your photos for 30 days.  After that, they are deleted from photo stream but not from any device that already has them (such as your phone).  When you enabled photo stream on your PC you only had access to photos from the last 30 days since the others are no longer there, even though they remain on your phone.
    To transfer these to your computer at this point you have two options:
    Save them to the camera roll on your phone (by opening the my photo stream album, tap Edit, tap all the photos, tap Share, tap Save to Camera Roll.  (You can only import photos to your computer from the Camera Roll album.)  Then import them to your computer as described here: http://support.apple.com/kb/HT4083; or
    Use an app like PhotoSync, which can wirelessly transfer photos from any album between your devices/computers, including the my photo stream album.
    In the future, always import your photos from your camera roll to your computer via USB before deleting them.  Don't rely on photo stream or your iCloud backup to save your photos.

Maybe you are looking for

  • Yoga 8 and 10 Tablets - KitKat 4.4.2 - Wifi Connection and Notification

    After upgrading to KitKat 4.4.2, some customers report that sometimes after device awakes from sleep, the Wifi connection does not resume on their Yoga 8 or 10 tablets (B6000-F/H or B8000-F/H). Also, Notifications may not show the name of the connect

  • Reg:Convert DOCX to HTML

    Hi, I want to convert a microsoft word document(docx) to html using code. Can anyone help me in this context ... The doc which I am trying to convert will have Bullets,bold,italic,Images etc ... I am able to get the text but not the images and bullet

  • Downloading a missing song with iTunes Match

    On my second computer I had downloaded a song and it was deleted. iTunes now displays the missing file question mark. There is no option to download or play the song from iTunes Match. My assumption, is that if I delete the track it will delete from

  • Where condition in select query

    my requirement is this. I want to fetch some records from DB table. The field objnr has 12 characters. i will supply a substring of this field. the substring starts at the 3rd location of field. SELECT objnr FROM cosp INTO TABLE gt_itab              

  • Apache on Solaris

    This appears to be more of a Solaris problem than Apache and I KNOW I'm off-topic but I wasn't sure where else to post. I'm running 2.6 and Apache 1.3.14 (well not-running Apache :)) I was able to configure, make and make install for Apache. However,