If I get the context via FacesContext I have exactly the same issues:
| @Observer("org.jboss.seam.beforePhase")
| public void beforePhase() {
| try {
| //FacesContext context = event.getFacesContext();
| FacesContext context = FacesContext.getCurrentInstance();
| HttpServletRequest request = (HttpServletRequest)
context.getExternalContext().getRequest();
|
| //Only handle POST
| if ("POST".equalsIgnoreCase(request.getMethod())) {
| trimUIInputStrings(context.getViewRoot().getChildren());
| }
| } catch (Exception e) {
| // TODO Auto-generated catch block
| e.printStackTrace();
| }
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122063#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...