<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    What does your ini file contain?<br>
    <pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
    <br>
    On 6/20/2011 10:57 AM, Dara Olson wrote:
    <blockquote cite="mid:742910D258D94448BEE683614CDA2BCA@GISWKSTN2"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <meta name="GENERATOR" content="MSHTML 8.00.6001.19088">
      <style></style>
      <div><font face="Garamond">After making the suggested edits, I can
          successfully add a feature.&nbsp; I am unable to edit the point or
          delete an existing point.&nbsp; If I attempt to edit the point, it
          gives the same prior error of "Missing required field:" and if
          I try to delete an existing point it gives me an error of, "No
          Feature ID specified to delete."&nbsp; Below is the information
          contained within the HTML.</font></div>
      <div>&nbsp;</div>
      <div><font face="Garamond">&lt;tr&gt;<br>
          &lt;td&gt;&lt;a
          href=<a class="moz-txt-link-rfc2396E" href="javascript:GeoMOOSE.startService('modify_permit_comments',{'feature:gid':'[gid]','feature:label':'[label]','feature:permit_number':'[permit_number]','feature:file_name':'[file_name]','feature:type_of_permit':'[type_of_permit]','feature:wbic':'[wbic]','feature:description':'[description]','feature:pdf_name':'[pdf_name]','feature:document_link':'[document_link]','feature:georef_protocol':'[georef_protocol]'})">"javascript:GeoMOOSE.startService('modify_permit_comments',
          {'feature:gid' : '[gid]','feature:label' :
          '[label]','feature:permit_number' : '[permit_number]
          ','feature:file_name' : '[file_name]','feature:type_of_permit'
          : '[type_of_permit]', 'feature:wbic' : '[wbic]',
          'feature:description' : '[description]', 'feature:pdf_name' :
          '[pdf_name]', 'feature:document_link' : '[document_link]',
          'feature:georef_protocol' :
          '[georef_protocol]'})"</a>&gt;Edit&lt;/a&gt;&lt;/td&gt;<br>
          &lt;td&gt;&lt;a href=<a class="moz-txt-link-rfc2396E" href="javascript:if(confirm('Areyousureyouwanttodeletethis?')){GeoMOOSE.startService('delete_permit_comments',{'feature:gid':'[gid]'});}">"javascript:if(confirm('Are you sure you
          want to delete
this?')){GeoMOOSE.startService('delete_permit_comments',{'feature:gid':'[gid]'});}"</a>&gt;Delete&lt;/a&gt;&lt;/td&gt;<br>
          &lt;/tr&gt;</font></div>
      <div>&nbsp;</div>
      <div><font face="Garamond">I am assuming that there must be
          something incorrect somewhere.&nbsp;Has anyone ran into this or
          have any additional suggestions.&nbsp; Thank you in advance for
          your time!</font></div>
      <div><font face="Garamond">Dara</font></div>
      <blockquote style="border-left: 2px solid rgb(0, 0, 0);
        padding-left: 5px; padding-right: 0px; margin-left: 5px;
        margin-right: 0px;">
        <div style="font: 10pt arial;">----- Original Message ----- </div>
        <div style="font: 10pt arial; background: none repeat scroll 0%
          0% rgb(228, 228, 228);"><b>From:</b> <a
            moz-do-not-send="true" title="bfraser@geoanalytic.com"
            href="mailto:bfraser@geoanalytic.com">Brent Fraser</a> </div>
        <div style="font: 10pt arial;"><b>To:</b> <a
            moz-do-not-send="true" title="dolson@glifwc.org"
            href="mailto:dolson@glifwc.org">dolson@glifwc.org</a> </div>
        <div style="font: 10pt arial;"><b>Cc:</b> <a
            moz-do-not-send="true"
            title="geomoose-users@lists.sourceforge.net"
            href="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</a>
        </div>
        <div style="font: 10pt arial;"><b>Sent:</b> Thursday, June 16,
          2011 11:03 AM</div>
        <div style="font: 10pt arial;"><b>Subject:</b> Re:
          [Geomoose-users] Feature editor, error missing required field</div>
        <div><br>
        </div>
        It shouldn't be required.&nbsp; I'll file a ticket.<br>
        <br>
        Best Regards,<br>
        Brent Fraser<br>
        <br>
        <br>
        On 6/16/2011 9:45 AM, <a moz-do-not-send="true"
          href="mailto:dolson@glifwc.org">dolson@glifwc.org</a> wrote:<br>
        &gt; It worked!&nbsp; I added it to the INI file and it added
        successfully.<br>
        &gt; Thank you so very much!<br>
        &gt; Dara<br>
        &gt;<br>
        &gt;&gt; Hmm.&nbsp; You could try adding<br>
        &gt;&gt;<br>
        &gt;&gt; required_for_create=permit_number<br>
        &gt;&gt; required_for_update=permit_number<br>
        &gt;&gt;<br>
        &gt;&gt; to your Layer.ini file...&nbsp; I can't see anything obvious
        in your files or<br>
        &gt;&gt; in editor.php...<br>
        &gt;&gt;<br>
        &gt;&gt; Best Regards,<br>
        &gt;&gt; Brent Fraser<br>
        &gt;&gt;<br>
        &gt;&gt;<br>
        &gt;&gt; On 6/15/2011 2:43 PM, Dara Olson wrote:<br>
        &gt;&gt;&gt; Greetings.<br>
        &gt;&gt;&gt; I am having some problems with the feature editor
        setup.&nbsp; When I go to<br>
        &gt;&gt;&gt; add a point feature it says, "Missing required
        field:", but no field<br>
        &gt;&gt;&gt; is listed after the error.&nbsp; There seems to be no
        errors showing up in<br>
        &gt;&gt;&gt; any of the logs either.&nbsp; Does anyone know why I
        might be getting this<br>
        &gt;&gt;&gt; error?&nbsp; Below is the setup for the feature and
        editor.&nbsp; We are running<br>
        &gt;&gt;&gt; GeoMoose 2.2.<br>
        &gt;&gt;&gt; Any help or suggestions would be greatly
        appreciated.<br>
        &gt;&gt;&gt; Miigwech!<br>
        &gt;&gt;&gt; Dara<br>
        &gt;&gt;&gt; _Table:_<br>
        &gt;&gt;&gt; CREATE TABLE permits.glifwc_permit_comments_points<br>
        &gt;&gt;&gt; (<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; gid serial NOT NULL,<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; file_name character varying,<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; description character varying,<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; georef_protocol character varying,<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; pdf_name character varying,<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; document_link character varying,<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; permit_number character varying,<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; the_geom900913 geometry,<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; date_lm date,<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; wbic character varying,<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; type_of_permit character varying,<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; CONSTRAINT glifwc_prior_acoe_comments_pkey
        PRIMARY KEY (gid),<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; CONSTRAINT enforce_dims_the_geom900913 CHECK<br>
        &gt;&gt;&gt; (st_ndims(the_geom900913) = 2),<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp; CONSTRAINT enforce_srid_the_geom900913 CHECK<br>
        &gt;&gt;&gt; (st_srid(the_geom900913) = 900913)<br>
        &gt;&gt;&gt; )<br>
        &gt;&gt;&gt; _Sequence and register:_<br>
        &gt;&gt;&gt; A sequence was set up,
        permits.glifwc_permit_comments_points_gid_seq<br>
        &gt;&gt;&gt; and an entry in the "geometry_columns" table for
        field<br>
        &gt;&gt;&gt; "the_geom900913", 900913, POINT.<br>
        &gt;&gt;&gt; _Mapfile definition:_<br>
        &gt;&gt;&gt; LAYER # GLIFWC Permit Comments<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME "glifwc_permit_comment_points"<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE POINT<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STATUS ON<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CONNECTIONTYPE postgis<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CONNECTION "host=localhost dbname=xxxxx
        user=xxxxx password=xxxxx"<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PROCESSING "CLOSE_CONNECTION=DEFER"<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATA "the_geom900913 FROM (SELECT *,
        ASTEXT(the_geom900913) AS<br>
        &gt;&gt;&gt; wkt_geometry<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FROM permits.glifwc_permit_comment_points) AS<br>
        &gt;&gt;&gt; glifwc_permit_comment_points using unique gid using
        srid=900913"<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PROJECTION<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "init=epsg:900913"<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TOLERANCE 6<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLASS<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME "GLIFWC Permit Comments"<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL "..\..\icons\comments.gif"<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEMPLATE "identify.html"<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; METADATA<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "identify_record" "identify.html"<br>
        &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
        &gt;&gt;&gt; END # GLIFWC Permit Comments<br>
        &gt;&gt;&gt; The layer was successfully added to the project and
        displays correctly.<br>
        &gt;&gt;&gt; _Layer INI <a class="moz-txt-link-freetext" href="file:_">file:_</a><br>
        &gt;&gt;&gt; host=localhost<br>
        &gt;&gt;&gt; dbname=xxxxx<br>
        &gt;&gt;&gt; username=xxxxx<br>
        &gt;&gt;&gt; password=xxxxx<br>
        &gt;&gt;&gt; tablename=permits.glifwc_permit_comment_points<br>
        &gt;&gt;&gt; geometry_column=the_geom900913<br>
        &gt;&gt;&gt; primary_key_column=gid<br>
        &gt;&gt;&gt;
        primary_key_sequence=permits.glifwc_permit_comment_points_gid_seq<br>
        &gt;&gt;&gt; srid=900913<br>
        &gt;&gt;&gt;
        layerpath=glifwc_permit_comment/glifwc_permit_comment_points<br>
        &gt;&gt;&gt; _Service:_<br>
        &gt;&gt;&gt; &lt;service name="add_permit_comment"&gt;<br>
        &gt;&gt;&gt; &lt;url&gt;php/editor.php&lt;/url&gt;<br>
        &gt;&gt;&gt; &lt;step type="spatial"
        name="feature:the_geom900913" line="false"<br>
        &gt;&gt;&gt; polygon="false" point="true" default="point"&gt;<br>
        &gt;&gt;&gt; &lt;/step&gt;<br>
        &gt;&gt;&gt; &lt;step type="input"&gt;<br>
        &gt;&gt;&gt; &lt;input type="hidden" name="op"
        value="create"/&gt;<br>
        &gt;&gt;&gt; &lt;input type="hidden" name="table"
        value="glifwc_permit_comment_points"/&gt;<br>
        &gt;&gt;&gt; &lt;input type="user" name="feature:permit_number"
        title="Permit Number:"<br>
        &gt;&gt;&gt; /&gt;<br>
        &gt;&gt;&gt; &lt;input type="user" name="feature:file_name"
        title="File Name:" /&gt;<br>
        &gt;&gt;&gt; &lt;input type="select"
        name="feature:type_of_permit" title="Type of<br>
        &gt;&gt;&gt; Permit:"&gt;<br>
        &gt;&gt;&gt; &lt;option value="APM Permit"&gt;APM
        Permit&lt;/option&gt;...<br>
        &gt;&gt;&gt; &lt;/input&gt;<br>
        &gt;&gt;&gt; &lt;input type="user" name="feature:wbic"
        title="WBIC if applicable:"/&gt;<br>
        &gt;&gt;&gt; &lt;input type="user" name="feature:description"
        title="Description:"/&gt;<br>
        &gt;&gt;&gt; &lt;input type="user" name="feature:pdf_name"
        title="PDF Name:"/&gt;<br>
        &gt;&gt;&gt; &lt;input type="user" name="feature:document_link"
        title="Link to<br>
        &gt;&gt;&gt; Document:"/&gt;<br>
        &gt;&gt;&gt; &lt;input type="select"
        name="feature:georef_protocol"<br>
        &gt;&gt;&gt; title="Georeference Protocol:"&gt;<br>
        &gt;&gt;&gt; &lt;option value="digitized by hand"&gt;Digitized
        by Hand&lt;/option&gt;...<br>
        &gt;&gt;&gt; &lt;/input&gt;<br>
        &gt;&gt;&gt; &lt;/step&gt;<br>
        &gt;&gt;&gt; &lt;/service&gt;<br>
        &gt;&gt;&gt;<br>
        &gt;&gt;&gt;<br>
        &gt;&gt;&gt;
------------------------------------------------------------------------------<br>
        &gt;&gt;&gt; EditLive Enterprise is the world's most technically
        advanced content<br>
        &gt;&gt;&gt; authoring tool. Experience the power of Track
        Changes, Inline Image<br>
        &gt;&gt;&gt; Editing and ensure content is compliant with
        Accessibility Checking.<br>
        &gt;&gt;&gt; <a moz-do-not-send="true"
          href="http://p.sf.net/sfu/ephox-dev2dev">http://p.sf.net/sfu/ephox-dev2dev</a><br>
        &gt;&gt;&gt;<br>
        &gt;&gt;&gt;<br>
        &gt;&gt;&gt; _______________________________________________<br>
        &gt;&gt;&gt; Geomoose-users mailing list<br>
        &gt;&gt;&gt; <a moz-do-not-send="true"
          href="mailto:Geomoose-users@lists.sourceforge.net">Geomoose-users@lists.sourceforge.net</a><br>
        &gt;&gt;&gt; <a moz-do-not-send="true"
          href="https://lists.sourceforge.net/lists/listinfo/geomoose-users">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a><br>
        &gt;<br>
        &gt;<br>
      </blockquote>
    </blockquote>
  </body>
</html>