geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Genender (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-1806) config.xml need to allow for nulls, empty string attributes and ability to remove references
Date Thu, 06 Apr 2006 03:07:43 GMT
config.xml need to allow for nulls, empty string attributes and ability to remove references
--------------------------------------------------------------------------------------------

         Key: GERONIMO-1806
         URL: http://issues.apache.org/jira/browse/GERONIMO-1806
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
    Versions: 1.0    
    Reporter: Jeff Genender
 Assigned to: Jeff Genender 
     Fix For: 1.1


config.xml needs to allow for null and empty strings, as well as the ability to remove an
attribute or reference.  The following seems to be the agreed upon  syntax to enable this
functionality:

1) Normal value
   <attribute name="someAttribute" value="42"/>
   <attribute name="someAttribute">42</attribute>

2) Don't set... constructor args will be injected with java default  
values
   <reference name="TomcatValveChain"/>
   <attribute name="someAttribute"/>
   <attribute name="someAttribute"></attribute>

3) Inject empty string or pass empty string to property editor and  
inject
   <attribute name="someAttribute" value=""/>

4) Inject null
   <attribute name="someAttribute" null="true"/>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message