I'd recommend to use trinidad and no ajax3jsf On Nov 27, 2007 12:49 PM, Wolfgang <[EMAIL PROTECTED]> wrote: > the a4j:support works with event="onclick" and some other... is it possible > that the event="oncomplete" does not work because the h:commandButton > does not have the oncomplete event, but all the others.. > > Cheers > > Hi, > > > > because the first method has to be synchronized and the second one has > > to be asynchronous. > > > > > > >> Why dont you use a4j:commandButton? > >> > >> On Nov 27, 2007 12:56 PM, Wolfgang <[EMAIL PROTECTED] > >> <mailto:[EMAIL PROTECTED]>> wrote: > >> > >> Hi, > >> > >> I combined a h:commandButton with a a4j:support component: > >> > >> <h:commandButton id="submit" > >> value="Submit" > >> styleClass="submit_button" > >> actionListener="#{homePage.processSubmit}"> > >> <a4j:support event="oncomplete" > >> actionListener="#{homePage.processServices}" > >> reRender="tree, inputRegion, serviceError"/> > >> </h:commandButton> > >> > >> Everything works fine besides that the method > >> homePage.processServices > >> won't be called > >> Does anyone know why? > >> > >> Cheers > >> > >> > >
-- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org

