> I am trying to create a form whose parts may change...
>
> In my flow script I have:
>
> var fooForm = new Form("model_foo");

Try:

var fooForm = new Form("cocoon://model_foo");

>
> and in the sitemap:
>
>   <map:match pattern="model_*">
>     <map:generate src="view/report/model_{1}.xml" type="jx"/>
>       <map:serialize type="xml"/>
>     </map:match>
>
> But the error I get is:
>
> org.apache.avalon.framework.CascadingException:
> Could not parse form definition from
> file:/D:/tomcat/webapps/cocoon/projects/localdb/model_repIndicatorcause:
> java.io.FileNotFoundException:
> D:\tomcat\webapps\cocoon\projects\local\model_foo (The system cannot find
> the file specified)
>
> In other words: the flow is not looking in the sitemap
> to see where the form file is being created...
>
> How do I resolve this?
>
> Thanks
> Derek
>
>
> --
> This message is subject to the CSIR's copyright, terms and conditions and
> e-mail legal notice. Views expressed herein do not necessarily represent
> the
> views of the CSIR.
>
> CSIR E-mail Legal Notice
> http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html
>
> CSIR Copyright, Terms and Conditions
> http://mail.csir.co.za/CSIR_Copyright.html
>
> For electronic copies of the CSIR Copyright, Terms and Conditions and the
> CSIR
> Legal Notice send a blank message with REQUEST LEGAL in the subject line
> to
> [EMAIL PROTECTED]
>
>
> This message has been scanned for viruses and dangerous content by
> MailScanner,
> and is believed to be clean.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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

Reply via email to