File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes buttons problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "buttons problem" Watch "buttons problem" New topic

buttons problem

Kant P.

Joined: Apr 12, 2005
Posts: 11
I have 4 buttons in a form. Each has its own logic. But after pressing them for awhile; they started not working any more. As I press them, no logics were executed...

I'm struggling trying to find out the cause..!! Can you tell me what's the problem here?

Thank you for your time and assistance..!
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

If you aren't debugging properly sometimes what will happen is your logic is what is not working anymore and an Exception is being thrown that you cannot see. So then everytime you press the button after that initial exception it just keeps on throwing it and it would appear the buttons aren't working when in reality it's your logic that blew up.

That's all I can think of with the tiny bit of information you have provided.

GenRocket - Experts at Building Test Data
Kant P.

Joined: Apr 12, 2005
Posts: 11
Thank you for replying...

I'm using RAD6
Tomcat 4.127
JDK 1.4.2*
JSF 1.1

I heard that, JSF 1.1 has a problem with buttons.
I looked up here:
which describe my problem too. One of them said, because the page backing bean doesn't have setter for its variables, so that cause the jsf life cycle to end prematurely.

I added all setters on every page, but the problem still persists....Any thought?

Thanks again
srikanth koppisetty

Joined: Feb 14, 2005
Posts: 20
Did you see if there is navigation rule in your faces-config.xml file

<redirect />
I agree. Here's the link:
subject: buttons problem
It's not a secret anymore!