[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.7.0 and JBossRenderRequest

wesleyhales do-not-reply at jboss.com
Fri Mar 13 12:26:29 EDT 2009


A little late on the reply here, but you don't need the filter. Just use something like this for 168 bridge:

  | public String getRemoteWhatever() {
  |    Object responseObject = FacesContext.getCurrentInstance().getExternalContext().getRequest();
  |    if (responseObject instanceof RenderRequest) {
  |       RenderRequestImpl rri = (RenderRequestImpl)responseObject;
  |       return rri.getRealRequest()."do what you need here";
  |    }
  |    return "";
  |    }
  | 
In the future use http://www.jboss.org/index.html?module=bb&op=viewforum&f=273

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

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217924



More information about the jboss-user mailing list