Uni Era's profileThe Unified EraBlogLists Tools Help

Blog


    Does your browser support SVG image?

    Here is a svg image exported from JVix, can you see?

    Bad browser! Click to download?

    JVix's UI Prompted

    JVix is the product name for "JViz" (code name).

    JViz 1.5 Released

    What's new of JViz 1.5?
    • Diagram file format updated, from binary(object stream) to xml.
     Note: To open an old diagram file, please use JViz 1.0.
    • JDK/JRE 5.0 Needed.
    JViz 1.5 uses some new language feature of 5.0.
    • Help documentation added newly.
    • Some bugs fixed.

    <mvc-config> XSD draft for UNSAE 1.5

        We believe that a perfect beginning is necessary for a perfect business. So exhausted to draft it!


    <?xml version="1.0" encoding="UTF-8"?>

    <schema targetNamespace="http://www.uniera.org/unsae/core"
        xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:core="http://www.uniera.org/unsae/core"
        elementFormDefault="qualified" attributeFormDefault="unqualified"
        version="1.5a">

        <element name="mvc-config" type="core:mvc-configType" />

        <complexType name="mvc-configType">
            <sequence>
                <element name="bundle" type="core:bundleType" minOccurs="0"
                    maxOccurs="unbounded" />
                <element name="script" type="core:scriptType" minOccurs="0" maxOccurs="1" />
                <element name="form" type="core:formType" minOccurs="0"
                    maxOccurs="unbounded" />
                <element name="screen" type="core:screenType" minOccurs="0"
                    maxOccurs="unbounded" />
                <element name="entry" type="core:entryType" minOccurs="1"
                    maxOccurs="unbounded" />
                <element name="error" type="core:errorType" minOccurs="0"
                    maxOccurs="unbounded" />
            </sequence>
            <attribute name="module" default="/">
                <simpleType>
                    <restriction base="string">
                        <pattern value="/.*" />
                    </restriction>
                </simpleType>
            </attribute>
            <attribute name="folder" default="/">
                <simpleType>
                    <restriction base="string">
                        <pattern value="/.*" />
                    </restriction>
                </simpleType>
            </attribute>
            <attribute name="version" type="string" fixed="1.5"/>
        </complexType>

        <complexType name="scriptType">
            <simpleContent>
                <extension base="string">
                    <attribute name="name" type="string" default="" />
                    <attribute name="compile" type="boolean" />
                </extension>
            </simpleContent>
        </complexType>

        <complexType name="bundleType">
            <attribute name="file" type="core:fileType" />
            <attribute name="locale" type="string" default="" />
        </complexType>

        <complexType name="formType">
            <sequence>
                <element name="script" type="core:scriptType" minOccurs="0" />
            </sequence>
            <attribute name="class" type="core:classType" use="required" />
            <attribute name="name" type="core:formIdType" />
            <attribute name="eval" type="core:exprType" />
            <attribute name="scope" type="core:scopeType" default="request" />
        </complexType>

        <complexType name="screenType">
            <sequence>
                <element name="param" type="core:paramType" minOccurs="0"
                    maxOccurs="unbounded" />
            </sequence>
            <attribute name="name" type="core:screenIdType" />
            <attribute name="desc" type="core:exprType" />
            <attribute name="file" type="core:fileType" use="required" />
        </complexType>

        <complexType name="entryType">
            <sequence>
                <element name="form" type="core:formType" minOccurs="0" />
                <element name="script" type="core:scriptType" minOccurs="0"/>
                <element name="command" type="core:commandType" minOccurs="0" maxOccurs="unbounded"/>
                <element name="screen" type="core:screenType" minOccurs="0" maxOccurs="unbounded"/>
            </sequence>
            <attribute name="uri" type="core:uriType" use="required" />
            <attribute name="form" type="core:formIdType" use="optional" />
            <attribute name="screen" type="core:screenIdType"
                use="optional" />
            <attribute name="error" type="core:screenIdType" use="optional" />
            <attribute name="eval" type="core:exprType" use="optional" />
            <attribute name="permit" type="string" default="" />
            <attribute name="desc" type="core:exprType" />
            <attribute name="token" type="boolean" default="false" />
        </complexType>

        <complexType name="commandType">
            <sequence>
                <element name="param" type="core:paramType" minOccurs="0" maxOccurs="unbounded"/>
            </sequence>
            <attribute name="class" type="core:classType" use="optional" />
            <attribute name="scope" type="core:scopeType"
                default="application" />
            <attribute name="method" type="core:exprType" default="execute" />
        </complexType>

        <complexType name="paramType">
            <attribute name="name" type="string" use="required" />
            <attribute name="value" type="core:exprType" use="optional" />
        </complexType>

        <complexType name="errorType">
            <sequence>
                <element name="script" type="core:scriptType" minOccurs="0" />
                <element name="screen" type="core:screenType" minOccurs="0" />
            </sequence>
            <attribute name="class" type="core:classType" use="required" />
            <attribute name="screen" type="core:screenIdType" />
        </complexType>

        <simpleType name="scopeType">
            <restriction base="string">
                <enumeration value="request" />
                <enumeration value="session" />
                <enumeration value="threadlocal" />
                <enumeration value="application" />
            </restriction>
        </simpleType>

        <simpleType name="uriType">
            <restriction base="string" />
        </simpleType>

        <simpleType name="classType">
            <restriction base="string" />
        </simpleType>

        <simpleType name="exprType">
            <restriction base="string">
                <pattern value="javascript:.*" />
                <pattern value=".*" />
            </restriction>
        </simpleType>

        <simpleType name="fileType">
            <restriction base="string" />
        </simpleType>

        <simpleType name="screenIdType">
            <restriction base="string" />
        </simpleType>

        <simpleType name="formIdType">
            <restriction base="string" />
        </simpleType>
    </schema>

    Swlet vs. SmartSWT

    What is Swlet? See the introduction Here.
    What is SmartSWT? See http://www.smartswt.net/

    How to create a new .jviz file

    I can't believe that so many folks had difficulties to start this plugin. I think it's just very simple! So the steps below is a little later for you:

    1, Choose your folder to create the new .jviz file and right-click, Select "New" >> "Other", like this figure:


    2, Then in the "New Wizard" dialog, Select "Other" >> "JViz Diagram" and click next:


    3, Then enter the file name and finish the wizard. Note: ".jviz" is fixed suffix of the file name.

    UNSAE 1.5 Delayed again!

    We are very sorry to say: Its release time is delayed again due to development reason. Some new features such as scripts are considering to be added in the release.

    UNSAE Group
    2006/8/2




    Note: The core config xml's dtd is being modified now to enhance both its readability and functionality. the result xml format will differ greatly from the one in UNSAE 1.3(not released version).