2 Replies Latest reply on Jan 19, 2008 9:14 PM by David M. Karr

    Why is action method on commandButton not being called anymo

    David M. Karr Newbie

      JSF 1.1, RichFaces 3.1.3, WebLogic 9.2.2.

      I was slowly evolving a little toy app to experiment with various JSF/RichFaces aspects. So far, it's not doing very much. I had three fields, each in a separate tab of a tabpanel, and the last tab had a command button whose action calls a method on the server, to add up the values in the other three fields so that an outputText will show the sum of them. This was working fine.

      Now, for some reason, it just doesn't call the action method anymore, and I don't know why. I haven't changed anything in that part of the code for quite a while. I have debugging output on, and there are lots of log messages that come out when I click the button, but it doesn't hit the breakpoint in the action method, and I can tell it doesn't execute it, because the label in the outputText still renders blank when it's done. Nothing in the log messages indicates any sort of error or warning.

      I'm using a LifeCycleListener to watch the phases, and I see it go through "RESTORE_VIEW", "APPLY_REQUEST_VALUES", "PROCESS_VALIDATIONS", and then "RENDER_RESPONSE". I think it skipped a phase where it would have called my action method.

      Is there anything I can do to get more information about what it's doing here?