Versions Compared

Key

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

...

Code Block
xml
xml
titleExtending email properties
	<item action="com.cohga.client.action.simplereport">
		<email id="feedback">
			<from>${userid}@sforbes.net</from>
			<to>feedback@sforbes.net</from>
		</email>
		<format>html</format>
		<report>br_map</report>
		<label>Feedback</label>
		<tooltip>
			<title>Feedback</title>
			<text>Send a feedback report using the current map</text>
		</tooltip>
	</item>

The above example does user use the feedback email config, and replaces the values from it with those included in the report item, using those from the email config where the aren't set directly.