You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ioannis Deligiannis <id...@velti.com> on 2009/09/23 13:35:43 UTC
[ Myfaces ] Newbie question..
Hi,
This should be a quite trivial question but I have run out of search:google ideas.
My application is not deployed in the root context. So any references of the type:
/faces/blah will go to <root>/faces/blah instead of <root>/<myapp>/faces/blah
I did manage to find a workaround by using: #{facesContext.externalContext.request.contextPath}
But surely there must be an easier way..
Thanks
Ioannis Deligiannis| Senior Application Engineer
Velti
Mob: +30.6948.593.623 | Tel: +30.210.637.8800 (ext: 6730) | Fax: +30.210.637.8888
Email: ideligiannis@velti.com<ma...@velti.com> | Web: www.velti.com<http://www.velti.com/>
Velti is a global leader in mobile marketing and advertising solutions for mobile operators, ad agencies, brands, and media groups.
London | New York | San Francisco | Boston | Athens | Sofia | Nicosia | Paris | Munich | Moscow | Mumbai | Dubai | Beijing
Re: jsf backward navigation (validation) conflict
Posted by Adrian Mitev <ad...@googlemail.com>.
Use immediate=true
On Wed, Sep 23, 2009 at 5:55 PM, <ms...@gre.ac.uk> wrote:
> My Jsf files do now navigate backwards because of the validation rules i have
> put on the form.
>
> Is there a workaround ?
>
>
--
Although nobody can come back and make a new start, anyone can start
now and make a new end
jsf backward navigation (validation) conflict
Posted by ms...@gre.ac.uk.
My Jsf files do now navigate backwards because of the validation rules i have
put on the form.
Is there a workaround ?
Re: [ Myfaces ] Newbie question..
Posted by Anton Gavazuk <an...@gmail.com>.
#{facesContext.externalContext.request.contextPath}
could be replaced with #{request.contextPath}
2009/9/23 Ioannis Deligiannis <id...@velti.com>
> To make matters worst:
> <tr:navigationPane> renders without app context where <tr:navigationTree>
> renders with app context!
>
> (xmlns:h="http://java.sun.com/jsf/html" also without context)
>
> London | New York | San Francisco | Boston | Athens | Sofia | Nicosia |
> Paris | Munich | Moscow | Mumbai | Dubai | Beijing
> ________________________________________
> From: Ioannis Deligiannis [mailto:ideligiannis@velti.com]
> Sent: Wednesday, September 23, 2009 2:36 PM
> To: users@myfaces.apache.org
> Subject: [ Myfaces ] Newbie question..
>
> Hi,
>
> This should be a quite trivial question but I have run out of search:google
> ideas.
>
> My application is not deployed in the root context. So any references of
> the type:
> /faces/blah will go to <root>/faces/blah instead of
> <root>/<myapp>/faces/blah
>
> I did manage to find a workaround by using:
> #{facesContext.externalContext.request.contextPath}
>
> But surely there must be an easier way..
>
> Thanks
>
> Ioannis Deligiannis| Senior Application Engineer
>
> Velti
> Mob: +30.6948.593.623 | Tel: +30.210.637.8800 (ext: 6730) | Fax:
> +30.210.637.8888
> Email: ideligiannis@velti.com | Web: www.velti.com
> Velti is a global leader in mobile marketing and advertising solutions for
> mobile operators, ad agencies, brands, and media groups.
>
> London | New York | San Francisco | Boston | Athens | Sofia | Nicosia |
> Paris | Munich | Moscow | Mumbai | Dubai | Beijing
>
>
RE: [ Myfaces ] Newbie question..
Posted by Ioannis Deligiannis <id...@velti.com>.
To make matters worst:
<tr:navigationPane> renders without app context where <tr:navigationTree> renders with app context!
(xmlns:h="http://java.sun.com/jsf/html" also without context)
London | New York | San Francisco | Boston | Athens | Sofia | Nicosia | Paris | Munich | Moscow | Mumbai | Dubai | Beijing
________________________________________
From: Ioannis Deligiannis [mailto:ideligiannis@velti.com]
Sent: Wednesday, September 23, 2009 2:36 PM
To: users@myfaces.apache.org
Subject: [ Myfaces ] Newbie question..
Hi,
This should be a quite trivial question but I have run out of search:google ideas.
My application is not deployed in the root context. So any references of the type:
/faces/blah will go to <root>/faces/blah instead of <root>/<myapp>/faces/blah
I did manage to find a workaround by using: #{facesContext.externalContext.request.contextPath}
But surely there must be an easier way..
Thanks
Ioannis Deligiannis| Senior Application Engineer
Velti
Mob: +30.6948.593.623 | Tel: +30.210.637.8800 (ext: 6730) | Fax: +30.210.637.8888
Email: ideligiannis@velti.com | Web: www.velti.com
Velti is a global leader in mobile marketing and advertising solutions for mobile operators, ad agencies, brands, and media groups.
London | New York | San Francisco | Boston | Athens | Sofia | Nicosia | Paris | Munich | Moscow | Mumbai | Dubai | Beijing