myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Grund" <andreas.gr...@valtech.de>
Subject AW: AW: Action Method not called using Myfaces 1.1.5
Date Thu, 06 Dec 2007 19:48:49 GMT
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:hasnainbadami@gmail.com]
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 <andreas.grund@valtech.de> wrote:

> no, nothing.
>
> Greetings,
> Andreas
>
>
> -----Ursprüngliche Nachricht-----
> Von: mwessendorf@gmail.com 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 <andreas.grund@valtech.de> 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: mwessendorf@gmail.com 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 <svilen.ivanov@sirma.bg> 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: mwessendorf@gmail.com 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 <andreas.grund@valtech.de>
> 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:andreas.grund@valtech.de
> > > >> 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
>
>


Mime
View raw message