EPCM.doNavigate within page

Hi all -
our problem is that we click on a sidebar iView and do a
EPCM.doNavigate to a 2nd iView on the same page, but
we want the 2nd iView to scroll to the location that was clicked on the first
the alerts are telling us the data is getting through
but the 2nd iView just loads (1st iView is questions 1-10)
2nd page is answers 1-10
on 2nd page we are trying EPCM.doNavigate to scroll to
the right location but not working

Hi Dennis,
I guess you have links in your iview and when clicked you want to call an iview of the same page and want them to be opened in the portal content area right.
Probably you could think of Dynamic navigation iviews then where such iviews appear in the portal content area
else have alook at this forum where they ve tried forwading control from one iview to another of the same page using EPCM.
EPCF - iView forwarding with EPCM.doNavigate()
Hope this helps,
Regards,
Uma.

Similar Messages

  • How to  EPCM.doNavigate in WD4J?

    Hi,
    I've a WD Java Application and want to add a LinkToAction UI Element to give an Iview Link.
    I want the link to be opened on the same page not as a popup.
    On JSP Pages of Header codes like below are working.
    a href="#" onclick="return EPCM.doNavigate ('ROLES://portal_content/pathtorole/ROLES/GeneralRole/Applications/ApplLink')">LinkText /a
    Via above link, when i click LinkText on page, it navigates to the ApplLink application within a role on the same page.
    How to simulate same with WD Java?
    regards
    Message was edited by:
            HUSEYIN BILGEN

    Hi Huseyin,
    In WD4J you need to use portalNavigation:
    WDPortalNavigation.navigateAbsolute(
      "ROLES://portal_content...",
      WDPortalNavigationMode.<MODE>,
      WDPortalNavigationHistoryMode.<MODE>,
      null);
    Omri

  • Pass parameter in EPCM.doNavigate

    Hello!
    I have JSPDynpage the button, that have OnClientClick:
    addPosButton.setOnClientClick("EPCM.doNavigate('ROLES://portal_content/Webdynpro/java_local_add_lot_position_jwd_nrj_applications_AddLotPositionApplication', 1, 'width=400,height=500');");
    It's open WebDynpro page in new window.
    How can I pass parameters into opening WebDynpro page?

    Found solution.
    Write doNavigation with parameter qqq=test:
    addPosButton.setOnClientClick("EPCM.doNavigate('ROLES://portal_content/Webdynpro/java_local_add_lot_position_jwd_nrj_applications_AddLotPositionApplication? sap-qqq=test ', 1, 'width=400,height=500');");
    In Object property of WebDynpro page iView fill field "Parameters to Pass from Page Request" with value qqq (without sap-)
    Than in WebDynpro page get parameter:
    WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter( "sap-qqq" )

  • URL change in EPCM.doNavigate

    Hi Devina,
    one idea, two remarks:
    1.) Just try to set the onClientClick programmatically, that is before closing the button (</hbj:button>), call setOnClientClick on the button object. <i>Maybe</i> the encoding only happens by the taglib... (just an idea, didn't check it).
    2.) You have a strange parameter passung URL of the form blabla/blubblubb&p=1=2 instead of something like blabla/blubblubb?p1=1&p2=2 or so... any reason for that?!?!
    3.) Hardcoding the PCD location doesn't sound like a good idea in general. Maybe a relative navigation could work, otherwise at least you should parametrize the PCD location.
    Hope it helps
    Detlev

    Detlev ....
    I am still stuck ...
    Now, I do get the number of the row clicked .. but i need to pass this value to the bean to get the corresponding employee to pass as a parameter to EPCM.doNavigate. But i guess it is not possible to pass a value frm javascript to java. Pls see the code..
    JSP
    <script language='JavaScript'>
    <% int i = 0;
    %>
    function test(){
    alert(' i am being passed to onclick of button ' + i);
    <b>pernr = <%=myTableViewBean.getModel.getValueAt(i,2) %>;</b>
    EPCM.doNavigate('ROLES://portal_content/com.hersheys.Hershey_Content/com.hersheys.Human_Resources/com.hersheys.hr.sap_mss_iviews/EmployeeExit?SCENARIO_PARAMS=PERNR=pernr',0);
    function test2(){
    alert(' selected row is ' + htmlbevent.obj.getClickedRow());
    i = htmlbevent.obj.getClickedRow();
    </script>
    <hbj:page title="AIP TeamViewer" >
            <hbj:form id="myFormId">
                   <%  pageContext.setAttribute("myRootNode", OrgSelectionBean.getTree());
                    OrgSelectionBean.renderTree(myFormId);
                   %>
              <hbj:tableView
               id="myTableView2"
               model="myTableViewBean.model"
               design="ALTERNATING"
               headerVisible="true"
               footerVisible="true"
               fillUpEmptyRows="true"
               navigationMode="BYLINE"
               selectionMode="SINGLESELECT"
               headerText="TableView example 1"
               onNavigate="myOnNavigate"
               visibleFirstRow="1"
               visibleRowCount="5"
               rowCount="16"
               width="500 px"
              >
              <% 
               myTableView2.setOnClientRowSelection("test2()");
               myTableView2.setJsObjectNeeded(true);
               %>
              </hbj:tableView>
    <hbj:button
                   id="ButtonSearch"
                   text="Retrieve Forms"
                   width="50px"
                   tooltip="Click here to search"
                   jsObjectNeeded="true"
                   disabled="false"
                   design="STANDARD"
                   onClientClick="test()"
                   />
              </hbj:button>

  • Why EPCM.donavigate doesnt work for Iview with isolation type embedded

    I am using EPCM.donavigate in JavaScript  in portal jspdynpage to navigate to different page. This works fine when my iView  isolation method is URL but it doesnt work when it is embedded. Am I missing something here? some import?
    Regards,
    Nitesh

    Hi,
    In Javacript of Portal jsp page, we are calling EPCM.doNavigate method  as below:
       function callfunc(obj,externalLink,rid,portalPageURL,InvalidLink)
                   return EPCM.doNavigate('ROLES://' + obj)     
    Final URL look something like this...
    portal_content/com.sap.pct/com.sap.prod_fld/com.sap.roles/com.sap.rol_career/com.sap.wks_1_1/Folder_2/com.sap.pag_1_1_2
    This Code works only for Iviews with URL Isolation but doesnt work with Embedded Iviews as my Page which contains this Iviews is also Embedded and Desktop is also embedded.

  • Parameters with EPCM.doNavigate

    Hi ,
    I want to call transaction and pass 2 parameters ,  one of them is to execute the screen ( like skip first screen in abap , or iview property ...show first page )..
    The first parameter passed but the execute parameter not working....
    The code :
    EPCM.doNavigate( 'ROLES://portal_content/xxx/iview?DynamicParameter=PRSNUM-LOW%3D"resnum'%26<b>okcode%3donli'</b>, 1)
    I try also ... sy-ucomm%3donli
    How to pass this parameter to make the screen execute ????
    Thanks

    Hi Faniel,
    You can use the following solutins:
    1) Crate another transaction iview and define the ok code, then, navigate to it.
    2) Use Application Integrator
    For example:
    document.location.href('/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.
    Transaction?System=<system name>&TCode=<Transaction
    code>&GuiType=WinGui&AutoStart=true&OkCode=<ok
    code>&DynamicParameter=<param name>%3D<param value>')
    res.write("document.location.href
    ('/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.
    Transaction?
    System=SAP_R3&TCode=ME9F&GuiType=WinGui&AutoStart=true&OkCode=ONLI&
    DynamicParameter=%3D123456');");
    Where:
    SAP_R3 is your backend system
    ME9F is the transaction
    OkCode is ONLI
    Parameter name is S_EBELN-LOW
    Parameter value is 123456
    res in the response component in your dynpage
    Omri

  • Epcm.doNavigate(): browser url changes

    Hi,<br>
    <br>
    i created a whole new navigation area. When using epcm.doNavigate, the url of the browser changes to the location of the current page.But i want it to stay the same: .../irj/portal.<br><br>
    I compared my code to the original topLevelNavigation, but i can't find any differences that could prevent this url change.<br><br>
    Any ideas?<br><br>
    kind regards,<br>
    Stephie<br><br>
    <script><br>
    function doMouseClick(clickedNode){<br>
         EPCM.doNavigate(clickedNode);<br>
    }<br>
    </script<br>
    ...<br>
    a href="#" onclick="doMouseClick('<%=node1stLevel.getHashedName()%>')"><%=node1stLevel.getTitle(locale)%>  </a

    Hi,
    do you have a real link or an HTMLB link?
    In HTMLB you just have to
    link.setOnClientClick("EPCM.doNavigate('ROLES://" + <yourTarget> + "', 0);");
    But even if it is no HTMLB you could try to set the mode as second parameter.
    0 or not specified: Depending on the setting of the WorkProtect feature the target is opened in a new window or on the current desktop.
    1: Open target in a new window, with no a portal header and navigation bar.
    2: Open target in a new window, with a portal header and navigation bar.
    Maybe that helps.
    Best regards
    Robert

  • Adding JUST ONE CELL to a table within Pages

    Hello,
    I would like to add +just one cell+ to a table within "Pages" - but as far as I can see the program only offers to add whole lines or columns. (Within "MS Word", you have the possibility to "add cells" in a table - you can decide whether you want to shift the other cells downward or to the right.)
    Do I miss something?
    Thanks for your help.
    nb.

    Maybe I should have said: Is there a function within Pages that is equivalent to the (very useful) one within Word. There isn't, I'm afraid.
    Can I adjust only the size of one cell (with the mouse, by clicking on the vertical/horizontal line) without changing the size of the whole column/line? I guess that it should be working - I didn't manage to do it - might be kind of tricky.
    As I said: Thank you!
    All the best,
    nb.

  • Navigation within page no longer working

    I am currently living in China and much to my dislike my mother and sister who live back home in the States are using my iMac as their main computer. I received an email from my mom today telling me that she cannot navigate within pages once she gets onto a website using Safari. Any idea what is causing this to happen? She did just have a new router and modem installed back home, if that has any impact at all.
    Also, when the man from AT&T was at our house looking at the computer he asked why we weren't running a firewall or any type of anti-virus software for the iMac. Both times I have bought a computer from Apple they have said I do not need to invest in any type of firewall or anti-virus software. Is this the general consensus or are most of you using some sort of anti-virus software?

    Jason --
    Welcome to Apple Discussions!
    We're not staff, but other Mac users here, asking questions and sharing solutions.
    OK -
    Basics first, I would think.
    After they had the modem and router installed, did it work correctly?
    Are your mother/sister ever emptying the Safari cache & History list?
    That would be my first guess, assuming it worked in the beginning.
    Your Mac has a firewall. It's very easy to turn on in System Preferences.
    That's all they need, IMHO.
    No other apps are necessary, as far as I'm concerned.

  • Additional parameter in EPCM.doNavigate

    Hi all,
    I would like to know if I can pass additional parameters in EPCM.doNavigate like
    EPCM.doNavigate("pcd://...."?name=value). If it is not possible is there anyother anyway of achieving it.
    Regards,
    Janvi.

    Sure you cud, if the recieving thing cud take it...
    Eg: If you want to pass some vlaue to a screen field on R3 Transaction Iview, then in the DynamicParameter part you wud say something like this:
    var myValue = 'XYZ';
    EPCM.doNavigate('ROLES://pcd_path/iview?DynamicParameter=P_Val%3d'+myValue,1);void(0);
    where P_Val is the screen field on transaction.
    Plz don forget points, if it helped.
    Regards,
    p.

  • EPCM.doNavigate

    Hello!
    I would like to navigate from one iView to another. I'm using javascript EPCM.doNavigate method.
    When User click on some button with this method new iview opens instead of current iview, but tab of current iview in top navigation is active.
    What can I do, that opening iview's tab become active?

    hi ,
    hope this will give some idea,  it has the parameter to pass to navigate from one view to anview
    http://help.sap.com/saphelp_nw04/helpdata/EN/26/71c74030308431e10000000a1550b0/content.htm
    and explain u r problem more clearly
    ravindra

  • For some reason, I cannot use tabs within pages with Mozilla. For example, if I am in yahoo mail, I cannot move from inbox to contacts

    The only thing that works are links but navigation within pages does not work.

    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

  • Table Problem x2 within Pages: 1) In the Header; 2) Maintaining a table's starting point when carrying over to the next page.

    Pages '09 v4.1
    Problem 1:
         I am working with a 2-column Page document. Its my goal to have three items listed in a header in particular positions. Far left shows the paragraph number the page starts with, in the center is a title of the contents of the page, and on the far left is the last paragraph number to appear. To place these three items in the desired positions requires the insertion of a lot of spacing on both sides of the 'centered' title along with counting the characters of the title to find its center to alighn with the center of the page. 253 pages of this to will qualify me to be labled with a severe case of Obsessive Compulsive Disorder. I don't want OCD.
         However, by installing a one row/3 column table in the header my task was made a lot easier in alighnments. But, another problem reared up. Within the header underneath the table is a vertical space remaining. This vertical 'tallness' is equivalent to the font size of 10. Its taking up too much space between the header and the text. It needs to be reduced or eliminated.
         On the left-hand page I am able to reduce the font as far down as '1'. I've settled on using '3'. However, on the right-hand page the font will not accept any size selections be they less or more and remains stubbornly at font 10. Within a Header that does not have a table, I am able to change the font of both left and right pages.
         Is there a another way to approach what I desire for the header other than installing a table in it? Is there a way to alter the font on the right hand pages?
    Problem 2:
         Whenever I create a table following text already on a page all is right until the table's growth in construction laps over to the next page. At that point the first row snaps to the top of the following page leaving an undesired area (space) between the last line of the text on the preceding page. Whenever I attempt to drag the table to the desired position it snaps back. This only happens when the table is larger than the remaining area of the page. If the table is started at the top of an unused page and runs beyond the confines of that page than it continues as expected onto the next page duplicating the table header. But to do this it must begin at the top of an unused page. Is there a means to have a table placed in the remaining space of a page and what does not fit continues to the next page in effect having a partial of the table on each page?
    So there you have it. Christmas is over and its back to work. Thank-you for your attention.

    Regards re-positioning a table:
    I went to Inspector>Wrap>Object Placement/Inline (moves with text) and found that the inline option was selected. Some of the rows within the table have two lines of text. Again, I dragged the table to the desired position on a page that is partially composed with text and got the same results as before -  the table snapping back to the top of the following page where it initially resided. In this current position the 2-page table does break as it should on the following 3rd page. Below is a schematic of the appearance of the 2-pages involved.
    Page 1 left side.
    TEXT 1-line as 1-column
    TABLE (5-rows)
    TEXT (2-columns) 14-lines left column and 13-lines right column.
    [Layout Break] otherwise the above textual columns would be all on the left side of the page.
    TEXT 1-line as 1-column
    * The desired insertion point for a two page table on a page that is 40% filled with the above descriptions.
    Page 2 right side.
    A 2-page table flowing or breaking into a 3rd page.
    Page 3 left side.
    The overflow of the subject table.
    [Layout Break]
    [Section Break]
    Is there some other way to anchor a table to the text other than Inspector>Wrap>Object Placement/Inline (moves with text)?

  • How to get web pages opening within pages?

    Just wondering how this is done or implemented. I visited and
    researcehd several websites a while ago and observed that pages
    were opening in pages instead of loading a new page.
    For example: You go to a web page, the links are all above
    under the page banner or on the side like in a side bar or Nav bar
    and the content are on the right or the middle of the page.
    So when you click on a link the page opens within the same
    page with out a new page loading, just the contents gets replaced
    but the entire page doesn't changed. Is this AJAX? I know you can
    do this with Frames but I dont want to use frames, are there other
    ways to get this accomplished?
    Please explained or reference resources.
    Thanks very much.
    Patrick

    opps.forgot the link:
    http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
    Sorry
    Jeff
    "Jeff" <[email protected]> wrote in message
    news:fpkbii$on7$[email protected]..
    > yes, there can be problems with frames and iframes, but,
    if your looking
    > for an easy solution its the way to go.
    > AJAX offers another option. You might try looking at
    this article, I
    > believe you can adapt it to do what you want.
    >
    > Jeff
    >
    >
    > "Jeff" <[email protected]> wrote in message
    > news:fpk313$fjf$[email protected]..
    >> <iframe src="
    http://www.domainName.com/whatEverPage.htm"
    width="480"
    >> height="450" scrolling="yes"
    name="content"></iframe>
    >>
    >> Jeff
    >>
    >>
    >>
    >> "Webethics" <[email protected]>
    wrote in message
    >> news:fpjjga$t5c$[email protected]..
    >>> Just wondering how this is done or implemented.
    I visited and researcehd
    >>> several websites a while ago and observed that
    pages were opening in
    >>> pages
    >>> instead of loading a new page.
    >>> For example: You go to a web page, the links are
    all above under the
    >>> page
    >>> banner or on the side like in a side bar or Nav
    bar and the content are
    >>> on the
    >>> right or the middle of the page.
    >>>
    >>> So when you click on a link the page opens
    within the same page with out
    >>> a new
    >>> page loading, just the contents gets replaced
    but the entire page
    >>> doesn't
    >>> changed. Is this AJAX? I know you can do this
    with Frames but I dont
    >>> want to
    >>> use frames, are there other ways to get this
    accomplished?
    >>>
    >>> Please explained or reference resources.
    >>>
    >>> Thanks very much.
    >>>
    >>> Patrick
    >>>
    >>
    >>
    >
    >

  • Links within pages in iWeb

    Maybe I'm missing something obvious, but I can't figure out how to create hyperlinks within a page in iWeb. Specifically, I'm trying to write a FAQ, and want to link individual questions listed at the top of the page with their answers further down in the page. Help???

    Those are called anchors and not supported by iWeb. Put in a feature request to Apple via http://www.apple.com/feedback/iweb.html.
    It can be done with HTML snippets and javascript as Cyclosaurus mentions here: http://widgets.cyclosaurus.com/Anchors/Anchorsfiles/widget0markup.html. But one must be proficient with javascript.
    There's a crude workaround with snippets that Peter Berglund describes in his blog: http://web.me.com/petber/iWebtips/iWeb_Tips/Entries/2009/2/22_How_to_use_Anchors_iniWeb.html. This Contents page uses that method for some of it's links - those that are green.
    Alternate solutions are with using rollovers like shown in this demo page: Show and Hide Text or using Fancy Zoom shown in the right hand example in this page: FancyZoom You could replace the photo with an image that says Click for Answer" or whatever and have the answer in a jpg file. Both are somewhat low tech solutions.
    OT

Maybe you are looking for