cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hahn Kurt (CHA)" <kurt.h...@etat.ge.ch>
Subject Question on forms
Date Wed, 21 Aug 2002 10:42:32 GMT
Hi,
I'm trying to build a form in Cocoon.

My first question: I'm a complete newbie concerning forms (meaning passing
the parameter in GET/POST requests and all that stuff), but I'm getting to
know Cocoon better. Should I first work my way through forms in a "neutral"
environnement, or is it not more difficult to start writing them directly in
Cocoon, using xsp and actions etc.?

My second: In the pipeline below (which I copied from the samples), I
couldn't figure out what the parameter name "view-source" does. In the
transformer documentation, there's no reference to this one. Can anybody
help me with this?

Thanks in advance

<map:match pattern="forms/*">
     <map:generate type="serverpages" src="docs/samples/forms/{1}.xsp"/>
     <map:transform src="stylesheets/dynamic-page2html.xsl">
        <map:parameter name="view-source"
value="docs/samples/forms/{1}.xsp"/>
     </map:transform>
     <map:serialize/>
   </map:match>

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message