Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Coldfusion values not displaying in WAP Application

Status
Not open for further replies.

powahusr

Technical User
Joined
Jan 22, 2001
Messages
240
Location
US
I am learning WAP and I am working on building a simple application. When I view the application on the Phone Simulator, I can read the text written in the page, however, anything &quot;Coldfusion&quot; specified within the &quot;<cfoutput></cfoutput>&quot; tags does not display as expected.

Example:

The following Coldfusion function does not work, it just displays in the simulator as is.

#dateformat(now(), &quot;mmmm dd, yyyy&quot;)#


Any recommendations? Thanks in advance!!!



Here is the code I am using:

<CFCONTENT TYPE=&quot;text/vnd.wap.wml&quot;>

<?xml version=&quot;1.0&quot;?>
<!DOCTYPE wml PUBLIC &quot;-//PHONE.COM//DTD WML 1.1//EN&quot; &quot; >

<wml>

<card id=&quot;home&quot;>
<p>
Company Name<br />
<cfoutput>
#dateformat(now(), &quot;mmmm dd, yyyy&quot;)#
</cfoutput><br />
<a href=&quot;#about&quot;>About Us</a><br />
<a href=&quot;#news&quot;>News</a><br />
<a href=&quot;Products.cfm&quot;>Products</a><br />
</p>
</card>

<card id=&quot;about&quot;>
<p>
About Us<br />
About Us Statement Here
</p>
</card>

<card id=&quot;news&quot;>
<p>
NEWS<br />
Company News here
</p>
</card>

</wml>
 
You're sure that your ColdFusion service is up and running on the web server that serves your WAP pages, and that your page name is some_page_name.cfm?



-Carl
 
Correct. Other *.cfm pages operate correctly (Pull data, Display data, etc...).

I'm starting to think that the Emulator(Openwave SDK 6.2.2) is not provisioned properly, It's my first time using it and documentation is limited. The Device and Server Settings seem to point somwhere on the Internet, when I'm just trying to use the Emulator locally on my pc.

Any advice?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top