10. Seam Tag Reference
Contents > Seam Tag Reference > s:cache
s:cache |
|
The s:cache tag instructs the Seam framework to cache a rendered page fragment internally.
Example:
<s:cache key="Invoice-#{invoice.id}"></s:cache>
|
Tag Attributes
| binding |
String |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| enabled |
String |
| |
| A value-binding expression that evaluates to a Boolean value. |
| id |
String |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| key |
String |
| Required |
| The key used to store and retrieve the fragment from the cache. |
| region |
String |
| Required |
| A JBoss Cache node, possibly with a custom expiration policy. (The use of JBoss Cache is managed internally by the Seam framework.) |
| rendered |
String |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
|