You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by bu...@apache.org on 2004/01/24 16:40:34 UTC

DO NOT REPLY [Bug 26395] - Inherited parameters do not pick up default values

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26395>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26395

Inherited parameters do not pick up default values

mindbridgeweb@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From mindbridgeweb@yahoo.com  2004-01-24 15:40 -------
Fixed.

The problem was that the order of operations was the following:
- establish inherited bindings
- verify whether required parameters have been bound
- establish default parameter values

This has been changed to:
- establish default parameter values
- establish inherited bindings
- verify whether required parameters have been bound
and parameters can no longer be both required and have a default value (which 
does not make sense anyway)

A more efficient fix can be made, but that can wait until the next version -- 
trying to keep the changes to a minimum.

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org