×

Discussion Board

Results 1 to 5 of 5

Thread: DO element

  1. #1
    Registered User
    Join Date
    Mar 2003
    Location
    Egypt
    Posts
    19

    DO element

    I copied the following code from
    WAP_Serv_Dev_Guide_Nokia_Series_40_WML_v1_4.pdf

    <wml>
    <template>
    <do name="help-button" type="options" label="Ask Help">
    <go href="http://.../help.wml" method="get"/> </do>
    <do type="options" label="Contact">
    <go href="http://.../contact.wml" method="get" sendreferer="false"/> </do>
    <do type="prev" optional="false"> <prev/> </do>
    </template>
    <card id="card1" title="Homepage" ordered="true"> <p align="left"> Please, register <br/>
    Username: <input name="username" type="text" title="Username" emptyok="false"/> Password: <input name="password" type="password" title="Password" emptyok="false"/>
    <do type="accept" label="Enter">
    <go href="#confirm" method="get" sendreferer="false"/> </do> </p> </card> <card id="confirm" title="Confirmation" ordered="true" newcontext="false"> <p align="left"> $(username), thank you for registering. </p>
    </card>
    </wml>

    then i tested it on 6610, all what i have got is the code displayed on the mobile screen
    what should i do to get this code working?

    the same went for me for the option element
    i think there must be something wrong with my server settings
    even though all MIME types are set for wml and all other file types.

    please help.

    thanks in advance

  2. #2
    Super Contributor
    Join Date
    May 2003
    Posts
    839
    Hello!

    Could you send the link to you server, so someone can tested it.

    -Tum-

  3. #3
    Registered User
    Join Date
    Mar 2003
    Location
    Egypt
    Posts
    19

  4. #4
    Super Contributor
    Join Date
    May 2003
    Posts
    839
    Hello!

    Check your MIME Types, because your server sends WML using text/html.


    -Tum-

  5. #5
    Registered User
    Join Date
    Mar 2003
    Location
    Egypt
    Posts
    19
    my server MIME types is set to text/vnd.wap.wml for *.wml
    what should I do exactly to guarantee that my server delivers WML files with right MIME type settings?

Posting Permissions

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