myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julián García <jgar...@unionsoluciones.com.co>
Subject Re: Obtaining the url?
Date Mon, 05 Dec 2005 21:04:19 GMT
Andrew Robinson wrote:
> Are you looking for:
> FacesContext.getCurrentInstance().getViewRoot().getViewId()?
When is this id set....I am trying to access this method just after 
setting the values configured in my config xml, and it is always showing 
null.....

Thanks-.

> 
> On 11/28/05, Julián García <jgarcia@unionsoluciones.com.co> wrote:
> 
>>How can I access the url that is being currently displayed for the user
>>using the FacesContext? I need this to do a custom filter for
>>authorization using acegi.....Any experiences to share with that?
>>
>>Thanks a lot.
>>
>>Julian
>>
> 
> 


Mime
View raw message