<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE>P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial>Hi</FONT></DIV>
<DIV><FONT face=Arial>first of all, the javascript part of the edit plugin only
handle variable of type "string" or "integer", so simply change your
point_x|numeric to point_x|string or point_x|integer. One should work at
least.</FONT></DIV>
<DIV><FONT face=Arial>Same for all the other 'edit_attributes' you have in your
mapfile for the editable layers, only use |string or |integer.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Maybe this will also solve the javascript errors you
get.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>If not, try to give me the exact error
message.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>regards</FONT></DIV>
<DIV><FONT face=Arial>Oliver</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=tekuganda@hotmail.com href="mailto:tekuganda@hotmail.com">Broun
Uganda</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com">Oliver Christen</A> ; <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, June 14, 2007 6:58
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Cartoweb-users] Gettting
the Edition plugin to work</DIV>
<DIV><BR></DIV>
<DIV style="TEXT-ALIGN: left">Dear Oliver<BR>here attached are the respective
files you asked me.<BR>What is interesting is that when i use Firefox, it is
possible to draw and move objects which i can not do with Microsoft internet
explorer but never the less the cells are not editable. In Internet explorer
when i click on validate an error icon appears which indicates something is
not an object. In Firefox it just remains blanc. Therefore no data is being
sent to the database.<BR></DIV><BR><BR><BR>
<BLOCKQUOTE>
<HR id=EC_stopSpelling>
From: oliver.christen@camptocamp.com<BR>To: tekuganda@hotmail.com;
cartoweb-users@lists.maptools.org<BR>Subject: Re: [Cartoweb-users] Gettting
the Edition plugin to work<BR>Date: Thu, 14 Jun 2007 07:57:34 +0200<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass P
{padding-right:0px;padding-left:0px;padding-bottom:0px;padding-top:0px;}
.ExternalClass
{font-size:10pt;font-family:Tahoma;}
</STYLE>
<DIV><FONT face=Arial>Hi</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>It means you are not logged with a user that has the
editor role.</FONT></DIV>
<DIV><FONT face=Arial>If you havent set such a user/role, add one. Look at
the demoEdit project for example.</FONT></DIV>
<DIV><FONT face=Arial>Otherwise something is wrong in your user/role
configuration.</FONT></DIV>
<DIV><FONT face=Arial>Maybe if you show me what's the content of your
auth.ini and edit.ini file, I may know whats wrong.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>regards</FONT></DIV>
<DIV><FONT face=Arial>Oliver</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=tekuganda@hotmail.com href="mailto:tekuganda@hotmail.com">Broun
Uganda</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Thursday, June 14, 2007 1:17 AM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
[Cartoweb-users] Gettting the Edition plugin to work</DIV>
<DIV><BR></DIV><BR>Dear Oliver<BR> <BR>The table appears but the
values can not be edited, individual figures/text editable and the cursor
is not a "hand" when i move it over the polygon/line/point.<BR>Let me put
it this way the table is not in form of a form where values/text can be
replaced. It is just a table for viewing and i cant click on feature
elements.<BR>Individual cells in the table are not activated for
editing<BR><BR> <BR>
<BLOCKQUOTE>
<HR>
From: tekuganda@hotmail.com<BR>To:
cartoweb-users@lists.maptools.org<BR>Date: Tue, 12 Jun 2007 21:45:19
+0300<BR>Subject: [Cartoweb-users] Gettting the Edition plugin to
work<BR><BR>
<STYLE>
.ExternalClass P
{padding:0px;}
.ExternalClass
{font-size:10pt;font-family:Tahoma;}
</STYLE>
I have installed Cartoweb and tested it with the different examples it
works fine.<BR>I have even installed postgres and put some maps which i
can access. I have two related problems with the edition
plugin though because i can not edit points, lines and
polygons. They are only displayed.<BR>
<OL>
<LI>
<DIV>where do i define roles (editor, super user etc) other
than the special roles? In the map file how do i specify the security
for editing? Can i write "Security_edit" instead of "Security_view"
and what is "some_specific parameter"? In a related example sql,
tables are granted to www-data; is that an example of permissions
i can set for a user ("www-data")</DIV>
<LI>
<DIV> It appears to me that not all the tool bar items are
implemented or am wrong? How can i move points and lines with the tool
bar? I have used the tool items but they don't move and give me an
error of null object. If they moved would they take on the new
coordinates automatically?</DIV></LI></OL>I guess in short
a description of the edit plugin functions related to layers and
their metadata would help.<BR> <BR>Thank you<BR>Broun<BR><BR>
<HR>
Make every IM count. Download Windows Live Messenger and join the i'm
Initiative now. It's free. <A
href="http://im.live.com/messenger/im/home/?source=TAGWL_June07"
target=_blank>Make it count!</A> </BLOCKQUOTE><BR>
<HR>
Change is good. See what's different about Windows Live Hotmail. <A
href="http://www.windowslive-hotmail.com/learnmore/default.html?locale=en-us&ocid=RMT_TAGLM_HMWL_reten_changegood_0607"
target=_blank>Check it out!</A> <BR>
<HR>
<BR>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BLOCKQUOTE><BR>
<HR>
Live Earth is coming. Learn more about the hottest summer event - only
on MSN. <A href="http://liveearth.msn.com?source=msntaglineliveearthwlm"
target=_new>Check it out!</A> </BLOCKQUOTE></BODY></HTML>