tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship" <hls...@comcast.net>
Subject RE: Why enhance direction="custom" binding properties?
Date Mon, 22 Dec 2003 21:05:50 GMT
Tapestry is creating a property to store the binding.  All formal parameters now get a specific
binding property. When direction is not "custom", it will add additional properties to get
at the
binding's value.

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry
http://jakarta.apache.org/commons/sandbox/hivemind/
http://javatapestry.blogspot.com

> -----Original Message-----
> From: Richard Lewis-Shell [mailto:rlewisshell@mac.com] 
> Sent: Monday, December 22, 2003 3:29 PM
> To: tapestry-dev@jakarta.apache.org
> Subject: Why enhance direction="custom" binding properties?
> 
> 
> I am trying to figure out why all of our components are 
> getting enhanced,
> even though our code still only uses the 2.2 feature set.  We 
> almost always
> use custom direction parameters, and the classes generally access the
> bindings using getBinding("someParameterName") rather than declaring
> get/setSomeParameterName() methods.  Yet, scanForBindingProperty() in
> ComponentClassFactory will create an enhanced property for a binding
> regardless of its direction.  scanForParameterProperty() does NOT - it
> checks for Direction.CUSTOM, and aborts in that case.
> 
> Should Tapestry create an enhanced binding property for 
> direction="custom"
> parameters?  If so, why?
> 
> I am still coming to grips with class enhancing, but, at this 
> stage, I am
> thinking - no, custom should mean 'hands off - I know what I'm doing'.
> 
> R
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
> 


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


Mime
View raw message