Add a new attribute, "renderLabelAsButton", boolean, default=false. When renderLabelAsButton=true the label text will be the label of a commandButton, instead of an anchor link.
The order of precedence is important here and should be documented in the TLD description for the component:
1. If image URL is specified, the label text will become the alt text for the image, the image is a clickable anchor to trigger the export operation. This supercedes the following two configurations.
2. If renderLabelAsButton=true, the label text will used for a commandButton that will trigger the export operation.
3. (default) The label text is rendered as an anchor which, when clicked, will trigger the export operation.
Add a new attribute, "renderLabelAsButton", boolean, default=false. When renderLabelAsButton=true the label text will be the label of a commandButton, instead of an anchor link.
The order of precedence is important here and should be documented in the TLD description for the component:
1. If image URL is specified, the label text will become the alt text for the image, the image is a clickable anchor to trigger the export operation. This supercedes the following two configurations.
2. If renderLabelAsButton=true, the label text will used for a commandButton that will trigger the export operation.
3. (default) The label text is rendered as an anchor which, when clicked, will trigger the export operation.