cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darach Cawley" <dcaw...@tssg.org>
Subject RE: forms and cocoon
Date Fri, 26 Sep 2003 08:00:08 GMT
in the html file you should set the action field of the form to the pattern
match of the xsp page in the sitemap.  The attributes you want sent from the
form when submitted will automatically be sent, all you have to do is
request them from the xsp page.  You don't have to worry about sending them
on in the sitemap.

This is how you retrieve the parameter:
String formAttribute = request.getParameter("formAttributeName");

You will also need this in your header <xsp:page>
xmlns:xsp-request="http://apache.org/xsp/request/2.0"

Hope this is of help!
Darach.

-----Original Message-----
From: Garvin Riensche [mailto:g.riensche@gmx.net]
Sent: 25 September 2003 23:57
To: users@cocoon.apache.org
Subject: AW: forms and cocoon


Hi,

> 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.
[....]
Please ignore - stupid mistake..

regards,
Garvin


---
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message