WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 29th, 2006, 04:32 AM
amarvora's Avatar
amarvora amarvora is offline
Web Developer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Inida - Gujarat - Rajkot
Posts: 389 amarvora Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 2 Days 16 h 21 m 21 sec
Reputation Power: 0
Send a message via AIM to amarvora Send a message via MSN to amarvora Send a message via Yahoo to amarvora
Lightbulb 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>

Reply With Quote
  #2  
Old July 29th, 2006, 12:19 PM
vrspectre's Avatar
vrspectre vrspectre is offline
I see semi-colons
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Location: Portland, OR
Posts: 297 vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 10 h 38 m 59 sec
Reputation Power: 16
Send a message via AIM to vrspectre Send a message via Yahoo to vrspectre
I would suspect either a problem with the WMLS. Can you post the code for: wmlsTest1.wmls?

or

Perhaps the device you are using does not support wmls. Have you tried another device?
__________________


Reply With Quote
  #3  
Old July 31st, 2006, 06:43 AM
amarvora's Avatar
amarvora amarvora is offline
Web Developer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Inida - Gujarat - Rajkot
Posts: 389 amarvora Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 2 Days 16 h 21 m 21 sec
Reputation Power: 0
Send a message via AIM to amarvora Send a message via MSN to amarvora Send a message via Yahoo to amarvora
Wink

ok thanks for help
But now it is working fine.. Something was missing But after restarting my PC it is working fine.. Even I do not know how it happen

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > WML Scipt is not working in Apache Linux.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway