Stephen Adkins > js-app > js-app

Download:
js-app-0.13.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

js-app - A framework for building dynamic widgets or full applications in Javascript

SYNOPSIS ^

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>

    <head>
      <title>demo</title>
      <script type="text/javascript" language="JavaScript">
        var appOptions = {
          urlDocRoot    : "/demo",
          urlScriptRoot : "/cgi-bin/demo",
          urlDocDir     : "/usr/local/htdocs",
          urlScriptDir  : "/usr/local/cgi-bin",
          theme         : "js-app"
        };
        var appConf = {
          global : {
            js : [
                "/demo/js-app/lib/Select.js",
                "/demo/js-app/lib/Date.js"
            ]
            // css : [ ]
          }
        };
      </script>
      <script src="/demo/js-app/init.js" type="text/javascript" language="JavaScript"></script>
    </head>
    <body>
    <form>
    <h1>JS-App</h1>
    JS-App is a Javascript Application framework with which you can build
    rich web applications and widgets embeddable in web pages. 
    The following are a sampling of the widgets available in JS-App.

    <hr />

    <table border="0" cellspacing="0">
      <tr>
        <td>Date</td>
        <td>
          <script type="text/javascript">
            context.widget("date",{ "serviceClass" : "DateWidget", submittable : 1 }).write();
          </script>
        </td>
      </tr>
      <tr>
        <td>Fruit</td>
        <td>
          <script type="text/javascript">
            context.widget("fruits", {
              "serviceClass" : "DualSelectWidget",
              "values" : [ "apple", "orange", "banana", "grape", "lemon", "lime", "peach" ],
              "labels" : {
                "apple"  : "Red Apple",
                "orange" : "Florida Orange",
                "banana" : "Chiquita Banana",
                "grape"  : "Concord Grape",
                "lemon"  : "Sour Lemon",
                "lime"   : "Tart Lime",
                "peach"  : "Georgia Peach"
              }
            }).write();
          </script>
        </td>
      </tr>
    </table>
    <input type="submit" value="Submit">
    </form>
    </body>
    </html>

DESCRIPTION ^

JS-App is a Javascript Application framework with which you can build rich web applications and widgets embeddable in web pages.

ACKNOWLEDGEMENTS ^

 * Author:  Stephen Adkins <stephen.adkins@officevision.com>
 * License: This is free software. The Javascript is licensed under the LGPL.

SEE ALSO ^

syntax highlighting: