cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garvin Riensche" <>
Subject forms and cocoon
Date Thu, 25 Sep 2003 21:35:33 GMT
Hi there,

Perhaps someone can help me with this:
I have a html file with a form and i want to pass the form inputs to a xsp
file to store the data in a database.

<form action="store_data" method="post">
some <input> tags...
<input type="submit" value="OK">

In the sitemap i have made an entry:

<map:match pattern="store_data">
	   <map:generate type="xsp" src="sql.xsp"/>
	   <map:serialize type="html"/>

I get an error message like "file c:\cocoon\...\store_data not fould".
If i directly call the sql.xsp with "action=sql.xsp" i also don't get
something useful. The Xsp file is displayed but the commands in it are not
executed. My question is how i can refer to a matcher in the sitemap from
the form in the html file.

Garvin Riensche

P.S.: I am using Cocoon 2.1.m2

Viele Grüße,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message