Click action did not activate the button

I have a button to send on a JSF page as follows:

< af:commandButton text = "Submit" id = "cb1".
Icon="/images/submit.gif".
accessKey = "S".
action = "#{myBean.saveRecord}" / >

However, when I click the button submit, he never hit the breakpoint in the myBean.saveRecord method.

I have change to:

< af:commandButton text = "Submit" id = "cb1".
Icon="/images/submit.gif".
accessKey = "S".
action = "submitRecord".
actionListener = "#{myBean.saveRecordOnClick} '"

with saveRecordOnClick method is the same logic of code, it still does not work. There is no error or log info at all.

I have the same button send on other pages, it works very well.

Any idea? Enjoy it!

Mike,

You have any component whose property Rendered / Visible property in your screen.

If in order to check the required property for this component.

It is also one of the reasons.

If the component will not be visible/rendering but want to keep REquried = "true" then mandatory error message will get fired. This message will not display in the screen. You can not adopt additional measures.

Check it out.

Vini

Published by: Vini on March 10, 2011 01:09

Tags: Java

Similar Questions

  • I need to activate my membership creative cloud on my second computer but I get a message telling me that I have already installed on 2 computers, which I did not, and the only option it gives me is to uninstall all my computers, which I'm read again

    That I need to activate my membership creative cloud on my second computer but I get a message telling me that I have already installed on 2 computers, which I did not, and the only option it gives me is to uninstall all of my computers, I am reluctant to do because it works on my main computer (MacBook Pro) and I don't want to ruin that.  How to install on my desktop (iMac) counter without uninstalling on my another computer first?  My subscription tell me I can have it installed on 2 computers!

    that option is not to uninstall, it is disconnected.

    Click Yes and disconnect all others.  then you can connect on the one you want.

    and when you start a program adobe on your other program will give you the option to connect.

    end of the number.

  • Firefox is not fully load site Barclaycard of authentication. It load regarding the demand for certain letters in my password but does not load the button 'Submit', so I can't continue with my purchase and I switch to IE8 browser to buy whatever it is ov

    Firefox is not fully load site Barclaycard of authentication. It load regarding the demand for certain letters in my password but does not load the button 'Submit', so I can't continue with my purchase and I switch to IE8 browser to buy anything on the internet. Clues?

    This has happened

    A few times a week

    Is a few weeks ago

    Your UserAgent string in Firefox is totally messed up by another program that you have installed and Barclays does not know you use Firefox 3.6.6 - it is probably similar to IE 6.0 on this site.
    http://en.Wikipedia.org/wiki/USER_AGENT

    type of topic: config in the URL bar and press ENTER.
    If you see the warning, you can confirm that you want to access this page.
    Filter = general.useragent.
    Preferences are "BOLD", a line at a time, and then select reset, right click
    Then restart Firefox

  • Rec'd dropbox to the message with a photo of the friend doc. Such notice, thought has been expanding doc, immediately went to the zip file downloads. Open the folder several files, open 1, did not open the funny code file. I'm ok, anyone who sent hacked.

    Received email claimed friend which contained dropbox. In dropbox was the photo of the small document and note to friend. (I wasn't familiar with dropbox). The document had seen listed by it. I clicked on see thinking I was enlarging document to read what it was. A folder of zip file immediately went to the download. I opened the case and he had several files listed, suspicious code. One who does not I opened. The person called and they said that their e-mail had been hacked. Someone had mentioned to them that it would be Zeus. Although I have downloaded zip file and open a folder which looked ok, and I did not open the file with the code of suspicion. I agree with you?

    I agree with you?

    Yes. Just delete the files and the message.

  • In windows live quick view mail, how can I activate the button Delete

    Hello

    When I opened my windows live mail, I can see a quick view, which is great. There are more than 3,000 mail there that I don't need. When I click on the button Delete is in shadow. How can I activate the button Delete or is there a quick way to delete these messages at once. I'm working on Windows xp

    Hello

    The question you posted would be better suited to Windows Live Solution Center. I suggest you to send your application in the Windows Live Solution Center for better support.

    http://windowslivehelp.com/product.aspx?ProductID=15

  • "could not activate the integration features" on virtual PC

    My host is running Windows 7. my virtual machine has XP Pro. It worked, but now when I try to run it in XP Mode I get the message "could not activate the integration features. When I click to go forward in any case, I get a black window with a slider _ and nothing doesn't work to open my virtual machine.

    Hi Randall,.

    Since the problem is related to the Windows XP Mode, I suggest you post your question in the below related forums.

    Windows Virtual PC and XP Mode Forum

  • Can not find the button Delete in my windows media player 11.

    I don't think you understand me... they ask something.no you won't miss them but my windows media player... when I right click on my files or files .it's not remove button only remove from the list button.when I click on this file disappears for a while but returned then again.this is not good because I want to delete a large number of my files in my library .so what is the answer do I have to remove windows media player, and then download it again.must be a response,.

    * original title - just had my question answer can not find the button Delete in my windows media player 11

    Hello

    ·          Are you a right click on the file in the playlist or library?

    Try the procedure described in the following article:

    You cannot view, add, or remove items from the Windows Media Player 11 library: http://support.microsoft.com/kb/925718  

  • Could not activate the integration features

    I clicked on start > all programs > Windows Virtual PC > Windows XP Mode.  Instead of loading Windows XP in the VM, I get an error message that says "could not activate the integration features", which would cause this error message?

    MLMH

    I just had the same thing happen. When I chose to continue, I got was a black screen and no option to enable the integration features.

    I found the settings screen for XP Mode via the start menu, all programs, Windows virtual PC, Windows Virtual PC. Right-click on the Virtual PC icon in windows, and then select settings. Select close and then change close automatically with the following measures: to Hibernate to stop.

    When I closed the window the next time xp mode, he asked me if I really wanted to force the shutown of the window, I said yes. The next time I started windows xp mode it came and all my programs were OK...

    Hope this helps

  • Did not find the main: PluraRunner. Program ends.

    Hello..

    I use Windows 7 (64-bit). The problem is that I have a prompt with the error "did not find the main: PluraRunner.» Program will exit. "Here's a screenshot of the error:

    -By clicking on OK the prompt again in about 20 seconds. It never stops.

    I tried:

    -Restart and re-login
    -Uninstall and reinstall Java
    -Remove any redundant Java installation. So for the moment I only have a single installation of Java on my machine.
    -Defining the path and Classpath variables

    Whenever the prompt, I see files two following jar in the temporary location:

    If I click OK to the prompt and delete these files, they are re-created in the same place when the guest returns.

    Please me before I lose my sanity on this stupid problem!

    -Mitesh

    Solved!

    I was able to resolve the problem by disabling one of the start-up services in msconfig:

    Some people may find the same as that in their list of others, but the key has been one of the start-up services which kept causing the error message. I even rebooted my machine and made sure that the error does not return.

  • I have the old version of photoshop cs a perpetual license. But I can not activate the license via internet and phone. Can you help me?

    I have the old version of photoshop cs a perpetual license. But I can not activate the license via internet and phone. Can you help me? @

    CS2, Acrobat 7 + Audition 3 (AND PREVIOUS) activation server has disappeared, then read below

    l http://helpx.adobe.com/x-productkb/Policy-Pricing/Creative-Suite-2-activation-end-Life.htm

    .

    You MUST use the special version and the serial number on the page, not your original drive or serial number

    .

    NOTE that CS2 will not install on a "modern" with an Intel Mac

    When you install the special version of CS2 on a Win7 or Win8 or Win10 computer, you may need to right click on the program icon and select compatibility Windows XP in the popup of option

  • I printed just a pdf and he did not understand the polylines I had traced.  What has caused this?

    I printed just a pdf and he did not understand the polylines I had traced.  Why?

    Hi Gary,.

    Please try this: -.

    • Click the print or choose file > print to open the print dialog box.

    • In the print dialog box, select Document and annotations in the drop-down list of forms and comments.
      I would like to know if it works.
      Kind regards
      Nicos

  • Hi guys, I have to cancel my account creative cloud, but I did not undo the plan in my menu of management plan. Do you know what I can do? Thank you

    Hi guys, I have to cancel my account creative cloud, but I did not undo the plan in my menu of management plan. Do you know what I can do? Thank you

    Use the phone or Chat - support

    To the link below, click on the still need help? the option in the blue box below and choose the option to chat...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails try using another browser.

    https://helpx.Adobe.com/contact.html?step=CCSN_membership-account-payment_cancel-your-memb Governments

    800-833-6687 (the only one from 05:00 - 19:00 PST, Monday to Friday day US).

  • BC Ecommerce SOAP error: server did not recognize the value of the SOAPAction HTTP header

    I am trying to add a product to an ecommerce with this soap action site: Product_UpdateInsert

    I followed this very brief instruction: . https://jollyrogers.worldsecuresystems.com/catalystwebservice/catalystecommercewebservice asmx? op = Product_UpdateInsert

    I have an html page in a secure area with a SOAP ajax jQuery script.

    I get this error when I run the script:

    " <? xml version ="1.0"encoding ="utf-8"? > < envelope soap: xmlns:soap = ' http://schemas.xmlsoap.org/SOAP/envelope/ "" xmlns: xsi = " " http://www.w3.org/2001/XMLSchema-instance "container =" " http://www.w3.org/2001/XMLSchema ' > < Customer: soap soap: Body > < soap: Fault > < faultcode > < / faultcode > < faultstring > server did not recognize the value of the SOAPAction HTTP header: . https://jollyrogers.worldsecuresystems.com/CatalystDeveloperService/CatalystEcommerceWebse m/Product_UpdateInsert . < / faultstring > < detail / > < / soap: Fault > < / soap: Body > < / envelope soap: >

    I also tried to add a header with the Soap action with the beforeSend in the ajax call.

    This should have been resolved before I guess?

    Here is my script:

    <! DOCTYPE html >

    < html lang = "en" >

    < head >

    < title > asks SOAP Test < /title >

    "< script type =" text/javascript"src="//code.jquery.com/jquery-1.10.2.min.js "> < / script >

    "< script type =" text/javascript"src="//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.3.1/jquery.cookie.min.js "> < / script >

    "< script type =" text/javascript"src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.1/underscore-min.js "> < / script >

    "< script type =" text/javascript"src="//cdnjs.cloudflare.com/ajax/libs/backbone.js/1.0.0/backbone-min.js "> < / script >

    "< script type =" text/javascript"src="//cdn.worldsecuresystems.com/bcapi/bcapi-0.0.1.min.js "> < / script >

    < / head >

    < body >

    < script >

    var wsUrl = " " asmx https://jollyrogers.worldsecuresystems.com/catalystwebservice/catalystecommercewebservice. ";

    var = soapRequest

    ' <? XML version = "1.0" encoding = "utf-8"? >------.

    " < soap12:Envelope xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "container =" " http://www.w3.org/2001/XMLSchema "xmlns:soap12 =" " http://www.w3.org/2003/05/soap-envelope "> \

    < soap12:Body >.

    " < Product_UpdateInsert xmlns =" interface https://jollyrogers.worldsecuresystems.com/CatalystDeveloperService/CatalystEcommerceWebse "> \

    < user name > myEmailAdress < / name >.

    password <>mySecretPassw < / password >.

    < siteId > 1894001 < / siteId >------.

    < productList >------.

    < Products >------.

    < productCode > ZJAWEyuuyN < / productCode >.

    < productName > my product test < / productName >------.

    dolor in < description > Lorem ipsum sit amet, 195kgs adipisicing elit, sed eiusmod tempor storage developed and pain ut magna aliqua. < / description >.

    /images/Product1/small.jpg < smallImage > < / smallImage >------.

    < largeImage > /images/product1/large.jpg < / largeImage >------.

    < cataloguesArray >.

    < string > /Store/ < / string >.

    < / cataloguesArray >.

    < pricesSaleArray >.

    < string > US/19.95,3/17.96,7/16.96 < / string >.

    < / pricesSaleArray >.

    < pricesRetailArray >.

    < string > US/20.5/19.8/20 < / string >.

    < / pricesRetailArray >.

    < pricesWholesaleArray >.

    < string > US/20.5/19.8/20 < / string >.

    < / pricesWholesaleArray >.

    < wholesaleTaxCodeArray >.

    < String > en / 0.00 < / string >.

    < / wholesaleTaxCodeArray >.

    < taxCodeArray >.

    < string > GB/VAT < / string >.

    < / taxCodeArray >.

    < groupProducts >.

    < string > 580H0036BL < / string >.

    < string > ACAI60 < / string >.

    < string > ABC-123 < / string >.

    < / groupProducts >.

    < groupProductsDescriptions >.

    Lorem ipsum dolor sit amet < string > < / string >.

    < string > 195kgs adipisicing elit < / string >.

    < / groupProductsDescriptions >.

    < 1234 > supplierEntityId < / supplierEntityId >.

    < supplierCommission > 0 < / supplierCommission >.

    < weight > 30 < / weight >------.

    tags <>NEW! < / tags >------.

    < unitType > string < / unitType >------.

    < minUnits > 0 < / minUnits >.

    < maxUnits > 2 < / maxUnits >------.

    < inStock > 43 < / inStock >------.

    < onOrder > 3 < / onOrder >------.

    < reorder > 2 < / reorganize >------.

    < inventoryControl > true < / inventoryControl >.

    < canPreOrder > true < / canPreOrder >.

    Text < custom1 > in the custom field 1 < / custom1 >------.

    Text < custom2 > in the custom field 2 < / custom2 >------.

    < custom3 > custom text in the field 3 < / custom3 >------.

    < custom4 > custom text in the field 4 < / custom4 >------.

    < popletImages > / images/image1.jpg;/images/image2.jpg; < / popletImages >.

    < enabled > true < / enabled >------.

    < deleted > false < / deleted >.

    < captureDetails > true < / captureDetails >.

    < downloadLimitCount > 20 < / downloadLimitCount >.

    < limitDownloadsToIP > 0 < / limitDownloadsToIP >.

    < isOnSale > true < / isOnSale >.

    < hideIfNoStock > true < / hideIfNoStock >.

    < productAttributes > size * | 5. Y:L | UK/2 | US / 20, S | UK/1 | U.S. / 10 < / productAttributes >.

    < isGiftVoucher > false < / isGiftVoucher >.

    < enableDropShipping > true < / enableDropShipping >.

    < productWeight > 0 < / productWeight >.

    < productWidth > 0 < / productWidth >------.

    < productHeight > 0 < / productHeight >.

    < productDepth > 0 < / productDepth >.

    < excludeFromSearch > false < / excludeFromSearch >.

    < productTitle > my product title < / productTitle >------.

    < cycletypeId > 3 < / cycletypeId >.

    < cycletypeCount >-1 < / cycletypeCount >.

    produced my < slug > < / slug >------.

    < hasVariations > true < / hasVariations >.

    variations of <>.

    < ProductVariation xsi: Nil = "true" / >.

    < ProductVariation xsi: Nil = "true" / >.

    < / variations >------.

    < / product >.

    < / productList >------.

    < / Product_UpdateInsert >.

    < / soap12:Body >.

    < / soap12:Envelope > ';

    $.ajax({)

    type: 'POST',

    beforeSend: function (xhr) {xhr.setRequestHeader ("SOAPAction ','https://jollyrogers.worldsecuresystems.com/CatalystDeveloperService/CatalystEcommerceWebse m/Product_UpdateInsert '"); } },

    URL: wsUrl

    contentType: "text/xml",

    data type: "xml."

    data: soapRequest;

    success: processSuccess,.

    error: processError

    });

    function processSuccess (data, status, req)

    {

    If (status is 'success')

    Alert ("Success!");

    }

    function processError (data, status, req)

    {

    Alert ("Failed!");

    Alert (req.responseText + "" + status);

    }

    < /script >

    < / body >

    < / html >

    This line is a target namespace, so it should not be changed:http://tempuri.org/CatalystDeveloperService/CatalystEcommerceWebservice"> It is very easy to think that it's a placeholder and that it should be replaced with your own url, which it should not and which will fail.

    It works now:

    SOAP test 7 request

  • SOS... I don't know what is happening, but when I import the photos to LR5, looks like I have a "Preset" which I did not and the white balance becomes 'custom '... You have an answer that I can solve this problem? Thank you.

    SOS... I don't know what is happening, but when I import the photos to LR5, looks like I have a "Preset" which I did not and the white balance becomes 'custom '... You have an answer that I can solve this problem? Thank you.

    Possibly, you have made changes to your 'by default develop settings'. The default WB in Lightroom should be "under the shot" to view this selection has recently imported a file raw in the develop Module, click history in the left panel, click on the first import. (see screen capture) and then see what settings have been applied to import for the white balance it must be 'in the know '.

  • Why my iPhone 4S (ios 9.3.5) does not activate the messages using my apple ID?

    Why my iPhone 4S (ios 9.3.5) does not activate the messages using my apple ID?

    Michael T.L. says:

    Why my iPhone 4S (ios 9.3.5) does not activate the messages using my apple ID?

    If you get an error when you try to activate FaceTime - Apple Support or iMessage

Maybe you are looking for