Object value of an inputHidden control

Hi all,

is it possible to do something like this:

<h:inputHidden value="#{releases.current}"/>

with the value being an object?

javax.servlet.jsp.JspException: Error getting property'current' from bean of type be.sofico.web.extranet.dynamic.releases.ReleasesOverview

at com.sun.faces.taglib.html_basic.InputHiddenTag.doEndTag(InputHiddenTag.java:188)

at _dynamic._releases._index._jspService(_index.java:878)

releases.current is a pretty simple object combined of a few strings. Can anyone explain how to make this work or does the inputHidden field only support strings?

Thanks

[692 byte] By [tombatorea] at [2007-11-27 4:46:23]
# 1
Hmm gone with the error, but the object is converted to a string with the toString method. Looks like that won't be too useful :(
tombatorea at 2007-7-12 9:58:55 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
You may find the RequestMap of the ExternalContext useful.
BalusCa at 2007-7-12 9:58:55 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...