Changeset 276
- Timestamp:
- 12/16/06 19:47:03 (2 years ago)
- Location:
- framework/trunk
- Files:
-
- 2 modified
-
fuseboxApplication.cfc (modified) (4 diffs)
-
myFusebox.cfc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
framework/trunk/fuseboxApplication.cfc
r272 r276 93 93 hint="I am the myFusebox data structure." /> 94 94 95 <!--- fixed ticket 164--->95 <!--- update to ticket 139 ---> 96 96 <cfset var myVersion = "5.0.1.#REReplace('$LastChangedRevision$','[^0-9]','','all')#" /> 97 97 … … 650 650 <cfthrow type="fusebox.badGrammar.requiredAttributeMissing" 651 651 message="Required attribute is missing" 652 detail="The attribute 'path' is required, for a 'circuit' declarationin fusebox.xml." />652 detail="The attribute 'path' is required, for the declaration of circuit '#children[i].xmlAttributes.alias#' in fusebox.xml." /> 653 653 </cfif> 654 654 <cfif structKeyExists(children[i].xmlAttributes,"parent")> … … 660 660 </cfif> 661 661 <cfif structKeyExists(children[i].xmlAttributes,"relative")> 662 <!--- TODO: check it is boolean ---> 662 <cfif listFind("true,false,yes,no",children[1].xmlAttributes.relative) eq 0> 663 <cfthrow type="fusebox.badGrammar.invalidAttributeValue" 664 message="Attribute has invalid value" 665 detail="The attribute 'relative' must either be ""true"" or ""false"", for the declaration of circuit '#children[i].xmlAttributes.alias#' in fusebox.xml." /> 666 </cfif> 663 667 <cfset relative = children[i].xmlAttributes.relative /> 664 668 <cfset nAttrs = nAttrs + 1 /> 665 669 <cfelse> 670 <cfset relative = true /> 666 671 <cfset parent = "" /> 667 672 </cfif> … … 669 674 <cfthrow type="fusebox.badGrammar.unexpectedAttributes" 670 675 message="Unexpected attributes" 671 detail="Attributes other than 'alias', 'path' and 'parent' were found in the declaration of the '#alias#' circuitin fusebox.xml." />676 detail="Attributes other than 'alias', 'path' and 'parent' were found for the declaration of circuit '#children[i].xmlAttributes.alias#' in fusebox.xml." /> 672 677 </cfif> 673 678 <cfset alias = children[i].xmlAttributes.alias /> -
framework/trunk/myFusebox.cfc
r272 r276 51 51 <cfcomponent hint="I provide the per-request myFusebox data structure and some convenience methods."> 52 52 <cfscript> 53 // fixed ticket 16453 // update to ticket 139 54 54 this.version.runtime = "5.0.1.#REReplace('$LastChangedRevision$','[^0-9]','','all')#"; 55 55
