[Chameleon] JSAPI Newbie questions
Rhys Ickeringill
rhysi at omnilink.com.au
Tue May 10 22:40:25 EDT 2005
Thanks Bart.
It actually turned out to be the case of the CWCJSAPI type attribute value,
as well as that maturity level setting you gave me. I had:
<CWC2 TYPE="CWCJSAPI" DEBUG="FALSE" />
as per the JavaScript API docs. Chameleon actually wants/expects:
<CWC2 TYPE="cwcjsapi" DEBUG="FALSE" />
Playing around with it, it would seem the case of element and attribute tags
is unimportant - only the 'cwcjsapi' attribute value must be in lower case.
Cheers
Rhys
----- Original Message -----
From: "Bart van den Eijnden" <BEN at Syncera-ITSolutions.NL>
To: <chameleon at lists.maptools.org>; <rhysi at omnilink.com.au>
Sent: Tuesday, May 10, 2005 5:06 PM
Subject: Re: [Chameleon] JSAPI Newbie questions
Hi Rhys,
take a look at the jsapi samples which come with Chameleon.
You need to add something to your index.phtml from your application:
$oApp->mnMinimumMaturityLevel = MATURITY_ALPHA;
Best regards,
Bart
Bart van den Eijnden
Syncera-ITSolutions
Postbus 270
2600 AG DELFT
tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl
>>> "Rhys Ickeringill" <rhysi at omnilink.com.au> 05/10/05 06:20am >>>
Hi list,
What is the status of the Chameleon JSAPI? Functional? I ask because when I
cut'n'paste (just before all the other shared resource tags)
<CWC2 TYPE="SharedResource" NAME="CWCJSAPI" />
<CWC2 TYPE="CWCJSAPI" DEBUG="FALSE" />
from the JSAPI "Getting Started" documentation, all I get is the second tag
being pulled up in red text, non functional navigation widgets and a slight
messing up of my page layout. Have I done something wrong?
On a related topic - something that is not obvious from the JSAPI docs is
whether or not I have to provide event handlers for all the navigation tools
if I'm using the JSAPI. Is this the case?
Rhys
_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon
More information about the Chameleon
mailing list