Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2005

    Problem posting XHTML form


    I'm trying to develop a WAP site and I have a number of servlets generating XHTML code.

    One sends the browser (I'm using 6680, 6630 and the emulator) the following simple page:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
    <html xmlns="http://www.w3.org/1999/xhtml">
    <link href="routeAssist.css" rel="stylesheet" type="text/css"/>
    <img src="./images/logo.png" alt="Logo" />
    <h5> Configure </h5>
    <p class="textClass">
    Some text
    <form action="logic" method="post">
    <input type="submit" value="OK" />
    <!-- Submit simpleSubscription parameters -->
    <input type="hidden" name="action" value="6" />
    <input type="hidden" name="startDate" value="29-11-2005-12.02" />
    <input type="hidden" name="setOfDays" value="0" />
    <input type="hidden" name="startHour" value="7.00" />
    <input type="hidden" name="endHour" value="20.00" />
    <input type="hidden" name="mode" value="TrafficWebCam" />
    <input type="hidden" name="radius" value="3"/> <!-- unused -->
    <a href="./index.jsp">Back</a>

    The problem is that when I press OK and post the values back to the server, the value of the hidden parameter setOfDays is set to 1 instead of 0.
    sometimes instead, posting the same page causes the telephone browser to crash.

    Have you ever had the same problem?


  2. #2
    Regular Contributor
    Join Date
    Jun 2004
    Hong Kong

    Re: Problem posting XHTML form

    1.) Try this:
    <input type="hidden" name="setOfDays" value=0 />

    No "0".

  3. #3
    Regular Contributor
    Join Date
    Jun 2004
    Hong Kong

    Re: Problem posting XHTML form

    2.) Check with the server side scripts is correct or not.

Similar Threads

  1. second form not getting key events
    By krsunil in forum Symbian User Interface
    Replies: 3
    Last Post: 2008-12-10, 10:29
  2. To NOKIA - S80 Form with commandButtons PROBLEM please help
    By melas21 in forum Mobile Java General
    Replies: 0
    Last Post: 2005-04-27, 09:23
  3. POSTing problem with WML on 6810
    By Paul Benyon in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2005-03-18, 10:44
  4. problem creating my own menu for form
    By alice77 in forum Symbian User Interface
    Replies: 2
    Last Post: 2003-11-21, 13:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts