Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

name

description

text

The label to display to the user.

iconCls

The id of an icon to display for the export item.

format

The format to export the data in, this must correspond to one of the supported formats based on the installed plugins, currently 'html', 'excel' or 'csv'.

tooltip

This will change the tooltip display and should contain title and text properties.

Examples

Code Block
xml
xml
linenumberstruexml
	<item action="com.cohga.client.actions.menuAction">
		<text>Export</text>
		<iconCls>icon-database_go</iconCls>
		<item action="com.cohga.html.client.grid.exportAction">
			<text>CSV</text>
			<format>csv</format>
			<iconCls>icon-page_white_world</iconCls>
			<tooltip>
				<title>CSV</title>
				<text>Export the data to a comma separated text file</text>
			</tooltip>
		</item>
		<item action="com.cohga.html.client.grid.exportAction">
			<text>Excel</text>
			<format>excel</format>
			<iconCls>icon-page_white_excel</iconCls>
			<tooltip>
				<title>Excel</title>
				<text>Export the data to an Microsoft Excel spreadsheet</text>
			</tooltip>
		</item>
		<item action="com.cohga.html.client.grid.exportAction">
			<text>HTML</text>
			<format>html</format>
			<iconCls>icon-page_white_world</iconCls>
			<tooltip>
				<title>HTML</title>
				<text>Export the data to a HTML page</text>
			</tooltip>
		</item>
	</item>