Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

The Quick Search panel provides the supporting components, both client and server, for adding a new panel to the client that allows the user to quickly find an entity and see details about that entity.

This tool is a combination of the index combo and the data grid. It is useful for a Weave instance that has a cut down client with few tools. 

ID 

com.cohga.view.quicksearch

Sub-tags - 

NameTypeDefaultDescription
emptyTextstringQuick searchThe text to show in the field when nothing has been entered.

label

String

0..1

Label to display in tab

location

String

1..1

 Which region to add the view to

minScale

number


When the user chooses an result from the list the map will be zoomed to the extent of the chosen entity, this setting ensures that the map won't be zoomed in beyond the given scale.

Example

Basic quick search view 

<view id="com.cohga.view.quicksearch">
	<label>Quick Search</label>
	<emptyText>Test</emptyText>
	<location>west</location>
	<minscale>1000</minscale>
	<detail>
		<data>ar_road_details</data>
	</detail>
	<detail>
		<entity>property</entity>
		<datadefinition>dd_property_details</datadefinition>
		<template><![CDATA[
			<b>Property</b><br/>
			{PropNo} {StreetName} {StreetType}
		]]></template>
	</detail>
</view>
  • No labels