Example Form
PDF
XLS
DOC
EML
Unknown
XML
CSV
JPG
ZIP
PNG
TXT
HEIC
SVG

PDF
XLS
DOC
EML
Unknown
XML
CSV
JPG
ZIP
PNG
TXT
HEIC
SVG

Repeat

This page demonstrates several option which can be used when it's required to repeat items based on a List<> structure.

<p:panel header="Example Form" styleClass="jeesl-panel">
	<ui:repeat var="t" value="#{stylePanelRepeatBean.types}">
		<j:inputGrid>
			<p:outputLabel value="#{t.code}"/>
			<h:outputText value="#{t.name[localeCode].lang}"/>
		</j:inputGrid>
	</ui:repeat>
	<p:separator/>
	<h:dataTable var="t" value="#{stylePanelRepeatBean.types}" columnClasses="jeeslGrid30,jeeslGrid70">
	    <h:column>
	    	<f:facet name="header"><jtp:label entity="IoFileType" code="code"/></f:facet>
	    	<p:outputLabel value="#{t.code}"/>
	    </h:column>
	    <h:column>
	    	<f:facet name="header"><jtp:label entity="IoFileType" code="name"/></f:facet>
	    	<h:outputText value="#{t.name[localeCode].lang}"/>
	    </h:column>
	</h:dataTable>
</p:panel>