Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

htmlCommandButton sometimes does not work.  RSS feed

 
Vincent Zhao
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a command button as follow:
<h:commandButton action="#{AvailableBean.selectTrain}"
style="border-style:none;background:url(../xxx_xxx_images/#{bundle.buttonSelectAndContinue}) no-repeat center center;width:200px;cursor:pointer">
</h:commandButton>

Usually, it works fine, but sometimes it does not work. When I click the button, nothing happen. I cannot figure out what's the problem. Does anybody can give me any possible suggestions? Thanks in advance.

Wynton
 
Andres Quinones
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post the whole jsp just to try to understand why is not working?
 
Vincent Zhao
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a big JSP file. It SOMETIMES does not work. I have no idea about why and when it will not work.
 
Bhaskar GR
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<h:commandButton action="#{actionBean.method}" immediate="true" value="Add"/>
checkit This.
 
Vincent Zhao
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bhaskar.
Probably this is a point.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Wynton Zh", please check your private messages for an important administrative matter.
 
Vincent Zhao
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear Bibeault,

Actually, my first name is Wynton and last name is Zhao. Why I can not use it?
 
Vincent Zhao
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bhaskar,

Do you have this problem before? Are you sure this is a point? I still have this problem. Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!