You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(5) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <to...@us...> - 2008-03-14 02:48:15
|
Revision: 29 http://zerokode.svn.sourceforge.net/zerokode/?rev=29&view=rev Author: tomyeh Date: 2008-03-13 19:48:22 -0700 (Thu, 13 Mar 2008) Log Message: ----------- Modified Paths: -------------- trunk/WebContent/WEB-INF/web.xml Modified: trunk/WebContent/WEB-INF/web.xml =================================================================== --- trunk/WebContent/WEB-INF/web.xml 2007-12-19 07:10:34 UTC (rev 28) +++ trunk/WebContent/WEB-INF/web.xml 2008-03-14 02:48:22 UTC (rev 29) @@ -42,8 +42,7 @@ <!-- //// --> <!-- ZK --> <listener> - <description>Used to cleanup when a session is destroyed</description> - <display-name>ZK Session Cleaner</display-name> + <description>ZK listener for cleanup when a session is destroyed</description> <listener-class>org.zkoss.zk.ui.http.HttpSessionListener</listener-class> </listener> <servlet> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <wat...@us...> - 2007-12-19 07:10:36
|
Revision: 28 http://zerokode.svn.sourceforge.net/zerokode/?rev=28&view=rev Author: waterbottle Date: 2007-12-18 23:10:34 -0800 (Tue, 18 Dec 2007) Log Message: ----------- Modified Paths: -------------- trunk/WebContent/WEB-INF/lib/fckez.jar trunk/WebContent/WEB-INF/lib/gmapsz.jar trunk/WebContent/WEB-INF/lib/timelinez.jar trunk/WebContent/WEB-INF/lib/zcommon.jar trunk/WebContent/WEB-INF/lib/zhtml.jar trunk/WebContent/WEB-INF/lib/zk.jar trunk/WebContent/WEB-INF/lib/zkex.jar trunk/WebContent/WEB-INF/lib/zkmax.jar trunk/WebContent/WEB-INF/lib/zkplus.jar trunk/WebContent/WEB-INF/lib/zul.jar trunk/WebContent/WEB-INF/lib/zweb.jar trunk/src/org/zerokode/designer/events/listeners/ToolbarEventListener.java trunk/src/org/zerokode/designer/model/CanvasTreeSynchronizer.java trunk/src/org/zerokode/designer/model/ComponentFactory.java trunk/src/org/zerokode/designer/model/ZUMLModel.java trunk/src/org/zerokode/designer/ui/DesignerCanvas.java trunk/src/org/zerokode/designer/ui/DesignerTree.java trunk/src/org/zerokode/designer/ui/PropertiesWindow.java Added Paths: ----------- trunk/WebContent/WEB-INF/lib/zml.jar Modified: trunk/WebContent/WEB-INF/lib/fckez.jar =================================================================== (Binary files differ) Modified: trunk/WebContent/WEB-INF/lib/gmapsz.jar =================================================================== (Binary files differ) Modified: trunk/WebContent/WEB-INF/lib/timelinez.jar =================================================================== (Binary files differ) Modified: trunk/WebContent/WEB-INF/lib/zcommon.jar =================================================================== (Binary files differ) Modified: trunk/WebContent/WEB-INF/lib/zhtml.jar =================================================================== (Binary files differ) Modified: trunk/WebContent/WEB-INF/lib/zk.jar =================================================================== (Binary files differ) Modified: trunk/WebContent/WEB-INF/lib/zkex.jar =================================================================== (Binary files differ) Modified: trunk/WebContent/WEB-INF/lib/zkmax.jar =================================================================== (Binary files differ) Modified: trunk/WebContent/WEB-INF/lib/zkplus.jar =================================================================== (Binary files differ) Added: trunk/WebContent/WEB-INF/lib/zml.jar =================================================================== (Binary files differ) Property changes on: trunk/WebContent/WEB-INF/lib/zml.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/WebContent/WEB-INF/lib/zul.jar =================================================================== (Binary files differ) Modified: trunk/WebContent/WEB-INF/lib/zweb.jar =================================================================== (Binary files differ) Modified: trunk/src/org/zerokode/designer/events/listeners/ToolbarEventListener.java =================================================================== --- trunk/src/org/zerokode/designer/events/listeners/ToolbarEventListener.java 2007-11-20 02:16:00 UTC (rev 27) +++ trunk/src/org/zerokode/designer/events/listeners/ToolbarEventListener.java 2007-12-19 07:10:34 UTC (rev 28) @@ -10,12 +10,12 @@ import org.zerokode.designer.ui.InfoDialog; import org.zerokode.designer.ui.SaveModelDialog; import org.zkoss.util.media.Media; -import org.zkoss.zhtml.Fileupload; import org.zkoss.zk.ui.Component; import org.zkoss.zk.ui.Executions; import org.zkoss.zk.ui.WebApp; import org.zkoss.zk.ui.event.Event; import org.zkoss.zk.ui.event.EventListener; +import org.zkoss.zul.Fileupload; @@ -95,7 +95,7 @@ return; // display the Fileupload dialog - Media media = Fileupload.get("Select a '*.zul' file from the explorer and it will be displayed on the canvas", "Load page definition"); + Media media = Fileupload.get("Select a '*.zul' file from the explorer and it will be displayed on the canvas", "Load page definition",true); if (media == null) return; Modified: trunk/src/org/zerokode/designer/model/CanvasTreeSynchronizer.java =================================================================== --- trunk/src/org/zerokode/designer/model/CanvasTreeSynchronizer.java 2007-11-20 02:16:00 UTC (rev 27) +++ trunk/src/org/zerokode/designer/model/CanvasTreeSynchronizer.java 2007-12-19 07:10:34 UTC (rev 28) @@ -162,7 +162,7 @@ continue; // if the component still has an auto-Id assigned fix it - child.setId(ComponentFactory.fixAutoId(child.getUuid())); + child.setId(ComponentFactory.fixAutoId(child.getId())); // add the Component to the designer Tree addComponentToTree(tree, child); @@ -280,7 +280,7 @@ // set the item's Id, by using the Component's // Id plus the prefix 'id_' - item.setId("id_" + canvasComponent.getUuid()); + item.setId("id_" + canvasComponent.getId()); // create a new Treerow that will contain // the Component's Id with a small-scale image @@ -291,7 +291,7 @@ // create the Id cell Treecell cell = new Treecell(); row.appendChild(cell); - Label lbl = new Label(canvasComponent.getUuid() + " [" + ComponentFactory.getSimpleClassName(canvasComponent) + "]"); + Label lbl = new Label(canvasComponent.getId() + " [" + ComponentFactory.getSimpleClassName(canvasComponent) + "]"); cell.appendChild(lbl); row.setDraggable("treeItem"); row.setDroppable("treeItem, toolkitComponent"); Modified: trunk/src/org/zerokode/designer/model/ComponentFactory.java =================================================================== --- trunk/src/org/zerokode/designer/model/ComponentFactory.java 2007-11-20 02:16:00 UTC (rev 27) +++ trunk/src/org/zerokode/designer/model/ComponentFactory.java 2007-12-19 07:10:34 UTC (rev 28) @@ -91,7 +91,7 @@ } // assign the component an Id - newComponent.setId(fixAutoId(newComponent.getUuid())); + newComponent.setId(fixAutoId(newComponent.getId())); // return the newly created component return newComponent; Modified: trunk/src/org/zerokode/designer/model/ZUMLModel.java =================================================================== --- trunk/src/org/zerokode/designer/model/ZUMLModel.java 2007-11-20 02:16:00 UTC (rev 27) +++ trunk/src/org/zerokode/designer/model/ZUMLModel.java 2007-12-19 07:10:34 UTC (rev 28) @@ -170,7 +170,7 @@ domElement = new Element(StringUtils.lowerCase(ComponentFactory.getSimpleClassName(cmp))); // get the component's Id - String sId = cmp.getUuid(); + String sId = cmp.getId(); // if the Id is auto-generated by the framework, // it cannot be used for components that will be re-loaded @@ -385,7 +385,7 @@ { // get the parent iDOM Element using the parent // component's Id as the search criterion - Element domParentElement = getElementById(ComponentFactory.fixAutoId(component.getParent().getUuid())); + Element domParentElement = getElementById(ComponentFactory.fixAutoId(component.getParent().getId())); // append the new Element to the parent if (domParentElement != null) @@ -482,7 +482,7 @@ return null; // locate and return the Element representation - return getElementById(element.getUuid()); + return getElementById(element.getId()); } /** Modified: trunk/src/org/zerokode/designer/ui/DesignerCanvas.java =================================================================== --- trunk/src/org/zerokode/designer/ui/DesignerCanvas.java 2007-11-20 02:16:00 UTC (rev 27) +++ trunk/src/org/zerokode/designer/ui/DesignerCanvas.java 2007-12-19 07:10:34 UTC (rev 28) @@ -9,6 +9,7 @@ import org.zerokode.designer.model.ComponentFactory; import org.zerokode.designer.model.ZUMLModel; import org.zkoss.idom.Document; +import org.zkoss.idom.util.IDOMs; import org.zkoss.zk.ui.Component; import org.zkoss.zk.ui.Components; import org.zkoss.zk.ui.Executions; @@ -136,8 +137,9 @@ // create the component model described in the '*.zul' file // onto the designer Canvas //Executions.createComponentsDirectly(modelDocument, null, this, null); - Executions.createComponentsDirectly(modelDocument, null, this, null); + Executions.createComponentsDirectly(modelDocument, null, this, null); + // synchronize the Tree with the model if (bSynchronizeTree) getDesigner().getSynchronizer().synchronizeTreeWithCanvas(this); @@ -163,7 +165,8 @@ _locatedComponent = null; - locateComponent(this.getRoot(), sId); + //locateComponent(this.getRoot(), sId); + locateComponent(this, sId); return _locatedComponent; } @@ -219,8 +222,7 @@ if (child == null) continue; - - if (child.getUuid().equals(sId)) + if (child.getId().equals(sId)) { _locatedComponent = child; break; @@ -285,13 +287,16 @@ { // convert the current model into a ZUML Document // create a model-to-ZUML convertor instance + try{ ZUMLModel model = new ZUMLModel((Component) getChildren().get(0)); - // reload the model onto the canvas loadModelFromDocument(model.getZUMLDocument(), true); // clean up model.dispose(); + }catch(Exception x){ + x.printStackTrace(); + } } /* (non-Javadoc) Modified: trunk/src/org/zerokode/designer/ui/DesignerTree.java =================================================================== --- trunk/src/org/zerokode/designer/ui/DesignerTree.java 2007-11-20 02:16:00 UTC (rev 27) +++ trunk/src/org/zerokode/designer/ui/DesignerTree.java 2007-12-19 07:10:34 UTC (rev 28) @@ -667,7 +667,7 @@ Treeitem selectedItem = _tree.getSelectedItem(); Treeitem root = (Treeitem) _tree.getItems().toArray()[0]; - if (selectedItem.getUuid().equals(root.getUuid())) + if (selectedItem.getId().equals(root.getId())) { // display an error message and exit Messagebox.show("Root component cannot be deleted", "Error", Messagebox.OK, Messagebox.ERROR); Modified: trunk/src/org/zerokode/designer/ui/PropertiesWindow.java =================================================================== --- trunk/src/org/zerokode/designer/ui/PropertiesWindow.java 2007-11-20 02:16:00 UTC (rev 27) +++ trunk/src/org/zerokode/designer/ui/PropertiesWindow.java 2007-12-19 07:10:34 UTC (rev 28) @@ -12,6 +12,7 @@ import org.zerokode.designer.IDisposable; import org.zerokode.designer.model.ComponentFactory; import org.zerokode.designer.model.ZUMLModel; +import org.zkoss.idom.util.IDOMs; import org.zkoss.zk.ui.AbstractComponent; import org.zkoss.zk.ui.Component; import org.zkoss.zk.ui.Components; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jum...@us...> - 2007-11-20 02:15:56
|
Revision: 27 http://zerokode.svn.sourceforge.net/zerokode/?rev=27&view=rev Author: jumperchen Date: 2007-11-19 18:16:00 -0800 (Mon, 19 Nov 2007) Log Message: ----------- 0.8.1 Added Paths: ----------- releases/0.8.1/ Copied: releases/0.8.1 (from rev 26, trunk) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jum...@us...> - 2007-11-20 02:15:04
|
Revision: 26 http://zerokode.svn.sourceforge.net/zerokode/?rev=26&view=rev Author: jumperchen Date: 2007-11-19 18:15:08 -0800 (Mon, 19 Nov 2007) Log Message: ----------- 0.8.1 Modified Paths: -------------- trunk/release Modified: trunk/release =================================================================== --- trunk/release 2007-11-20 02:08:42 UTC (rev 25) +++ trunk/release 2007-11-20 02:15:08 UTC (rev 26) @@ -15,7 +15,7 @@ #{{IS_RIGHT #}}IS_RIGHT # -ver=0.8.0 +ver=0.8.1 mkdir -p /tmp/zk This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jum...@us...> - 2007-11-20 02:08:37
|
Revision: 25 http://zerokode.svn.sourceforge.net/zerokode/?rev=25&view=rev Author: jumperchen Date: 2007-11-19 18:08:42 -0800 (Mon, 19 Nov 2007) Log Message: ----------- update for ZK 3.0.0 version Modified Paths: -------------- trunk/WebContent/WEB-INF/xsd/zul/zul.xsd Modified: trunk/WebContent/WEB-INF/xsd/zul/zul.xsd =================================================================== --- trunk/WebContent/WEB-INF/xsd/zul/zul.xsd 2007-11-20 02:00:01 UTC (rev 24) +++ trunk/WebContent/WEB-INF/xsd/zul/zul.xsd 2007-11-20 02:08:42 UTC (rev 25) @@ -1,1277 +1,1994 @@ <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns="http://www.zkoss.org/2005/zul" - targetNamespace="http://www.zkoss.org/2005/zul" - elementFormDefault="qualified"> - <!-- - SIMPLETYPE - --> - <xs:simpleType name="javaClassType"> - <xs:restriction base="xs:string"> - <xs:pattern value="([a-zA-Z0-9._])+" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="alignAttrType"> - <xs:restriction base="xs:string"> - <xs:enumeration value="top" /> - <xs:enumeration value="texttop" /> - <xs:enumeration value="middle" /> - <xs:enumeration value="absmiddle" /> - <xs:enumeration value="bottom" /> - <xs:enumeration value="absbottom" /> - <xs:enumeration value="baseline" /> - <xs:enumeration value="left" /> - <xs:enumeration value="right" /> - <xs:enumeration value="center" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="divAlignAttrType"> - <xs:restriction base="xs:string"> - <xs:enumeration value="left" /> - <xs:enumeration value="right" /> - <xs:enumeration value="center" /> - <xs:enumeration value="justify" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="gridAlignAttrType"> - <xs:restriction base="xs:string"> - <xs:enumeration value="left" /> - <xs:enumeration value="right" /> - <xs:enumeration value="center" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="valignAttrType"> - <xs:restriction base="xs:string"> - <xs:enumeration value="top" /> - <xs:enumeration value="baseline" /> - <xs:enumeration value="middle" /> - <xs:enumeration value="bottom" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="orientAttrType"> - <xs:restriction base="xs:string"> - <xs:enumeration value="horizontal" /> - <xs:enumeration value="vertical" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="dirAttrType"> - <xs:restriction base="xs:string"> - <xs:enumeration value="normal" /> - <xs:enumeration value="reverse" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="sortAttrType"> - <xs:restriction base="xs:string"> - <xs:enumeration value="auto" /> - <xs:enumeration value="none" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="sortDirectionAttrType"> - <xs:restriction base="xs:string"> - <xs:enumeration value="natural" /> - <xs:enumeration value="ascending" /> - <xs:enumeration value="descending" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="areaShapeAttrType"> - <xs:restriction base="xs:string"> - <xs:enumeration value="rectangle" /> - <xs:enumeration value="circle" /> - <xs:enumeration value="polygon" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="textboxTypeAttrType"> - <xs:restriction base="xs:string"> - <xs:enumeration value="text" /> - <xs:enumeration value="password" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="collapseAttrType"> - <xs:restriction base="xs:string"> - <xs:enumeration value="after" /> - <xs:enumeration value="before" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="chartTypeAttrType"> - <xs:restriction base="xs:string"> - <xs:enumeration value="area" /> - <xs:enumeration value="bar" /> - <xs:enumeration value="histogram" /> - <xs:enumeration value="line" /> - <xs:enumeration value="pie" /> - <xs:enumeration value="polar" /> - <xs:enumeration value="ring" /> - <xs:enumeration value="scatter" /> - <xs:enumeration value="stacked_area" /> - <xs:enumeration value="stacked_bar" /> - <xs:enumeration value="step" /> - <xs:enumeration value="step_area" /> - <xs:enumeration value="time_series" /> - <xs:enumeration value="waterfall" /> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="chartPeriodAttrType"> - <xs:restriction base="xs:string"> - <xs:enumeration value="millisecond" /> - <xs:enumeration value="secondr" /> - <xs:enumeration value="minute" /> - <xs:enumeration value="hour" /> - <xs:enumeration value="day" /> - <xs:enumeration value="week" /> - <xs:enumeration value="month" /> - <xs:enumeration value="quarter" /> - <xs:enumeration value="year" /> - </xs:restriction> - </xs:simpleType> - <!-- - ATTRIBUTEGROUP - --> - <xs:attributeGroup name="zkAttrGroup"> - <xs:attribute name="if" type="xs:string" use="optional" /> - <xs:attribute name="unless" type="xs:string" use="optional" /> - <xs:attribute name="forEach" type="xs:string" use="optional" /> - <xs:attribute name="forEachBegin" type="xs:nonNegativeInteger" use="optional" /> - <xs:attribute name="forEachEnd" type="xs:nonNegativeInteger" use="optional" /> - <xs:anyAttribute processContents="lax" /> - </xs:attributeGroup> - <xs:attributeGroup name="abstractComponentAttrGroup"> - <xs:attributeGroup ref="zkAttrGroup" /> - <xs:attribute name="id" type="xs:string" use="optional" /> - <xs:attribute name="visible" type="xs:boolean" use="optional" /> - <xs:attribute name="mold" type="xs:string" use="optional" /> - <xs:attribute name="use" type="javaClassType" use="optional" /> - </xs:attributeGroup> - <xs:attributeGroup name="htmlBasedComponentAttrGroup"> - <xs:attributeGroup ref="abstractComponentAttrGroup" /> - <xs:attribute name="width" type="xs:string" use="optional" /> - <xs:attribute name="height" type="xs:string" use="optional" /> - <xs:attribute name="sclass" type="xs:string" use="optional" /> - <xs:attribute name="style" type="xs:string" use="optional" /> - <xs:attribute name="left" type="xs:string" use="optional" /> - <xs:attribute name="top" type="xs:string" use="optional" /> - <xs:attribute name="draggable" type="xs:string" use="optional" /> - <xs:attribute name="droppable" type="xs:string" use="optional" /> - <xs:attribute name="tooltiptext" type="xs:string" use="optional" /> - <xs:attribute name="zindex" type="xs:integer" use="optional" /> - <xs:attribute name="onCreate" type="xs:string" use="optional" /> - <xs:attribute name="onDrop" type="xs:string" use="optional" /> - </xs:attributeGroup> - <xs:attributeGroup name="xulElementAttrGroup"> - <xs:attributeGroup ref="htmlBasedComponentAttrGroup" /> - <xs:attribute name="action" type="xs:string" use="optional" /> - <xs:attribute name="context" type="xs:string" use="optional" /> - <xs:attribute name="popup" type="xs:string" use="optional" /> - <xs:attribute name="tooltip" type="xs:string" use="optional" /> - </xs:attributeGroup> - <xs:attributeGroup name="inputElementAttrGroup"> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="name" type="xs:string" use="optional" /> - <xs:attribute name="disabled" type="xs:boolean" use="optional" /> - <xs:attribute name="readonly" type="xs:boolean" use="optional" /> - <xs:attribute name="maxlength" type="xs:integer" use="optional" /> - <xs:attribute name="cols" type="xs:positiveInteger" use="optional" /> - <xs:attribute name="constraint" type="javaClassType" use="optional" /> - </xs:attributeGroup> - <xs:attributeGroup name="formatInputElementAttrGroup"> - <xs:attributeGroup ref="inputElementAttrGroup" /> - <xs:attribute name="format" type="xs:string" use="optional" /> - </xs:attributeGroup> - <xs:attributeGroup name="labelElementAttrGroup"> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="label" type="xs:string" use="optional" /> - </xs:attributeGroup> - <xs:attributeGroup name="labelImageElementAttrGroup"> - <xs:attributeGroup ref="labelElementAttrGroup" /> - <xs:attribute name="image" type="xs:anyURI" use="optional" /> - </xs:attributeGroup> - <xs:attributeGroup name="headerElementAttrGroup"> - <xs:attributeGroup ref="labelImageElementAttrGroup" /> - <xs:attribute name="align" use="optional" /> - <xs:attribute name="valign" type="valignAttrType" use="optional" /> - </xs:attributeGroup> - <!-- - ELEMENTGROUP - --> - <xs:group name="baseGroup"> - <xs:choice> - <xs:element ref="attribute" /> - <xs:element ref="custom-attributes" /> - </xs:choice> - </xs:group> - <xs:group name="anyGroup"> - <xs:choice> - <xs:group ref="baseGroup" /> - <xs:element ref="audio" /> - <xs:element ref="bandbox" /> - <xs:element ref="box" /> - <xs:element ref="button" /> - <xs:element ref="calendar" /> - <xs:element ref="checkbox" /> - <xs:element ref="combobox" /> - <xs:element ref="datebox" /> - <xs:element ref="decimalbox" /> - <xs:element ref="div" /> - <xs:element ref="doublebox" /> - <xs:element ref="grid" /> - <xs:element ref="groupbox" /> - <xs:element ref="hbox" /> - <xs:element ref="html" /> - <xs:element ref="iframe" /> - <xs:element ref="image" /> - <xs:element ref="imagemap" /> - <xs:element ref="include" /> - <xs:element ref="intbox" /> - <xs:element ref="label" /> - <xs:element ref="listbox" /> - <xs:element ref="menubar" /> - <xs:element ref="menupopup" /> - <xs:element ref="popup" /> - <xs:element ref="radiogroup" /> - <xs:element ref="separator" /> - <xs:element ref="slider" /> - <xs:element ref="space" /> - <xs:element ref="style" /> - <xs:element ref="tabbox" /> - <xs:element ref="textbox" /> - <xs:element ref="timer" /> - <xs:element ref="toolbar" /> - <xs:element ref="toolbarbutton" /> - <xs:element ref="tree" /> - <xs:element ref="vbox" /> - <xs:element ref="window" /> - <xs:element ref="zk" /> - <xs:element ref="zscript" /> - </xs:choice> - </xs:group> - <!-- - ELEMENT - --> - <!-- area --> - <xs:element name="area" type="areaType" /> - <xs:complexType name="areaType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="abstractComponentAttrGroup" /> - <xs:attribute name="shape" type="areaShapeAttrType" use="optional" /> - <xs:attribute name="coords" type="xs:string" use="optional" /> - <xs:attribute name="tooltiptext" type="xs:string" use="optional" /> - </xs:complexType> - <!-- attribute --> - <xs:element name="attribute" type="attributeType" /> - <xs:complexType name="attributeType"> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attributeGroup ref="zkAttrGroup" /> - <xs:attribute name="name" type="xs:string" use="optional" /> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - <!-- audio --> - <xs:element name="audio" type="audioType" /> - <xs:complexType name="audioType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="align" type="alignAttrType" use="optional" /> - <xs:attribute name="border" type="xs:string" use="optional" /> - <xs:attribute name="src" type="xs:string" use="optional" /> - <xs:attribute name="autostart" type="xs:boolean" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- bandbox --> - <xs:element name="bandbox" type="bandboxType" /> - <xs:complexType name="bandboxType"> - <xs:sequence> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:sequence minOccurs="0" maxOccurs="1"> - <xs:element ref="bandpopup" /> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - </xs:sequence> - <xs:attributeGroup ref="inputElementAttrGroup" /> - <xs:attribute name="autodrop" type="xs:boolean" use="optional" /> - <xs:attribute name="buttonVisible" type="xs:boolean" use="optional" /> - <xs:attribute name="image" type="xs:anyURI" use="optional" /> - <xs:attribute name="value" type="xs:string" use="optional" /> - <xs:attribute name="type" type="textboxTypeAttrType" use="optional" /> - <xs:attribute name="onChange" type="xs:string" use="optional" /> - <xs:attribute name="onChanging" type="xs:string" use="optional" /> - <xs:attribute name="onFocus" type="xs:string" use="optional" /> - <xs:attribute name="onBlur" type="xs:string" use="optional" /> - <xs:attribute name="onOpen" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- bandpopup --> - <xs:element name="bandpopup" type="bandpopupType" /> - <xs:complexType name="bandpopupType" mixed="true"> - <xs:group ref="anyGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - </xs:complexType> - <!-- box --> - <xs:element name="box" type="boxType" /> - <xs:complexType name="boxType" mixed="true"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="anyGroup" /> - <xs:element ref="splitter" /> - </xs:choice> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="orient" type="orientAttrType" use="optional" /> - <xs:attribute name="spacing" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - <xs:attribute name="valign" type="valignAttrType" use="optional" /> - </xs:complexType> - <!-- button --> - <xs:element name="button" type="buttonType" /> - <xs:complexType name="buttonType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="labelImageElementAttrGroup" /> - <xs:attribute name="orient" type="orientAttrType" use="optional" /> - <xs:attribute name="dir" type="dirAttrType" use="optional" /> - <xs:attribute name="href" type="xs:anyURI" use="optional" /> - <xs:attribute name="target" type="xs:string" use="optional" /> - <xs:attribute name="disabled" type="xs:boolean" use="optional" /> - <xs:attribute name="readonly" type="xs:boolean" use="optional" /> - <xs:attribute name="onClick" type="xs:string" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> - <xs:attribute name="onFocus" type="xs:string" use="optional" /> - <xs:attribute name="onBlur" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- calendar --> - <xs:element name="calendar" type="calendarType" /> - <xs:complexType name="calendarType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="value" type="xs:dateTime" use="optional" /> - <xs:attribute name="compact" type="xs:boolean" use="optional" /> - <xs:attribute name="timeZone" type="xs:string" use="optional" /> - <xs:attribute name="onChange" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- caption --> - <xs:element name="caption" type="captionType" /> - <xs:complexType name="captionType" mixed="true"> - <xs:group ref="anyGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="labelImageElementAttrGroup" /> - <xs:attribute name="onClick" type="xs:string" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> - <xs:attribute name="onDoubleClick" type="xs:string" use="optional" /> - </xs:complexType> - <!-- chart --> - <xs:element name="chart" type="chartType" /> - <xs:complexType name="chartType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="border" type="xs:string" use="optional" /> - <xs:attribute name="align" type="alignAttrType" use="optional" /> - <xs:attribute name="hspace" type="xs:string" use="optional" /> - <xs:attribute name="vspace" type="xs:string" use="optional" /> - <xs:attribute name="type" type="chartTypeAttrType" use="optional" /> - <xs:attribute name="model" type="xs:string" use="optional" /> - <xs:attribute name="title" type="xs:string" use="optional" /> - <xs:attribute name="xAxis" type="xs:string" use="optional" /> - <xs:attribute name="yAxis" type="xs:string" use="optional" /> - <xs:attribute name="threeD" type="xs:boolean" use="optional" /> - <xs:attribute name="showLegend" type="xs:boolean" use="optional" /> - <xs:attribute name="showTooltiptext" type="xs:boolean" use="optional" /> - <xs:attribute name="paneAlpha" type="xs:integer" use="optional" /> - <xs:attribute name="paneColor" type="xs:string" use="optional" /> - <xs:attribute name="fgAlpha" type="xs:integer" use="optional" /> - <xs:attribute name="bgAlpha" type="xs:integer" use="optional" /> - <xs:attribute name="bgColor" type="xs:string" use="optional" /> - <xs:attribute name="orient" type="orientAttrType" use="optional" /> - <xs:attribute name="timeZone" type="xs:string" use="optional" /> - <xs:attribute name="period" type="chartPeriodAttrType" use="optional" /> - <xs:attribute name="areaListener" type="xs:string" use="optional" /> - <xs:attribute name="onClick" type="xs:string" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- checkbox --> - <xs:element name="checkbox" type="checkboxType" /> - <xs:complexType name="checkboxType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="labelImageElementAttrGroup" /> - <xs:attribute name="name" type="xs:string" use="optional" /> - <xs:attribute name="checked" type="xs:boolean" use="optional" /> - <xs:attribute name="disabled" type="xs:boolean" use="optional" /> - <xs:attribute name="readonly" type="xs:boolean" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> - <xs:attribute name="onFocus" type="xs:string" use="optional" /> - <xs:attribute name="onBlur" type="xs:string" use="optional" /> - <xs:attribute name="onCheck" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- column --> - <xs:element name="column" type="columnType" /> - <xs:complexType name="columnType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="headerElementAttrGroup" /> - <xs:attribute name="sortDirection" type="sortDirectionAttrType" use="optional" /> - <xs:attribute name="sortAscending" type="javaClassType" use="optional" /> - <xs:attribute name="sortDescending" type="javaClassType" use="optional" /> - <xs:attribute name="onClick" type="xs:string" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> - <xs:attribute name="onDoubleClick" type="xs:string" use="optional" /> - <xs:attribute name="onSort" type="xs:string" use="optional" /> - </xs:complexType> - <!-- columns --> - <xs:element name="columns" type="columnsType" /> - <xs:complexType name="columnsType"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="column" /> - </xs:choice> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="sizable" type="xs:boolean" use="optional" /> - </xs:complexType> - <!-- combobox --> - <xs:element name="combobox" type="comboboxType" /> - <xs:complexType name="comboboxType"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="comboitem" /> - </xs:choice> - <xs:attributeGroup ref="inputElementAttrGroup" /> - <xs:attribute name="autodrop" type="xs:boolean" use="optional" /> - <xs:attribute name="buttonVisible" type="xs:boolean" use="optional" /> - <xs:attribute name="value" type="xs:string" use="optional" /> - <xs:attribute name="type" type="textboxTypeAttrType" use="optional" /> - <xs:attribute name="onChange" type="xs:string" use="optional" /> - <xs:attribute name="onChanging" type="xs:string" use="optional" /> - <xs:attribute name="onFocus" type="xs:string" use="optional" /> - <xs:attribute name="onBlur" type="xs:string" use="optional" /> - <xs:attribute name="onOpen" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- comboitem --> - <xs:element name="comboitem" type="comboitemType" /> - <xs:complexType name="comboitemType" mixed="true"> - <xs:group ref="anyGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="labelImageElementAttrGroup" /> - <xs:attribute name="description" type="xs:string" use="optional" /> - </xs:complexType> - <!-- custom-attributes --> - <xs:element name="custom-attributes" type="custom-attributesType" /> - <xs:complexType name="custom-attributesType"> - <xs:anyAttribute processContents="lax" /> - </xs:complexType> - <!-- datebox --> - <xs:element name="datebox" type="dateboxType" /> - <xs:complexType name="dateboxType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="formatInputElementAttrGroup" /> - <xs:attribute name="value" type="xs:dateTime" use="optional" /> - <xs:attribute name="lenient" type="xs:boolean" use="optional" /> - <xs:attribute name="compact" type="xs:boolean" use="optional" /> - <xs:attribute name="timeZone" type="xs:string" use="optional" /> - <xs:attribute name="onChange" type="xs:string" use="optional" /> - <xs:attribute name="onChanging" type="xs:string" use="optional" /> - <xs:attribute name="onFocus" type="xs:string" use="optional" /> - <xs:attribute name="onBlur" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- decimalbox --> - <xs:element name="decimalbox" type="decimalboxType" /> - <xs:complexType name="decimalboxType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="formatInputElementAttrGroup" /> - <xs:attribute name="value" type="xs:decimal" use="optional" /> - <xs:attribute name="scale" type="xs:integer" use="optional" /> - <xs:attribute name="onChange" type="xs:string" use="optional" /> - <xs:attribute name="onChanging" type="xs:string" use="optional" /> - <xs:attribute name="onFocus" type="xs:string" use="optional" /> - <xs:attribute name="onBlur" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- div --> - <xs:element name="div" type="divType" /> - <xs:complexType name="divType" mixed="true"> - <xs:group ref="anyGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="align" type="divAlignAttrType" use="optional" /> - <xs:attribute name="onClick" type="xs:string" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> - <xs:attribute name="onDoubleClick" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- doublebox --> - <xs:element name="doublebox" type="doubleboxType" /> - <xs:complexType name="doubleboxType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="formatInputElementAttrGroup" /> - <xs:attribute name="value" type="xs:double" use="optional" /> - <xs:attribute name="onChange" type="xs:string" use="optional" /> - <xs:attribute name="onChanging" type="xs:string" use="optional" /> - <xs:attribute name="onFocus" type="xs:string" use="optional" /> - <xs:attribute name="onBlur" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- grid --> - <xs:element name="grid" type="gridType" /> - <xs:complexType name="gridType"> - <xs:sequence> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:choice minOccurs="0" maxOccurs="1"> - <xs:sequence> - <xs:element ref="columns" /> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:sequence minOccurs="0" maxOccurs="1"> - <xs:element ref="rows" /> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - </xs:sequence> - <xs:sequence> - <xs:element ref="rows" /> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:sequence minOccurs="0" maxOccurs="1"> - <xs:element ref="columns" /> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - </xs:sequence> - </xs:choice> - </xs:sequence> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="align" type="gridAlignAttrType" use="optional" /> - <xs:attribute name="pageSize" type="xs:positiveInteger" use="optional" /> - <xs:attribute name="paginal" type="xs:string" use="optional" /> - <xs:attribute name="onPaging" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- groupbox --> - <xs:element name="groupbox" type="groupboxType" /> - <xs:complexType name="groupboxType" mixed="true"> - <xs:sequence> - <xs:group ref="anyGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:sequence minOccurs="0" maxOccurs="1"> - <xs:element ref="caption" /> - <xs:group ref="anyGroup" minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - </xs:sequence> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="open" type="xs:boolean" use="optional" /> - <xs:attribute name="closable" type="xs:boolean" use="optional" /> - <xs:attribute name="onClick" type="xs:string" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> - <xs:attribute name="onDoubleClick" type="xs:string" use="optional" /> - <xs:attribute name="onOpen" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- hbox --> - <xs:element name="hbox" type="hboxType" /> - <xs:complexType name="hboxType" mixed="true"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="anyGroup" /> - <xs:element ref="splitter" /> - </xs:choice> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="spacing" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - <xs:attribute name="valign" type="valignAttrType" use="optional" /> - </xs:complexType> - <!-- html --> - <xs:element name="html" type="htmlType" /> - <xs:complexType name="htmlType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="content" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- iframe --> - <xs:element name="iframe" type="iframeType" /> - <xs:complexType name="iframeType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="name" type="xs:string" use="optional" /> - <xs:attribute name="src" type="xs:anyURI" use="optional" /> - <xs:attribute name="align" type="alignAttrType" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- image --> - <xs:element name="image" type="imageType" /> - <xs:complexType name="imageType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="border" type="xs:string" use="optional" /> - <xs:attribute name="src" type="xs:anyURI" use="optional" /> - <xs:attribute name="align" type="alignAttrType" use="optional" /> - <xs:attribute name="hspace" type="xs:string" use="optional" /> - <xs:attribute name="vspace" type="xs:string" use="optional" /> - <xs:attribute name="onClick" type="xs:string" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> - <xs:attribute name="onDoubleClick" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- imagemap --> - <xs:element name="imagemap" type="imagemapType" /> - <xs:complexType name="imagemapType"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="area" /> - </xs:choice> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="border" type="xs:string" use="optional" /> - <xs:attribute name="src" type="xs:anyURI" use="optional" /> - <xs:attribute name="align" type="alignAttrType" use="optional" /> - <xs:attribute name="hspace" type="xs:string" use="optional" /> - <xs:attribute name="vspace" type="xs:string" use="optional" /> - <xs:attribute name="onClick" type="xs:string" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- include --> - <xs:element name="include" type="includeType" /> - <xs:complexType name="includeType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="src" type="xs:anyURI" use="optional" /> - <xs:attribute name="localized" type="xs:boolean" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- intbox --> - <xs:element name="intbox" type="intboxType" /> - <xs:complexType name="intboxType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="formatInputElementAttrGroup" /> - <xs:attribute name="value" type="xs:integer" use="optional" /> - <xs:attribute name="onChange" type="xs:string" use="optional" /> - <xs:attribute name="onChanging" type="xs:string" use="optional" /> - <xs:attribute name="onFocus" type="xs:string" use="optional" /> - <xs:attribute name="onBlur" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- label --> - <xs:element name="label" type="labelType" /> - <xs:complexType name="labelType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="value" type="xs:string" use="optional" /> - <xs:attribute name="multiline" type="xs:boolean" use="optional" /> - <xs:attribute name="maxlength" type="xs:positiveInteger" use="optional" /> - <xs:attribute name="onClick" type="xs:string" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> - <xs:attribute name="onDoubleClick" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- listbox --> - <xs:element name="listbox" type="listboxType" /> - <xs:complexType name="listboxType"> - <xs:sequence> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="listitem" /> - </xs:choice> - <xs:choice minOccurs="0" maxOccurs="1"> - <xs:sequence> - <xs:element ref="listhead" /> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="listitem" /> - </xs:choice> - <xs:sequence minOccurs="0" maxOccurs="1"> - <xs:element ref="listfoot" /> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="listitem" /> - </xs:choice> - </xs:sequence> - </xs:sequence> - <xs:sequence> - <xs:element ref="listfoot" /> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="listitem" /> - </xs:choice> - <xs:sequence minOccurs="0" maxOccurs="1"> - <xs:element ref="listhead" /> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="listitem" /> - </xs:choice> - </xs:sequence> - </xs:sequence> - </xs:choice> - </xs:sequence> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="checkmark" type="xs:boolean" use="optional" /> - <xs:attribute name="disabled" type="xs:boolean" use="optional" /> - <xs:attribute name="pageSize" type="xs:positiveInteger" use="optional" /> - <xs:attribute name="paginal" type="xs:string" use="optional" /> - <xs:attribute name="onPaging" type="xs:string" use="optional" /> - <xs:attribute name="readonly" type="xs:boolean" use="optional" /> - <xs:attribute name="multiple" type="xs:boolean" use="optional" /> - <xs:attribute name="vflex" type="xs:boolean" use="optional" /> - <xs:attribute name="rows" type="xs:nonNegativeInteger" use="optional" /> - <xs:attribute name="maxlength" type="xs:nonNegativeInteger" use="optional" /> - <xs:attribute name="name" type="xs:string" use="optional" /> - <xs:attribute name="onSelect" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- listcell --> - <xs:element name="listcell" type="listcellType" /> - <xs:complexType name="listcellType" mixed="true"> - <xs:group ref="anyGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="labelImageElementAttrGroup" /> - </xs:complexType> - <!-- listfoot --> - <xs:element name="listfoot" type="listfootType" /> - <xs:complexType name="listfootType"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="listfooter" /> - </xs:choice> - <xs:attributeGroup ref="xulElementAttrGroup" /> - </xs:complexType> - <!-- listfooter --> - <xs:element name="listfooter" type="listfooterType" /> - <xs:complexType name="listfooterType" mixed="true"> - <xs:group ref="anyGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="labelImageElementAttrGroup" /> - <xs:attribute name="onClick" type="xs:string" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> - <xs:attribute name="onDoubleClick" type="xs:string" use="optional" /> - </xs:complexType> - <!-- listhead --> - <xs:element name="listhead" type="listheadType" /> - <xs:complexType name="listheadType"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="listheader" /> - </xs:choice> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="sizable" type="xs:boolean" use="optional" /> - </xs:complexType> - <!-- listheader --> - <xs:element name="listheader" type="listheaderType" /> - <xs:complexType name="listheaderType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="headerElementAttrGroup" /> - <xs:attribute name="sort" type="sortAttrType" use="optional" /> - <xs:attribute name="sortDirection" type="sortDirectionAttrType" use="optional" /> - <xs:attribute name="sortAscending" type="javaClassType" use="optional" /> - <xs:attribute name="sortDescending" type="javaClassType" use="optional" /> - <xs:attribute name="maxlength" type="xs:nonNegativeInteger" use="optional" /> - <xs:attribute name="onClick" type="xs:string" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> - <xs:attribute name="onDoubleClick" type="xs:string" use="optional" /> - <xs:attribute name="onSort" type="xs:string" use="optional" /> - </xs:complexType> - <!-- listitem --> - <xs:element name="listitem" type="listitemType" /> - <xs:complexType name="listitemType"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="listcell" /> - </xs:choice> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="label" type="xs:string" use="optional" /> - <xs:attribute name="value" type="xs:string" use="optional" /> - <xs:attribute name="disabled" type="xs:boolean" use="optional" /> - <xs:attribute name="selected" type="xs:boolean" use="optional" /> - </xs:complexType> - <!-- menu --> - <xs:element name="menu" type="menuType" /> - <xs:complexType name="menuType"> - <xs:sequence> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:sequence minOccurs="0" maxOccurs="1"> - <xs:element ref="menupopup" /> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - </xs:sequence> - </xs:sequence> - <xs:attributeGroup ref="labelImageElementAttrGroup" /> - </xs:complexType> - <!-- menubar --> - <xs:element name="menubar" type="menubarType" /> - <xs:complexType name="menubarType"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="menu" /> - </xs:choice> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="orient" type="orientAttrType" use="optional" /> - <xs:attribute name="autodrop" type="xs:boolean" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- menuitem --> - <xs:element name="menuitem" type="menuitemType" /> - <xs:complexType name="menuitemType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="labelImageElementAttrGroup" /> - <xs:attribute name="value" type="xs:string" use="optional" /> - <xs:attribute name="checked" type="xs:boolean" use="optional" /> - <xs:attribute name="autocheck" type="xs:boolean" use="optional" /> - <xs:attribute name="href" type="xs:anyURI" use="optional" /> - <xs:attribute name="target" type="xs:string" use="optional" /> - <xs:attribute name="onClick" type="xs:string" use="optional" /> - </xs:complexType> - <!-- menupopup --> - <xs:element name="menupopup" type="menupopupType" /> - <xs:complexType name="menupopupType"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="menu" /> - <xs:element ref="menuitem" /> - <xs:element ref="menuseparator" /> - </xs:choice> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="onOpen" type="xs:string" use="optional" /> - </xs:complexType> - <!-- menuseparator --> - <xs:element name="menuseparator" type="menuseparatorType" /> - <xs:complexType name="menuseparatorType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - </xs:complexType> - <!-- paging --> - <xs:element name="paging" type="pagingType" /> - <xs:complexType name="pagingType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="pageSize" type="xs:positiveInteger" use="optional" /> - <xs:attribute name="totalSize" type="xs:nonNegativeInteger" use="optional" /> - <xs:attribute name="activePage" type="xs:nonNegativeInteger" use="optional" /> - <xs:attribute name="pageIncrement" type="xs:positiveInteger" use="optional" /> - <xs:attribute name="detailed" type="xs:boolean" use="optional" /> - <xs:attribute name="autohide" type="xs:boolean" use="optional" /> - </xs:complexType> - <!-- popup --> - <xs:element name="popup" type="popupType" /> - <xs:complexType name="popupType"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="anyGroup" /> - <xs:element ref="menu" /> - <xs:element ref="menuitem" /> - <xs:element ref="menuseparator" /> - </xs:choice> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="onOpen" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- progressmeter --> - <xs:element name="progressmeter" type="progressmeterType" /> - <xs:complexType name="progressmeterType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="value" type="xs:integer" use="optional" /> - </xs:complexType> - <!-- radio --> - <xs:element name="radio" type="radioType" /> - <xs:complexType name="radioType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="labelImageElementAttrGroup" /> - <xs:attribute name="selected" type="xs:boolean" use="optional" /> - <xs:attribute name="checked" type="xs:boolean" use="optional" /> - <xs:attribute name="disabled" type="xs:boolean" use="optional" /> - <xs:attribute name="readonly" type="xs:boolean" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> - <xs:attribute name="onFocus" type="xs:string" use="optional" /> - <xs:attribute name="onBlur" type="xs:string" use="optional" /> - <xs:attribute name="onCheck" type="xs:string" use="optional" /> - </xs:complexType> - <!-- radiogroup --> - <xs:element name="radiogroup" type="radiogroupType" /> - <xs:complexType name="radiogroupType"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="radio" /> - </xs:choice> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="name" type="xs:string" use="optional" /> - <xs:attribute name="orient" type="orientAttrType" use="optional" /> - <xs:attribute name="onCheck" type="xs:string" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- row --> - <xs:element name="row" type="rowType" /> - <xs:complexType name="rowType" mixed="true"> - <xs:group ref="anyGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="align" type="gridAlignAttrType" use="optional" /> - <xs:attribute name="nowrap" type="xs:boolean" use="optional" /> - <xs:attribute name="valign" type="valignAttrType" use="optional" /> - <xs:attribute name="value" type="xs:string" use="optional" /> - </xs:complexType> - <!-- rows --> - <xs:element name="rows" type="rowsType" /> - <xs:complexType name="rowsType"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:group ref="baseGroup" /> - <xs:element ref="row" /> - </xs:choice> - <xs:attributeGroup ref="xulElementAttrGroup" /> - </xs:complexType> - <!-- separator --> - <xs:element name="separator" type="separatorType" /> - <xs:complexType name="separatorType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="spacing" type="xs:string" use="optional" /> - <xs:attribute name="orient" type="orientAttrType" use="optional" /> - <xs:attribute name="bar" type="xs:boolean" use="optional" /> - <xs:attribute name="onBookmarkChanged" type="xs:string" use="optional" /> - <xs:attribute name="onClientInfo" type="xs:string" use="optional" /> - </xs:complexType> - <!-- slider --> - <xs:element name="slider" type="sliderType" /> - <xs:complexType name="sliderType"> - <xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" /> - <xs:attributeGroup ref="xulElementAttrGroup" /> - <xs:attribute name="curpos" type="xs:integer" use="optional" /> - <xs:attribute name="maxpos" type="xs:integer" use="optional" /> - <xs:attribute name="pageIncrement" type="xs:integer" use="optional" /> - <xs:attribute name="onRightClick" type="xs:string" use="optional" /> + xmlns="http://www.zkoss.org/2005/zul" + targetNamespace="http://www.zkoss.org/2005/zul" + elementFormDefault="qualified"> + <!-- + SIMPLETYPE + --> + <xs:simpleType name="javaClassType"> + <xs:restriction base="xs:string"> + <xs:pattern value="([a-zA-Z0-9._])+" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="alignAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="top" /> + <xs:enumeration value="texttop" /> + <xs:enumeration value="middle" /> + <xs:enumeration value="absmiddle" /> + <xs:enumeration value="bottom" /> + <xs:enumeration value="absbottom" /> + <xs:enumeration value="baseline" /> + <xs:enumeration value="left" /> + <xs:enumeration value="right" /> + <xs:enumeration value="center" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="divAlignAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="left" /> + <xs:enumeration value="right" /> + <xs:enumeration value="center" /> + <xs:enumeration value="justify" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="flashWmodeAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="transparent" /> + <xs:enumeration value="opaque" /> + <xs:enumeration value="window" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="gridAlignAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="left" /> + <xs:enumeration value="right" /> + <xs:enumeration value="center" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="valignAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="top" /> + <xs:enumeration value="baseline" /> + <xs:enumeration value="middle" /> + <xs:enumeration value="bottom" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="tabsAlignAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="start" /> + <xs:enumeration value="center" /> + <xs:enumeration value="end" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="packAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="start" /> + <xs:enumeration value="center" /> + <xs:enumeration value="end" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="orientAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="horizontal" /> + <xs:enumeration value="vertical" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="dirAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="normal" /> + <xs:enumeration value="reverse" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="sortAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="auto" /> + <xs:enumeration value="none" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="sortDirectionAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="natural" /> + <xs:enumeration value="ascending" /> + <xs:enumeration value="descending" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="areaShapeAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="rectangle" /> + <xs:enumeration value="circle" /> + <xs:enumeration value="polygon" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="textboxTypeAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="text" /> + <xs:enumeration value="password" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="collapseAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="after" /> + <xs:enumeration value="before" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="chartTypeAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="area" /> + <xs:enumeration value="bar" /> + <xs:enumeration value="histogram" /> + <xs:enumeration value="line" /> + <xs:enumeration value="pie" /> + <xs:enumeration value="polar" /> + <xs:enumeration value="ring" /> + <xs:enumeration value="scatter" /> + <xs:enumeration value="stacked_area" /> + <xs:enumeration value="stacked_bar" /> + <xs:enumeration value="step" /> + <xs:enumeration value="step_area" /> + <xs:enumeration value="time_series" /> + <xs:enumeration value="waterfall" /> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="chartPeriodAttrType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="millisecond" /> + <xs:enumeration value="secondr" /> + <xs:enumeration value="minute" /> + <xs:enumeration value="hour" /> + <xs:enumeration value="day" /> + <xs:enumeration value="week" /> + <xs:enumeration value="month" /> + <xs:enumeration value="quarter" /> + <xs:enumeration value="year" /> + </xs:restriction> + </xs:simpleType> + <!-- + ATTRIBUTEGROUP + --> + <xs:attributeGroup name="zkAttrGroup"> + <xs:attribute name="if" type="xs:string" use="optional" /> + <xs:attribute name="unless" type="xs:string" use="optional" /> + <xs:attribute name="forEach" type="xs:string" use="optional" /> + <xs:attribute name="forEachBegin" type="xs:string" use="optional" /> + <xs:attribute name="forEachEnd" type="xs:string" use="optional" /> + <xs:anyAttribute processContents="lax" /> + </xs:attributeGroup> + <xs:attributeGroup name="abstractComponentAttrGroup"> + <xs:attributeGroup ref="zkAttrGroup" /> + <xs:attribute name="id" type="xs:string" use="optional" /> + <xs:attribute name="visible" type="xs:string" use="optional" /> + <xs:attribute name="mold" type="xs:string" use="optional" /> + <xs:attribute name="use" type="javaClassType" use="optional" /> + <xs:attribute name="fulfill" type="xs:string" use="optional" /> + <xs:attribute name="apply" type="xs:string" use="optional" /> + </xs:attributeGroup> + <xs:attributeGroup name="htmlBasedComponentAttrGroup"> + <xs:attributeGroup ref="abstractComponentAttrGroup" /> + <xs:attribute name="width" type="xs:string" use="optional" /> + <xs:attribute name="height" type="xs:string" use="optional" /> + <xs:attribute name="sclass" type="xs:string" use="optional" /> + <xs:attribute name="style" type="xs:string" use="optional" /> + <xs:attribute name="left" type="xs:string" use="optional" /> + <xs:attribute name="top" type="xs:string" use="optional" /> + <xs:attribute name="draggable" type="xs:string" use="optional" /> + <xs:attribute name="droppable" type="xs:string" use="optional" /> + <xs:attribute name="tooltiptext" type="xs:string" use="optional" /> + <xs:attribute name="zindex" type="xs:string" use="optional" /> + <xs:attribute name="onCreate" type="xs:string" use="optional" /> + <xs:attribute name="onDrop" type="xs:string" use="optional" /> + </xs:attributeGroup> + <xs:attributeGroup name="xulElementAttrGroup"> + <xs:attributeGroup ref="htmlBasedComponentAttrGroup" /> + <xs:attribute name="action" type="xs:string" use="optional" /> + <xs:attribute name="context" type="xs:string" use="optional" /> + <xs:attribute name="popup" type="xs:string" use="optional" /> + <xs:attribute name="tooltip" type="xs:string" use="optional" /> + </xs:attributeGroup> + <xs:attributeGroup name="inputElementAttrGroup"> + <xs:attributeGroup ref="xulElementAttrGroup" /> + <xs:attribute name="name" type="xs:string" use="optional" /> + <xs:attribute name="disabled" type="xs:string" use="optional" /> + <xs:attribute name="readonly" type="xs:string" use="optional" /> + <xs:attribute name="maxlength" type="xs:string" use="optional" /> + <xs:attribute name="cols" type="xs:string" use="optional" /> + <xs:attribute name="constraint" type="javaClassType" use="optional" /> + <xs:attribute name="tabindex" type="xs:string" use="optional" /> + </xs:attributeGroup> + <xs:attributeGroup name="formatInputElementAttrGroup"> + <xs:attributeGroup ref="inputElementAttrGroup" /> + <xs:attribute name="format" type="xs:string" use="optional" /> + </xs:attributeGroup> + <xs:attributeGroup name="labelElementAttrGroup"> + <xs:attributeGroup ref="xulElementAttrGroup" /> + <xs:attribute name="label" type="xs:string" use="optional" /> + </xs:attributeGroup> + <xs:attributeGroup name="labelImageElementAttrGroup"> + <xs:attributeGroup ref="labelElementAttrGroup" /> + <xs:attribute name="image" type="xs:anyURI" use="optional" /> + </xs:attributeGroup> + <xs:attributeGroup name="headerElementAttrGroup"> + <xs:attributeGroup ref="labelImageElementAttrGroup" /> + <xs:attribute name="align" use="optional" /> + <xs:attribute name="valign" type="valignAttrType" use="optional" /> + </xs:attributeGroup> + <!-- + ELEMENTGROUP + --> + <xs:group name="baseGroup"> + <xs:choice> + <xs:element ref="attribute" /> + <xs:element ref="custom-attributes" /> + <xs:element ref="variables" /> + </xs:choice> + </xs:group> + <xs:group name="anyGroup"> + <xs:choice> + <xs:group ref="baseGroup" /> + <xs:element ref="audio" /> + <xs:element ref="bandbox" /> + <xs:element ref="borderlayout" /> + <xs:element ref="box" /> + <xs:element ref="button" /> + <xs:element ref="calendar" /> + <xs:element ref="chart" /> + <xs:element ref="checkbox" /> + <xs:element ref="combobox" /> + <xs:element ref="datebox" /> + <xs:element ref="decimalbox" /> + <xs:element ref="div" /> + <... [truncated message content] |
From: <jum...@us...> - 2007-11-20 01:59:56
|
Revision: 24 http://zerokode.svn.sourceforge.net/zerokode/?rev=24&view=rev Author: jumperchen Date: 2007-11-19 18:00:01 -0800 (Mon, 19 Nov 2007) Log Message: ----------- Update for ZK 3.0.0 version Modified Paths: -------------- trunk/src/org/zerokode/designer/events/listeners/TreeEventListener.java trunk/src/org/zerokode/designer/model/CanvasTreeSynchronizer.java trunk/src/org/zerokode/designer/model/ComponentFactory.java trunk/src/org/zerokode/designer/model/ZUMLModel.java trunk/src/org/zerokode/designer/ui/Designer.java trunk/src/org/zerokode/designer/ui/DesignerCanvas.java Modified: trunk/src/org/zerokode/designer/events/listeners/TreeEventListener.java =================================================================== --- trunk/src/org/zerokode/designer/events/listeners/TreeEventListener.java 2007-11-20 01:56:51 UTC (rev 23) +++ trunk/src/org/zerokode/designer/events/listeners/TreeEventListener.java 2007-11-20 02:00:01 UTC (rev 24) @@ -192,7 +192,7 @@ // add the new component as a child // to the selected one cmpTarget.appendChild(newComponent); - + cmpTarget.invalidate(); // avoid some side effect. add By Jumper // apply the post creation rules of the component RulesResult result = RulesEngine.applyRules(newComponent, RulesEngine.CREATION_RULES); Modified: trunk/src/org/zerokode/designer/model/CanvasTreeSynchronizer.java =================================================================== --- trunk/src/org/zerokode/designer/model/CanvasTreeSynchronizer.java 2007-11-20 01:56:51 UTC (rev 23) +++ trunk/src/org/zerokode/designer/model/CanvasTreeSynchronizer.java 2007-11-20 02:00:01 UTC (rev 24) @@ -162,7 +162,7 @@ continue; // if the component still has an auto-Id assigned fix it - child.setId(ComponentFactory.fixAutoId(child.getId())); + child.setId(ComponentFactory.fixAutoId(child.getUuid())); // add the Component to the designer Tree addComponentToTree(tree, child); @@ -280,7 +280,7 @@ // set the item's Id, by using the Component's // Id plus the prefix 'id_' - item.setId("id_" + canvasComponent.getId()); + item.setId("id_" + canvasComponent.getUuid()); // create a new Treerow that will contain // the Component's Id with a small-scale image @@ -291,7 +291,7 @@ // create the Id cell Treecell cell = new Treecell(); row.appendChild(cell); - Label lbl = new Label(canvasComponent.getId() + " [" + ComponentFactory.getSimpleClassName(canvasComponent) + "]"); + Label lbl = new Label(canvasComponent.getUuid() + " [" + ComponentFactory.getSimpleClassName(canvasComponent) + "]"); cell.appendChild(lbl); row.setDraggable("treeItem"); row.setDroppable("treeItem, toolkitComponent"); Modified: trunk/src/org/zerokode/designer/model/ComponentFactory.java =================================================================== --- trunk/src/org/zerokode/designer/model/ComponentFactory.java 2007-11-20 01:56:51 UTC (rev 23) +++ trunk/src/org/zerokode/designer/model/ComponentFactory.java 2007-11-20 02:00:01 UTC (rev 24) @@ -91,7 +91,7 @@ } // assign the component an Id - newComponent.setId(fixAutoId(newComponent.getId())); + newComponent.setId(fixAutoId(newComponent.getUuid())); // return the newly created component return newComponent; @@ -369,11 +369,8 @@ */ public static String createNewId() { - // get the next available component Id for the current Desktop - final StringBuffer bufferId = new StringBuffer(12).append("z_"); - Strings.encode(bufferId, new Integer(((DesktopCtrl) Executions.getCurrent().getDesktop()).getNextUuid())); - - String sNewId = bufferId.toString(); + // get the next available component Id for the current Desktop + String sNewId = ((DesktopCtrl) Executions.getCurrent().getDesktop()).getNextUuid(); // fix the Id sNewId = fixAutoId(sNewId); Modified: trunk/src/org/zerokode/designer/model/ZUMLModel.java =================================================================== --- trunk/src/org/zerokode/designer/model/ZUMLModel.java 2007-11-20 01:56:51 UTC (rev 23) +++ trunk/src/org/zerokode/designer/model/ZUMLModel.java 2007-11-20 02:00:01 UTC (rev 24) @@ -170,7 +170,7 @@ domElement = new Element(StringUtils.lowerCase(ComponentFactory.getSimpleClassName(cmp))); // get the component's Id - String sId = cmp.getId(); + String sId = cmp.getUuid(); // if the Id is auto-generated by the framework, // it cannot be used for components that will be re-loaded @@ -385,7 +385,7 @@ { // get the parent iDOM Element using the parent // component's Id as the search criterion - Element domParentElement = getElementById(ComponentFactory.fixAutoId(component.getParent().getId())); + Element domParentElement = getElementById(ComponentFactory.fixAutoId(component.getParent().getUuid())); // append the new Element to the parent if (domParentElement != null) @@ -482,7 +482,7 @@ return null; // locate and return the Element representation - return getElementById(element.getId()); + return getElementById(element.getUuid()); } /** Modified: trunk/src/org/zerokode/designer/ui/Designer.java =================================================================== --- trunk/src/org/zerokode/designer/ui/Designer.java 2007-11-20 01:56:51 UTC (rev 23) +++ trunk/src/org/zerokode/designer/ui/Designer.java 2007-11-20 02:00:01 UTC (rev 24) @@ -163,7 +163,6 @@ Vbox vBox = new Vbox(); Vbox vbox2 = new Vbox(); Hbox hBox = new Hbox(); - hBox.setSpacing("15px"); vBox.setSpacing("35px"); vbox2.setWidth("100%"); @@ -172,7 +171,7 @@ hBox.appendChild(vBox); hBox.appendChild(vbox2); - + hBox.setWidths("35%,60%"); vBox.appendChild(_toolbar); vBox.appendChild(_toolkit); vBox.appendChild(_tree); Modified: trunk/src/org/zerokode/designer/ui/DesignerCanvas.java =================================================================== --- trunk/src/org/zerokode/designer/ui/DesignerCanvas.java 2007-11-20 01:56:51 UTC (rev 23) +++ trunk/src/org/zerokode/designer/ui/DesignerCanvas.java 2007-11-20 02:00:01 UTC (rev 24) @@ -220,7 +220,7 @@ if (child == null) continue; - if (child.getId().equals(sId)) + if (child.getUuid().equals(sId)) { _locatedComponent = child; break; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jum...@us...> - 2007-11-20 01:56:47
|
Revision: 23 http://zerokode.svn.sourceforge.net/zerokode/?rev=23&view=rev Author: jumperchen Date: 2007-11-19 17:56:51 -0800 (Mon, 19 Nov 2007) Log Message: ----------- ZK 3.0.0 version Modified Paths: -------------- trunk/WebContent/WEB-INF/lib/zcommon.jar trunk/WebContent/WEB-INF/lib/zhtml.jar trunk/WebContent/WEB-INF/lib/zk.jar trunk/WebContent/WEB-INF/lib/zkplus.jar trunk/WebContent/WEB-INF/lib/zul.jar trunk/WebContent/WEB-INF/lib/zweb.jar Added Paths: ----------- trunk/WebContent/WEB-INF/lib/zcommons-el.jar trunk/WebContent/WEB-INF/lib/zkex.jar trunk/WebContent/WEB-INF/lib/zkmax.jar Modified: trunk/WebContent/WEB-INF/lib/zcommon.jar =================================================================== (Binary files differ) Added: trunk/WebContent/WEB-INF/lib/zcommons-el.jar =================================================================== (Binary files differ) Property changes on: trunk/WebContent/WEB-INF/lib/zcommons-el.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/WebContent/WEB-INF/lib/zhtml.jar =================================================================== (Binary files differ) Modified: trunk/WebContent/WEB-INF/lib/zk.jar =================================================================== (Binary files differ) Added: trunk/WebContent/WEB-INF/lib/zkex.jar =================================================================== (Binary files differ) Property changes on: trunk/WebContent/WEB-INF/lib/zkex.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/WebContent/WEB-INF/lib/zkmax.jar =================================================================== (Binary files differ) Property changes on: trunk/WebContent/WEB-INF/lib/zkmax.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/WebContent/WEB-INF/lib/zkplus.jar =================================================================== (Binary files differ) Modified: trunk/WebContent/WEB-INF/lib/zul.jar =================================================================== (Binary files differ) Modified: trunk/WebContent/WEB-INF/lib/zweb.jar =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rob...@us...> - 2007-05-23 00:33:16
|
Revision: 22 http://zerokode.svn.sourceforge.net/zerokode/?rev=22&view=rev Author: robbiecheng Date: 2007-05-22 17:33:03 -0700 (Tue, 22 May 2007) Log Message: ----------- upgrate to zk2.3.1, replace getNextId with getNextuuId Modified Paths: -------------- trunk/src/org/zerokode/designer/model/ComponentFactory.java Modified: trunk/src/org/zerokode/designer/model/ComponentFactory.java =================================================================== --- trunk/src/org/zerokode/designer/model/ComponentFactory.java 2007-04-15 10:04:56 UTC (rev 21) +++ trunk/src/org/zerokode/designer/model/ComponentFactory.java 2007-05-23 00:33:03 UTC (rev 22) @@ -371,7 +371,7 @@ { // get the next available component Id for the current Desktop final StringBuffer bufferId = new StringBuffer(12).append("z_"); - Strings.encode(bufferId, ((DesktopCtrl) Executions.getCurrent().getDesktop()).getNextId()); + Strings.encode(bufferId, new Integer(((DesktopCtrl) Executions.getCurrent().getDesktop()).getNextUuid())); String sNewId = bufferId.toString(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mag...@us...> - 2007-04-15 10:04:54
|
Revision: 21 http://zerokode.svn.sourceforge.net/zerokode/?rev=21&view=rev Author: magic003 Date: 2007-04-15 03:04:56 -0700 (Sun, 15 Apr 2007) Log Message: ----------- Fix the width of InfoDialog. Modified Paths: -------------- trunk/src/org/zerokode/designer/ui/InfoDialog.java Modified: trunk/src/org/zerokode/designer/ui/InfoDialog.java =================================================================== --- trunk/src/org/zerokode/designer/ui/InfoDialog.java 2007-04-13 06:29:55 UTC (rev 20) +++ trunk/src/org/zerokode/designer/ui/InfoDialog.java 2007-04-15 10:04:56 UTC (rev 21) @@ -40,7 +40,7 @@ // set the window properties setId("dlgSaveModel"); setTitle("The Author"); - setWidth("230px"); + setWidth("245px"); setBorder("normal"); setClosable(true); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <to...@us...> - 2007-04-13 06:29:53
|
Revision: 20 http://zerokode.svn.sourceforge.net/zerokode/?rev=20&view=rev Author: tomyeh Date: 2007-04-12 23:29:55 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Modified Paths: -------------- trunk/WebContent/WEB-INF/zk.xml Modified: trunk/WebContent/WEB-INF/zk.xml =================================================================== --- trunk/WebContent/WEB-INF/zk.xml 2007-04-04 01:20:22 UTC (rev 19) +++ trunk/WebContent/WEB-INF/zk.xml 2007-04-13 06:29:55 UTC (rev 20) @@ -43,12 +43,10 @@ <richlet> <richlet-class>org.zkoss.zkdemo.test.TestRichlet</richlet-class> <richlet-url>/test</richlet-url> - <!-- Any number of initial parameters. <init-param> <param-name>any</param-name> <param-value>any</param-value> </init-param> - --> </richlet> --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |