| Author |
htmlCommandButton sometimes does not work.
|
Vincent Zhao
Greenhorn
Joined: Jul 09, 2008
Posts: 28
|
|
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
Joined: Oct 09, 2006
Posts: 57
|
|
|
Can you post the whole jsp just to try to understand why is not working?
|
 |
Vincent Zhao
Greenhorn
Joined: Jul 09, 2008
Posts: 28
|
|
|
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
Joined: Jun 13, 2008
Posts: 28
|
|
<h:commandButton action="#{actionBean.method}" immediate="true" value="Add"/> checkit This.
|
 |
Vincent Zhao
Greenhorn
Joined: Jul 09, 2008
Posts: 28
|
|
Thanks Bhaskar. Probably this is a point.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
"Wynton Zh", please check your private messages for an important administrative matter.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Vincent Zhao
Greenhorn
Joined: Jul 09, 2008
Posts: 28
|
|
Hi Bear Bibeault, Actually, my first name is Wynton and last name is Zhao. Why I can not use it?
|
 |
Vincent Zhao
Greenhorn
Joined: Jul 09, 2008
Posts: 28
|
|
Hi Bhaskar, Do you have this problem before? Are you sure this is a point? I still have this problem. Thanks.
|
 |
 |
|
|
subject: htmlCommandButton sometimes does not work.
|
|
|