Hi, I found the error. MyFaces within the BEA Weblogic Server seems to have problems with <%= include ... %> and <jsp:include /> Tags. After deleting these two Tags, it works fine. But why that? Where is the problem? Why can´t I use both? I meen include and JSF?
Greetings, Andreas -----Ursprüngliche Nachricht----- Von: Hasnain Badami [mailto:[EMAIL PROTECTED] Gesendet: Di 04.12.2007 14:44 An: MyFaces Discussion Betreff: Re: AW: Action Method not called using Myfaces 1.1.5 Hi This is ofcourse weird, but I have noticed that some components dont act properly if they are enclosed within tags like verbatim. Is it possible for you to post your JSP On Dec 4, 2007 1:36 PM, Andreas Grund <[EMAIL PROTECTED]> wrote: > no, nothing. > > Greetings, > Andreas > > > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] im Auftrag von Matthias Wessendorf > Gesendet: Di 04.12.2007 14:29 > An: MyFaces Discussion > Betreff: Re: AW: Action Method not called using Myfaces 1.1.5 > > any JS error or something else ? > > > On Dec 4, 2007 2:24 PM, Andreas Grund <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I added the <h:messages /> tag directly after my </h:form> tag and got > no output. So, as far as I can say, no error occurs. Very mysterious... > > > > Greetings, > > Andreas > > > > > > -----Ursprüngliche Nachricht----- > > Von: [EMAIL PROTECTED] im Auftrag von Matthias Wessendorf > > Gesendet: Di 04.12.2007 13:39 > > An: MyFaces Discussion > > Betreff: Re: AW: Action Method not called using Myfaces 1.1.5 > > > > > > :-) > > Yes, that is one of the odd things, that may happen during development > w/ JSF. > > Using Trinidad fixes that (no need for <messages/>). > > > > -Matthias > > > > On Dec 4, 2007 1:32 PM, Svilen Ivanov <[EMAIL PROTECTED]> wrote: > > > 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 > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Matthias Wessendorf > > > > further stuff: > > blog: http://matthiaswessendorf.wordpress.com/ > > sessions: http://www.slideshare.net/mwessendorf > > mail: matzew-at-apache-dot-org > > > > > > > > -- > Matthias Wessendorf > > further stuff: > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > mail: matzew-at-apache-dot-org > >

