Mmmh, this thing again :-( It seems to me that the new ExtensionsPhaseListener is not working somehow. It is registered in the faces-config.xml file in tomahawk. I don't know how facelets work, but can facelets interfere with that file somehow? It seems like the phase listener is not being registered so it is not called, rendering no javascript stuff. This filter creates the needed javascript code and puts it in the request, so the extensionsFilter can write it later in the response. Boris, could you try to build the application from the SVN sources using maven, and put some tracing code in the ExtensionsPhaseListener class to see if it is getting called? I will try to dig it deeper to this tonight if I have time.
Regards, Bruno On 2/12/06, Martin Marinschek <[EMAIL PROTECTED]> wrote: > Do you have a form around your command-links? > > If yes, you'll need to look into the HtmlLinkRendererBase class. > > If not, you'll need to look into: > > ExtensionsPhaseListener > > and > > ExtensionsFilter > > and tell us, what happens in there. > > regards, > > Martin > > On 2/12/06, Boris Kovalenko <[EMAIL PROTECTED]> wrote: > > Hello! > > > > As it is important for me we may try. Please tell me what should I > > do > > exactly. > > > > Martin Marinschek wrote: > > > Now what we implemented was trying to fix the stuff between facelets > > > and MyFaces ;) > > > > > > Ok, give Bruno and me some time to sort this out. > > > > > > If you can do some debuggin in the filter and the new phase-listener > > > in tomahawk, that would be great. > > > > > > regards, > > > > > > Martin > > > > > > On 2/12/06, Boris Kovalenko <[EMAIL PROTECTED]> wrote: > > > > > >>Hello! > > >> > > >> Of course, Martin, I have extensionFilter configured (I always > > >>configure it even I not use extensions). I have a working project with > > >>extfilter configured and etc. It is working fine with facelets 1.0.10 > > >>(and 1.0.7) & MyFaces 1.1.1. When I change MyFaces to the latest nigthly > > >> I see no javascript output (this was my first try to use 1.1.2). Of > > >>course, if org.apache.myfaces.ALLOW_JAVASCRIPT is false - the > > >>application begin to work. Strange thing - when > > >>org.apache.myfaces.ALLOW_JAVASCRIPT is false I see <!-- MYFACES > > >>JAVASCRIPT --> and nothing more, and when > > >>org.apache.myfaces.ALLOW_JAVASCRIPT is true I even can't see <!-- > > >>MYFACES JAVASCRIPT --> !!! > > >> > > >>P.S. Without Facelets all is ok. So (IMHO) the problem is between > > >>MyFaces and Facelets. > > >> > > >>Martin Marinschek wrote: > > >> > > >>>Hi Boris, > > >>> > > >>>we've been digging a lot in this area in the last two weeks, so this > > >>>feedback is important. > > >>> > > >>>A question - do you have the extensionsFilter configured, or do you > > >>>not use extended components? > > >>> > > >>>regards, > > >>> > > >>>Martin > > >>> > > >>>On 2/12/06, Boris Kovalenko <[EMAIL PROTECTED]> wrote: > > >>> > > >>> > > >>>>Hello! > > >>>> > > >>>> May be I missed something, but with latest 1.1.2 and Facelets I > > >>>> see no > > >>>>javascript code in generated files. So command links and other things > > >>>>stop working. There is no problem with 1.1.1 code. > > >>>> > > >>>>With respect, > > >>>> Boris > > >>>> > > >>> > > >>> > > >>> > > >>>-- > > >>> > > >>>http://www.irian.at > > >>> > > >>>Your JSF powerhouse - > > >>>JSF Consulting, Development and > > >>>Courses in English and German > > >>> > > >>>Professional Support for Apache MyFaces > > >>> > > >> > > >>With respect, > > >> Boris > > >> > > > > > > > > > > > > -- > > > > > > http://www.irian.at > > > > > > Your JSF powerhouse - > > > JSF Consulting, Development and > > > Courses in English and German > > > > > > Professional Support for Apache MyFaces > > > > > With respect, > > Boris > > > > > -- > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces >

