[jboss-user] [JBoss Seam] - Re: How to get page view-id variable in a SB???

2007-08-28 Thread asookazian
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

[jboss-user] [JBoss Seam] - Re: How to get page view-id variable in a SB???

2007-08-28 Thread [EMAIL PROTECTED]
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

[jboss-user] [JBoss Seam] - Re: How to get page view-id variable in a SB???

2007-08-27 Thread asookazian
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&

[jboss-user] [JBoss Seam] - Re: How to get page view-id variable in a SB???

2007-08-27 Thread asookazian
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

[jboss-user] [JBoss Seam] - Re: How to get page view-id variable in a SB???

2007-08-27 Thread asookazian
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

[jboss-user] [JBoss Seam] - Re: How to get page view-id variable in a SB???

2007-08-27 Thread dustismo
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

[jboss-user] [JBoss Seam] - Re: How to get page view-id variable in a SB???

2007-08-27 Thread asookazian
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

[jboss-user] [JBoss Seam] - Re: How to get page view-id variable in a SB???

2007-08-27 Thread asookazian
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