cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garvin Riensche" <g.riens...@gmx.net>
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...
</form>
<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"/>
/map:match>

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.

regargs,
Garvin Riensche

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






Viele Grüße,
Garvin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message