[Cartoweb-users] multiple Delete Button editplugin
Broun Uganda
tekuganda at hotmail.com
Wed Nov 14 09:29:06 EST 2007
Hey
When you attempt to delete, you get a popup window 'Are you sure? map_xxxx', where xxx is the id of the feature to be deleted. I want to change this message so it is more meaningful to my users. I want something like ' Are you sure you want to delete 'layername_featurename ?' I have changed the first part but i cant find where to change map_xxxx from!
Thank you for your help.Broun Uganda
From: oliver.christen at camptocamp.comTo: tekuganda at hotmail.com; cartoweb-users at lists.maptools.orgSubject: Re: [Cartoweb-users] multiple Delete Button editpluginDate: Wed, 14 Nov 2007 14:56:40 +0100
Hi
deleting a feature is a complex action and emulating it would be fairly complex, even I wouldnt want to touch that.
if you really really want to do it, the functions called on delete is DeleteFeatureTool.prototype.onMouseDown in dhtmlAPI.js
but I have no idea what you need to copy or modify so you can call it with a clic on a button instead of a clic on the map, sorry.
regards
Oliver
----- Original Message -----
From: Broun Uganda
To: cartoweb-users at lists.maptools.org
Sent: Wednesday, November 14, 2007 1:20 PM
Subject: [Cartoweb-users] multiple Delete Button editplugin
In my edit plugin i want to include a tickboxes (similar to radio buttons). The purpose of these tick boxes is that i should do multiple selection of features and then delete them all at once. What part of code do i need to change so that by clicking on these tick boxes the edit rows are crossed out and then i have a button (delete_all).Thank youBroun Uganda
Discover the new Windows Vista Learn more!
_______________________________________________Cartoweb-users mailing listCartoweb-users at lists.maptools.orghttp://lists.maptools.org/mailman/listinfo/cartoweb-users
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20071114/56ebc07f/attachment.html
More information about the Cartoweb-users
mailing list