>From: "Garner, Shawn" <[EMAIL PROTECTED]> > > First thing I did was to create a helper base class with methods like the > following > > public Object getRequestParameter(String key) > { > return > FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(key); > > } >
The shale AbstractFacesBean class has a very similar helper method called getBean(). String init = (String) ((Map) getBean("param")).get("init"); About the same number of characters to type. I've not worked in a portal environment but it's reassuring to know that an application built in JSF can run in either without retooling. That seems worth a couple key strokes. Gary > Doesn't seem very hard to me. > Shawn