Two h:commandButton's on one screen?

Hey guys,
Can you have two h:commandButton's on one screen?
I tried and it is checking the complete form instead of just moving to the method I have in my actionListener.
   <h:commandButton value="update"
                 style="color: red; height:25px; width:100px;font-size:10pt"  
                    action="#{memberInfo.submitUpdate}" 
                    actionListener="#{memberInfo.processUpdateRequest}" >                   
    </h:commandButton>  
   <h:commandButton value="send"
                 style="color: green; height:25px; width:100px;font-size:10pt"  
                    action="#{memberInfo.submitEmail}" 
                    actionListener="#{memberInfo.processEmailRequest}" >                   
    </h:commandButton>  Phil
Edited by: nohacks on Jun 19, 2008 10:32 PM

Can you have two h:commandButton's on one screen?Sure, why not?
I tried and it is checking the complete form instead of just moving to the method I have in my actionListener.What do you mean by "it is checking the complete form"? Your code looks fine. Can you elaborate your problem?

Similar Messages

  • How can I have two different windows up on one screen at the same time?

    How can I have to different windows open on my screen at one time? Kind of like a split or shared screen.

    If you want this split screen thingy for a single app, do like captfred suggests or see if the app itself supports some sort of splitting, like MS Excel.
    If you want to do this system-wide, maybe you can get what you want by activating and using Spaces: http://support.apple.com/kb/PH4313

  • Running two programs on one screen

    Hi,
    is there a possibility to run two different programs on one screen, independantly from each other. Or is this a kind of Container in which you can run a program?

    You might find the methods of class CL_GUI_TIMER of interest e.g. you could kick of pair of timers and have different logic run after each returns.  Is that the sort of effect you want?
    Jonathan

  • I am Using Two Matrixs in one screen

    Dear All,
    I am working on UDO Concepts,I created one screen same as PurchaseOrder Screen Item type and service type document in this i am taking one matrix for item document and one matrix for service document  every thing is fine but while adding document  I selected Item information (Itemcode and related information) then clicked on ADD button it displaying operation completed successfully. but while using navigation buttons it showing empty information in Item matrix. For Service Document it's working fine what is the reason for this type of cases.
    Please give me the solution  ASAP
    Thanks & Regards
    Naresh

    am using only one Child table for two matrixs.Is there any problem using one child for two matrixs.
    This is your problem.
    Unless you want the matrices to be absolutely identical (including data), you will need to specify an own child table for each of them, and to databind them accordingly. Every UDO matrix should be filled from a child table.
    EDIT: I have just tried putting two matrices on a UDO-based form and they worked well. If one of your matrices isn't pupulated correctly, there must be a problem with binding.
    Edited by: Anton Shepelev on Apr 14, 2009 3:17 PM

  • Questions on handling two table controls on one screen.

    Can some people  please share some technology  tips on handling two table controls on one screen . 
    Thanks
    Moderator message - You'll find some cool tips if you search the forum or use Google first - post locked
    Edited by: Rob Burbank on Dec 7, 2009 11:20 AM

    hi
    other Table is in Disable mode.
    check that u have unticked the READ ONLY property of ur UI
    also check if u have binded the ENABLE property of ur table UI to WDY_BOOLEAN in some method
    and u r setting it to 'X'
    in the OnToggle event of ur Checkbox , set this attribute to 'X to make the checkbox ticked
    in the OnToggle event of ur Checkbox , set this attribute to ' ' to make the checkbox un ticked
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
        DATA ls_cn_node TYPE wd_this->element_cn_node .
        DATA lv_attr  LIKE ls_city-ca_attr.
    *   navigate from <CONTEXT> to <CN_VISIBLE> via lead selection
        lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_ca_attr).
    *   get element via lead selection
        lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    *   set single attribute
        lo_el_cn_node->set_attribute(
          EXPORTING
            name =  `CA_ATTR`
            value = ' ' ).
    // set attribute CA_ATTR under CN_NODE to ' '
    // this will make the table UI control disabled
    // this is a code generated thru code wizard ( control +f7) , read context node/attribute
    // use SET_ATTRIBUTE method
    regards,
    amit

  • Two laptops - one mouse - one screen

    i have two laptops, one is a powerbook, g4, the another one a mac book pro. i need to know how can i connect both laptops to the point that it will view just one screen and use just one mouse.

    Take a look at buying a KVM switch. It's actually meant to control two computers with one set of keyboard monitor and mouse. However, this should allow you to connect your monitor to two computers. Look to buy one with a physical switch rather than a keyboard shortcut.

  • Two mac, one screen...

    Hi,
    Hopefully somebody can help. I have a G4 and G5 networked up together, and only one screen. Is there anyway i can log into the G4 from the G5 and for it to appear as another 'user' e.g desktop appears etc, I dont want to have to switch the monitor cable between the two all the time.
    Just set up in business on my own, and havent really got much money to spare - just yet - and wondered if there is a viable 'short term' fix for my problem?
    any help appreciated
    thanks
    miles

    Timbuktu will do what you want, as I recall (it's been many years since I used it however), have never used Remote Desktop, but it would probably do it too. However they aren't free, nor are they cheap. Both cost more than the amount required for an A/B switch.
    Francine
    Schwieder

  • Trying to use two seperate video clips on one consecutive screen.

    I'm very new to this but I'm trying to get these two video clips I have, and set them side by side on one screen so both clips are showing at once. Can anyone help me? Thanks!

    put the 2 clips one above the other on the timeline
    press w ( to change your Canvas view to Image and Wireframe )
    select upper clip in the timeline and note the wireframe outline that then appears in the Canvas
    click and drag a corner of that wireframe to resize (scale) the image as you would like
    click and drag within the wireframe to re-center as needed.
    select the lower clip in the timeline and then repeat the resize and re-center process
    as Mr Certified so eloquently pointed out, these scale and center parameters can also be found and manipulated (somewhat less intuitively) in the Motion tab if you load up each clip into the Viewer

  • Two Matrixs in one screen

    hello sir
    I am working on UDO Concepts,I created one screen same as PurchaseOrder Screen Item type and service type document in this i am taking one matrix for item document and one matrix for service document every thing is fine but while adding document I selected Item information (Itemcode and related information) then clicked on ADD button it displaying operation completed successfully. but while using navigation buttons it showing empty information in Item matrix. For Service Document it's working fine what is the reason for this type of cases.
    Please give me the solution ASAP

    Hi
    please check that your matrix's columns data bound property is set to true.
    Thanks

  • I can't move an app from one screen to another screen

    I can't move an app from one screen to another screen

    You've got the apps shaking by pressing and holding one of them for a second or two ? If you have then you should be able to drag an app (not too quickly) and then hold it so that it overhangs the edge of the screen, and after a second or so the display should switch to that next/previous screen. Is that not working ?

  • Can I have two versions of Safari on one machine?

    The question first, then the explanation for the question:  Can I have both Safari 5 and Safari 6 on my machine and run them at the same time?
    I hate Safari 6 & 7 because they combine the search and URL into one bar, which really annoys me.  It requires an extra step when I type in the direct URL I want, because instead of returning the URL, it goes to a search page, and then I have to click the site I want.  Annoying.   So I have not upgraded from Safari 5 on my iMac, which I use nearly all the time.  I have tried Firefox because it still has the search and URL boxes separate, but I also like the little orange arrow in Safari 5 that quickly takes me back to my original search when I've ended up on rabbit trails in my searching and I want to go back to where I was -- Firefox does not have this.  (I dislike Firefox in general, anyway.)
    However, now I'm finding that some websites are beginning to warn me that my browser (Safari 5) is too old and may not work properly.  Now I have found a site for which indeed that is true -- a site I regularly use for my job, and a company which says they will no longer offer support for issues on Safari 5.  One screen is split into two, and I could always scroll the two sides separately, but after an update to the site, now they will not scroll separately.  I have a MacBook Air, which I rarely use, and tested the same page on Safari 6 -- it works on Safari 6.  Thus, the company will refuse to help me and tell me to just update my browser.
    I really like Safari, EXCEPT for the new versions' combined search/URL bar, so I want to keep using Safari 5.  Thus, I want to know if I can have both Safari 5 and 6 on my machine at all, and if so, then I want to know if I can have them both open at the time, for example, if I give them different names (Safari 5 and Safari 6, rather than just Safari).
    This is for my iMac, which is running Lion 10.7.5

    >>I could not see this reply in Safari 5, neither by refreshing the page nor by clicking "Latest reply," which did nothing.
    That's a very common issue with the software that runs these discussions, and usually nothing to do with the browser. Pasting a single character reply, often reveals the missing item(s); as does viewing the thread without signing in first.

  • Two grid display in a single screen

    We need to display two grids in a single screen. In first grid we will display the line items and in the other one we need to display the error logs encounterd during the execution of program. Can anyone let us know any way we can do this.

    Hi,
    In one screen . Put 2 containers with different names.
    cont1,cont2
    on each of the container call grid,grid1 like below .
    1. this is for item line display
    IF g_r_grid IS INITIAL.
          CREATE  OBJECT  g_r_cont
                      EXPORTING  container_name  =  'CONT1'.
        g_r_variant  =  sy-repid.
    *--Build  field  catalog
        PERFORM build_field_catalog.
    *--Layout selection
        g_r_layo-cwidth_opt  = g_c_set.
        g_r_layo-no_rowmark  = g_c_set.
        g_r_layo-sel_mode    = space.
        CALL METHOD g_r_grid->set_table_for_first_display
          EXPORTING
            i_buffer_active = g_c_set
            is_variant      = g_r_variant
            is_layout       = g_r_layo
            i_save          = g_c_set
            i_default       = g_c_set
          CHANGING
            it_outtab       = g_t_alv
            it_fieldcatalog = g_t_fieldcat
            it_sort         = g_t_sort.
      endif
    1. this is for error data display
    IF g_r_grid1 IS INITIAL.
          CREATE  OBJECT  g_r_cont
                      EXPORTING  container_name  =  'CONT2'.
        g_r_variant  =  sy-repid.
    *--Build  field  catalog
        PERFORM build_field_catalog.
    *--Layout selection
        g_r_layo-cwidth_opt  = g_c_set.
        g_r_layo-no_rowmark  = g_c_set.
        g_r_layo-sel_mode    = space.
        CALL METHOD g_r_grid->set_table_for_first_display
          EXPORTING
            i_buffer_active = g_c_set
            is_variant      = g_r_variant
            is_layout       = g_r_layo
            i_save          = g_c_set
            i_default       = g_c_set
          CHANGING
            it_outtab       = g_t_error
            it_fieldcatalog = g_t_fieldcat
            it_sort         = g_t_sort.
      endif

  • I have a mac mini and just purchased a moshi hdmi connector for my LED TV. The problem is, I wanted to be able to take my mouse from one screen to another, not just as a mirror image! Is it possible to do this some how?

    I have a mac mini and just purchased a moshi hdmi connector for my LED TV. The problem is, I wanted to be able to take my mouse from one screen to another, not just as a mirror image! Is it possible to do this some how?

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    If you have two displays attached, then the function to change from mirrored to extended Desktop will appear in System Prefs/Displays.

  • Edit Text from one screen to another screen

    Hi Experts,
           Here I am having two doubts in doing functionality on SMP 2.3,The below mentioned are the doubts,
                       1. In SMP 2.3 Version,When i am doing Hybrid App Designer in that  Edit Text functionality to pass the values from one screen to another screen,we want to type any text or digits in edit text keypad options is not opening in that field.If any one knows to handle that issue please let me know experts.
                       2.  In SMP 2.3 Version,When i am doing Hybrid App Designer we are taking some labels or buttons or edit box etc....,first time i am generating the hybrid app it is displaying in the mobile device what ever i give in that screen.Afterwards when i am updating second time in that screen with extra functionality labels or buttons or edit box etc...,and generating hybrid app,these time it is not displaying in mobile device which i gave not updating.If any one knows to handle that issue please let me know experts.
         For these both isssues if anybody gets solutions to handle these data please let me know and if links are there please provide it .
    Thanks & Regards,
      Lokesh Reddy G,
      9700414490.

    Hi Lokesh,
    Regarding your queries:
    1. What kind of device/simulator and OS you are testing your app? What is its version?
    Can you share the snapshots as well?
    2. What extra functionality you have added 2nd time? When you generating hybrid app 2nd time is it uploading in HWC container successfully?
    Meanwhile you can check this blog
    A workflow Application to Release A Purchase Order...
    Rgrds,
    Jitendra

  • Blank Screen while navigating from one screen to another in a web applicati

    Blank Screen while navigating from one screen to another in a web application.
    While navigating through the screens of the web-based application, I get blank screen at times. The application menu bar is still visible and the header and footer jsps are also still available. The main processing frame alone goes blank. Once I get the blank screen, I am able to choose from the menu option and contine navigating through the screens.
    The application has been deployed on WebSphere Application Server v6.0 and uses JDK 1.4.2. I have checked the application, server and systemerr logs. And there are no exceptions in any of the log files. There is no difference in the logs for a normal flow and the flow when the blank screen occurs.
    The blank screen does not occur always. It occurs around 3 out of 10 times. If you consider a particular page, mostly it loads normally and very few times, the blank screen occurs.
    Compression filter is being used and it gets invoked for every request. Size before and after compression also gets printed in the logs.
    Could this be causing any issue in terms of memory handled or could any jsp timeout be happening, though there are no exceptions in the logs.

    Well, since no one has any ideas, here is my two cents worth:
    Can you turn off compression and see if the problem goes away? If not, I suggest creating a small separate project with the same functionality as that part of the program that causes problems and see if you can duplicate it. Use System.out.println() in the java code and out.write() in the JSP pages throughout the java and JSP code to write to the log file or console as each section is run to see what section is causing problems. You can also consider commenting out sections of code in your JSP page to see if you can isolate the problem.
    I had a similar problem with the screen being blank and this is what I found:
    My JSP page had an include tag in it that included another JSP page. The outer JSP page was drawn and waited for the included JSP page to be drawn. The logic took several minutes to run and something timed out. The inner JSP page was never drawn. No log entry occurred. It appears that it was not Apache or Tomcat that caused the problem, but some firewall or similiar such device. If you have a firewall or similar device, see if the person who maintains it can temporarily set its timeout to a very long time (15 minutes) to see if the problem goes away. Apache and Tomcat probably also have a timeout feature too. You will have to read up on their configuration settings on how to set them.
    By the way, each of those devices probably has its own log file you can read to see if its reporting an error.

Maybe you are looking for

  • IPod not recognized by computer - folder icon

    Hi. I have a 3rd generation iPod that displays the folder icon with the exclamation mark when I try to start it. If I hook it to my computer, the icon changes to the "OK to disconnect" message, and it indicates that it is in "Disk Mode". If I disconn

  • Substitution in FI

    Dear All , How to create substitution in FI . I know it is functional problem but if anybody knows please help me .

  • Error using IDoc SALESORDER_CREATEFROMDATA202

    Hi I'm trying to use IDoc SALESORDER_CREATEFROMDATA202 to create a sales order in the R/3 system, but I' keep getting the following error: "Maintain billing plan type in sales document type or item category" We are not using billing plan type at all

  • Financial Reporting: Error code 255 when installing PSU 11.1.2.3.505

    Hi, I´ve tried to install the PSU 11.1.2.3.505 (19795686) for Financial Reporting. The command is: C:\Oracle\Middleware\EPMSystem11R1\OPatch>opatch.bat apply C:\Oracle\Middleware\ EPMSystem11R1\OPatch\19795686 -oh C:\Oracle\Middleware -jdk C:\Oracle\

  • Username and password for Adobe Edge

    Username and password for Adobe Edge, where do I enter these?