cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: can't get request params from wap device
Date Mon, 25 Nov 2002 22:56:01 GMT
Could it be that '1' and '2' are not valid parameter names. Try to add 
at least one letter infront of the numbers, e.g. 'param1', 'p1' or 
something similar.

Joerg

Morales, Ramses wrote:
> 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.


---------------------------------------------------------------------
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