Shale test framework - Update model bean

2007-10-11 Thread Mohan Radhakrishnan
Hi, I am trying to user the shale test framework to test model updates. Now the code is like this but it doesn't work. Does anyone know how the code should be ? UIViewRoot root = facesContext.getViewRoot(); assertNotNull(root); UIComponent form1 =

Re: Shale test framework - Update model bean

2007-10-11 Thread Mohan Radhakrishnan
Yes. I did that too. Actually if I use root.processDecodes(facesContext); I get this exception. Actually I am trying to run all the phases including Apply Request Values phase( Create form etc. ). The idea is to finally get the value in the managed bean. 1)