mathew varghese - 2009-01-16


I was a user of httpunit 1.6.Now i just upgraded to 1.7.
Earlier for setting the hidden parameter value i used

cartForm.getScriptableDelegate().set(hiddenParamname, hiddevparamValue);

Now there is no such function in 1.7 and hence i used 

cartForm.getScriptableObject().setParameterValue(hiddenParamname, hiddevparamValue); 

But it's showing exception.

java.lang.ClassCastException: com.meterware.httpunit.scripting.ScriptableDelegate$1 cannot be cast to com.meterware.httpunit.scripting.FormScriptable

Can anyone help me.
Thanks in advance.