First Commit from Source Code Reply

This commit is contained in:
vincenzofariello
2024-05-09 17:40:24 +02:00
parent 11e3b57c5b
commit 107a016cb9
35225 changed files with 1111346 additions and 1 deletions

View File

@@ -0,0 +1,69 @@
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<h:form id="frm_tester">
<table style="width: 100%">
<tr>
<td>
<f:facet name="header">
<t:outputText value="Tester 1" />
</f:facet>
</td>
</tr>
<tr>
<td>
<t:dataTable id="tableTester" value="#{routing.regole}" var="regola" cellspacing="5px" >
<f:facet name="caption">
<t:outputText value="Lista elementi : #{routing.num_regole}" style="text-align:center;border: 1px solid #000000"/>
</f:facet>
<t:column style="font-weight:bold;"
headerstyle="background-color:#99CCFF;">
<f:facet name="header">
<t:outputText value="CHECK" style="text-align:center;border: 1px solid #000000"/>
</f:facet>
<t:selectBooleanCheckbox value="#{regola.editable}" >
<a4j:actionparam name="editable" value="true" assignTo="#{regola.editable}"/>
<a4j:support event="onclick"
immediate="true"
reRender="loadingPanel"
onsubmit="Richfaces.showModalPanel('loadingPanel');"
oncomplete="Richfaces.hideModalPanel('loadingPanel');" />
</t:selectBooleanCheckbox>
</t:column>
<t:column style="font-weight:bold;"
headerstyle="background-color:#99CCFF;">
<f:facet name="header">
<t:outputText value="id regola" style="text-align:center;border: 1px solid #000000;width:100%"/>
</f:facet>
<t:outputText value="#{regola.idRegola}"></t:outputText>
</t:column>
<t:column style="font-weight:bold;"
headerstyle="background-color:#99CCFF;">
<f:facet name="header" >
<t:outputText value="olo" style="text-align:center;border: 1px solid #000000;width:100%" />
</f:facet>
<t:inputText value="#{regola.olo}" size="10" rendered="#{regola.editable}" />
<t:outputText value="#{regola.olo}" rendered="#{not regola.editable}" />
</t:column>
</t:dataTable>
</td>
</tr>
<tr>
<td>
<rich:modalPanel shadowDepth="1" shadowOpacity="4"
styleClass="rich-mpnl-shadow"
style="border:2 solid;border-color:#AAAAFF;" width="252"
height="232" id="loadingPanel" autosized="true" zindex="100"
left="500" top="150">
<h:graphicImage alt="loading..." width="250" height="230"
style="align:center;"
value="/resources/images/loading_aqua.gif" />
</rich:modalPanel>
</td>
</tr>
</table>
</h:form>