cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@dff.st>
Subject latest xform
Date Mon, 23 Jul 2001 22:38:10 GMT
new stuff for the xform part

What already works:
-on the first view the XSP page passes the SAX events
 to a new DOMObject. This holds the instance data of
 the XForm.
-the XForm instances are saved inside the session
-the XForm instance data are inserted into the XSP page via XMLFragment interface
-getValue( String XPath )
-setValue( String XPath )
-DOMObject is now an interface AbstractDOMObject is the implementation
 (might become DOMObjectImpl)
-now we have a DOMObjectOutputWrapper that opens
 the door for backend mapping like beans or whatever.

Here is sitemap snipped for first tests:

   <map:match pattern="xform.xhtml">
    <map:generate type="serverpages" src="docs/samples/xform/xform.xml">
      <!-- select which subpage to view -->
      <map:parameter name="page" value="fillin1"/>
    </map:generate>
    <map:transform src="stylesheets/xform2html.xsl"/>
    <map:serialize type="xml"/>
   </map:match>

The stylesheet is not much more then a test. Probably Peter will
already have a real one :)

I again attached all necessary files.

regards
--
Torsten
Mime
View raw message