I will show u 2 pairs of two pages that i made and results are totally different.
the first example
index.wml
<code>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN"
"
<wml>
<card id="index" title="TestASP">
<do type="accept" label="TestASP">
<go href="terms.asp" method="POST" >
<postfield name="term" value="$term"/>
</go>
</do>
<p>
Type your text:
<input type="text" name="term" value=""/>
</p>
</card>
</wml>
</code>
terms.asp
<code>
<% @ language="vbscript" %>
<% Option Explicit %>
<% Response.ContentType = "text/vnd.wap.wml" %>
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"<wml>
<card id="term" title="Terms">
<do type="prev" label="Back">
<prev/>
</do>
<p>
<%
Response.Write "OK"
%>
</p>
</card>
</wml>
</code>
The result is text "OK" which is regular using the index.wml and terms.asp
But when I put the following line wich will read from the variable 'term'
Response.Write Request.From("term") instead of Response.Write "OK"
the result is:
Page cannot be rendered.
Any idea?
Has anyone of u created any dynamic pages?
Running this all into the Opera WebBroswer is ok.
I am confused cos the result is the wml page and it looks ok.
GuzaPasha
the first example
index.wml
<code>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN"
"
<wml>
<card id="index" title="TestASP">
<do type="accept" label="TestASP">
<go href="terms.asp" method="POST" >
<postfield name="term" value="$term"/>
</go>
</do>
<p>
Type your text:
<input type="text" name="term" value=""/>
</p>
</card>
</wml>
</code>
terms.asp
<code>
<% @ language="vbscript" %>
<% Option Explicit %>
<% Response.ContentType = "text/vnd.wap.wml" %>
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"<wml>
<card id="term" title="Terms">
<do type="prev" label="Back">
<prev/>
</do>
<p>
<%
Response.Write "OK"
%>
</p>
</card>
</wml>
</code>
The result is text "OK" which is regular using the index.wml and terms.asp
But when I put the following line wich will read from the variable 'term'
Response.Write Request.From("term") instead of Response.Write "OK"
the result is:
Page cannot be rendered.
Any idea?
Has anyone of u created any dynamic pages?
Running this all into the Opera WebBroswer is ok.
I am confused cos the result is the wml page and it looks ok.
GuzaPasha