Can I have two autosubmits in a form ADF JDEV 10.1.3

Hi, Using Jdeve 10.1.3.1 and ADF BC JSF framework. I have password reset form where in I reset two password, one for login and one for transactions.
I have total 6 text fields Old password. new password, retype new password each for Password1 and Password2.
I have followed the reset password method given in this forum
<af:inputText value="#{bean.confirmPassword1}"
label="Retype password" id="it2c" secret="true"
autoSubmit="true"
validator="#{bean.confirmPasswordValidate}"
/>I have an autosubmit on both the retype paswword fields. What happens is as soon as i leave confirmPassword1, autoSbmit is called and then when i got to confirmPassword2, the autosubmit is not fired.
My bean is as such.
    public void validateField(FacesContext context, UIComponent component,
                              Object value) {
        String input = (String)value; //retyped password
        String password = (String)passwordInput.getValue();
        if (!input.equals(password))
        {   clearScreen();
            ((EditableValueHolder)component).setValid(false);
            FacesMessage fm = new FacesMessage("errormessage"));
            fm.setSeverity(FacesMessage.SEVERITY_ERROR);
            context.addMessage(component.getClientId(context),fm);
    public void validateField2(FacesContext context, UIComponent component,
                              Object value) {
        String input2 = (String)value; //retyped password
        String pas2 = (String)passwordInput2.getValue();
        if (!input2.equals(pas2))
        {   clearScreen();
            ((EditableValueHolder)component).setValid(false);
            FacesMessage fm = new FacesMessage("errorMessage"));
            fm.setSeverity(FacesMessage.SEVERITY_ERROR);
            context.addMessage(component.getClientId(context),fm);
                 }}

Hi,
you can have 2 autosubmit set. So if this doesn't work, then this might be a bug or is a problem in your page setup. Best - if you can - would be to file a bug and provide a testcase
Frank

Similar Messages

  • Can you have two detail lists from the basic list at the same time?

    Hi
    Can you have two detail lists from the basic list at the same time?
    If yes how and if no why?
    Thanks
    Venkat

    No   ... it is not   possible   of   2 detail  list at   one time   from the basic  list ...
    you can  increament   the SY-LSIND  .... But you can not   display  both the windows   at single time  ...
    it is  possible  to  display  2 Detail list  in ALV   ......  from one  basic  list   using  the  Blocked  list  concept    .
    Sample Program on BLOCK LISTS
    Report   zblock_list
    * Declarations for BLOCK ALV DISPLAY
    *--type pools
    TYPE-POOLS:slis.
    DATA:x_layout TYPE slis_layout_alv,
    t_field TYPE slis_t_fieldcat_alv,
    *--field catalog
    x_fldcat LIKE LINE OF t_field,
    *--to hold all the events
    t_events TYPE slis_t_event,
    x_events TYPE slis_alv_event,
    t_sort TYPE slis_t_sortinfo_alv,
    x_sort LIKE LINE OF t_sort ,
    *--Print Layout
    x_print_layout TYPE slis_print_alv.
    *----Macro to add field catalog.
    *field "text "length "tech "COL_POS "DATATYPE "DDIC_OUTPUTLEN
    DEFINE add_catalog.
    clear x_fldcat.
    x_fldcat-fieldname = &1.
    x_fldcat-seltext_m = &2.
    x_fldcat-outputlen = &3.
    x_fldcat-tech = &4.
    x_fldcat-col_pos = &5.
    x_fldcat-no_zero = 'X'.
    x_fldcat-ddictxt = 'M'.
    x_fldcat-datatype = &6.
    x_fldcat-ddic_outputlen = &7.
    if &6 = 'N'.
    x_fldcat-lzero = 'X'.
    endif.
    *--build field catalog
    append x_fldcat to t_field.
    END-OF-DEFINITION.
    *----- data declerations.
    data: v_repid like sy-repid.
    data: begin of itab occurs 0,
    matnr like mara-matnr,
    ernam like mara-ernam,
    meins like mara-meins,
    end of itab.
    data: begin of jtab occurs 0,
    matnr like makt-matnr,
    maktx like makt-maktx,
    end of jtab.
    select matnr ernam meins
    up to 20 rows
    from mara
    into table itab.
    select matnr maktx
    up to 20 rows
    from makt
    into table jtab.
    v_repid = sy-repid.
    *DISPLAY alv
    * Initialize Block
    call function 'REUSE_ALV_BLOCK_LIST_INIT'
    exporting
    i_callback_program = v_repid.
    *Block 1:
    *INITIALIZE
    refresh t_field. clear t_field.
    refresh t_events.
    *field "text "length "tech "COL_POS "DATATYPE "DDIC_OUTPUTLEN
    add_catalog:
    'MATNR' 'Material' '18' '' '1' 'C' '18',
    'ERNAM' 'Created By' '12' '' '2' 'C' '12',
    'MEINS' 'Unit' '5' '' '3' 'C' '3'.
    *--build table for events.
    x_events-form = 'TOP_OF_LIST1'.
    x_events-name = slis_ev_top_of_list.
    append x_events to t_events.
    call function 'REUSE_ALV_BLOCK_LIST_APPEND'
    exporting
    is_layout = x_layout
    it_fieldcat = t_field
    i_tabname = 'ITAB'
    it_events = t_events
    it_sort = t_sort
    tables
    t_outtab = itab
    exceptions
    program_error = 1
    maximum_of_appends_reached = 2
    others = 3.
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    *--BLOCK 2(SUMMARY REPORT)
    *INITIALIZE
    refresh t_field. clear t_field.
    refresh t_events.
    *field "text "length "tech "COL_POS "DATATYPE "DDIC_OUTPUTLEN
    add_catalog:
    'MATNR' 'Material' '20' '' '1' 'C' '18',
    'MAKTX' 'Description' '40' '' '2' 'C' '40'.
    *--build table for events.
    x_events-form = 'TOP_OF_LIST2'.
    x_events-name = slis_ev_top_of_list.
    append x_events to t_events.
    * Append table block.
    call function 'REUSE_ALV_BLOCK_LIST_APPEND'
    exporting
    is_layout = x_layout
    it_fieldcat = t_field
    i_tabname = 'JTAB'
    it_events = t_events
    tables
    t_outtab = jtab
    exceptions
    program_error = 1
    maximum_of_appends_reached = 2
    others = 3.
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    *--CALL FM TO DISPLAY THE BLOCK REPORT.
    call function 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    * exporting
    * is_print = x_print_layout
    exceptions
    program_error = 1
    others = 2.
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    form top_of_list1.
    skip 1.
    write: 10 'List 1',
    /5 '--------------------'.
    skip 1.
    format reset.
    endform.
    form top_of_list2.
    skip 1.
    write: 10 'List 2',
    /5 '--------------------'.
    skip 1.
    format reset.
    endform.
    reward  points if it is  usefull ....
    Girish

  • Can you have two Apple IDs on one IPAD? One for school and one for home?

    Can you have two Apple IDs on one IPAD? One for school and one for home?
    If so do you know how to do it?

    It depends on what you want to do.
    You could, for example, have one AppleID for iCloud backup [and therefore message syncing, notes syncing, etc] and a second one for iTunes [music, iBooks, etc].
    But if you are looking for a way to flip everything between different appleIDs, then no.

  • Can you have two apple ids on one mac?

    Can you have two apple ids on one mac? We each have iPhones and want to utilize iCloud.  Is this possible?

    No, in this case the 2 user accounts with its own Apple IDs would be completely seperated.
    If you want to share this things like music and app purchases you will have to to something else.
    1. Create two user accounts on your Mac (user A and user B).
    2. Create two iCloud accounts just for Mail, Contacts, Calendars, Photos, etc. (one for user A and one for user B):
    On your Mac (with Mac OS X Lion or Mountan Lion):
    Settings > Mail, Contacts, Calendars > iCloud > Create an Apple ID (button in left corner)
    On your iPhone, iPad or iPod touch (iOS 5 or later):
    Settings > Mail, Contacts, Calendars > Add Account > iCloud > Get a free @me.com address and create a new Apple ID
    3. It is not recommended because you shouldn't share your Apple ID account information with other people but you could set up your old Apple ID as an account just for store purchases (Apps, Music, ...) so that everyone of you can manage the purchases in their own library (Access is limited to 10 devices). Therefore you have to setup this "old" ID in Settings of your iOS devices (Settings > iTunes & App Store) and in iTunes on your Mac.

  • How can I have two itunes accounts on one computer?

    How can I have two itunes accounts on one computer?

    Not sure what you mean.
    An account is a user name and password.
    Sign into whichever account you want to use for purchasing.
    Authorize the computer for both account to listen to the content.

  • I have to Apple IDs for two different app stores in two different countries. Can I have two distinctie AppStore icons on my iPad?

    I have two Apple IDs for two distinct countries. Can I have two distinct AppStore icons on my iPad?.

    I have two id's and I dont want  one!! I bought a used Mac pro I thought i had changd all their information, but when I try to do updates on my Iphone, I enter my id and password, then it will ask for the id of the other passoword!!!!( the person who I bought the Macpro from) grrrrr anyone know how I can get this sorted out? Thank you in advance.

  • Can you have two different users with itune accounts on the same computer?

    Can you have two different users with separate itune accounts on the same Ipad?

    Yes, create another user profile on the computer and each user can log into their own profile that way.

  • Can you have two iphones with separate iclouds on the same itunes account, can you have two iphones with separate iclouds on the same itunes account

    I have one itunes account with mulitple libraries for each device (one iphone, 4 ipods).  The one iphone is connected via the cloud.  everytime a new song or app is added to the account it is placed in all of the libraries.  I want to add another iphone to the acccount when I tried it replaced the contacts with the contacts on the iphone already on the account.  How do I prevent that from happening and can I have two iphones on the same account and use the cloud on both
    thanks

    iTunes will remember the settings for each device after you set them up for the first time.
    How to use multiple iPods, iPads, or iPhones with one computer -> Method two

  • Can you have two itunes accounts on the same computer?

    Can you have two itunes accounts on the same computer and if so how do you access them without syncing each others music?

    Yes. Use separate iTunes libraries(launch iTunes with the Shift(Windows) or Option(Mac OS X) key held down as needed), or different user accounts on the computer.
    (100648)

  • Can I have two separate iTunes accounts on the same computer?

    Can I have two separate iTunes accounts on the same computer?  My wife's music is much different than mine.  Can we have different iTunes libraries to work with on the same computer?

    Yes. Launch iTunes with the Shift key held down as needed, or use separate Windows user accounts on the computer.
    (107261)

  • I bought my daughter an ipod. Can I have two seperate itunes libraries on one computer? If so, how do I set this up?

    I bought my duaghter an ipod. Can I have two seperate itunes libraries on one computer? If so, how do I set this up?

    I followed these instructions & have created a new library file. However, all my music now appears in the new library as well as my own. (I bought my daughter an ipod nano for christmas & want to separate itunes libraries on one computer). How can this be so difficult?

  • How can we have two different Itunes libraries on one computer?

    How can we have two Itunes accounts on one computer?  I found info on the itunes help page but I do not know how to follow the steps given because I am not prompted with what it says I should be prompted with? Please help I don't want to delete one of our libraries

    Launch iTunes with the Shift key held down as needed, or use different Windows XP user accounts.
    (74282)

  • Can you have two apple id accounts on one computer??

    Hi all
    Can you have two seperate apple ID accounts on the one computer?? Imessaging wont work between two iphones if both iphones (husband & wife) use same apple ID account. any help appreciated

    Yes, you can. Apple IDs are really not meant to be shared.

  • HT204053 Can you have two Apple ID's on one iTunes

    I just got my wife a new iPod touch and we need to add a different apple account to use the message app. Can I have two apple accounts on my iTunes?

    Yes, you can.
    (104346)

  • CAN YOU HAVE TWO I TUNES ACCOUNT ON ONE COMPUTER?

    CAN YOU HAVE TWO I TUNES ACCOUNT ON ONE COMPUTER?

    The problem with making separate accounts is that this is a laptop, so likely not a huge hard drive, and if the three iTunes libraries need to have a lot of the same music (because everyone or two or three like some of the same stuff) you end up with double or triplicate copies of the music on the hard drive eating up drive space. Since they don't use his laptop normally, creating more accounts (with all the associated files and drive space usage each account would eat up) it probably isn't worth it.
    Instead, the best approach is like Chris said, to make playlists for the girls in the main library and then set up the various iPod to either sync everything (if big enough) or sync only specific playlists (if not big enough).
    Alternatively, they can set their iPods to manual syncing and then when Dad is visiting they can hook up their iPods and "shop" the library and drag in whatever they want to add to the iPods and delete what they no longer want.
    Patrick

Maybe you are looking for

  • QT HDV file not opening in PPRO CS4 or QT 7 Windows

    Hello.  I've been given some Quicktime files that were shot in HDV, then captured into Final Cut Pro on a Mac, then exported to a .MOV file.  I can open the file in Quicktime 7 for Windows but I can only hear the audio.  I get white for video.  I've

  • How to backup an external hard drive plugged into a time capsule using time machine

    How to backup an external hard drive plugged into a time capsule using time machine. I want to move my itunes library from the mac HD to an external plugged into the time capsule, but I want to be sure this drive will still be backed up by time machi

  • Photo extensions are not working

    Whenever I attempt to edit a photo on my iPhone 4s with an extension, Afterlight in my case, my Photos app just hangs and requires me to force quit. At first I thought this might me because the photos I was taking with my iPhone 4s may be too big. So

  • Excel not calculating correctly.

    Using OS 10.5 I am getting incorrect answers using Excel. Switching back to OS 10.4.10 corrects that problem. Since I make my living with my Mac spreadsheets I will curtail my use of OS 10.5. So far I have found no new item worth the change of Excel

  • ECC 5.0 version phased out for certificaiton

    Hi Gurus I had applied for direct certification for SD module to SAP. Since i was eligible my profile got approved by SAP and hence i was eligible to give that certification exam for ECC 5.0. I completed all the formalities like sending the DD, Requi