forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g4 <>
Subject Sitemap Action problem
Date Mon, 21 Jul 2003 16:36:46 GMT
Hi list,

I have a XMLForm that I have generated using XSP, This basically is 
putting in some date stamps, some variables and is part of a session so 
a session ID is generated in the form. This is then passed onto a 
simple pipeline that converts the XSP to XMLForm 

       <map:action logger="xmlform" name="EnquiryAction" 


      <map:match pattern="**enquiry.html">
         <map:generate src="xsp/enquiry.xsp" type="serverpages"/>
         <map:transform src="resources/stylesheets/dynamic2xform.xsl"/>
         <map:serialize type="xml"/>

I then am trying to pass this along to another pipeline that makes a 
Xindice database connection through an Action and Skins the site, so:

<map:match pattern="**body-quote.html">
         <map:act type="EnquiryAction">-
             <!-- XMLForm parameters for the Action -->
             <!-- Notice how we use an XML file as the model -->
             <map:parameter name="xmlform-validator-schema-ns" 
             <map:parameter name="xmlform-validator-schema" 
             <map:parameter name="xmlform-id" value="enquiry-insert"/>
             <map:parameter name="xmlform-scope" value="session"/>
             <map:parameter name="xmlform-model" 
             <!-- XMLForm document, {page} comes from Action -->
             <map:generate src="cocoon:/enquiry.html"/>
          <map:generate src="cocoon:/enquiry.html"/>
          <map:transform src="resources/stylesheets/xsp2xmlform.xsl"/>
          <map:call resource="skinit">
            <map:parameter name="type" value="document2html"/>
            <map:parameter name="path" value="session.xsp"/>

My chain that transforms XSP > XMLForm and then Skins seems to be fine, 
If exclude the <map:act/> part it renders fine, as soon as I include it 
all I get is a blank screen. Do I need to separate the <map:call/> part 
into a third pipeline?

Many thanks in advance

Jason Lane

View raw message