<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'>Hello
all,<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'><o:p> </o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'>I wanted
to reply to this to see if anyone had come up with any other ways that this
could be fixed. This is a problem that I have been dealing with for a while.<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'><o:p> </o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'>Thanks,<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'><o:p> </o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'>Gregory</span></font></b><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Jeffrey Schmitz
[mailto:jeffreykschmitz@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, January 17, 2011
5:48 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">geomoose-users@lists.sourceforge.net</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [Geomoose-users] feature
editing in geomoose</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hey everyone,<br>
<br>
We followed the feature editing guide <a
href="http://www.geomoose.org/docs/feature_editor.html">http://www.geomoose.org/docs/feature_editor.html</a>
and were able get features successfully added, edited and deleted from our
database. The issue we are having is editing when new features are added with
(or edited to have) blank fields. When you click to edit a field which has had
a comments section left blank (for example), the field will be populated with
the most recent comments field that was not blank and was edited. I realize
this sounds a bit confusing, so here is an example:<br>
<br>
Feature 1:<br>
comments field: blah blah blah <br>
<br>
Feature 2:<br>
comments field:<br>
<br>
Feature 3:<br>
comments field: hahaha<br>
<br>
If you first edit feature 2, the comments field will be correctly left blank.<br>
If you edit feature 1 and then edit feature 2 the comments field will show up
as blah blah blah<br>
If you edit feature 1 then 3 then 2 the comments field will show up as
hahaha<br>
<br>
I'm guessing this is due to the fact that geomoose sees the comments field as
null with a blank comment and thus, the most recent entry in the field persists
(instead of filling it as blank). <br>
<br>
To fix this, I have edited the identify.html file mentioned in the guide so
that the edit link contains a space instead of nothing for any texts fields
that are blank.<br>
<br>
Like this:<br>
'feature:comments' : '[comments] '<br>
<br>
instead of this:<br>
'feature:comments' : '[comments]' <br>
<br>
This seams like a hackish way to fix the issue to me, and I was wondering if
anyone else has come across the issue. If so, how did you solve it? I assume
this has something to do with how geomoose generates it's service input fields,
and how it handles null values. I just can't figure out where this would be in
the geomoose code.<br>
<br>
Thanks!<br>
Jeff <o:p></o:p></span></font></p>
</div>
</body>
</html>