Can anyone see what is wrong with this wml code:

<cfcontent type="text/vnd.wap.wml"> 
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapform.org/DTD/wml_2.1.xml";>
<wml>
                <!-- WML Headers -->
                <head>
                <cfinclude template="no_cache.cfm">
                </head>
                
<card id="worldcupfantasyfooty">
<do type="prev" label="Back">
        <prev/>
</do>

<onevent type="onenterforward">
        <refresh>
                <setvar name="team1" value="1" />
        </refresh>
</onevent>

<p>
team1: $(team1)
</p>
</card>
</wml>

It doesn't like the onevent bit - says the child tag is incorrect (the
refresh).  If I comment out the onevent stuff the variable is outputted
correctly.....


-----Original Message-----
From: Neil Clark - =TMM= [mailto:[EMAIL PROTECTED]]
Sent: 30 April 2002 11:53
To: CF-Talk
Subject: RE: Inheritance : was "I like CFMX


Hey Nick,

UDF's were a good addition, but CFC's I think are a far greater addition
to the arsenal not least because of FRS...!!  

Remember that Component inheritance lets you import component methods
and properties from one component into another component. In addition,
inherited components also share any component methods or properties that
they inherit from other components. 

And also : 

<sic>
ColdFusion components encapsulate application functionality and provide
a standard interface for client access to that functionality. Clients
access component functionality by invoking methods on components.
Components support a variety of client interfaces, including web pages,
Flash movies, web services, and other ColdFusion components and pages. 

FRS is going to change the way web apps are built :-)


Neil Clark
Team Macromedia
http://www.macromedia.com/go/team

Announcing Macromedia MX!! 
http://www.macromedia.com/software/trial/.



______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to