Do you have input fields marked as "required" or validators? Put a <h:messages /> to see if there is validation error.

Regards,
Svi

Andreas Grund wrote:
Hi Matthias,

yes, it is the last element within a h:form-tag.

Greetings,
Andreas


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] im Auftrag von Matthias Wessendorf
Gesendet: Di 04.12.2007 13:14
An: MyFaces Discussion
Betreff: Re: Action Method not called using Myfaces 1.1.5
Is the link/button nested w/in a form ?

-M

On Dec 4, 2007 1:06 PM, Andreas Grund <[EMAIL PROTECTED]> wrote:
Hi Mailing-List,

I have a little Problem with my command button. I declared it within my
jsf-Page as following:
<h:commandButton action="#{jobDetailBackingBean.testAction}"
style="position:absolute;left:230px;top:400px;"
value="#{msg.button_schedule_new_job}" />

The method testAction looks so:
public String testAction() {
                logger.info("testAction called");
                return "success";
        }

But when I press my button, nothing happens. I do not see the log-output
created by the testAction-Method. To ensure, that I check the correct
log-File, I implement the default constructor in the following way:
public JobDetailBackingBean() {
                logger.info("Creating an instance of the JobDetailBackingBean");
        }

This text is logged, but the action method seems not to be called. Can
anybody tell me, why?

Thanks for your help and best regards,
Andreas Grund

PS: I use MyFaces 1.1.5 (as told above) on a Weblogic 8.1 with java 1.4.2

--
Andreas Grund
externer Mitarbeiter Projet GUTS bei Conti
mailto:[EMAIL PROTECTED]
Mobile:




Germany

Phone:
Fax:



Geschäftsführer: Ingo Kriescher
Amtsgericht Düsseldorf HRB48672





Reply via email to