Dear Sirs et Madames,
I have a facelets page (test.xhtml) that is like so:
Currently the command button simply bound to a method addAndContinue() which for now does a System.out.println to let me know that it is functioning.
However am experiencing some very perplexing behavior. When I click on the button, no statement is printed at all. As soon as I remove/comment out from test.xhtml the lines pertaining to the drop down menu, i.e removal of the following lines:
when these lines are removed, the method IS run and the statement is printed. This happens within a Spring Web-Flow flow, by the way. When I repeat the exercise but not as part of a SWF flow everything works as it should (the statement is printed) even with the drop down menu code left intact.
If when in the SWF mode, I add immediate="true" to the commandButton i.e
The println statement DOES run, but other things break. Does anyone know what is happening here? I will gladly post more code if necessary...
Thanks for the response Mahendra, however am still puzzled, even if the problem is with entityAttributeConverter, why would the problem only occur within a SWF flow, but when the example is being run external to a SWF flow it works?