<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Jim,<br>
<br>
Yes I found that as I worked though the demo (don't mix
"localhost" and "127.0.0.1" in the URLs!).<br>
<br>
I found some code commented out in Geomoose's Vector.js (line 95)
and un-commented it:<br>
<br>
<tt> /** call save after any changes have occured **/</tt><tt><br>
</tt><tt> this._ol_layer.events.register('featureadded',
this, this.save);</tt><tt><br>
</tt><tt> this._ol_layer.events.register('featureremoved',
this, this.save);</tt><tt><br>
</tt><tt>
this._ol_layer.events.register('afterfeaturemodified', this,
this.save);</tt><br>
<br>
Now in the network traffic I see a bunch of :<br>
<br>
Parameter:<br>
<tt><wfs:Transaction xmlns:wfs=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/wfs">"http://www.opengis.net/wfs"</a>
service="WFS" version="1.1.0"
xsi:schemaLocation=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/wfshttp://schemas.opengis.net/wfs/1.1.0/wfs.xsd">"http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"</a>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>/></tt><br>
<br>
Response:<br>
<tt><ows:ExceptionReport</tt><tt><br>
</tt><tt> xmlns='<a class="moz-txt-link-freetext" href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>'</tt><tt><br>
</tt><tt> xmlns:ows='<a class="moz-txt-link-freetext" href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>'</tt><tt><br>
</tt><tt> xmlns:xsi='<a class="moz-txt-link-freetext" href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>'</tt><tt><br>
</tt><tt> xsi:schemaLocation='<a class="moz-txt-link-freetext" href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>
<a class="moz-txt-link-freetext" href="http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd</a>'</tt><tt><br>
</tt><tt> version='1.1.0' language='en'></tt><tt><br>
</tt><tt> <ows:Exception exceptionCode='InvalidParameterValue'
locator='Transaction'></tt><tt><br>
</tt><tt> <ows:ExceptionText>Operation parameter must be
set</ows:ExceptionText></tt><tt><br>
</tt><tt> </ows:Exception></tt><tt><br>
</tt><tt></ows:ExceptionReport></tt><br>
<br>
on the load of the layer. <br>
<br>
But if I do some attribute editing, and click "Save Changes",
there is no network traffic (I'd expect OpenLayers to do a TinyOSW
URL with an Update or something).<br>
<br>
<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
<div class="moz-cite-prefix">On 3/11/2016 12:37 PM, James Klassen
wrote:<br>
</div>
<blockquote
cite="mid:CAHqX794xMYJH_2C_hit9G+ZKaRKCS=2fnpQ8T+dic9OjnY7uLg@mail.gmail.com"
type="cite">
<div dir="ltr">I haven't tried it in awhile. The last time I did,
the tricky bit was that TinyOWS was very particular about XML
namespaces as configured in the mapbook and in the TinyOWS
config.<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Mar 11, 2016 at 12:05 PM, Brent
Fraser <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hey All,<br>
<br>
I'm in the process of upgrading my vector editing
implementation from Geomoose 2.4 to 2.8. I'd prefer to use
TinyOWS rather than Geoserver so I've followed Jeff's
excellent instructions included in MS4W (<a
moz-do-not-send="true"
href="http://www.ms4w.com/README_INSTALL.html#h-tinyows"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://www.ms4w.com/README_INSTALL.html#h-tinyows">http://www.ms4w.com/README_INSTALL.html#h-tinyows</a></a>)
to install and test TinyOWS. The functions using the
TinyOWS demo page work fine.<br>
<br>
My next step is to enable editing in the Geomoose demo.
While I can get the Census Places layer to display and I can
use the editing tools (we need to document them) to
add/change/delete the displayed features, I can't figure out
how to save the edits back to the database.<br>
<br>
What am I missing?<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Best Regards,<br>
Brent Fraser<br>
<br>
<br>
_______________________________________________<br>
Geomoose-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Geomoose-users@lists.osgeo.org"
target="_blank">Geomoose-users@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/geomoose-users"
rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></font></span></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>