Ted Husted wrote:
That would be nice, and does make a lot of sense. This could lead to the standardization of attribute names such as "className" a.k.a - "type", "processorClass", "handler".... :-)On Sun, 10 Oct 2004 16:04:40 -0400, Mike Stanley wrote:
Another simple suggstion I would like to make (enhancement request) -
it would be extremely powerful to add the property support that
exists for plugin configuration, to action and request processors. This can go along way for special purpose actions. The parameter
attribute is ok - but too limiting (IMO).
Sounds good to me. You should file this with Bugzilla and attach a patch if you can.
A related enhancement, which is long overdue, is
* Enhance all configs to extend one configuration element from another, as is done with Tiles Definitions
I'd dearly love to see a patch for this enhancement. It would make such a difference in so many Struts config files. And now that we're in the 1.3 zone, the gloves are off :)
I'm pretty sure that Ted was talking instead about inheriting configurations. For example, you could have an "address" dynaform that you extended so that various forms which all had common street/city, etc fields wouldn't require them to be redefined, and then you could extend the validation rules also, so that your rules would be consistent without duplicate configuration code.
Note that, at least with ActionConfigs, there is an important difference between "type" and "className". "className" refers to the type of the ActionConfig itself, should you want to use a subclass (say, for custom properties) while "type" refers to the type of the Action which will be created to service the ActionConfig. This can be confusing, but they aren't synonymous. I'm not sure that I think that the other cases where you've named attributes shoudl all be standardized either, but maybe if it were laid out in front of me as a proposal, I'd think harder about it...
Joe
- Mike
-Ted.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn back; I'll know I'm in the wrong place."
- Carlos Santana
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]