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

http://issues.apache.org/bugzilla/show_bug.cgi?id=38058





------- Additional Comments From [EMAIL PROTECTED]  2005-12-28 06:26 -------
(In reply to comment #0)
> On Bug# 38044, Craig commented that all of Shale's init params should use 
fully
> qualified names, for example "org.apache.shale.validator.VALIDATOR_RULES".
> Clay defines several init params whose names need to be changed:
>    clay-config-files
>    clay-html-template-suffix
>    clay-xml-template-suffix
>    auto-reload-clay-files

I agree that these params should be renamed to be more consistent.  The only 
reservation I have is with the "clay-config-files" param.  

It needs to be renamed because we need to add a similar param for loading full 
XML templates.  Currently you must specify one component per xml file.    

The "clay-config-files" parameter represents a comma delimited list of clay 
configuration files that hold common component definitions.   This config data 
is handled by a ConfigBean that expects that the jsfid's will not have a 
suffix.  The suffix is like a mimetype.

The other two types of config bean handlers use the "clay-html-template-
suffix" param
and "clay-xml-template-suffix" param to specify a "mimetype" suffix used to 
identify the jsfid is handled by the other two ConfigBean implementation.  The 
defaults are ".xml" and ".html".  These are also like a namespace qualifier.

So, we could rename "clay-config-files" 
to "org.apache.shale.clay.COMMON_CONFIG_FILES" and a new one could be 
called "org.apache.shale.clay.FULL_XML_CONFIG_FILE".  

In the chance that someone actually understands my ramblings, they might have 
a more descriptive suggestion.  If we add "clay" to the package qualifier 
prefix, we could drop it from the final qualifier for all the params?  Seems 
redundant otherwise.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to