Hi,
I have a component containing a form, I pass a parameter into the
component from the page and bind the form field values to the
properties of the object I pass in.
This works great, until I add an abstract accessor on my component
for the parameter value so I can use it in the form submit listener
method. Then I get:
org.apache.tapestry.BindingException: Unable to read OGNL expression
'<parsed OGNL expression>' of [EMAIL PROTECTED]/
$UserEditForm]: editedUser
binding: ExpressionBinding[SignUp/$UserEditForm editedUser.username]
location: context:/WEB-INF/UserEditForm.html, line 20
org.apache.hivemind.ApplicationRuntimeException: Unable to read OGNL
expression '<parsed OGNL expression>' of [EMAIL PROTECTED]/
$UserEditForm]: editedUser
component: [EMAIL PROTECTED]/$UserEditForm]
location: context:/SignUp.html, line 37
ognl.OgnlException: editedUser
org.apache.tapestry.BindingException: Error converting value for
template parameter user: No type converter for type
com.mycompany.model.User is available.
binding: ExpressionBinding[SignUp newUser]
component: [EMAIL PROTECTED]
location: context:/SignUp.html, line 37
The parameter is declared in the component as:
<parameter name="user" property="editedUser" required="yes"/>
Any suggestions?
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]