E.7 Button Tag
The button tag inserts an individual toolbar button into the JSP. This tag may be placed anywhere in the HTML body. Any attributes that are not set will use the default value and all attributes that are specified will override the default settings in the SREE properties file.
The button tag is optional. The button tag may contain valid HTML or JSP content. This content will be written if the report is not available and the processPage attribute of the create tag is true.
Attribute Name |
Description |
Required |
Allowed Values |
reportId |
Unique ID of the report |
Yes |
The report ID specified in the create tag |
type |
Specifies which button to insert |
Yes |
first-page, previous-page, page-box, next-page, last-page, find, find-next, PDF, refresh, archive, export, mail, print, customize, toc, menu, user |
image |
The URL of the image to use as the button's icon |
No |
Any valid URL. URLs beginning with resource:// will be loaded from the classpath of the web application. file:// URLs will be loaded from the file system of the server. URLs with the JAR: protocol will be loaded from a JAR file in the file system of the server. Any other URLs will be interpreted as HTTP URLs and will be used exactly as specified. |
text |
The text to use for a text-type button |
No |
Any string |
useImage |
Determines if the button will be a text or image type |
No |
true/false |
actionClass |
The fully qualified class name of the action that will be invoked when the button is clicked |
Only for user-defined buttons |
The name of any Java class that is on the web application's classpath |
| << E.6 Toolbar Tag | © 1996-2013 InetSoft Technology Corporation (v11.5) | Common Function Reference >> |