thx Pete, that worked.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078845#4078845
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078845
___
jboss-user mailing list
jboss-us
IIRC
facesContext.getExternalContextI().getRequestContextPath() + "/" +
facesContext.getViewRoot().getViewId();
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078643#4078643
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=repl
this would be similar to:
HttpServletRequest.getContextPath();
so is there a way to do this with Faces/Seam???
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078580#4078580
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&
how do you get the full relative path from root or web context all the way to
the name of the facelet?
example: /inventory/a/b/c/d/process.xhtml
thx.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078532#4078532
Reply to the post :
http://www.jboss.com/in
yes thx! that works. I've created an Authorization SLSB to use in place of
#{s:hasRole('admin')}. We are trying to avoid hard-coding and call the
isDisplay() method in the SLSB authorizor to do a DB lookup to determine what
role(s) is needed to access the current .xhtml (which you have told me
Not sure exactly what you are trying to do, but is this what you are looking
for?
| FacesContext.getCurrentInstance().getViewRoot().getViewId();
|
-Dustin
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078519#4078519
Reply to the post :
http://www.jb
sorry again! why can't we edit our own posts
as follows:
|
| #{authorizor.display}
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078510#4078510
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=rep
sorry, above should read as follows in pages.xml:
|
| #{s:hasRole('admin')}
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078509#4078509
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078509