How to handle enter button in Jdevloper

hi all,
Is there any code to handle ENTER button,
Thanks

I'd be really cautious here.
I read "self service pages" and immediately thought "Oracle E-Business Suite, OA Framework"
If that's the case, I suggest you post on the OA Framework forum. If you're talking about ADF Faces, then Didier has pointed you in the proper direction.
Regards,
John

Similar Messages

  • How to cach enter button pressing in java 2D API

    hi guys,
    how to cach enter button pressing in java 2D API
    thanks
    siva

    thats input handling -> Belongs to AWT.
    Tip-> register an KeyListener and search for KeyEvent.VK_ENTER
    lg Clemens

  • How to handle Back button, Browser Refresh problem at server side.

    Hi Friends,
    How to handle Back button, Browser Refresh problem at server side in java?.
    I am able to trace that,
    request.getHeader("ACCEPT") is returning value- */*
    when the browser was refreshed and returning different MIME types
    for all other actions from browser.
    I have doubt, will the above solution works always for all servers,browsers?.
    Please also specify any solution to handle back button at server side?.
    Thanks in Advance.
    Venkat..

    I'm sorry I don't think tht's the right solution for
    the above question....
    We must be aware that whatever scripting methdologies
    we either javascript/vbscript would executed @
    client(browser) side not @ server side....
    Dud If U get a good solution keep me updated.....
    THANKS & REGARDS,
    RAHULMy dear friend ...
    the bad news is that u simply cant disable or add any listener to the back button of the browser.
    When u hit the back button of ur browser the URL gets re-executed. So in case u have a JSP then the history.forward() is the best solution. [only if the page doesnt get expired similar to secure https sites]
    Now dont say that user can have javascript disabled ...those users will have a pretty touch time browsing websites since javascripts r used extensively by almost all websites.
    But in case u have an action.do or servlet call then u need to manage it using a session variable since the request will be sent to the server rather than client.
    For multiple form submittion issues read the following article in javaworld...
    Client vs. server solutions
    Different solutions can solve this multiple form submission situation. Some transactional sites simply warn the user to wait for a response after submitting and not to submit twice. More sophisticated solutions involve either client scripting or server programming.
    In the client-only strategy, a flag is set on the first submission, and, from then on, the submit button is disabled based on this flag. While appropriate in some situations, this strategy is more or less browser dependent and not as dependable as server solutions.
    For a server-based solution, the Synchronizer Token pattern (from Core J2EE Patterns) can be applied, which requires minimal contribution from the client side. The basic idea is to set a token in a session variable before returning a transactional page to the client. This page carries the token inside a hidden field. Upon submission, request processing first tests for the presence of a valid token in the request parameter by comparing it with the one registered in the session. If the token is valid, processing can continue normally, otherwise an alternate course of action is taken. After testing, the token resets to null to prevent subsequent submissions until a new token is saved in the session, which must be done at the appropriate time based on the desired application flow of control.
    for more details refer :
    http://www.javaworld.com/javaworld/javatips/jw-javatip136.html
    Hope u got the idea.
    FYI I have been using both these ideas in my credit card payment gateway project. This concept has worked really well.

  • How ti disable enter button in selection screen.

    Hi,
    Developed a  report and when execute the Tx code first i get selection screen and when inputs are given in selection screen and hit enter it will direct to module pool screen.. here after giving inputs in selection screen,ENTER and F8 button are working but i want to disable ENTER button ....
    Regards,
    Venkat.

    Hi venkat,
    I am also fasing same problem plz help me how to call form in start-of-selection please help me with any sample as soon as possible,
    Regards
    sridevi.V

  • How to handle radio-buttons in FB05  bdc????

    How to change Additional selections radio-button from none to Document numbers in CALL TRANSACTION BACKGROUND MODE..............................................
    Edited by: Raghavender Poosarla on Apr 8, 2008 10:32 AM

    I have BDC requirement of FB05 transaction... I am stuck at one point where this recordin is working in Foreground mode and not in Backgroung mode...The reason being there is a bit in which I am selecting a readio-button from value 'NONE' to 'Document numbers' WHICH IS HAPPENING IN FOREGROUND AND NOT IN BACKGROUND ....Can any one tell is there any special way for handling radio-buttons in recording of an transaction???

  • How to enable enter button on keyboard for action on jsp page with adf11g

    hello,
    i have a login page, when i press login button with mouse it is working.
    But i want to click 'enter' button on the keyboard when inputbox is focused.
    For example i entered user and i entered passsword and click 'enter' button on keyboard for login action. How can i do this easily with adf11g ?
    thanks for interests.

    i tried but on af:form we have not defaultAction. i saw, there has defaultCommand i tried this but not acceptable by warning that about, "no id or naming containers". We has an id on command but what is naming containers.
    Other question is,
    How to write javascript on the adf tools? We have not any, "onClick, onPressed vs..".
    Thanks for helps.

  • How to restrict enter button

    Hi All,
    I have created one addon by using document object model but in this addon in any field if click enter button its adding sucessfully document number. but i do n't want it after clicking add button only record should add so how to restrc adding  document when click enter button.
    regards
    Sri

    hi dns_sap
    Change your default button. Standard form s default button is "1". When hit enter it will activate the button.
    if you want to skip this enter add button,
    create one button then assign another default button.
    form.DefButton ="NewBtn3"
    ' hide the button in other pane
    form.items.item("NewBtn3").FromPane = 15
    form.items.item("NewBtn3").toPane = 15
    nd.q

  • How to handle Back button in IA06 BDC

    Hi all,
    I am calling IA06 inspection screen for an task list operation using BDC from my custom program. on this screen user can change the SAP data. if I save the task list then it's working fine.
    But I have one issue how to control back button, when user make any changes on this screen and click on back button because it calls all the previous screens which i skipped using BDC.
    Or for this particular functionality there is any Function module same as for Characterstics as "CLFM_OBJECT_CLASSIFICATION"
    Please advice.
    Thanks,
    Sanket Sethi

    Hi all,
    Please suggest if there is any function module/ API  to call Task list characteristic screen directly; same as for Task list classification screen using Function module CLAF_CLASSIFICATION_OF_OBJECTS.
    Thanks,
    Sanket Sethi

  • How to handle the button "cancel" in a dialog box for displaying views?

    Hello!
    I ve a question about handling the cancel button in a dialog box for displaying views.
    I ve already implemented the dialog box by using the following code:
    METHOD eh_onnewqact.
      DATA stitle TYPE string.
      IF m_popup IS BOUND.
        stitle = cl_bsp_runtime=>get_otr_text( alias = 'ZCC_ICRM/NEW_TASK' )."cl_wd_utilities=>get_otr_text_by_alias( 'ZCC_ICRM/NEW_TASK' ).
        m_popup = comp_controller->window_manager->create_popup(
          iv_interface_view_name = 'ZCC_POPUP_NEWBT/NewQActWindow'
          iv_usage_name = 'CUNewQAct'
          iv_title = stitle
        CALL METHOD m_popup->set_on_close_event
          EXPORTING
            iv_view       = me
            iv_event_name = 'NEWQACT_POPUP_CLOSED'.
      ENDIF.
      m_popup->open( ).
    ENDMETHOD.
    My dialog box consists two buttons - cancel and create.
    The cancel buttons should close the popup and the create button should create an entity of a specified object. but let us come to the cancel button. I did´nt find any information about implementing an cancel button. So, how should I implement it? I thougt
    me->close( ). But that didnt works!
    Could u give me further information about that, because my cancel event-handler is empty?
    method EH_ONCANCEL_QACT.
    endmethod.
    After that I would know how my calling view could know that the user pushes the Create Button and how the data of 2 inputfields of the dialog box finds their way to the calling view in order to process this data there?
    Thank you very much!

    Hi Michael,
    thank you for your advice! This problem is solved...
    ...but I have another issue. Ive implemented 2 editable fields in my popup. The user should fill that fields with context and that context should be processed in the calling view of my popup.
    My question is how to transfer these information from my popup to my calling view or method?
    I tried the following...
          lv_context_node ?= m_popup->get_context_node( 'QUICKACT' ).
          IF lv_context_node IS NOT INITIAL.
            lv_text = lv_context_node->get_date( attribute_path = '' ).
          ENDIF.
    But it doesnt work! The context node object is always empty/initial.
    Thank you!
    PS: Another possibility could be that the object / node of the calling view is transferred to the pop-up in order to process it there.
    Edited by: Marcus Findeisen on Feb 22, 2011 12:13 PM

  • How to handle OK button in faces error message

    Hi everyone,
    Iam using Jdev 11.1.2.0. I have a scenario where faces error message will be displayed . After clicking ok button, some validation should be done . If iam using popup with dialog, i can handle my requirement using java script but now my scenario is with faces message . Kindly suggest me how to get hook for the button OK in faces message. Thanks in advance.
    Regards
    Alekhya

    As Frank said, it does not allow customization.Instead of Faces message you can use an popup with dialog.use dialog listener in ok button
    like
    public void dialogListener1(DialogEvent dialogEvent) 
        if (dialogEvent.getOutcome() == DialogEvent.Outcome.ok)
         // write your custom code for ok event
        } else
          // write your custom code for cancel event
    read more on http://www.techartifact.com/blogs/2013/03/handling-ok-and-cancel-button-in-afdialog-using-popup-in-oracle-adf-by-dialogl…

  • How to handle advance button on LOV popup

    HI,
    I have implemented framework classes to get the handle of search button of inputlistofvalues pop up window.
    Now i want to perform advance search with different type of operator.
    Can anybody tell me how can i archive it.
    Thanks in Advance

    Hi,
    you get a handle to a LOV button. And this is all we know. What you really want to do is not mentioned in your post. You don't mention the JDeveloper version and you don't mention the usecase
    Frank

  • How to handle MANY buttons?

    hi!
    lets say i create n buttons..
    i need a function (i bet it has to be only one) that handles
    all of them.. for example onClick it will trace "u've pressed the
    10th button" or will open the "10thpage.swf" .. it doesnt matter..
    i nned to know how to get the id of the one button i pressed..
    i tried trace(event.target.name); and i expected to get u've
    pressed but[10] or something like that.. but all i get is the
    components of that button i pressed: like buttonBckgMC, or
    buttonTextField, or buttonSelectionMC
    thank you!

    evt.target.id should work fine if everything is defined (like
    text and you have a MenuButton class that contains a textfield name
    text).
    you might want to use currentTarget instead of target, in
    case your buttons overlap.

  • How to handle a button double click

    I know how to define and IBAction and link it to a control by (Click-Drag)ing.
    But that does not make me chose what action (event for x-Microsoft) in the control am I linking to.
    By other words, when I click-drag, I dont mention, anywhere that I want this action to be linked to the "Click" event of a button. So what if I want this action method to be called when a button is double clicked for example, or when the mouse moves over it.
    Thanks

    Hi Tony, and welcome to the Dev Forum!
    The good news is Apple provides thorough documentation on tracking, interpreting and handling Cocoa mouse events. The bad news is the info is carved into pieces that are scattered all over the library. The challenge is to identify the docs that contain one or more pieces of the puzzle, and then to fit everything together.
    As to double clicks, there's no NSControl equivalent to the double-click notification that many Windows controls send (e.g. BN_DOUBLECLICKED). Also, as you've seen, when connecting an event to an action method in IB, there's only one event to choose from (Cocoa Touch is different in this regard, btw. You'll have a choice of several events when connecting a UIControl object to an action method in IB, though "double-touch" isn't among them).
    So how do Cocoa programmers detect a double click in, for example, an NSButton? The default action message for this class is generated by a NSLeftMouseUp event. I.e. when the left button is released while the control is tracking the cursor.
    One crude but effective solution is to have the listener (the action method connected to the button) set an ivar and start a one-shot timer on the first message. If a second message is received before the timer method resets the ivar, we have a double click. Otherwise we have two single clicks.
    A more general solution is based on two methods you might easily overlook. Firstly, [setContinuous:|http://developer.apple.com/mac/library/documentation/Cocoa/Refe rence/ApplicationKit/Classes/NSCellClass/Reference/NSCell.html#//appleref/doc/uid/20000074-BBCCCEAA] allows you to configure the associated NSActionCell object to send a stream of messages to the button's target instead of just one. The stream starts with the mouse down event that initiated tracking and ends with the mouse up that ends tracking (also see [trackMouse:inRect:ofView:untilMouseUp:|http://developer.apple.com/mac/library/ documentation/Cocoa/Reference/ApplicationKit/Classes/NSCellClass/Reference/NSCell.html#//appleref/doc/uid/20000074-BBCCJAFJ]).
    The next piece of the puzzle is the [currentEvent|http://developer.apple.com/mac/library/documentation/Cocoa/Refere nce/ApplicationKit/Classes/NSApplicationClass/Reference/Reference.html#//appleref/occ/instm/NSApplication/currentEvent] method of NSApplication. This returns the NSEvent object the started the current event cycle, i.e., the event which caused NSButton to send the current action message.
    Thus the listener has access to the stream of event objects which represents the mouse activity from the start of tracking to the end. Using the position and time stamp data from this stream, the listener can distinguish between clicks and drags (hovering is detected differently; I won't try to cover that topic in this post).
    A couple reference links that might help with the rest of the puzzle:
    [Handling Mouse Events|http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Ev entOverview/HandlingMouseEvents/HandlingMouseEvents.html#//apple_ref/doc/uid/100 00060i-CH6-SW1]
    [Control and Cell Programming Topics for Cocoa|http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Con trolCell/ControlCell.html#//apple_ref/doc/uid/10000015i]
    Hope that helps!
    \- Ray

  • How to handle 'ENTER' Key on ALV Editable Grid on sub screen (Tabstrips)

    Hello Experts ,
    I have 2 questions with ALV Editable grid;
    please help me if you have answers.
    I created ALV grid on one of sub screens on a Tab Strip,
    As soon as user types one of the columns of the ALV grid and press u2018ENTERu2019 key, it has to return corresponding details for that line.
    I tried to implement this logic in ALV grid event u2018handle_data_changedu2019, but ALV internal table is not getting populated with new entry entered in the grid. but u2018double_clicku2019 event working my purpose, but user might need enter key.
    and I thought I would do implement that logic in PAI event of the sub screen, u2018ENTERu2019 key not getting trigger on PAI event of the screen until cursor is on grid.
    Another question 2:  How do I control and not to be deleted a line on the grid (based on validation), where do I validate and by pass the delete function for a particular line, or suggest me to gray out only one line on the grid .
    I would like to have delete function to work as it is ,except for some validations..
    Can I implement using PAI event of the sub screen or any by ALV event.
    Please suggest me..
    Edited by: Ravindranath Arusam on May 13, 2010 2:42 PM

    In DATA_CHANGED event, you will get the modified row into the attribute MP_MOD_ROWS of the impoerting object ER_DATA_CHANGED. Since this MP_MOD_ROWS is the Object reference to Data, you need to have the field symbol to get the value.
      FIELD-SYMBOLS:  <lft_mod_output>  TYPE t_t_output.
      ASSIGN  er_data_changed->mp_mod_rows->* TO <lft_mod_output>.
    You can get the Value of the Cell by using the method GET_CELL_VALUE of the same ER_DATA_CHANGED object and use the method MODIFY_CELL To update the value back to ALV.
    To Restrict the row deletion:
    When the row is deleted it is being added to Attribute mt_deleted_rows of the object ER_DATA_CHANGED. You can put the data back to the table in the DATA_CHANGE_FINISHED event. Visit this post http://help-abap.blogspot.com/2008/10/alv-disable-delete-key-on-keyboard-in.html for more information.
    Regards,
    Naimesh Patel

  • How to handle radio buttons

    hi.
    i put 3 radio buttons in my scene and i wan't to handle the state of this buttons in an other component "graph"
    so i create group of buttons
    var group = SwingToggleGroup{
    var choiceText = ["Cercle","Square" ,"Rectangle"];
    var formchoices = for (text in choiceText)
        SwingRadioButton{
            text: text
            foreground: Color.GRAY
            font: Font{
                name: "Tahoma"
                size: 15
            toggleGroup: group
        }//SwingRadioButtonand after i passed values to my graph component :
    var graph: Graph = Graph{
    cercleForm : bind formchoices[1].focused
    squareForm : bind formchoices[2].focused
    rectangleForm  : bind formchoices[3].focused
    };but that's not working !!
    thx

    hi
    yes that's it ! i have to use the selected attribute and not focused. it's fine now :)
    But i am asking the question : must i pass the parameters for each component ?
    is it possible to      access to one component in the Scene from an other directly ?
    ( in flash it's possible with "root")
    thx
    ilyes

Maybe you are looking for

  • Windows 7 machine can't see smb share or any macs

    We have 7 render boxes set up on our network, all link to our smb share on our mac server accept one! We run SMBUp on the mac server due to well documented issues with smb and it works fine with 6 of the 7 machines... I have gone through all settings

  • Using samples on an external drive with the ESX24

    Can anybody help me with this?!: I have some Gigastudio Samples on an external drive and I am trying to use them in Logic with the ESX24; I know there is a way to do this by creating an alias somewhere in the library folder in my HD. does anyone know

  • Problem with Class Category log4J

    Can I set a different Priority in my object Category if I am not inside a method ? If I write this: Category cat = null; cat.info("Hello I am cat"); and before that I would like to set for cat object a different priority but without to do that inside

  • Error during the attach of a Tabular model - SSAS 2012

    Hi, I've changed the DataDir for a SSAS Tabular instance by specifying another drive letter and a path like "E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data". After the restarting of the SSAS service I'm trying to attach the tabular model but

  • Can I move a French iPhone to US AT&T?

    My girlfriend lives in France. If I buy her an iPhone and she uses it on their Orange network, when she moves to the US can she change out the SIM card and subscribe to the AT&T network?