Suppose i have my app at
www.foo.com/foo/

wich gives us /foo/ abs. context.

now CSS file is in
/foo/css/mycss.css (its /css/mycss.css in WAR file)

now i have my layout template at :
/layout/a.xhtml (WAR path again)
and my views in :
/something1/boo.xhtml 
/something1/something2/boo.xhtml

now when i switch views app context changes so i cant bind relative path to css 
(ie for 1st view its : ../css/mycss.css and ../../css/mycss.css for second)
i could reference the absolute server path that is : /foo/css/mycss.css
its better but still is dependent on app context. so is there a way to 
reference app context in my facelet view ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092289#4092289

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092289
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to