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:ideligian...@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: ideligian...@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