>
New Topic
>
Reply<
Esato Forum Index
>
Sony Ericsson / Sony >
Software, Firmware and Drivers
> WapIDE 3.2.1
Bookmark topic
Anyone tested Ericsson WapIDE 3.2.1 ?
I just can't get the POST methos to work with most of the devices..
Here is a post i posted on Ericsson forums. ( with no answers )
--------------
I have an select list
<select title="ID:" name="anvid">
And an
<input title="test:" type="text" name="test" />
And..
<anchor title="Log In">[Log In]
<go href="login.html" method="post">
<postfield name="test2" value="$(test)"/>
<postfield name="anvid2" value="$(anvid)"/>
<postfield name="pass2" value="test"/>
</go>
</anchor>
And when this is posted I don't get any data with most of the devices.
I can only to get it to work with 320 and T68. I want it to work with T65 as it that device I'm developing for.
I have tested this with 3 different Gateways to remove possible GW error. ( 2 local intranet , 1 E-developer gw internet )
( seems like contet-lenght is 0 )
post ok
320s
T68m
post not ok
380s
520m
R600
T39m
T60d
T65
T66
Any Ideas ?
[ This Message was edited by: mhjerpe on 2002-05-13 10:31 ]
--
Posted: 2002-05-13 11:30:00
Edit :
Quote
i don't have an answer because I never tested it (using POST) against a device other than the T68...
--
Posted: 2002-05-13 11:38:00
Edit :
Quote
Do you have option tags between the select tags?
<select title="ID:" name="anvid">
<option value="an1">an1</option>
<option value="an2">an2</option>
<option value="an3">an3</option>
</select>
<input title="test:" type="text" name="test" />
<anchor title="Log In">[Log In]
<go href="login.html" method="post">
<postfield name="test2" value="$(test)"/>
<postfield name="anvid2" value="$(anvid)"/>
<postfield name="pass2" value="test"/>
</go>
</anchor>
--
Posted: 2002-05-13 13:22:00
Edit :
Quote
laffen: yepp I do have options in the select yes..
I'm starting to wounder if it is the CGI development tool we use that casues the problem. ( Progress WebSpeed ) Maybe I should installed PHP and test it with that to.
--
Posted: 2002-05-13 13:32:00
Edit :
Quote
Maybe
I've successfully tested the following php code with the T65 and T39 but not the T66 (http://wap.esato.com/testwml.php):
<?
header("Content-type:text/vnd.wap.wml");
print "<?xml version=\"1.0\"?>";
?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<?
if(isset($areas)){
echo "<card title=\"Area is set\" id=\"t\">";
echo "<p>";
echo "Values posted:<br/>";
echo "areas: $areas<br/>";
echo "st: $st<br/>";
echo "<a href=\"testwml.php\">Try again</a>";
echo "</p>";
}
else{
?>
<card title="Choose area" id="london">
<p>
Select a London area:
<select name="areas" title="Area" value="E">
<option value="E">East</option>
<option value="N">North</option>
<option value="W">West</option>
<option value="S">South</option>
</select>
and enter a street name:
<input name="st" type="text" title="Street" value="the street"/>
<anchor>Find...
<go href="testwml.php" method="post">
<postfield name="areas" value="$(areas)"/>
<postfield name="st" value="$(st)"/>
</go>
</anchor>
</p>
<?
}
?>
</card>
</wml>
--
Posted: 2002-05-13 13:55:00
Edit :
Quote
I found the problem it was when the page was posted to itself. Then I was not able to get any parameter.. so I just post to another page now and it works. strange though..
yep and the code that you have on esato worked to.. strange...
[ This Message was edited by: mhjerpe on 2002-05-13 15:08 ]
--
Posted: 2002-05-13 16:07:00
Edit :
Quote
New Topic
Reply