Hello list,

I've implemented the example cform howto as detailed on the lenya wiki with
limited success.

I can't get the form served within the body of a standrard lenya page
(heading / left hand nav, tabs etc)

Naively this is what I'm trying. (pretty much exactly as detailed in the
cocoon registration demo)

1. set up a link on a page to register.flow
2. in pubs/mypub/sitemap.xmap set up match on register.flow which calls the
register function
3 in register.js call the form with "registration-display-pipeline"
4 in the generate for the matcher which matches the above do

<mao:generate src="cocoon://mypub/myformtemplate.html" />

where myformtemplate is the docid for the lenya managed page with the form
template in it.

I'm expecting the cocoon protocol to return the xhtml of the lenya
aggragated page, which I then push through one last transform to render the
form bits.

what i get is: a 404 The requested document '/registration.flow' with
document-id '/registration' does not exist.

if i use the file protocol to the doc hard coded i get the form fine
(although without the nav and tabs etc

Any helpwould be appreciated.


my site map looks like

<map:match pattern="/registration.flow">
        <map:call function="registration"/>
      </map:match>

      <map:match pattern="**/registrationContinue">
       <map:act type="request">
         <map:parameter name="parameters" value="true" />
         <map:call continuation="{continuation-id}"/>
        </map:act>
      </map:match>
<map:match pattern="registration-display-pipeline">
        <map:generate src="cocoon://pear2/contact/registerTemplate.html"/>
        <map:transform type="forms"/>
         <map:transform
src="resources/resources/forms-samples-styling.xsl"/>
         <map:serialize/>
      </map:match>









---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to