commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jelly/xdocs jellyswing.xml jellyunit.xml navigation.xml
Date Wed, 31 Jul 2002 11:42:47 GMT
jstrachan    2002/07/31 04:42:47

  Modified:    jelly/xdocs jellyunit.xml navigation.xml
  Added:       jelly/xdocs jellyswing.xml
  Log:
  improved the navigation somewhat to make it easier to find things. Also added links to some
more examples as well as a little documentation on JellySwing
  
  Revision  Changes    Path
  1.4       +9 -1      jakarta-commons-sandbox/jelly/xdocs/jellyunit.xml
  
  Index: jellyunit.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/xdocs/jellyunit.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jellyunit.xml	22 Jul 2002 10:49:37 -0000	1.3
  +++ jellyunit.xml	31 Jul 2002 11:42:47 -0000	1.4
  @@ -29,9 +29,17 @@
           You can also use Ant FileSets and the <fileScanner> tag to iterate
over collections of 
           Jelly scripts or XML data files and use this data to define new test cases.
         </p>
  +    </section>
  +    <section name="Examples"> 
         <p>
  -        There is an example JellyUnit script
  +        There is a simple example JellyUnit script
           <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/junit/suite.jelly?rev=HEAD">here</a>
  +      </p>
  +      <p>
  +        An example demonstrating the use of the <a href="tags.html#jelly:betwixt">Betwixt</a>
library is 
  +        <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/betwixt/suite.jelly?rev=HEAD">here</a>
  +        along with a common shared test script
  +        <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/betwixt/common.jelly?rev=HEAD">here</a>
         </p>
       </section>
       <section name="Integration with TestRunners"> 
  
  
  
  1.11      +4 -1      jakarta-commons-sandbox/jelly/xdocs/navigation.xml
  
  Index: navigation.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/xdocs/navigation.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- navigation.xml	30 Jul 2002 14:46:29 -0000	1.10
  +++ navigation.xml	31 Jul 2002 11:42:47 -0000	1.11
  @@ -9,7 +9,6 @@
         <item name="Overview"                href="/index.html"/>
         <item name="FAQ"                     href="/faq.html"/>
         <item name="Detail"                  href="/overview.html"/>
  -      <item name="JellyUnit"               href="/jellyunit.html"/>
         <item name="Tag Reference"           href="/tags.html"/>
         <item name="Download"                href="http://jakarta.apache.org/turbine/jars2/commons-jelly/distributions/"/>
         <item name="To Do List"              href="/todo.html"/>
  @@ -17,6 +16,10 @@
       <menu name="Community">
         <item name="News Blog"			   href="http://blogs.werken.com/projects/jelly/"/>
         <item name="IRC"					   href="/irc.html"/>
  +    </menu>
  +    <menu name="Libraries">
  +      <item name="JellyUnit"               href="/jellyunit.html"/>
  +      <item name="JellySwing"              href="/jellyswing.html"/>
       </menu>
     </body>
   </project>
  
  
  
  1.1                  jakarta-commons-sandbox/jelly/xdocs/jellyswing.xml
  
  Index: jellyswing.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <document>
    <properties>
      <title>JellySwing</title>
      <author email="jstrachan@apache.org">James Strachan</author>
    </properties>
  
    <body>
      <section name="JellySwing"> 
        <p>
          JellySwing is a simple Jelly library which can be used to create Swing user interfaces.
          It allows XML documents (Jelly scripts) to be used to define the layout and rendering
of Swing 
          front ends which avoids lots of mundane Java coding, using markup to define the
view 
          of your front end and allowing you to bind to Java code for the business objects
and models. 
        </p>
        <p>
          This mechanism uses seperation of concerns and MVC ideas from web applications,
allowing the rendering
          of your Swing front end to be easily transformed (since its XML) into different
styles while leaving your
          model and business objects untouched. It also allows different views to be constructed
independently of your models.
        </p>
        <p>
          There is an example JellySwing script
          <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/swing/example.jelly?rev=HEAD">here</a>
        </p>
        <p>
          To try running the example type the following command then you should see a full
Swing user interface 
          appear with pull down menus, a splitter pane, a form, entry fields, buttons and
a table.
        </p>
        <source>
  	maven demo:swing
        </source>
        <p>
          This example even shows that simple actions can be coded in Jelly script too! Though
typically most
          complex logic and models (such as TableModel, TreeModel) should be written in Java
code.
          Then Jelly script can be used to create the view and bind in the models.
        </p>
      </section>
    </body>
  </document>
  
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message