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
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Reply via email to