×

Discussion Board

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

    Problem posting XHTML form

    Hi,

    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"
    "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>
    TIM
    </title>
    <link href="routeAssist.css" rel="stylesheet" type="text/css"/>
    </head>
    <body>
    <p>
    <img src="./images/logo.png" alt="Logo" />
    </p>
    <h5> Configure </h5>
    <p class="textClass">
    Some text
    </p>
    <form action="logic" method="post">
    <p>
    <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 -->
    </p>
    </form>
    <p>
    <a href="./index.jsp">Back</a>
    </p>
    </body>
    </html>

    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?


    Thanks
    Paola

  2. #2
    Regular Contributor
    Join Date
    Jun 2004
    Location
    Hong Kong
    Posts
    59

    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
    Location
    Hong Kong
    Posts
    59

    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
  •