Hi
I am using ListUtils.lazyList inside the reset method .That is causing problem. I need to iterate the list inside the
jsp. I am using nested tags for that reason i have overloaded reset method. This code is working fine when i deploy the code in Jboss, but returning null form object in websphere.
Please check the below code in form
public void reset(ActionMapping actionMapping, HttpServletRequest request)
{
params = ListUtils.lazyList(new ArrayList<ParamDefVO>(), new Factory()
{
public Object create()
{
return buildParams();
}
});
}
public ParamDefVO buildParams()
{
ParamDefVO paramDefVO = new ParamDefVO();
List options = ListUtils.lazyList(new ArrayList<ParamOptionsVO>(), new Factory()
{
public Object create()
{
return new ParamOptionsVO();
}
});
paramDefVO.setOptions(options);
return paramDefVO;
}