How to submit the login Page by pressing enter key.

Hi,
I am using JDev 11g TP3,JBoss 4.2.1, Trinidad 1.2.4.
I have a login page in my project.I have a Submit button on the page.After filling in the details when I hit on the enter key my page doesn't get submitted.The submit butto does not get activated.I have to click on the submit button separately to submit the page. How should I get this working??

Hi,
If your page is built using ADF Faces / Trinidad, you can specify the "defaultCommand" attribute on the form component setting it to the client id of the default command component. For example:
<af:form defaultCommand="SubmitCommandButtonId">If it is pure html (may be in a <f:verbatim /> tag), then simply having a submit button will do the trick.
Olivier
Message was edited by:
Olivier Lafontaine

Similar Messages

  • When i type in my correct password on the login screen and press enter it just goes to a blue screen for a few seconds then goes back to the same login screen again, please i need help?

    When i type in my correct password on the login screen and press enter it just goes to a blue screen for a few seconds then goes back to the same login screen again, please i need help?

    You can take some of the steps here, #4, #5 or even trying a #18
    Step by Step to fix your Mac
    but I suspect your going to first have to create a data recovery drive
    Create a data recovery, undelete boot drive
    to get your data off the machine,
    then do a #20 to eliminate the bad sectors as that's why your getting the "pinwheel" it's getting a delay reading from the drive, right when your trying to log in too, what a bad spot for it to happen.
    Step by Step to fix your Mac

  • How to init the login page in JSF?

    I should receive the cookie data, if the cookie exists, then redirect to another page, and if not, just turn to the login page.
    how can i do all these init operation in JSF?
    P.S maybe my English is poor, i am sorry.......

    Just implement a Filter which listens on /*. No need to do this simple redirection task in JSF.

  • How to submit a form by pressing enter key

    Hi,
    I'm having a problem..............i have a form having text field and a button created using struts html tags..........when user enters the value and presses the button then the value is being taken...........
    but if the user enters the data and just presses enter key the form refreshaes but value is not submitted.............
    the button is created using <html:submit >tag.............can any one pls help me out with this???????????

    <script language="JavaScript">
    <!--
    var isNav, isIE
    if (parseInt(navigator.appVersion) >= 4) {
    if (navigator.appName == "Netscape")
    isNav = true
    else
    isIE = true
    function showKeyValue(evt) {
    var keyValue
    if (isNav)
    keyValue = evt.which
    else
    keyValue = window.event.keyCode
    /*status = keyValue*/
    if (keyValue == 13) {
    javascript:validateForm();
    return false
    </script>
    in the field call this method
    onKeyPress="showKeyValue(event)"

  • Clearing the TextArea texts when I press Enter key

    How to clear the texts that I have typed into the TextArea when I press Enter Key?
    I have now added a TextArea instance called input_txt to the stage and added an component event listener to detect when I press enter key. Then an event fires up which first reads the input to a string variable.
    But next I need to automatically clear the texts in the TextArea.
    How to do that?
    function readInput(event:Event):void
        input = input_txt.text;
        trace(input);
        // removing texts in the text input area-------- how?
    input_txt.addEventListener(ComponentEvent.ENTER, readInput);
    Please help.
    Thank You

    ComponentEvent.ENTER occurs before the line feed is added to the text, and is not cancelable, so you'll probably need to set a flag and do the clearing in an Event.CHANGE handler. Something like this:
    import fl.events.ComponentEvent;
    input_text.addEventListener(ComponentEvent.ENTER, readInput);
    input_text.addEventListener(Event.CHANGE, changeHandler);
    var clearing:Boolean=false;
    function readInput(event:Event):void
        input = input_txt.text;
        trace(input);
        clearing=true;
    function changeHandler(event:Event)
    if(clearing)
      input_text.text="";
      clearing=false;

  • I can't open my work web site it lets me go right to the login page and won't open how can I fix this

    I can't open my work web site it let's me go to the login page then it won't go any further how do I fix this

    To see whether this problem is caused by the new HTML5 parser feature in Firefox 4, you can turn it off like this:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''html5''' and pause while the list is filtered
    (3) Double-click '''html5.parser.enable''' to toggle it to false (it will turn bold).
    Then return to your work site and reload the page.
    Does that make any difference? If so, you can leave it that way. If not, you might as well switch it back (double-click that preference again to toggle it back to true.)
    If not, and you need to roll back, here's the process:
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, download and save Firefox 3.6 to your desktop for future installation. http://www.mozilla.com/firefox/all-older
    Close Firefox 4.
    You could install Firefox 3.6 over it (many have reported success) or you could uninstall Firefox first. If you uninstall, do not remove your personal data and settings, just the program.
    Unless you have installed an incompatible add-on, Firefox 3.6 should pick up where you left off. If there are serious issues, please post back with details.
    Note: I haven't actually tried this myself!

  • My Macbook Pro is frozen on the login page with a white screen and only my login picture. How do I fix this? I can't turn it off and I closed it and let it charge but it's still not working.

    My Macbook Pro is frozen on the login page with a white screen and only my login picture. How do I fix this? I can't turn it off and I closed it and let it charge but it's still not working. It's only 3 months old and was working perfectly fine 30min before this happened.

    Hello Kierasully,
    I would start your troubleshooting with the article below for issues of not being able to log in to your Mac. Start with booting up in to Safe Boot as well as resetting PRAM on your Mac. If that does not work, then verify the hard drive with booting to the Recover HD and go to Disk Utility to verify it.
    Mac OS X: Gray screen appears during startup
    http://support.apple.com/en-us/ts2570
    Regards,
    -Norm G. 

  • I made a big mistake to change the setting of my Mac book pro to "me only". Now ofcourse It cannot open the login page, for how would the mac know it is me? How can I change the setting back to "everyone"?

    I made a big mistake to change the setting of my Mac book pro to "me only". Now ofcourse It cannot open the login page, for how would the mac know it is me? How can I change the setting back to "everyone"? I have back up in the past but the last month I have not. I really want to keep the data.
    So how can I go in and change the setting, It stays ofcourse at the apple screen with wheel. All info is there and the computer works fine, just cannot use it or have been able to log in.

    wjosten is spot on.  If you really want iCloud, then you will need to acquire a new or second hand MBP that can run Lion.
    Ciao.

  • How to get rid of the Login page in Portal?

    Hi Guys,
    I have a newly developed intranet portal project for my company which does not need login no more. I hope you can help me how to get rid of the login page in portal which is I know in every application you create, there should be a login. Is this possible that I can just simply type in to the URL address bar my application then it will no longer ask for any logins? Please help! Many thanks!
    Russel

    Hi Russel,
    You can give public access to pages, applications etc. Users won't need to supply a username/password then, while you still can hide some of the pages to authorized people.
    Check the access tab for pages and the manage tab for applications.

  • How do I customize the login page?

    Hi, floks:
    How do I customize the login page?
    Can I just create a page with login portlet in it? what do I put as on Success URL,
    if I choose to go to the home page?
    thanks.
    null

    You can create a page and add a login portlet to it.Make it accesible to public.
    change the default page of the user "public" to the page you have created.(by default it is WELCOME)
    if there is an error in the user name or the password entered the portal still navigates to the default single-sign on page.(You have not changed the sign on page still)
    To change this page look at on-line help.
    search with string "customize" in online help
    null

  • How to show the login user Id in the upper right corner of each page?

    Hi,
    I was wondering how to show the login user Id in the upper right corner of each page?
    thanks so much!
    cchu

    Cchu,
    The easy question first: applying a style to the welcome message. If you look at the page source, you'll see that #WELCOME_USER# is expanded to <div class="app-user">Welcome: DEMO</div> So to change the style of the message, you need to tweak the style of the app-user div in your CSS, or override it in a style block in your HTML header.
    Now, the tougher question: why the text is wrapping for you. And, really, without seeing your entire page, I can't give a full answer. But I'd suggest that what's most likely happening is that the table column you're putting it in is too narrow, so it's wrapping; try replacing the td tag with <td nowrap="nowrap"> This will force the column to be wide enough to display the full message, but might result in weird formatting elsewhere on the page (depending on what all is in your table).
    -David

  • How to insert an username from the login page to the form page

    Hi friends,
    I created one database apex application in which it consist of three pages...
    1)login page----->1
    2)form page along with report page(in same page) i.e. i created a report region within a form region
    3)form page(this page appears when i click the edit option in my previous report page
    (i.e.) my 3rd form page depends upon my 2nd report page, as soon after i click the edit option of each and every row in my report which is in 2nd page it has to go to the corresponding 3rd form page for making an updations in each and every row...
    I have created my above listed applications....
    But the scenario for me is since the login page contains two fields, that is
    user name:
    password:
    so i will be giving my name in the user name and also respective PW for accessing to my 2nd and 3rd page in my application...
    Since my 2nd form page consist of following fields like
    *) user name---------->
    *) assigned to
    *) status
    *) start date
    *) priority
    so my requirement over here is soon after i logging into my application through the user name and PW into second page, while coming to the second form page
    my user name field in my 2nd form page has to get inserted automatically with the user name that i have entered in the login page...
    example: my user_name in login page is :harry
    after going into the second form page with the user name "harry"
    the field of my 2nd form page "username" has to get automatically generated with the name "harry"
    Whether it is possible friends to do this in my application....i doesn't have any idea of it...Kindly help me friends to solve my scenario...please explain each and every steps in detailed manner...
    Since the user_name: harry, is of I got from the admin side as a developer for the workspace......
    Thanks in advance
    Harry....

    Hi Karthik,
    I made the following changes that you said, but there is just a one change in it...
    You told these changes
    Source Used: always, replacing any existing values in session state.
    Source Type: Database column
    Source value or expression: (respective column name)
    and in Default: u need to give-----> &APP_USER.(exactly the same including the full stop)....
    Thanks for your help Patel....I just worked and inserting for me in table of the corresponding user name who login.....

  • Problems with the login page

    I just finished a fresh install of Oracle XE 10g. When i browse to http://127.0.0.1:8000 (changed the default port) I get the license agreement saying "accept by installing or pressing the accept button" How do I get rid of this to login?
    The only way I can login is by getting to this page, which it took me to at one point after the installation: http://127.0.0.1:8000/apex/f?p=4550:11:1851844547778358::NO:::
    So how does one go about accepting the license agreement when there is no accept button - and I already installed the software?
    Thank you,
    -Matt

    That's just a display of the license agreement. The login page is always at:
    http://127.0.0.1:8000/apex
    (You have to put the directory on there)
    ~Jer

  • Can't Set Session State from the Login Page

    I have a dilema. On the standard login page I enter values in 2 fields namely, CAMPUS (Select List) and USERNAME (text field).
    After clicking on the login button I want to navigate to PAGE 1 and use the values of CAMPUS and USERNAME to filter data. I have created two APPLICATION Level items (A_USERNAME,A_CAMPUS) to which I assign the values of USERNAME and CAMPUS in two AFTER SUBMIT computations on the login page.
    When I arrive on PAGE 1 the session state values of A_USERNAME,A_CAMPUS are still both null therefore the query returns null. It seems that the login process does not issue a SUBMIT for session state to be saved. How do I save the values in session state on login?
    In the Login PROCESS, can I specify the Page 1 items to be set and the values to set them in a URL somewhere? Is it here?
    wwv_flow_custom_auth_std.login(
    P_UNAME => :P101_USERNAME,
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':1' <<========here?
    If so what is the correct syntax?
    If I revisit the login page a second time, a submit is issued and the values are set in session state.
    Anyone got any ideas??
    I tried creating a standard position button which issues a submit but this didn't work either.
    regards
    Paul J Platt

    Unfortunately your solution is causing problems with retrieving cookies that I try to get for the campus and username during a "Before Header Process" as well. The cookies are normally set on an "After Submit" process. When I return to the login page I get
    Error ERR-1029 Unable to store session info. session=10760914996048113736 item=8561939526127479
    ORA-02291: integrity constraint (FLOWS_010600.WWV_FLOW_DATA_FK) violated - parent key not found
    But if I turn the cookies off, it seems to work OK.
    regards
    Paul JP

  • My Mac Book Pro was really slow at everything and would kick me out of my photos every time i got on them. now it won't even allow me to log on. i put my password in and the screen will flash white and go back to the login page. HELP please...

    My Mac Book Pro was really slow at everything and would kick me out of my photos every time i got on them. now it won't even allow me to log on. i put my password in and the screen will flash white and go back to the login page. HELP please...

    There is nothing wrong with your Dell, it will work fine with any MacbookPro. I have been using Dell displays for over 12 years with many different Mac models. I have two 21" Ultra Sharp displays working side by side to design a Keynote presentation right now.
    The issue your having is with the way Keynote  takes control of the video output to both displays, it sends the presentation signal to one and the presenter display to the other, this is set up in;
    Keynote preferences > Presenter display.
    If you want to show a wesite or another app on  either display,  use application switcher:
    press the the  command key on the keyboard, then the tab key; a row of applications will show what applications are running, choose which one you want to show. Use command  > tab to return to Keynote.

Maybe you are looking for

  • Menu Button in ALV toolbar (multiple choices for a button)

    Hi abapers, I would like to have a button with multiple choices in the toolbar; at the moment I have created a menu button with just one function. Here is my code: CLASS lcl_event_receiver (Definition) CLASS lcl_event_receiver DEFINITION.   PUBLIC SE

  • Add custom property restrictions in advanced search web part

    hi,  I am having the default advanced search box web part in my ent.search center site collec. but as per my requirement i need to a  few items in the property restrictions dropdown in my advanced search web part. is this possible in sp 2013 e.t sera

  • CS3: newbie "cookie cutter" question

    I have a complicated shape, that's grouped. I also have a simple circle that i want to "cookie cutter" out a selection of the aforementioned complicated, grouped shape, and then make it into a swatch to use as a pattern. I can make a clipping mask, e

  • Port 135 and 25913 and how to run Solaris Container Manager?

    What are these ports 135 and 25913 and how to I run Solaris Container Manager . thanks

  • SAFT - PT XML Master Data

    I´ve been able to create the SAFT - PT XML file for the fiscal authorities in Portugal, but the data extraction tool, DART , isn´t exporting customer and vendor´s master data into the file. I´ve selected all the needed structures for extraction in FT