Dialogs
Header
xx
Jeesl Dialog
xx xx xx xx
Jeesl Dialog
xx xx xx xx
Fullscreen Dialog
xx xx xx xx
Markup Dialog
p:dataTable
No records found.
Slot Dialog
Left
Center
Right

Dialog

A widgetVar for the primefaces dialog may be passed as an attribute to the jeesl dialog. If none is set, the dialog defaults to its id followed by "Widget" (i.e. "#{cc.id}Widget").

 

The size of a dialog can be set with the attribute width (1 to 12) in the j:dialog element. It will then take up x / 12 of the viewport's width. If no width is specified, it will be set to 6 by default ,i.e. half of the viewport.

<p:panel header="Dialogs" styleClass="jeesl-panel">
	<j:inputGrid>
		<p:outputLabel value="Primefaces Dialog" />
		<j:svg type="jeeslSearch" listener="#{dialogBean.open()}" update=":grid" oncomplete="PF('wvPf').show();"/>
	
		<p:outputLabel value="Jeesl Dialog" />
		<j:svg type="jeeslSearch" listener="#{dialogBean.open()}" update=":grid" oncomplete="PF('testWidget').show();"/>
	
		<p:outputLabel value="Jeesl Dialog with footer" />
		<j:svg type="jeeslSearch" listener="#{dialogBean.open()}" update=":grid" oncomplete="PF('testWidget2').show();"/>
	
		<p:outputLabel value="Fullscreen Jeesl Dialog" />
		<j:svg type="jeeslSearch" listener="#{dialogBean.open()}" update=":grid" oncomplete="PF('fullscreenWidget').show();"/>
		
		<p:outputLabel value="Markup Dialog" />
		<j:svg type="jeeslSearch" listener="#{dialogBean.open()}" update=":grid" oncomplete="PF('markupWidget').show();"/>
		
		<p:outputLabel value="Table Dialog" />
		<j:svg type="jeeslSearch" listener="#{dialogBean.open()}" update=":grid" oncomplete="PF('tableWidget').show();"/>
		
		<p:outputLabel value="Slot Dialog" />