[opencms-dev] Webform and dynamic output

ambiesense at gmx.de ambiesense at gmx.de
Tue Apr 1 20:02:45 CEST 2003


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!




More information about the opencms-dev mailing list