Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
3.0
-
None
-
None
-
Operating System: All
Platform: All
-
26416
Description
Currently Tapestry plods along oblivious when a user uses a static to bind to a
component parameter with direction 'form'.
By definition a form parameter property is read and used to update the binding
when the component is rewound. Elsewhere in the framework an exception is
thrown if an attempt to update a static binding. This is currently does not
happen in the case of 'form'. The rewind appears to occur without incident but
no update occured.
This is an problem that can easily be experienced by users who are using
implicit components and forget to prepend thier parameter expression
with "ognl:". Its tricky to track this down unless you are aware that the
parameter in question has direction 'form'.
Tapestry (it has been suggested the ParameterManager) should catch the fact the
someone is using a static to bind to a parameter with direction 'form' and
throw an exception.