I am quite new to JSF 2.0 so this may be a very simple question.
I would now like to pass a self-defined object from one page to another using h:inputHidden, so I can get it by using request.getParameter("obj01")
.
I have passed the whole object into the value attribute of the h:inputHidden,
however I have get the following errors:
Cannot convert com.project01.obj.web.obj01@10562017 of type class java.lang.String to class com.project01.obj.web.obj01
So I suppose I have done something wrong.
Could anyone give me some advice on it ?
Thank you very much.