How to navigate from one view to another view?

Hi everyone facing a problem in navigation when i click on the list another view should be appear..
page1.view.js:-
list1.onclick=function(evt){
  $.sap.require("sap.ui.core.EventBus");
  var bus=sap.ui.getCore().getEventBus();
  bus.publish("nav","to",{
  id:"idDemoUI2",                       //..id of page2...//
  context:evt.getSource().getBindingContext()
page2.controller.js:-
onBeforeRendering: function(evt) {
  if (evt.data.context) {
         this.getView().setBindingContext(evt.data.context);
i have a list i want when i click one the row of that list another view will appear so i use onclick event on the list and then use bus for navigation and recieving data in the target page but its not working anyone please tell me  where i am wrong.
Regards
Kelvin

Hi Kelvin,
How about using Routing concept than the getEventBus. Below link should help:
Step 3: Navigation and Routing - User Interface Add-On for SAP NetWeaver - SAP Library

Similar Messages

  • How to use Go URL to Navigate from one report to another

    I have used Actionlink option to navigate from one report to another, It is nopt working on the dashboard because i used presentation variables in my first report and its throwing me an error below, I have to pass on id from one summary report to detail report, I have created Go URL, Do i need to use that URL in my summary report column formula ?
    Need some info ~ Thanks ~Srix
    An invalid object was accessed during evaluation.
    Error Details
    Error Codes: QBB4RZQS:SDKE4UTF
    Location: saw.views.evc.activate, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool, saw.threadpool, saw.threads
    Expression: report.variables['TimePeriod']

    Hi ,
    Please refer the below threads.
    How to Navigate from one report to another report based on column values
    Navigating from one report to another report
    Re: Navigate from Report 1 to Report 2 using Go URL
    Award points it is useful.
    Thanks
    satya

  • HOW TO MOVE FROM ONE JSP TO ANOTHER BY HIDING URL CHANGES

    HOW TO MOVE FROM ONE JSP TO ANOTHER BY HIDING URL CHANGES IN AN ADDRESS BAR

    Please check before posting that you have not accidentally turned on the CAPS LOCK feature of your keyboard.
    To answer your question. You can't do that. There are alterate ways to solve this sort of problem. What exactly is the nature of the problem you are seeking to solve?

  • How to skip from one list to another list in interactive report?

    Hi Friends,
    How to skip from one list to another list in interactive report that means now i am in 7 th list how to skip 4th list ?
    Or  now i am in 7 th list how to skip 9th list ?
    can anybody send sample code please.
    Thanks in advance.

    hi,
    at line-selection.
    case sy-lsind.
    when 9.
    sylsind = 4.
    endcase.
    try like this when u r in 9th list next it goes to 4 th list

  • How GroupArt remove from one layer to another.

    hi all,
    How GroupArt move from one layer to another.
    Thanks in advance.

    Hi Vijay,
    1) To add new events you have to define a custom action, e.g. under the settings of a button you can choose custom action and define a name for this action
    2) You have to add a custom action, e.g. "next" then you must connect the two layers (drag a line from one layer to the other) and change the event name into "next"
    3) you can pass data from one layer to another like you do it from a form into a rfc/query and so on
    There is also a tutorila available in the help:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/04/80aab03df044ec995000842e77e1be/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/04/80aab03df044ec995000842e77e1be/frameset.htm</a>
    The bank example shows you how to use layers as a wizzard.
    Best Regards,
    Marcel

  • How load data from One Infoobject to Another Infoobject?

    Hi GuRUS
    Any body has succeded in loading data from One Infoobject to Another Infoobject?
    Pls Let me kNow
    Regards
    Durai

    Hi Durai,
    Create export datasource on the info-object and then load the data to the other info-object.
    Check this link also:
    Re: How load data from Infoobject to another Infoobject?
    Bye
    Dinesh

  • How move apex from one server to another

    Hi All,
    I am just a beginner who has just started with APEX. Its strange but even though I am just a beginner I was given a task to move the current whole apex system from one server to another.
    Can any one help what the steps do I need to follow to do this?
    I also need to setup backup server to this new server so that in case this new server goes down, the backup one can be made productional.
    I think I should move apex first then move the whole database. Is there any tool or some thing which can do it for me?
    Thanks

    Hi,
    what you are being asked to do would be a complex task for an experienced DBA, which, judging by the way you have asked the questions, you are not, no offence intended.
    As far as I can see you have three options.
    1. Hire a consultant/contractor with the necessary skills to perform the tasks.
    2. Gain several years experience as an Oracle DBA, including Apex, backup and recovery and disaster recovery skills.
    3. Look for a new job.
    Sorry to sound facetious, but it is a ridiculous task you have been given assuming the skill and knowledge level you are coming from. Assuming you have not misrepresented yourself to your employer, this is not your fault and I think you need to seriously push back on your boss if possible.
    Regards
    Andre

  • How to copy from one Version to Another version with single click

    Hi Everone,
    Users wants to copy from one version to another version with single click only. I.e Actuals to Planning etc.,
    They don't want use standard COPY Data manager package to do this activity as this involves many steps.
    Please let me know Is there any way to COPY with single click. Thanks in advance!!
    Regards,
    Viswanath

    Hi Viswanath,
    Use /CPMB/DEFAULT_FORMULAS
    Then edit automatically created advanced script:
    PROMPT(SELECTINPUT,,,,"%CATEGORY_DIM%,%CURRENCY_DIM%,%TIME_DIM%")
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SELECTION,%SELECTION%)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,DEFAULT.LGF)
    Remove bold lines and change the script name in line with your script name:
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,YOURLOGICNAME.LGF)
    Vadim

  • 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                                                                                                                                                                                           

  • How to EXTRACT from one PHOTO to another

    How do I extract from one photo and place in another using PSE 19
    Message title was edited by: Brett N

    You probably mean PSE10 ---Typo?
    Use one of the selection tools, e.g. selection brush, lasso tool, to select the object on picture A.
    Go to Edit>copy to put it on the clipboard
    Open picture B
    Go to Edit>paste. A will be on its own layer
    Access the move tool to position A and to resize with the corner handles of the bounding box

  • HOW: Copy Routings from One Org to Another

    Dear All,
    Is there a way to copy Routings from One Org to all the Orgs in one shot. I mean do we have any program/ process which can be used to do this.
    We dont want to go in individual Routings and Copy others onto it from Tools Menu.
    Regards
    Vir

    Hi Vir,
    Open routing screen with organization = < org. in which you want to copy the new routing >
    Input item (assembly item) for which you want create a routing and press <TAB> key.
    Navigate thru following flow.
    MENU > TOOLS > COPY ROUTING FROM
    Input org. from which you want to copy the routing.
    Input item from which you want to copy the routing.
    Select Copy button.
    HTH
    sanjay

  • How send contacts from one group to another

    I have 2 groups ; iCloud and contacts from PC in my iPad. How do I copy contact from one group to another

    Hi,
    what you are being asked to do would be a complex task for an experienced DBA, which, judging by the way you have asked the questions, you are not, no offence intended.
    As far as I can see you have three options.
    1. Hire a consultant/contractor with the necessary skills to perform the tasks.
    2. Gain several years experience as an Oracle DBA, including Apex, backup and recovery and disaster recovery skills.
    3. Look for a new job.
    Sorry to sound facetious, but it is a ridiculous task you have been given assuming the skill and knowledge level you are coming from. Assuming you have not misrepresented yourself to your employer, this is not your fault and I think you need to seriously push back on your boss if possible.
    Regards
    Andre

  • How to move from one page to another page

    hi all
    we have a report,in that if i click on user name he has to go to another page,
    in that page i have created one prompt and one report ,there he has to select groups(prompt) and in that page only he has to see the report
    how to provide like to page, when user clicks on user_name in the report (can we make it out navigation option in column property?)
    thanks

    hi kishore
    now i got the point ,now it is working ,
    what i did is ,i have created two pages
    page1 contains ,user_name as a prompt and one report (in this report i have given column format-->navigate to another page for the first column)
    in page2 i have created one more prompt on group_name and a report (is prompt option i have given bez when use clicks on page1 report column based on that it has to display the report)
    here my problem is,wen i returns from page2 to page1 and again i try to apply filter on the report it is not happening ,it is showing the report with old filters
    (i have again selected the value from prompt and i clicked on go button,it is not applying any filter on the report it is showing the report with older filters)
    What is the problem
    thanks
    sreedhar
    Edited by: 791907 on Oct 15, 2010 10:24 PM

  • How to map from one table to another dependable on data from lookup?

    I'm new in warehouse builder and i wonder how to do something what is very easily done by sql..
    I want to map data from table_a to table_b, but not all rows - only those for which one of attributes in table_a have reference in table_c (is not null)...
    I suppose it should go somehow with lookup operator, but playing with it, I wasn't able to achieve goal..
    Thanks in advance for any help..

    Hi Zeljko,
    On of the easier ways (in my experience) of accomplishing this is to define a view which does a SELECT DISTINCT on table A and uses an EXISTS clause to exactly filter those records that you want to get into your target table (i.e. the ones that already have an occurrence in table C).
    And if performance is an issue, you could experiment with FIRST_ROWS hint or rownum=1 in the EXISTS clause.
    Cheers, Patrick

  • How to navigate from WD iView to another WD iView

    Hi experts,
    I'm wondering the best way to do a navigation from WD to another one, I've triyed absolute and relative navigation and neither of two works.
    I'll try to explain what am I doing:
    Application A wich is running in a iView needs to call an Application 2 located in another iView (separate WD project too).
    <b>my code looks like this:</b>
    DATA: l_api_component  TYPE REF TO if_wd_component,
            l_portal_manager TYPE REF TO if_wd_portal_integration,
            path             TYPE string,
            path_table       TYPE string_table.
      l_api_component = wd_comp_controller->wd_get_api( ).
      l_portal_manager = l_api_component->get_portal_manager( ).
    path = 'ROLES://portal_content/fl_mjcf_workarea/fl_mjcf_web_site_unimet/fl_mjcf_ivews/fl_mjcf_intranets/fl_mjcf_int_estudiante/iv_mjcf_web_pagos'
    CALL METHOD l_portal_manager->navigate_absolute
        EXPORTING
          navigation_target   = path
          navigation_mode     = if_wd_portal_integration=>co_show_inplace
         window_features     = navigation_data-window_features
         window_name         = navigation_data-window_name
         history_mode        = navigation_data-history_mode
         target_title        = navigation_data-target_title
         context_url         = navigation_data-context_url
         post_parameters     = navigation_data-post_body
          use_sap_launcher    = abap_true
         business_parameters = bus_parameter_table
         launcher_parameters = launcher_parameter_table.
    I don't know what am I doing wrong, but, the application is not showing anything, no error, no message.
    Please any suggestion is really apreciated and of course rewarded.
    Thanks in advance.
    RR.-

    Hi,
    Thanks for your reply I found that the PCD location was wrong, I wasn't copying from the role, that's why the application didn't navigate ritgh. But still havin problems with parameters.
    Do you have any idea? and thanks for your reply.
    Ramien.-

Maybe you are looking for

  • How to set up toggle between fields on a form in Adobe Acrobat?

    I've got a client who wants an interactive PDF form, which I've done a fair few of now. They have been the first people to raise this issue something that has bothered me as long as I've been doing them "Can you set it up to toggle to through to the

  • Urgent: FI Configuration

    Dear all, I'm facing the problem After I configure FI,  on the screen Enter Vendor invoice/ Payment Tab (T.code:FB60)  I lack some fields for inputing accounting entries data such as : payment term, Discount (where I enter cash discount amount if thi

  • Desktop screen keeps flashing black and dock has disappeared. iMAC X Yosemite 10.10.1

    Recently I updated my iMac to OS X Yosemite 10.10.1. All was operating smoothly for a few weeks until one day i started up and logged in my dock was nowhere to be seen. The desktop screen started flashing black replacing my desktop image. None of my

  • Swing-L&F

    Hello, Does anybody know some free, HiDPI scalable Look and Feel for Swing? I need L&F that works well (scaling components, borders, fonts and so on) on HiDPI screens. Thanks.

  • Illustrator CS6 now needs legacy Java SE 6 runtime?

    Help. I tried to open my Illustrator CS6 today and got the following error message, "To open Adobe Illustrator CS6 you need to install the legacy Java SE runtime". The window then states, "Click More info...to visit the legacy Java SE 6 download webs