[opencms-dev] Webform and dynamic output

Cyrill Brunschwiler c.brunschwiler at bluewin.ch
Tue Apr 1 22:32:24 CEST 2003


Hi Ralph

Hope it'll help. you have to create a table in the opencms db.
and a new key called GUESTBOOK...

Comparisons with the NewsModule Source will also help.

There are some modules src in CVS study them also and RTFM ;-) carefully.

regards,
Cyrill


-----Original Message-----
From: owner-opencms-dev at www.opencms.org
[mailto:owner-opencms-dev at www.opencms.org]On Behalf Of ambiesense at gmx.de
Sent: Tuesday, April 01, 2003 8:03 PM
To: opencms-dev at www.opencms.org
Subject: [opencms-dev] Webform and dynamic output


Hi,

I am not very experienced in dynamic web stuff. I am wondering if I can
realise the following scenario:

I have a webpage in OpenCMS. This webpage processes as soon as it is
accessed, dynamic output via a content template and a Java class which runs and
generate the dynamic output HTML and is included in this content template (like
described in the OpenCMS documantation at page 40/41 (section 2.3.2)).

Now I want another HTML website with a text field and a submit button. The
user fills out the text field and presses the submit button. The website
test.html website (also in OpenCMS) should be called.

<html>
<title>Form</title>
<body>
<br><br>
<form method="post" name="cityeventform" action="test.html"
My name is <input type="text" name="name_input" value="bla" size="15"
maxlength="15"/><br>
I am looking for ... <input type="text" name="user_input" value="xyz"
size="25" maxlength="25"/>
<input type="submit" value="Submit"
</form>
</body>
</html>

How can the test.html website access the parameter from the text field (or
any other field in general)?

Is there are mutch more elegant method of how to do this? I am working with
5.0 RC 1...

Thanks a lot in advance!
Ralf

--
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Guestbook.zip
Type: application/x-zip-compressed
Size: 9763 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030401/5782dee3/attachment.bin>


More information about the opencms-dev mailing list