Tobago Demo

Menu

Figure

Create a figure with <tc:figure/> around an image, video or something else. The label can be set via the label attribute or with the label facet.

Tag Library Documentation

Label attribute

For simple captions use the label attribute.

<tc:figure label="Picture of the alps."> <tc:image value="image/alps.png"/> </tc:figure>
Picture of the alps.

Label facet

For more complex captions use <f:facet name="label">. In this example the word 'tobago' is colored red.

The tobago logo.
© 2005-2023 Apache Software Foundation, Licensed under the Apache License, Version 2.0.