| Attributes |
| Name | Required | Request-time | Type | Description |
| accesskey | no | true | java.lang.String | Access key that, when pressed, activates this component. |
| attachment | no | true | boolean | (Deprecated) Setting the fileName attribute will cause the file to be downloaded as an attachment, instead of loading it right in the browser. |
| disabled | no | true | boolean | Flag indicating that this element must never receive focus or be included in a subsequent submit. |
| fileName | no | true | java.lang.String | The file name to be used for the attachment header. If the label is not specified the file name will be used. See also the resource attribute. Note: a specific file name only works if the file is downloaded as an attachment. Setting this attribute to anything but null will cause the file to be downloaded as an attachment, instead of being loaded right in the browser. |
| image | no | true | java.lang.String | The image path that will be used to display an image for link instead of text. |
| label | no | true | java.lang.String | The label to be displayed for the resource. The label will be used for the text of the link or button. If an image is used, the label will be used as the alt attribute value of the image element. |
| lastModified | no | true | java.util.Date | The java.util.Data object specifying the last modified header that will be sent to the browser for this resource. See also the resource attribute. |
| mimeType | no | true | java.lang.String | The mime-type for the resource. If not specified, and available from the backing Resource, the Resource's mime-type will be used. See also the resource attribute. |
| resource | no | true | javax.faces.application.Resource | The object of type javax.faces.application.Resource that will be used. |
| scope | no | true | java.lang.String | The scope in which the resource will be stored. The values can be 'view', window', 'session', and 'application'. When not specified the 'session' scope is used. |
| style | no | true | java.lang.String | Custom inline CSS styles to use for this component. These styles are generally applied to the root DOM element of the component. This is intended for per-component basic style customizations. Note that due to browser CSS precedence rules, CSS rendered on a DOM element will take precedence over the external stylesheets used to provide the ThemeRoller theme on this component. If the CSS properties applied with this attribute do not affect the DOM element you want to style, you may need to create a custom theme styleClass for the theme CSS class that targets the particular DOM elements you wish to customize. |
| styleClass | no | true | java.lang.String | Custom CSS style class(es) to use for this component. These style classes can be defined in your page or in a theme CSS file. |
| target | no | true | java.lang.String | Value of the target attribute when resource is rendered as a link. Default is "_blank". |
| type | no | true | java.lang.String | The type of link to render: link (default) image: renders a link with an image (must be used with the image attribute) button: renders a button with the text from value |