fishtoprecords
2007-04-09
When I pass a bean value, such as value="${resident.nonce}" in the code snippet below,
it worked perfectly.
But when I try to add another paramter, with a constant value, I get an exception
in the generated servlet.
<cewolf:data>
<cewolf:producer id="measureViews" >
<cewolf:param name="nonce" value="${resident.nonce}" />
<cewolf:param name="flavor" value="heartbeat" />
</cewolf:producer>
</cewolf:data>
org.apache.jasper.JasperException: jsp.error.beans.property.conversion
org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:885)
org.apache.jsp.residentdisplay_jsp._jspx_meth_cewolf_param_2(residentdisplay_jsp.java:916)
org.apache.jsp.residentdisplay_jsp._jspx_meth_cewolf_producer_1(residentdisplay_jsp.java:868)
The code at that line looks like
_jspx_th_cewolf_param_2.setValue((java.io.Serializable)org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(java.io.Serializable.class, "value", "heartbeat"));
I don't understand why it is trying to do conversions of hard coded strings, but more importantly, how should I be specifying a second parameter to my producer's map?
Thanks
Pat