Forums Register Login

htmlCommandButton sometimes does not work.

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
Can you post the whole jsp just to try to understand why is not working?
+Pie Number of slices to send: Send
It's a big JSP file. It SOMETIMES does not work. I have no idea about why and when it will not work.
+Pie Number of slices to send: Send
<h:commandButton action="#{actionBean.method}" immediate="true" value="Add"/>
checkit This.
+Pie Number of slices to send: Send
Thanks Bhaskar.
Probably this is a point.
+Pie Number of slices to send: Send
"Wynton Zh", please check your private messages for an important administrative matter.
+Pie Number of slices to send: Send
Hi Bear Bibeault,

Actually, my first name is Wynton and last name is Zhao. Why I can not use it?
+Pie Number of slices to send: Send
Hi Bhaskar,

Do you have this problem before? Are you sure this is a point? I still have this problem. Thanks.
I'm just a poor boy, I need no sympathy, because I'm easy come, easy go, little high, little low, little ad
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1201 times.
Similar Threads
Help. commandButton does not invoke Bean's method.
JSF bean methods
h:commandLink is not working within h:dataTable
Selectmanylistbox disables submit button
Command Link Action Does'nt work
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 00:06:45.