attachment tag
This tag renders an inline frame (or if download="true" it renders a link to download the attachment) with the content being the Attachment specified by the attachment attribute.
Attribute |
Notes |
style
|
|
class
|
|
border
|
|
frameborder
|
|
scrolling
|
|
test
|
|
attachment
|
Required
|
download
|
|
title
|
|
Sample:
display the attachment
<c:attachment style="width:615px;height:800px" attachment="${att.get('id')}"></c:attachment>
display a link to download the attachment
<c:attachment download="true" attachment="${att.get('id')}">link text</c:attachment>