
July 29th, 2006, 04:32 AM
|
 |
Web Developer
|
|
Join Date: May 2004
Location: Inida - Gujarat - Rajkot
Posts: 389
Time spent in forums: 2 Days 16 h 21 m 21 sec
Reputation Power: 0
|
|
WML Scipt is not working in Apache Linux.
Below File is working fine.. But When I select 1st option "Sunny" then it is not going in WMLscript function. Instead of that it is asking for save page.
I have configure WML properly.. But then also WMLScript is not working anyone have an idea for it?
I have LINUX O/S. and in that I have added below lines in httpd.conf
AddType text/vnd.wap.wml .wml
AddType application/vnd.wap.wmlc .wmlc
AddType image/vnd.wap.wbmp .wbmp
AddType text/vnd.wap.wmlscript .wmls
AddType application/vnd.wap.wmlscriptc .wmlsc
I think above every line is proper.. But still WMLS is not working.. Any Idea?
Code:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN"
"http://www.wapforum.org/DTD/wml13.dtd">
<wml>
<card id="Main" title="How's the Weather?">
<p>Today's weather : $(name)</p>
<p>
<br />
<select name="name">
<option value="sunny" onpick="wmlsTest1.wmls#func2('sunny')">
Sunny
</option>
<option value="partcldy" onpick="#Main">
Partly cloudy
</option>
<option value="cloudy" onpick="#Main">
Cloudy
</option>
<option value="rainy" onpick="#Main">
Rainy
</option>
</select>
</p>
<br/>
<p>
$(value)
</p>
</card>
</wml>
|