You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by ro...@mvv.de on 2007/06/28 14:51:58 UTC

JSF URL

Hi, 
 
we have some JSF Applications with MyFaces, Trinidad, Facelets, Spring,
Hibernate. 
In all Apps the Browser show allways the last URL, not the current URL. 
For exampel: 
 
1. I start the App. I come to the "login.jsf". 
2. After the login-Procedure I come to "welcome.jsf", but in the URL is
still "login.jsf". 
3. After I click "useradministration" I come to the
"useradministration.jsf", but in the URL is still "welcome.jsf"
 
what I have to do, to change this behavior. I will always see the actual
"XXX.jsf" int the URL. 
If I am in the useradministration, I will see the
"useradministration.jsf" in the URL. 
 
thanks, 
 
Robert Reiz
(24/7-IT-Services) 

Re: AW: JSF URL

Posted by Matthias Wessendorf <ma...@apache.org>.
> Why show JSF not the current URL in the browser ?????
> In old Struts-Apps I never had this problem.

it's a postback. the request is submitted back to your page

/faces/ctx/form.xhtml

contains your form and check the rendered action it goes to exactly this page
(postback)

in struts your page "form.jsp" contains a form and the rendered action is
"doit.do" (or what ever)

That's why.
There is somewhere a wiki for this issue/bookmark problem as well

>
>
>
> Robert Reiz
> (24/7-IT-Services)
>
>
>  ________________________________
>  Von: Francisco Melo [mailto:fmelo@dba.com.br]
> Gesendet: Donnerstag, 28. Juni 2007 15:26
> An: MyFaces Discussion
> Betreff: Re: AW: JSF URL
>
>
>
> Hi, try do not use the navigation faces in faces-config.xml, use a URL like
> a href attribute i an <a> tag.
>
> robert.reiz@mvv.de escreveu:
>
> Hi,
>
> I have try it, but no effects.
>
>
> Robert Reiz
> (24/7-IT-Services)
>
>
>
>  ________________________________
>  Von: Cagatay Civici [mailto:cagatay.civici@gmail.com]
> Gesendet: Donnerstag, 28. Juni 2007 14:56
> An: MyFaces Discussion
> Betreff: Re: JSF URL
>
> Hi,
>
> Try adding <redirect /> to your navigation configs in these cases.
>
> Cagatay
>
>
> On 6/28/07, robert.reiz@mvv.de <ro...@mvv.de> wrote:
> >
> >
> > Hi,
> >
> > we have some JSF Applications with MyFaces, Trinidad, Facelets, Spring,
> Hibernate.
> > In all Apps the Browser show allways the last URL, not the current URL.
> > For exampel:
> >
> > 1. I start the App. I come to the "login.jsf".
> > 2. After the login-Procedure I come to "welcome.jsf", but in the URL is
> still "login.jsf".
> > 3. After I click "useradministration" I come to the
> "useradministration.jsf", but in the URL is still "welcome.jsf"
> >
> > what I have to do, to change this behavior. I will always see the actual
> "XXX.jsf" int the URL.
> > If I am in the useradministration, I will see the "useradministration.jsf"
> in the URL.
> >
> > thanks,
> >
> > Robert Reiz
> > (24/7-IT-Services)
>
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

RE: [Trinidad] How To Add Custom Component Resources Other Than Script

Posted by William Hoover <wh...@nemours.org>.
Done: https://issues.apache.org/jira/browse/TRINIDAD-86

-----Original Message-----
From: Adam Winer [mailto:awiner@gmail.com]
Sent: Friday, June 29, 2007 5:14 PM
To: MyFaces Discussion
Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than
Script


Please :)

-- Adam


On 6/29/07, William Hoover <wh...@nemours.org> wrote:
> Should we open a Jira issue?
>
> -----Original Message-----
> From: Adam Winer [mailto:awiner@gmail.com]
> Sent: Friday, June 29, 2007 12:05 PM
> To: MyFaces Discussion
> Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than
> Script
>
>
> On 6/29/07, William Hoover <wh...@nemours.org> wrote:
> >
> >
> > Thanks for the info Adam! I do have an additional question concerning this.
> > I haven't looked in to this for a while but I remember at one point the
> > "org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry"
> > -> "FredJSP.service" used for dialogs having an issue with servlet-mapping:
> >
> >  <servlet-mapping>
> >   <servlet-name>faces</servlet-name>
> >   <url-pattern>*.jsf</url-pattern>
> >  </servlet-mapping>
> >
> > ...and to get the dialog working I had to use:
> >
> >   <servlet-mapping>
> >    <servlet-name>faces</servlet-name>
> >    <url-pattern>/faces/*</url-pattern>
> >   </servlet-mapping>
> >
> > ...is this still the case? The reason why I ask is that I'm using the
> > suggested InternalView API with:
> >
> > /META-INF/org.apache.myfaces.trinidad.InternalView.properties
> > contents:
> > /__MYRESOURCEv__=some.path.to.my.internalview.class.MyResourceClass
> >
> > ...I have similar code for the "FedJSP.service" call in
> > "org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry",
> > but when calling the resource url http://foo/__MYRESOURCEv__.jsf I get a 404
> > (the same as what I get for dialogs w/*.jsf). Am I missing something?
>
> The GenericEntry code is going through exactly the same codepaths,
> so if *.jsf doesn't work there, it won't work for __MYRESOURCE__ either...
> I thought this had been fixed, but evidently not.  I don't think we have an
> open JIRA issue on this either.
>
> -- Adam
>
> >
> > -----Original Message-----
> > From: Adam Winer [mailto:awiner@gmail.com]
> > Sent: Thursday, June 28, 2007 6:37 PM
> > To: MyFaces Discussion
> > Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than
> > Script
> >
> > Check out the InternalView API of Trinidad.
> >
> >
> > -- Adam
> >
> >
> >
> > On 6/28/07, William Hoover < whoover@nemours.org> wrote:
> > > Is there a way to add resources other than scripts in custom components?
> > >
> > > What I would like to be able to do is add a static HTML page bundled with
> > the component that will be available through a resource URL similar to how
> > "outputScriptlet" works (i.e. http://foo/adf/jsLibs/someScriptResource.js).
> > That way the page will be available without having to be present in the web
> > directory of the application.
> > >
> > >
> >
> >
>
>


Re: [Trinidad] How To Add Custom Component Resources Other Than Script

Posted by Adam Winer <aw...@gmail.com>.
Please :)

-- Adam


On 6/29/07, William Hoover <wh...@nemours.org> wrote:
> Should we open a Jira issue?
>
> -----Original Message-----
> From: Adam Winer [mailto:awiner@gmail.com]
> Sent: Friday, June 29, 2007 12:05 PM
> To: MyFaces Discussion
> Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than
> Script
>
>
> On 6/29/07, William Hoover <wh...@nemours.org> wrote:
> >
> >
> > Thanks for the info Adam! I do have an additional question concerning this.
> > I haven't looked in to this for a while but I remember at one point the
> > "org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry"
> > -> "FredJSP.service" used for dialogs having an issue with servlet-mapping:
> >
> >  <servlet-mapping>
> >   <servlet-name>faces</servlet-name>
> >   <url-pattern>*.jsf</url-pattern>
> >  </servlet-mapping>
> >
> > ...and to get the dialog working I had to use:
> >
> >   <servlet-mapping>
> >    <servlet-name>faces</servlet-name>
> >    <url-pattern>/faces/*</url-pattern>
> >   </servlet-mapping>
> >
> > ...is this still the case? The reason why I ask is that I'm using the
> > suggested InternalView API with:
> >
> > /META-INF/org.apache.myfaces.trinidad.InternalView.properties
> > contents:
> > /__MYRESOURCEv__=some.path.to.my.internalview.class.MyResourceClass
> >
> > ...I have similar code for the "FedJSP.service" call in
> > "org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry",
> > but when calling the resource url http://foo/__MYRESOURCEv__.jsf I get a 404
> > (the same as what I get for dialogs w/*.jsf). Am I missing something?
>
> The GenericEntry code is going through exactly the same codepaths,
> so if *.jsf doesn't work there, it won't work for __MYRESOURCE__ either...
> I thought this had been fixed, but evidently not.  I don't think we have an
> open JIRA issue on this either.
>
> -- Adam
>
> >
> > -----Original Message-----
> > From: Adam Winer [mailto:awiner@gmail.com]
> > Sent: Thursday, June 28, 2007 6:37 PM
> > To: MyFaces Discussion
> > Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than
> > Script
> >
> > Check out the InternalView API of Trinidad.
> >
> >
> > -- Adam
> >
> >
> >
> > On 6/28/07, William Hoover < whoover@nemours.org> wrote:
> > > Is there a way to add resources other than scripts in custom components?
> > >
> > > What I would like to be able to do is add a static HTML page bundled with
> > the component that will be available through a resource URL similar to how
> > "outputScriptlet" works (i.e. http://foo/adf/jsLibs/someScriptResource.js).
> > That way the page will be available without having to be present in the web
> > directory of the application.
> > >
> > >
> >
> >
>
>

RE: [Trinidad] How To Add Custom Component Resources Other Than Script

Posted by William Hoover <wh...@nemours.org>.
Should we open a Jira issue?

-----Original Message-----
From: Adam Winer [mailto:awiner@gmail.com]
Sent: Friday, June 29, 2007 12:05 PM
To: MyFaces Discussion
Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than
Script


On 6/29/07, William Hoover <wh...@nemours.org> wrote:
>
>
> Thanks for the info Adam! I do have an additional question concerning this.
> I haven't looked in to this for a while but I remember at one point the
> "org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry"
> -> "FredJSP.service" used for dialogs having an issue with servlet-mapping:
>
>  <servlet-mapping>
>   <servlet-name>faces</servlet-name>
>   <url-pattern>*.jsf</url-pattern>
>  </servlet-mapping>
>
> ...and to get the dialog working I had to use:
>
>   <servlet-mapping>
>    <servlet-name>faces</servlet-name>
>    <url-pattern>/faces/*</url-pattern>
>   </servlet-mapping>
>
> ...is this still the case? The reason why I ask is that I'm using the
> suggested InternalView API with:
>
> /META-INF/org.apache.myfaces.trinidad.InternalView.properties
> contents:
> /__MYRESOURCEv__=some.path.to.my.internalview.class.MyResourceClass
>
> ...I have similar code for the "FedJSP.service" call in
> "org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry",
> but when calling the resource url http://foo/__MYRESOURCEv__.jsf I get a 404
> (the same as what I get for dialogs w/*.jsf). Am I missing something?

The GenericEntry code is going through exactly the same codepaths,
so if *.jsf doesn't work there, it won't work for __MYRESOURCE__ either...
I thought this had been fixed, but evidently not.  I don't think we have an
open JIRA issue on this either.

-- Adam

>
> -----Original Message-----
> From: Adam Winer [mailto:awiner@gmail.com]
> Sent: Thursday, June 28, 2007 6:37 PM
> To: MyFaces Discussion
> Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than
> Script
>
> Check out the InternalView API of Trinidad.
>
>
> -- Adam
>
>
>
> On 6/28/07, William Hoover < whoover@nemours.org> wrote:
> > Is there a way to add resources other than scripts in custom components?
> >
> > What I would like to be able to do is add a static HTML page bundled with
> the component that will be available through a resource URL similar to how
> "outputScriptlet" works (i.e. http://foo/adf/jsLibs/someScriptResource.js).
> That way the page will be available without having to be present in the web
> directory of the application.
> >
> >
>
>


Re: [Trinidad] How To Add Custom Component Resources Other Than Script

Posted by Adam Winer <aw...@gmail.com>.
On 6/29/07, William Hoover <wh...@nemours.org> wrote:
>
>
> Thanks for the info Adam! I do have an additional question concerning this.
> I haven't looked in to this for a while but I remember at one point the
> "org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry"
> -> "FredJSP.service" used for dialogs having an issue with servlet-mapping:
>
>  <servlet-mapping>
>   <servlet-name>faces</servlet-name>
>   <url-pattern>*.jsf</url-pattern>
>  </servlet-mapping>
>
> ...and to get the dialog working I had to use:
>
>   <servlet-mapping>
>    <servlet-name>faces</servlet-name>
>    <url-pattern>/faces/*</url-pattern>
>   </servlet-mapping>
>
> ...is this still the case? The reason why I ask is that I'm using the
> suggested InternalView API with:
>
> /META-INF/org.apache.myfaces.trinidad.InternalView.properties
> contents:
> /__MYRESOURCEv__=some.path.to.my.internalview.class.MyResourceClass
>
> ...I have similar code for the "FedJSP.service" call in
> "org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry",
> but when calling the resource url http://foo/__MYRESOURCEv__.jsf I get a 404
> (the same as what I get for dialogs w/*.jsf). Am I missing something?

The GenericEntry code is going through exactly the same codepaths,
so if *.jsf doesn't work there, it won't work for __MYRESOURCE__ either...
I thought this had been fixed, but evidently not.  I don't think we have an
open JIRA issue on this either.

-- Adam

>
> -----Original Message-----
> From: Adam Winer [mailto:awiner@gmail.com]
> Sent: Thursday, June 28, 2007 6:37 PM
> To: MyFaces Discussion
> Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than
> Script
>
> Check out the InternalView API of Trinidad.
>
>
> -- Adam
>
>
>
> On 6/28/07, William Hoover < whoover@nemours.org> wrote:
> > Is there a way to add resources other than scripts in custom components?
> >
> > What I would like to be able to do is add a static HTML page bundled with
> the component that will be available through a resource URL similar to how
> "outputScriptlet" works (i.e. http://foo/adf/jsLibs/someScriptResource.js).
> That way the page will be available without having to be present in the web
> directory of the application.
> >
> >
>
>

RE: [Trinidad] How To Add Custom Component Resources Other Than Script

Posted by William Hoover <wh...@nemours.org>.
Thanks for the info Adam! I do have an additional question concerning this. I haven't looked in to this for a while but I remember at one point the "org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry" -> "FredJSP.service" used for dialogs having an issue with servlet-mapping:
 
 <servlet-mapping>
  <servlet-name>faces</servlet-name>
  <url-pattern>*.jsf</url-pattern>
 </servlet-mapping>
 
...and to get the dialog working I had to use:
 
  <servlet-mapping>
   <servlet-name>faces</servlet-name>
   <url-pattern>/faces/*</url-pattern>
  </servlet-mapping>
 
...is this still the case? The reason why I ask is that I'm using the suggested InternalView API with:
 
/META-INF/org.apache.myfaces.trinidad.InternalView.properties
contents:
/__MYRESOURCEv__=some.path.to.my.internalview.class.MyResourceClass
 
...I have similar code for the "FedJSP.service" call in "org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry", but when calling the resource url http://foo/ <http://foo/__MYRESOURCEv__.jsf> __MYRESOURCEv__.jsf I get a 404 (the same as what I get for dialogs w/*.jsf). Am I missing something?
 
-----Original Message-----
From: Adam Winer [mailto:awiner@gmail.com]
Sent: Thursday, June 28, 2007 6:37 PM
To: MyFaces Discussion
Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than Script


Check out the InternalView API of Trinidad. 

-- Adam


On 6/28/07, William Hoover <  <ma...@nemours.org> whoover@nemours.org> wrote: 

Is there a way to add resources other than scripts in custom components? 

What I would like to be able to do is add a static HTML page bundled with the component that will be available through a resource URL similar to how "outputScriptlet" works (i.e. http://foo/adf/jsLibs/someScriptResource.js). That way the page will be available without having to be present in the web directory of the application.





Re: [Trinidad] How To Add Custom Component Resources Other Than Script

Posted by Adam Winer <aw...@gmail.com>.
Check out the InternalView API of Trinidad.
-- Adam


On 6/28/07, William Hoover <wh...@nemours.org> wrote:
>
> Is there a way to add resources other than scripts in custom components?
>
> What I would like to be able to do is add a static HTML page bundled with
> the component that will be available through a resource URL similar to how
> "outputScriptlet" works (i.e. http://foo/adf/jsLibs/someScriptResource.js).
> That way the page will be available without having to be present in the web
> directory of the application.
>
>

[Trinidad] How To Add Custom Component Resources Other Than Script

Posted by William Hoover <wh...@nemours.org>.
Is there a way to add resources other than scripts in custom components?

What I would like to be able to do is add a static HTML page bundled with the component that will be available through a resource URL similar to how "outputScriptlet" works (i.e. http://foo/adf/jsLibs/someScriptResource.js). That way the page will be available without having to be present in the web directory of the application.


Re: AW: JSF URL

Posted by Andrew Robinson <an...@gmail.com>.
JSF posts back to the current page for validation and updating. JSF
doesn't know what the next page is because the navigation handler has
not been run, and the application is not sure that the user's input is
valid. After the navigation rule is run, a new view is created and
rendered. As a result, the user is still seeing the page that was
posted to, so as a result the URL is always one behind.

If you use navigation rules with redirects, once the navigation rule
is run, the new URL is sent to the browser and thus the URL is always
of the current page. The disadvantage is more trips to the server.

So with redirects, you should have the current URL in the browser. If
you don't, then the redirect is not occurring and you will have to
check your setup to see why.

On 6/28/07, robert.reiz@mvv.de <ro...@mvv.de> wrote:
>
>
> Hi,
>
> if I use <redirect /> JSF change my URI. Is there another possibility to
> show the current URL in the browser and to use faces-navigation?
>
> Why show JSF not the current URL in the browser ?????
> In old Struts-Apps I never had this problem.
>
>
>
>
> Robert Reiz
> (24/7-IT-Services)
>
>
>  ________________________________
>  Von: Francisco Melo [mailto:fmelo@dba.com.br]
> Gesendet: Donnerstag, 28. Juni 2007 15:26
> An: MyFaces Discussion
> Betreff: Re: AW: JSF URL
>
>
>
> Hi, try do not use the navigation faces in faces-config.xml, use a URL like
> a href attribute i an <a> tag.
>
> robert.reiz@mvv.de escreveu:
>
> Hi,
>
> I have try it, but no effects.
>
>
> Robert Reiz
> (24/7-IT-Services)
>
>
>
>  ________________________________
>  Von: Cagatay Civici [mailto:cagatay.civici@gmail.com]
> Gesendet: Donnerstag, 28. Juni 2007 14:56
> An: MyFaces Discussion
> Betreff: Re: JSF URL
>
> Hi,
>
> Try adding <redirect /> to your navigation configs in these cases.
>
> Cagatay
>
>
> On 6/28/07, robert.reiz@mvv.de <ro...@mvv.de> wrote:
> >
> >
> > Hi,
> >
> > we have some JSF Applications with MyFaces, Trinidad, Facelets, Spring,
> Hibernate.
> > In all Apps the Browser show allways the last URL, not the current URL.
> > For exampel:
> >
> > 1. I start the App. I come to the "login.jsf".
> > 2. After the login-Procedure I come to "welcome.jsf", but in the URL is
> still "login.jsf".
> > 3. After I click "useradministration" I come to the
> "useradministration.jsf", but in the URL is still "welcome.jsf"
> >
> > what I have to do, to change this behavior. I will always see the actual
> "XXX.jsf" int the URL.
> > If I am in the useradministration, I will see the "useradministration.jsf"
> in the URL.
> >
> > thanks,
> >
> > Robert Reiz
> > (24/7-IT-Services)
>
>
>

AW: AW: JSF URL

Posted by ro...@mvv.de.
Hi, 
 
if I use <redirect /> JSF change my URI. Is there another possibility to

show the current URL in the browser and to use faces-navigation? 
 
Why show JSF not the current URL in the browser ????? 
In old Struts-Apps I never had this problem. 
 
 
Robert Reiz
(24/7-IT-Services)
 

________________________________

Von: Francisco Melo [mailto:fmelo@dba.com.br] 
Gesendet: Donnerstag, 28. Juni 2007 15:26
An: MyFaces Discussion
Betreff: Re: AW: JSF URL



Hi, try do not use the navigation faces in faces-config.xml, use a URL
like a href attribute i an <a> tag.

robert.reiz@mvv.de escreveu: 

	Hi, 
	 
	I have try it, but no effects. 
	 
	
	Robert Reiz
	(24/7-IT-Services)
	 

	 
________________________________

	Von: Cagatay Civici [mailto:cagatay.civici@gmail.com] 
	Gesendet: Donnerstag, 28. Juni 2007 14:56
	An: MyFaces Discussion
	Betreff: Re: JSF URL
	
	
	Hi,
	
	Try adding <redirect /> to your navigation configs in these
cases.
	
	Cagatay
	
	
	On 6/28/07, robert.reiz@mvv.de <ro...@mvv.de> wrote: 

		Hi, 
		 
		we have some JSF Applications with MyFaces, Trinidad,
Facelets, Spring, Hibernate. 
		In all Apps the Browser show allways the last URL, not
the current URL. 
		For exampel: 
		 
		1. I start the App. I come to the "login.jsf". 
		2. After the login-Procedure I come to "welcome.jsf",
but in the URL is still "login.jsf". 
		3. After I click "useradministration" I come to the
"useradministration.jsf", but in the URL is still "welcome.jsf"
		 
		what I have to do, to change this behavior. I will
always see the actual "XXX.jsf" int the URL. 
		If I am in the useradministration, I will see the
"useradministration.jsf" in the URL. 
		 
		thanks, 
		 
		Robert Reiz
		(24/7-IT-Services) 




Re: AW: JSF URL

Posted by Francisco Melo <fm...@dba.com.br>.
Hi, try do not use the navigation faces in faces-config.xml, use a URL 
like a href attribute i an <a> tag.

robert.reiz@mvv.de escreveu:
> Hi,
>  
> I have try it, but no effects.
>  
> Robert Reiz
> (24/7-IT-Services)
>  
>
>  
> ------------------------------------------------------------------------
> *Von:* Cagatay Civici [mailto:cagatay.civici@gmail.com]
> *Gesendet:* Donnerstag, 28. Juni 2007 14:56
> *An:* MyFaces Discussion
> *Betreff:* Re: JSF URL
>
> Hi,
>
> Try adding <redirect /> to your navigation configs in these cases.
>
> Cagatay
>
> On 6/28/07, *robert.reiz@mvv.de 
> <ma...@mvv.de>*<robert.reiz@mvv.de 
> <ma...@mvv.de>> wrote:
>
>     Hi,
>      
>     we have some JSF Applications with MyFaces, Trinidad,
>     Facelets, Spring, Hibernate.
>     In all Apps the Browser show allways the last URL, not the current
>     URL.
>     For exampel: 
>      
>     1. I start the App. I come to the "login.jsf".
>     2. After the login-Procedure I come to "welcome.jsf", but in the
>     URL is still "login.jsf".
>     3. After I click "useradministration" I come to the
>     "useradministration.jsf", but in the URL is still "welcome.jsf"
>      
>     what I have to do, to change this behavior. I will always see the
>     actual "XXX.jsf" int the URL. 
>     If I am in the useradministration, I will see the
>     "useradministration.jsf" in the URL.
>      
>     thanks, 
>      
>     Robert Reiz
>     (24/7-IT-Services) 
>
>


AW: JSF URL

Posted by ro...@mvv.de.
Hi, 
 
it works fine. 
<redirect /> is super. 
 
best regards, 
 
Robert Reiz
(24/7-IT-Services)


________________________________

Von: robert.reiz@mvv.de [mailto:robert.reiz@mvv.de] 
Gesendet: Donnerstag, 28. Juni 2007 15:19
An: users@myfaces.apache.org
Betreff: AW: JSF URL


Hi, 
 
I have try it, but no effects. 
 
Robert Reiz
(24/7-IT-Services)
 

 
________________________________

Von: Cagatay Civici [mailto:cagatay.civici@gmail.com] 
Gesendet: Donnerstag, 28. Juni 2007 14:56
An: MyFaces Discussion
Betreff: Re: JSF URL


Hi,

Try adding <redirect /> to your navigation configs in these cases.

Cagatay


On 6/28/07, robert.reiz@mvv.de <ro...@mvv.de> wrote: 

	Hi, 
	 
	we have some JSF Applications with MyFaces, Trinidad, Facelets,
Spring, Hibernate. 
	In all Apps the Browser show allways the last URL, not the
current URL. 
	For exampel: 
	 
	1. I start the App. I come to the "login.jsf". 
	2. After the login-Procedure I come to "welcome.jsf", but in the
URL is still "login.jsf". 
	3. After I click "useradministration" I come to the
"useradministration.jsf", but in the URL is still "welcome.jsf"
	 
	what I have to do, to change this behavior. I will always see
the actual "XXX.jsf" int the URL. 
	If I am in the useradministration, I will see the
"useradministration.jsf" in the URL. 
	 
	thanks, 
	 
	Robert Reiz
	(24/7-IT-Services) 



AW: JSF URL

Posted by ro...@mvv.de.
Hi, 
 
I have try it, but no effects. 
 
Robert Reiz
(24/7-IT-Services)
 

 
________________________________

Von: Cagatay Civici [mailto:cagatay.civici@gmail.com] 
Gesendet: Donnerstag, 28. Juni 2007 14:56
An: MyFaces Discussion
Betreff: Re: JSF URL


Hi,

Try adding <redirect /> to your navigation configs in these cases.

Cagatay


On 6/28/07, robert.reiz@mvv.de <ro...@mvv.de> wrote: 

	Hi, 
	 
	we have some JSF Applications with MyFaces, Trinidad, Facelets,
Spring, Hibernate. 
	In all Apps the Browser show allways the last URL, not the
current URL. 
	For exampel: 
	 
	1. I start the App. I come to the "login.jsf". 
	2. After the login-Procedure I come to "welcome.jsf", but in the
URL is still "login.jsf". 
	3. After I click "useradministration" I come to the
"useradministration.jsf", but in the URL is still "welcome.jsf"
	 
	what I have to do, to change this behavior. I will always see
the actual "XXX.jsf" int the URL. 
	If I am in the useradministration, I will see the
"useradministration.jsf" in the URL. 
	 
	thanks, 
	 
	Robert Reiz
	(24/7-IT-Services) 



Re: JSF URL

Posted by Cagatay Civici <ca...@gmail.com>.
Hi,

Try adding <redirect /> to your navigation configs in these cases.

Cagatay

On 6/28/07, robert.reiz@mvv.de <ro...@mvv.de> wrote:
>
>  Hi,
>
> we have some JSF Applications with MyFaces, Trinidad, Facelets, Spring,
> Hibernate.
> In all Apps the Browser show allways the last URL, not the current URL.
> For exampel:
>
> 1. I start the App. I come to the "login.jsf".
> 2. After the login-Procedure I come to "welcome.jsf", but in the URL is
> still "login.jsf".
> 3. After I click "useradministration" I come to the "
> useradministration.jsf", but in the URL is still "welcome.jsf"
>
> what I have to do, to change this behavior. I will always see the actual "
> XXX.jsf" int the URL.
> If I am in the useradministration, I will see the "useradministration.jsf"
> in the URL.
>
> thanks,
>
> Robert Reiz
> (24/7-IT-Services)
>