Versions Compared

Key

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

The search template allow users to store attribute search values to be opened at a later time. This might be helpful for complex searches that are being executed frequently. The Search Template action is tightly coupled with the Attribute Search view and at the moment the action must be located in the status bar of the view. The values are stored in Weave Storage Store and nobody but the user who saved the template can access the templatesit.

The Search Template window will list all stored searches for the active entity. Changing entity will update the list for that entity.

Image Modified   Seach templete grid window

Image Modified Add a Search template


ID

weave.searchTemplate

Sub-tags

nametypecardinalitydefaultdescription
openboolean0..1trueAllow user to open a search template
createboolean0..1trueAllow user to create a search template
updateboolean0..1trueAllow user to update a search template
removeboolean0..1trueAllow user to remove a search template


Code Block
languagexml
firstline1
titleClient config example
linenumberstrue
collapsetrue
<client:config>
	....
	<perspective>
		<view id="com.cohga.html.client.main.searchView" >
		<location>west</location>
			<statusbar>
				<item action="weave.searchTemplate" />
			</statusbar>
		</view>
		....
	</perspective>
</client:config>


I18n resources

iddefault
search.template.tooltip.titleSearch templates
search.template.validate.nameName must not be blank
search.template.validate.entityEntity is missing
search.template.validate.searchidSearchId for search is missing
search.template.updateTitleUpdate Search Template
search.template.updatePromptAre you sure you want to replace this Search Template?
search.template.nameName
search.template.descriptionDescription
search.template.replaceReplace with current search parameters
search.template.cancelCancel
search.template.saveSave
search.template.editEdit Search template
search.template.createCreate
search.template.openOpen
search.template.updateUpdate
search.template.removeRemove
search.template.reloadReload
search.template.entityEntity