try

  import java.util.Map
  import javax.faces.context.FacesContext;
  ...
  ...
  Map sessionMap =
FacesContext.getCurrentInstance().getExternalContext().getSessionMap();

then, from that map, you can add/retrieve/remove attribute as needed. 
You may also try to get an application map or request map through
external context also.

On 5/23/05, Julien Martin <[EMAIL PROTECTED]> wrote:
>  
> 
> Hello, 
> 
> I would like to add an attribute into the request (or session or
> servletContext) from JSF. Is that possible? If so how? (I want the
> equivalent of request.addAttribute only the request object is not available
> in JSF). 
> 
> Thanks in advance, 
> 
> Julien.

Reply via email to