[opencms-dev] Online project problem
Julien Soyer
JSoyer at paris.agency.com
Mon Dec 10 18:58:18 CET 2001
Hi again,
I'm currently testing some kind of login form, and I have different results
whereas I am working in the workplace or using the online version of the
page.
The cms.loginUser affects your session in the workplace so I tried to
publish the page to try it online. But the form doesn't send any parameters
in the online site!
Here is my template:
<?xml version="1.0"?>
<XMLTEMPLATE>
<TEMPLATE><![CDATA[
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form method=post>
<INPUT type=hidden name=flag
value=]]><process>redirect</process><![CDATA[>
<INPUT type=textarea name=username><br><br>
<INPUT type=textarea name=password><br><br>
<INPUT type=submit value=OK name=submitButton><br><br>
***]]><process>debug</process><![CDATA[***
</form>
</body>
</html>
]]></TEMPLATE>
<TEMPLATE name="result"><![CDATA[
Result:
***]]><process>value</process><![CDATA[***
]]></TEMPLATE>
<TEMPLATE name="error"><![CDATA[
Result:
***]]><process>error</process><![CDATA[***
]]></TEMPLATE>
</XMLTEMPLATE>
When I display parameters.toString() in the debug PROCESS tag, I can't get
any form parameter. However, this template works fine in the
workplace...What have I done wrong ?
Regards,
Julien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20011210/1d8871ad/attachment.htm>
More information about the opencms-dev
mailing list