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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to