Layout tags

tags: grid - column - row - line - space - cell - img

grid

Insert a grid layout. All tags nested in this tag will be rendered in a table having the specified number of columns

The tags will be aligned horizontally and vertically

Attribute NameDescription
borderSpacingborder-spacing value. Default is 0.
colsNumber of columns. Default is 2
spaceShould an empty cell be including between each cell ?
styleClassStyleclass of the grid
widthWidth of the grid

column

Insert a column. All the tags in this tag will be displayed vertically

Attribute NameDescription
styleClassCSS style class to use for the column

row

Insert a row. All the tags in this tag will be displayed horizontally

Attribute NameDescription
cellPaddingPadding of the row cell. Default value is HTML default value
cellSpacingSpacing of the row cell. Default value is HTML default value
spaceIf set to false, does not include spaces between tags

line

Allow to display several input fiels on the same line. This is the same behaviour as the row tag, expect that tags contained in different lines are aligned.

Attribute NameDescription
spaceIf set to false, does not include spaces betwwen tags

space

Insert a space

Attribute NameDescription
styleClasscss style of the empty cell

cell

Allow to insert HTML code in a Struts-Layout cell.

Attribute nameDescription
colspanColspan of the cell
heightHeight of the cell
styleClasscss style of the cell
widthWidth of the cell

img

Insert an image. One of the action, page, srcName or src attribute is required.

Attribute nameDescription
actionThe action, starting with a slash, that will render the image
pageImage location relative to the current module
srcNameImage location relative to the current skin images directory
srcImage location