[Geomoose-users] Edit select type attributes in vector layer.

Dan Little danlittle at yahoo.com
Tue Nov 19 12:16:32 PST 2013


I suspect the "select" input type is not working properly in the feature editor.

Can you file a ticket on GitHub? https://github.com/geomoose/geomoose/issues/new

--------------------------------------------
On Tue, 11/19/13, Luis Calisto <luis.calisto at hotmail.com> wrote:

 Subject: Re: [Geomoose-users] Edit select type attributes in vector layer.
 To: "Mark Volz" <markvolz at co.lyon.mn.us>, "geomoose-users at lists.osgeo.org" <geomoose-users at lists.osgeo.org>
 Date: Tuesday, November 19, 2013, 9:54 AM
 
 
 
 
 I removed the "(%)" and tried
 with the following code:
 		<attribute
 name="test" type="select"
 default-value="50" label="Opacity:"
 >					<option
 value="0">0</option>			<option
 value="50">50</option> 		</attribute>
 still i have the same error: "Uncaught
 TypeError: Cannot call method 'getElementsByTagName'
 of null "
 What can it be?
 From:
 MarkVolz at co.lyon.mn.us
 To: luis.calisto at hotmail.com;
 geomoose-users at lists.osgeo.org
 Subject: RE: [Geomoose-users] Edit select type attributes in
 vector layer.
 Date: Tue, 19 Nov 2013 15:35:37 +0000
 
 
 
 
 
 
 
 
 
 Luis,
  
 I am NOT the expert
 on this, but I would check and see if “(%)” is legal or
 not by removing those characters from the label.
  
 
 Mark Volz,
 GISP
 GIS
 Specialist
 
  
 
 
 
 From:
 geomoose-users-bounces at lists.osgeo.org
 [mailto:geomoose-users-bounces at lists.osgeo.org]
 On Behalf Of Luis Calisto
 
 Sent: Tuesday, November 19, 2013 9:02 AM
 
 To: geomoose-users at lists.osgeo.org
 
 Subject: [Geomoose-users] Edit select type attributes
 in vector layer.
 
 
  
 
 Hi,
 
  
 
 
 I'm
 working with the vector layers and the feature attribute
 edit tool, all works great but i can't put working an
 attribute that is configured in the mapbook with the type
 "select".
 
 
  
 
 
 In the
 demo mapbook example, the vector layer "sketch"
 there is a commented line:
 
 
                      
 
 
 
 <attribute name="opacity"
 type="select" default-value="100"
 label="Opacity (%):"/>
 
 
  
 
 
 If i
 uncomment this line when i select the "edit
 attributes" tool it gives this error in the console:
 "Uncaught TypeError: Cannot call method
 'getElementsByTagName' of null
 " 
 
 
  
 
 
 I changed
 the attribute options in the mapbook demo to:
 
 
  
 
 
 
 <attribute name="opacity"
 type="select" default-value="100"
 label="Opacity (%):">
 
 
                      
 <option
 value="0">0</option>
 
 
                      
 <option
 value="50">50</option>
 
 
 </attribute>
 
 
 
  
 
 
 But same
 error! Any idea? Is it possible to use the select type
 in the vector attributes?
 
 
  
 
 
 Best
 regards
 
 
 Luís
 Calisto
 
 
 
  		 	   		  
 
 -----Inline Attachment Follows-----
 
 _______________________________________________
 Geomoose-users mailing list
 Geomoose-users at lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/geomoose-users


More information about the Geomoose-users mailing list