Re: Why ViewRoot.getComponent(clientId) return null?

2006-02-11 Thread Laurie Harper
Dave wrote: In a PhaseListener, first get all the clientId(s) with queued messages, then try to find the components. But ViewRoot.findComponent(clientId) return null. public void beforePhase(PhaseEvent event) { FacesContext context = event.getFacesContext(); UIViewRoot root =

Why ViewRoot.getComponent(clientId) return null?

2006-02-10 Thread Dave
In a PhaseListener, first get all the clientId(s) with queued messages, then try to find the components. But ViewRoot.findComponent(clientId) return null.public void beforePhase(PhaseEvent event) { FacesContext context = event.getFacesContext(); UIViewRoot root = context.getViewRoot();