Hi list,
I try to use the action property of a WfsGetFeature button but it
doesn't seem to work. As a dummy test, I put this line :
<action>window.alert('test')</action>
in my WfsGetFeature object in config.xml. I got this syntax from the
"time series" example. But I can't see any "test" message when I click
on the button and FireBug reports no error.
Also, I'm not sure about the "action" approach. I need to trigger some
extra code when the button is selected. According to the wiki page "
Listeners and the Javascript API", I should use the action property for
this : "[...] <action> property which specifies an object method to be
called when a button is selected." But this is not really an
event-driven approach, is it ? I wonder how I could make use of events
to accomplish this. Any hints ?
Regards
Gilles
--
Gilles Bassiere
MAKINA CORPUS
30 rue des Jeuneurs
FR-75002 PARIS
+33 (0) 1 44 82 00 80
http://www.makina-corpus.com
begin:vcard
fn;quoted-printable:Gilles Bassi=C3=A8re
n;quoted-printable:Bassi=C3=A8re;Gilles
org:Makina Corpus;GIS
adr;quoted-printable:;;30 rue des Je=C3=BBneurs;Paris;;FR-75011;France
email;internet:[EMAIL PROTECTED]
title:Web GIS developper
tel;work:+33 (0) 1 44 82 00 80
x-mozilla-html:FALSE
url:http://www.makina-corpus.com
version:2.1
end:vcard
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users