Derek Hohls wrote:
I am trying to create a form whose parts may change...
In my flow script I have:
var fooForm = new Form("model_foo");
use var form = new Form( "cocoon:/model_foo" );
if you encounter strange errors (sometimes you might) do
var form = new Form( "cocoon:raw:/model_foo" );
the second case _won't _make any request parameters/attributes available
to the subrequest. Still you may pass parameters:
var form = new Form( "cocoon:raw:/model_foo?param=1" );
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
--
Leszek Gawron [EMAIL PROTECTED]
IT Manager MobileBox sp. z o.o.
+48 (61) 855 06 67 http://www.mobilebox.pl
mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]