Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
    Bookmark Topic Watch Topic
  • New Topic

Register button is not working in google chrome

 
Sijesh Alayaril
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'm facing one problem with h:commandButton.It is not working with google chrome.Please see the below code

Please let me know if you need any other information.Thanks in advance.
 
Greg Charles
Sheriff
Posts: 3002
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Sijesh, can you be clearer about what "not working" means? Does it not appear on the page? Do you get any errors on the JavaScript console? If the button appears, and you click it, do you see a request sent to the server?
 
Sijesh Alayaril
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Greg,On click of the Register button it's not working,I mean to say even i'm not getting any error in the javascript console and also i cant see any request send to the server too

I'm copying the code here,
                        <a4j:outputPanel  ajaxRendered="true" >
                        <h:commandButton id="btnReg" value="#{msgs.testtube_registration_button_registration}" action="#{testTubeRegistrationBean.register}" rendered="#{testTubeRegistrationBean.ufmTesttubeReg.addRecordYn==1 && testTubeRegistrationBean.ttRegistration.id == 0 || testTubeRegistrationBean.ttRegistration.id == null}" styleClass="inputBtn" onmouseover="this.className='inputBtnHover'" onmouseout="this.className='inputBtn'">                       
                        </h:commandButton>
                    </a4j:outputPanel>   

I have notice one thing, it's due to  <a4j:outputPanel  ajaxRendered="true" >.If i removed <a4j:outputPanel  ajaxRendered="true" > its working but rendering(of the button) is not working.

So did   <a4j:outputPanel  ajaxRendered="true" > tag gives problem with google chrome? please advise

Thanks in advance for the help
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15632
46
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't post the same question twice - continue in your other topic about the same question.
 
    Bookmark Topic Watch Topic
  • New Topic