Well, i have default values for the parameters set in the component's
annotations but i would like a way to set a different default for those
parameters across the system via some sort of configuration value. It
would be like if the tapestry @Form component had a default value for a
parameter and y
If a value is only used by one component, put the default in the
component spec.
If a value is shared across components, you could create an ASO with
global scope and inject it into your components -- or you could go
old-school, and just create a MyComponentSettings singleton and use it.
I have a library of components that are used by a couple different
projects. One of the things I would like to do is to set system-wide
defaults for each project that would be used by the components so they
didn't have to be specified each time the component was used. I could
also create a wrapper