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