/* Copyright (c) 2004-2006, The Dojo Foundation All Rights Reserved. Licensed under the Academic Free License version 2.1 or above OR the modified BSD license. For more information on Dojo licensing, see: http://dojotoolkit.org/community/licensing.shtml */ dojo.provide("dojo.widget.Parse"); dojo.require("dojo.widget.Manager"); dojo.require("dojo.dom"); dojo.widget.Parse = function(fragment) { this.propertySetsList = []; this.fragment = fragment; this.createComponents = function(frag, parentComp){ var comps = [ ]; var built = false; // if we have items to parse/create at this level, do it! try{ if((frag)&&(frag["tagName"])&&(frag!=frag["nodeRef"])){ var djTags = dojo.widget.tags; // we split so that you can declare multiple // non-destructive widgets from the same ctor node var tna = String(frag["tagName"]).split(";"); for(var x=0; x