OpenLayers OpenLayers

Changeset 7942

Show
Ignore:
Timestamp:
09/03/08 21:18:27 (3 months ago)
Author:
euzuro
Message:

add warning comment to wfs-t example. thanks for suggestion, o anonymous user. (Closes #1311)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/examples/wfs-t.html

    r7164 r7942  
    1717            ); 
    1818             
     19            // 
     20            // Word to the Wise from an anonymous OpenLayers hacker: 
     21            //              
     22            // The typename in the options list when adding/loading a wfs  
     23            // layer not should contain the namespace before, (as in the  
     24            // first typename parameter to the wfs consctructor). 
     25            //  
     26            // Specifically, in the first parameter you write typename:  
     27            // 'topp:myLayerName', and in the following option list  
     28            // typeName: 'myLayerName'.  
     29            //  
     30            // If you have topp included in the second one you will get  
     31            // namespace 14 errors when trying to insert features. 
     32            // 
    1933            wfs = new OpenLayers.Layer.WFS( 
    2034                "Cities",