Storage Engines
Selection
File System
Jackrabbit OAK
MongoDB GridFS
Amazon S3
PostgreSQL
REST

Option Selection

To select options in a fast convenient way (without clicking on a row, changing the option in panel and saving it) we need a new concept.

<h:form id="fTable">
	<p:dataTable styleClass="jeesl-datatable"
			var="e" value="#{tableSelectionOptionBean.engines}" draggableRows="false">
		<f:facet name="header">
			<j:dtHeader entity="IoFileStorageEngine" code="listOf"/>
		</f:facet>
		<p:column>
			<f:facet name="header"><jtp:label entity="IoFileStorageEngine" code="name"/></f:facet>
			<jtp:symbolizer value="#{e}" marginRight="5"/>
			<h:outputText value="#{e.name[localeCode].lang}"/>  
		</p:column>
		<p:column>
			<f:facet name="header"><jtp:label entity="IoFileReplicationType"/></f:facet>
			<jtp:symbolizer value="#{tableSelectionOptionBean.map[e]}"/>
		</p:column>
		<p:column>
			<f:facet name="header">Selection</f:facet>
			<ui:repeat var="t" value="#{tableSelectionOptionBean.types}">
				<jp:icon value="#{t}" listener="#{tableSelectionOptionBean.saveType(e,t)}" update="@form"
					marginRight="5" height="16"
					styleClass="#{tableSelectionOptionBean.map[e].id eq t.id ? '' : 'jeesl-greyscale'}"/>
			</ui:repeat>
		</p:column>
	</p:dataTable>
</h:form>