Hi, that was true in the past, see TRINIDAD-660
"org.apache.myfaces.trinidadinternal.renderkit.USE_DIALOG_POPUP" became "org.apache.myfaces.trinidad.renderkit.ENABLE_LIGHTWEIGHT_DIALOGS" but, of the 1.0.2 and the 1.2.2 release, yes there is the still the "old" setting. -Matthias On 9/19/07, Glauco P. Gomes <[EMAIL PROTECTED]> wrote: > > The context param should be: > > <context-param> > > <param-name>org.apache.myfaces.trinidadinternal.renderkit.USE_DIALOG_POPUP</param-name> > <param-value>true</param-value> > </context-param> > > Glauco P. Gomes > > Kuhn, Harald escreveu: > Hi Matthias, > > OK, with the "/faces/*" mapping the dialog shows up. > But, despite the fact I wanted to use lightweight dialogs it always shows up > in a new window. > This is true for Firefox 2.0.0.6 and IE 7.0 > > I have this parameter in my web.xml: > <!-- use iframe/div Popups --> > <context-param> > <param-name>org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS</param-name> > <param-value>true</param-value> > </context-param> > > Is this also a MyFaces 1.2.x issue? Or, is it a configuration issue? > > Best regards > > Harald > > > ************************************** > Harald Kuhn > AirPlus International > Business Information Services > Phone: +49 (0) 61 02 204-821 > Fax: +49 (0) 61 02 204-139 > E-Mail: [EMAIL PROTECTED] > Internet: www.airplus.com > ************************************** > > > > > > Lufthansa AirPlus Servicekarten GmbH · Hans-Böckler-Straße 7 · 63263 > Neu-Isenburg · Germany · Geschäftsführer: Patrick W. Diemer (Vorsitz), Lutz > Logemann · Vorsitzender des Aufsichtsrates: Stephan Gemkow · > Handelsregister: Amtsgericht Offenbach/Main, HRB 8119 > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Matthias Wessendorf > Sent: Wednesday, September 19, 2007 11:39 AM > To: MyFaces Discussion > Subject: Re: [Trinidad] HTTP 404 (file not found) while using > DialogFramework > > > Hi, > > I noticed that w/ myfaces 1.2.x and *.faces mapping it doesn't work > > can you try > -/faces/* mapping > > -Matthias > > On 9/19/07, Kuhn, Harald <[EMAIL PROTECTED]> wrote: > > > > Hi, > > if I try to launch a dialog I get an HTTP 404 Return Code. > The dialog is launched like this: > <tr:commandNavigationItem text="#{node.label}" > action="#{node.getOutcome}" > useWindow="true" > partialSubmit="true"/> > "#{node.getOutcome}" evaluates to "dialog:goDialog" > <navigation-case> > <from-outcome>dialog:goDialog</from-outcome> > <to-view-id>/styling/dialog.xhtml</to-view-id> > </navigation-case> > > The reason seems to be a wrong URL: > https://localhost/jsfpoc/__ADFv__?_afPfm=-8f005a9&_t=fred&_vir=/styling/dialog.xhtml&loc=de-DE-DE&_rtrnId=0 > > As our Faces-Servlet is matched to *.jsf there should be .jsf somwhere in > the URL > <!-- Faces Servlet Mappings --> > <servlet-mapping> > <servlet-name>faces</servlet-name> > <url-pattern>*.jsf</url-pattern> > </servlet-mapping> > > > If I manually change the URL to > https://localhost/jsfpoc/__ADFv__.jsf?_afPfm=-8f005a9&_t=fred&_vir=/styling/dialog.xhtml&loc=de-DE-DE&_rtrnId=0 > the content of /styling/dialog.xhtml is displayed correctly. > > Is this a bug or am I doing something wrong? > Our environment is: > myFaces 1.2.1-SNAPSHOT > trinidad 1.2.2 > facelets 1.1.13 > Thanks for your help. > Harald Kuhn > ************************************** > Harald Kuhn > AirPlus International > Phone: +49 (0) 61 02 204-821 > E-Mail: [EMAIL PROTECTED] > Internet: www.airplus.com > ************************************** > > > > Lufthansa AirPlus Servicekarten GmbH · Hans-Böckler-Straße 7 · 63263 > Neu-Isenburg · Germany · Geschäftsführer: Patrick W. Diemer (Vorsitz), Lutz > Logemann · Vorsitzender des Aufsichtsrates: Stephan Gemkow · > Handelsregister: Amtsgericht Offenbach/Main, HRB 8119 > > > > > > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail: matzew-at-apache-dot-org

