<%import org.exoplatform.webui.core.UIComponent ;%>
<div class="uiFormTableInputSet">
	<table class="uiGrid table table-hover table-striped">
		<thead>
			<tr>
				<%
					String name = uicomponent.getName();
					String [] columns = uicomponent.getColumns();
					for(col in columns){
				%>
						<th><%=_ctx.appRes(name + ".header."+col)%></th>
				<%}%>
			</tr>
		</thead>
		<tbody>
		<%
			boolean even = true;
			List children = uicomponent.getChildren();
			for (child in children)	{
				even = !even;
				int size = child.getChildren().size();
				if (size == 0) continue;
		%>
				<tr>
					<%for(i in 0..size-1){%>				
						<td class="text"><%child.renderChild(i);%></td>	
					<%}%>
				</tr>
		<%}%>
		</tbody>
	</table> 
</div>
