Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

com.cohga.html.client.components.entitySelectorComponent
weave.entitySelector

Sub-tags

name

type

cardinality

default

description

label

string

0..1

 


Label to display to the left of the component

entity

Entity

string

0..n

all

Limit the display to only the listed entities. See this page for

example

examples on how to refine the listed entities.

entitiesentity[]0..1
A wrapper for providing multiple entity entries (helpful when used as a snippet)

showIcons

boolean

0..1

true

Should icons be shown representing the different types of entities

showCount

boolean

0..1

true

Should the count of selected entities be shown in the list

showNonSpatial

boolean

0..1

true

Should non-spatial entities be include in the list or only entities that have a spatial component

width

integer

0..1

200

The width of the combo box

listWidth

integer

0..1

200

The width of the combo box popup list

Example

Code Block
xmllinenumbers
languagexml
titleBasic setuptrue
<item component="com.cohga.html.client.components.entitySelectorComponent" label="Entity:"/>


Code Block
xml
languagexml
titleSimplified setup
linenumberstrue
<item component="com.cohga.html.client.components.entitySelectorComponent" label="Entity:" showNonSpatial="false" showIcons="false" showCount="false"/>


Code Block
languagexml
titleRefining available entities
<item component="com.cohga.html.client.components.entitySelectorComponent">
	<entities>
	    <entity>property</entity>
    	<entity>owners</entity>
    	<entity>roads</entity>
	</entities>
</item>