cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morales, Ramses" <Ramses.Mora...@cwpanama.com>
Subject can't get request params from wap device
Date Mon, 25 Nov 2002 21:50:32 GMT
Hi.

I wrote one action to authenticate users using a wap device, but I can't
make it work, because the request parameters are null, and they shouldn't.

This is the login wml page:

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml><card title="Login" id="index">
<do label="Ok" type="accept">
  <go href="/cocoon/pendientes/lista"/>
</do>
<p>username:<br/>
 <input name="1" type="text"/>
</p>
<p>password:<br/>
 <input name="2" type="password"/>
</p>
</card>
</wml>

The action gets called when "lista" is matched, but

request.getParameter("parameterName");

returns null.

What am I missing??

I thought the server side processing of a wap device would be identicall to
that of a normal browser.

Thanks for your help.
 
****************************************************************************
La informacion en este correo electrónico es confidencial y puede estar
legalmente protegida.  El contenido está dirigido solamente al destinatario.
Cualquier acceso al mismo por otra persona, no está autorizado.  Si Ud. no
es el destinatario intencionado, cualquier divulgación, copia, distribución
o cualquier otra acción tomada u omitida concerniente a la información
contenida en el mismo, está prohibida y puede ser ilegal.
Si Ud. ha recibido este correo por error, por favor contactar al remitente o
elimine el mensaje.
----------------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee.  Access to this email by anyone
else is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful.
If you have received this mail in error, please contact the sender or delete
the message.
****************************************************************************

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message