Capturing navigation event

Hi
Im using webdynpro to create a help application/iview.
The help should be page sensitive for example, if i have iview1 and the help iview on a page, the user chooses to navigate to page 2 of iview1 using those navigation buttons of an iview, then the help page should change/refresh to the help of iview1 page2.
I hope this makes sense
I want to raise an event when user chooses navigation button and send a page number parameter. So the help iview will subscribe to the event and refesh accordingly.
How do I capture the navigation event ?
Any help is appreciated.
Thanx

Hi,
Create an event handler for the on enter event of the navigation button and pass the required parameter through the Url
WDDeployableObjectPart deployableObjectPart=WDDeployableObject.getDeployableObjectPart(deployableObjectName,<TargetApplication name>,WDDeployableObjectPartType.APPLICATION);
         String urlToTarget=WDURLGenerator.getApplicationURL(deployableObjectPart);
append the parameter to the urlToTarget
Hope this would help
Do revert for clarifications
Regards
Noufal

Similar Messages

  • How to Capture Button event on TrainBean navigation

    Hi All
    i m being required to capture a button event in train bean Navigation, i m doing customization in Iexpense Module,here in Create IExpenseReport i need to capture the events of Remove,Return etc.how is it possible any clue would be very helpful.
    Thanx
    Pratap

    try this..
    if (GOTO_PARAM.equals(pageContext.getParameter(EVENT_PARAM))
    "NavBar".equals(pageContext.getParameter(SOURCE_PARAM))
    // This condition checks whether the event is raised from Navigation bar
    // and Next or Back button in navigation bar is invoked.
    int target = Integer.parseInt(pageContext.getParameter(VALUE_PARAM));
    // We use the parameter "value" to tell use the number of
    // the page the user wants to visit.
    String targetPage;
    switch(target)
    case 1: targetPage = "/oracle/apps/dem/employee/webui/EmpDescPG"; break;
    case 2: targetPage = "/oracle/apps/dem/employee/webui/EmpAssignPG"; break;
    case 3: targetPage = "/oracle/apps/dem/employee/webui/EmpReviewPG"; break;
    default: throw new OAException("ICX", "FWK_TBX_T_EMP_FLOW_ERROR");
    HashMap pageParams = new HashMap(2);
    pageParams.put("empStep", new Integer(target));
    pageContext.setForwardURL("OA.jsp?page=" + targetPage,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    pageParams,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO, // Do not display breadcrumbs
    OAWebBeanConstants.IGNORE_MESSAGES);
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Capturing the event on clicking the af:train stop icon

    We are using an af:train as follows
    <fnd:applicationsPanel>
    <f:facet name="appsPanelTrain">
    <af:panelGroupLayout layout="horizontal" halign="center"
    id="panelGroupLayout2">
    <af:train value="#{controllerContext.currentViewPort.taskFlowContext.trainModel}"
    id="train1"/>
    </af:panelGroupLayout>
    </f:facet>
    </fnd:applicationsPanel>
    I see the train stops on top of my page as expected. I can skip the train stops by directly clicking on the stops on top of the page.
    Is there a way to capture the event of this click?

    This should help
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/97-deferred-trainstop-navigation-1528557.pdf

  • Capture PDF Events in Web Page

    Hi Team,
    I am not sure whether this is the right forum for my requirement. Provide me the correct location incase this is not the one.
    I have the following requirements
    To embed a pdf document in a web page (build using asp.net)
    Capture the page navigation events. This is to ensure the user visits the last page of the pdf document.
    First requirement can be easily solved by using a iframe. But that will leave me having no control over the pdf document.
    Hence I am looking for any control which takes the file path and displays the pdf document and the control also raises the events(next button clicked, previous button clicked, etc).
    Any help in this regard will be grateful.
    regards,
    Chandra.

    Thanks Leonard for your useful inputs.
    One more request.
    If I embed the PDF (containing acrobat javascripts) in a webpage, then can the javascript in the PDF communicate with the Web Pages javascript running in the browser. Something like pdf javascript function invoking the page's javascript function(to notify an event like Nth page loaded).

  • Unable to capture button event in pageLayout Controller

    Hi Guys,
    I have the following layout
    pageLayout
    pageLayoutCO (controller)
    ----header (Region)
    ----------messageComponentLayout (Region)
    -----------------MessageLovInpurt
    -----------------MessageChoice(Item)
    -----------------MessageTextInput
    -----------------MessageLayout
    ----------HideShow (Region)
    -----------------MessageLovInpurt(Item)
    -----------------MessageChoice(Item)
    -----------------MessageTextInput(Item)
    -----------MessageComponentLayout (Region)
    -----------------MessageLayout
    ------------------------SubmitButton(ID:SearchBtn)
    ------------------------SubmitButton(ID:ClearBtn, fires partial action named clear)
    -----------header(Region)
    I am not able to capture the event fired by the button ClearBtn in the controller of the pagelayout.....
    The two methods I used as follows aren't worked:
    if ("clear".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    if (pageContext.getParameter("ClearBtn") != null) {
    what should i do in order to capture the button event in the pageLayout Controller
    Thanks in advance
    Mandy
    Edited by: user8898100 on 2011-8-2 上午7:49

    Mandy,
    Its really strange that its not able to caputure the event in CO.
    Below is the way in which we handle to Submit action at CO level.
    /Check whether ClearBtn is same in case too.
    if(pageContext.getParameter("ClearBtn")!=null){
    System.out.println("Inside the Clear Btn Action");
    Regards,
    Gyan

  • Unable to capture onClick event of htmlb:image in a controller

    Hi,
    I am trying to capture onClick event of an htmlb:image (which is present in my view) in DO_HANDLE_EVENT method of my controller.
    Surprisingly, when I click the image, page does refreshes. But the event in not captured in do_handle_event method. Control never reaches that method. Whereas if I put onClick event of a button, it is easily captured in do_handle_event method.
    Ex. code in my view is:
    <%@page language="abap"%>
    <%@extension name="bsp" prefix="bsp" %>
    <%@extension name="htmlb" prefix="htmlb"%>
        <htmlb:image id      = "searchimg"
                     src     = "consvalue.jpg"
                     onClick = "search"  />
        <htmlb:button id="searchbutton" onClick="search"
                                     text="Event Test"/>
    Now, the button event is captured, but not the image event.
    Any idea why this might be happening?
    Regards,
    Kaushal

    Hi Kaushal,
    are image and button enclosed by <htmlb:form> ?
    Please post your of do_handle_event, where you look for the event.
    Regards,
    Sebastian

  • How to capture the event in driver JSplitPane

    Hi all, i have some problem with the JSplitPane.
    What i want to do is that:
    i need to capture the event throw when the user press the button in the driver of the JSplitPane, this is because i want to know wich side of the splitpane is complet visible.
    Thanks for your time!
    Luca

    I thought I would do up an example just for fun. As you drag the splitter bar the size of the two components and the splitter component is reported to the console along with the divider location. Interestinly, on my system (Windows XP, Java 1.41_02) when you move the bar downwards the divider location is consistantly two pixels past the height of the top component but when you drag the bar upwards the divider location and the height of the top component are the same.
    Does anyone have any ideas why that would be?
    Here is the test app:package splitPaneMonitor;
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.beans.PropertyChangeEvent;
    import java.beans.PropertyChangeListener;
    import javax.swing.JFrame;
    import javax.swing.JSplitPane;
    import javax.swing.JTextArea;
    public class SplitPaneFrame extends JFrame implements PropertyChangeListener  {
         public SplitPaneFrame()  {
              super ("Split pane test");
              //  Create the components to show in the split pane
              myTopComponent = new JTextArea ("This is the top component", 10, 40);
              myBottomComponent = new JTextArea ("This is the bottom component", 15, 40);
              //  Create the split pane
              mySplitter = new JSplitPane (JSplitPane.VERTICAL_SPLIT , true, myTopComponent, myBottomComponent);
              mySplitter.addPropertyChangeListener(JSplitPane.DIVIDER_LOCATION_PROPERTY, this);
              getContentPane ().setLayout(new BorderLayout ());
              getContentPane ().add (mySplitter, BorderLayout.CENTER);
         public void propertyChange (PropertyChangeEvent evt) {
              if (evt.getPropertyName () == JSplitPane.DIVIDER_LOCATION_PROPERTY)  {
                   System.out.println ("Split pane divider moved");
                   Dimension size = myTopComponent.getSize ();
                   System.out.println ("    The top component's size is: " + size.height +" h, "+ size.width + " w");
                   myBottomComponent.getSize (size);
                   System.out.println ("    The bottom component's size is: " + size.height +" h, "+ size.width + " w");
                   mySplitter.getSize (size);
                   System.out.println ("    The splitter's size is: " + size.height +" h, "+ size.width + " w");
                   System.out.println ("    The splitter divider location is: " + mySplitter.getDividerLocation ());
         private JTextArea myTopComponent;
         private JTextArea myBottomComponent;
         private JSplitPane mySplitter;
         public static void main(String[] args) {
              SplitPaneFrame appFrame = new SplitPaneFrame ();
              appFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              appFrame.pack();
              appFrame.setVisible (true);          
    }

  • Not able to capture button event in pageLayout Controller

    Hi Guys,
    I have the following layout
    pageLayout ------------------------ pageLayoutCO (controller)
    ----messageComponentLayout (Region)
    ----------messageComponentText (item)
    ----------messageComponentText (item)
    ----------messageComponentText (item)
    ----------messageLayout (Region)
    ----------------header(Region)
    ----------------------button (item) (say BTN1) (fires partial action)
    I am not able to capture the event fired by the button BTN1 in the controller of the pagelayout..... but if i set a controller at the messageComponentLayout iam able to capture the event.
    what should i do in order to capture the button event in the pageLayout Controller
    Thanks in advance
    Tom.

    Tom,
    Two things:
    1)The button ur using is of type submitbutton or button?.In this scenario it should be button.
    2)The correct coding practice is using:
    if("QUERY".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    instead of
    String _event = pageContext.getParameter("event");
    if("QUERY".equals(_event))
    because you never know if Oracle in any upgrade or patch change the value of the constant EVENT_PARAM in class OAWebBeanConstants.
    3)If first point is followed by you, just match the exact event name in code and in property inspector for the button.
    --Mukul
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to capture the event in ALV grid display?

    Hi experts,
      How to capture the event in an ALV grid display which is editable. I have to capture the TAB key or ENTER key.
    regards,
    Arul Jothi.

    Hi Arul,
    Take a look at sample program BCALV_EDIT_03. (Find string "register ENTER" in the program to see how to register)
    Basically you have to Register edit events using method call REGISTER_EDIT_EVENT and then write a handler method for event DATA_CHANGED..
    If you are using a REUSE..GRID fm then first get the grid reference using function module GET_GLOBALS_FROM_SLVC_FULLSCR and then repeat the above procedure..
    Hope this helps..
    Sri
    Message was edited by: Srikanth Pinnamaneni

  • Capturing JButton event in a JList

    All,
    I have a JList that renders each list item with some special formatting of a JLabel and a Jbutton. The button is an 'OK' button that must be acknowledged. When the OK button is acknowledged it should be deleted from the list model. I am having trouble capturing the event of the button. I am not interested in the list selection event per se just the selected Index, which I know how to get. Any ideas on getting to the button click event even though it is in a list?
    Thanks much.

    I'm not sure I understand exactly what you're doing (you have a JButton inside a JList?), but to answer your last question, you get access to the button click even the same way you would with any other JButton:
    JButton myListButton = new JButton("click me");
    myListButton.addActionListener(new ActionListener()
      public void actionPerformed(ActionEvent e)
        // remove button from list or do whatever
        // other processing is required

  • Capturing the events and performing a predefined action

    I want a mechanism to capture the events:
    eg: If a new document is opened , I want a text frame to be created on that document as soon as it gets opened.
    what interfaces, classes can help me here? andy sample code avilable which shows how to capture events?

    Operating System
    System Model
    Windows 7 Ultimate (build 7100)
    Gigabyte Technology Co., Ltd. M61PME-S2P
    Enclosure Type: Desktop
    Processor
    Main Circuit Board
    2.80 gigahertz AMD Athlon X2 240
    256 kilobyte primary memory cache
    1024 kilobyte secondary memory cache
    64-bit ready
    Multi-core (2 total)
    Not hyper-threaded
    Board: Gigabyte Technology Co., Ltd. M61PME-S2P
    Bus Clock: 200 megahertz
    BIOS: Award Software International, Inc. F2 12/30/2008
    Drives
    Memory Modules
    320.07 Gigabytes Usable Hard Drive Capacity
    125.82 Gigabytes Hard Drive Free Space
    TSSTcorp CDDVDW SE-S084C USB Device [Optical drive]
    SAMSUNG HD321HJ SCSI Disk Device (320.07 GB) -- drive 0, s/n S13RJ90SB04688, SMART Status: Healthy
    1984 Megabytes Usable Installed Memory
    Slot 'A0' has 2048 MB
    Slot 'A1' is Empty
    Local Drive Volumes
    c: (NTFS on drive 0) *
    319.97 GB
    125.76 GB free
    d: (NTFS on drive 0)
    105 MB
    65 MB free
    * Operating System is installed on c:
    The media files are avi and are in my videos folder (videos-windows 7)

  • Sap  business One (capture control events)

    How do I capture keyboard events(especially those with Control like CTRL-R) in SBO??

    Hi Payal,
    You can catch the key down event in your Item_Event handler as follows:
    If pVal.Modifiers = SAPbouiCOM.BoModifiersEnum.mt_CTRL And pVal.CharPressed = 82 Then
        'do something
    End If
    Hope it helps,
    Adele

  • JURowSetListener navigation event -  calling first dosnt fire event ?

    if i call :
    panelBinding.addRowSetListener(departmentsListener);
    panelBinding.refreshControl();
    panelBinding.findIteratorBinding("DepartmentsViewIter").getRowSetIterator().first();
    No event is fired ? and if i look for the current record ---
    System.out.println(panelBinding.findIteratorBinding("DepartmentsViewIter").getCurrentRow());
    the record is current . Can someone explain what is happening here?
    thanks

    Hi,
    tested the same code and it works in a later version of JDeveloper. So in TP3 (expected for December) this problem should no longer reproduce.
    Didn't try JDeveloper 11 TP2 though. The code I used was added to a panel that uses a table to navigate rows
    jTable2.setModel((TableModel)panelBinding.bindUIControl("DepartmentsView11",jTable2));
            panelBinding.addRowSetListener(new MyRowListener());
           class MyRowListener implements JUPanelRowSetListener{
            public void navigated(JUIteratorBinding iter, NavigationEvent event){
            System.out.println("listener navigated event ...");
            public void rangeRefreshed(JUIteratorBinding iter, RangeRefreshEvent event){};
            public void rangeScrolled(JUIteratorBinding iter, ScrollEvent event){};
            public void rowDeleted(JUIteratorBinding iter, DeleteEvent event){};
            public void rowInserted(JUIteratorBinding iter, InsertEvent event){};
            public void rowUpdated(JUIteratorBinding iter, UpdateEvent event){};
        }Frank

  • Navigation Lib - Fixes for pending waypoint navigation events

    Hi there,
    So devs, who's most familiar with the Navigation lib?  I debuged some problems I was having yesterday and found a couple code issues related to deferred waypoint creation and pending navigation events.  I want to share a couple small tweaks to the following files which have solved my problems:
    WaypointHandler - add 1 line, remove 1 line
    DestinationRegistry - change 1 line
    EnterAndExitInvoker - change 1 line
    Send me a message and we can chat via e-mail or IMs.  Or I can just dump everything here in the forums if you'd prefer.
    Thanks.

    Sounds Great! I've send you a private message with contact details. Let's connect.

  • JClient, Problem with Navigated event

    When I add or delete a Row (in a 3-tier model) Adf runs Navigated Event(in my iterator) after this operation. I can't invoke any method(from RowImpl and ViewObjectImpl class, for which I have access by some Interface ) on a Row, wchich is in Event Object.
    I do something like that:
    public void navigated(NavigationEvent obj)
    boolean test;
    test=((SomeTypeRow)obj.getRow()).checkSomething();
    I get ClassCastException. Because it receives value, which is not boolean type, but something like svc_method...
    When navigatedEvent is invoked after find/execute/move operation, everything is ok.

    Hi,
    can you explain what the basic usecase is that you try to achieve?
    Frank

Maybe you are looking for

  • Cannot send email links from Safari share button in iOS8

    Hi All: This is a new one for, and not something I have experienced since link sharing was introduced. I am running iOS 8.1.1 on my iPhone 6. When I find a web page I want to share in Safari, I tap the Share icon, and the share sheet comes up. I sele

  • JTabbedPane and JScrollPane problem

    Hi all, I'm trying to make working JScrollPane into JTabbedPane. I have been trying several times to make it but with no acceptable effects :( I attached below the simple code to show what I'm interested in. PANEL1 has its dimension. I'd like to make

  • Oracle Drive and third party WebDAV

    After testing Oracle CS I tried to integrate an existing WebDAV server using ODrive. This results in an error pointing out that the server is not listed in the "supported servers list". Is there a way to extend this list? Kind Regards Felix

  • Lumia 1020 problem

    Hi, I have recently got a Lumia 1020. I have a problem with it that when you shake the phone something inside the camera shakes. It doesn't shake alot but a little. Is it normal? Solved! Go to Solution.

  • Importing TOC from other RoboHelp Project

    Is it possible to import a TOC from one RoboHelp project into another one? I searched the help file but couldn't find any information on it. TIA.