sorry I didn't see this one!

Check that your src in the right directory, and if your xsp generator works!
Another thing could be that your html form is at a different level as your
sitemap, if so make sure to point directly to it (e.g. ../store_data)

Darach.


-----Original Message-----
From: Garvin Riensche [mailto:[EMAIL PROTECTED]
Sent: 25 September 2003 22:36
To: [EMAIL PROTECTED]
Subject: forms and cocoon


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003


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

Reply via email to