[ 
http://issues.apache.org/jira/browse/TAPESTRY-851?page=comments#action_12364867 
] 

Ron Piterman commented on TAPESTRY-851:
---------------------------------------

This is an OGNL issue - when ognl tries to assign Object of class Foo to 
property of incompatible type, it silently drops the value, so the property is 
never updated.
I had this same issue when trying to set the "value" inside a For iteration to 
an incompatible property - the value is silently dropped - I think HLS had 
contacted the OGNL devs for that.

> DatePicker does not error when bound to values of wrong type
> ------------------------------------------------------------
>
>          Key: TAPESTRY-851
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-851
>      Project: Tapestry
>         Type: Bug
>  Environment: OSX
>     Reporter: phillip rhodes

>
> I mistakenly bound my DatePicker to a java.util.Calendar that was null.  No 
> errors or exceptions were thrown.  One should add a instanceof test for 
> java.util.Date and throw an IllegalArgumentException if the object is not 
> null and the wrong type.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to