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>

View File

@@ -0,0 +1,65 @@
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<h:form id="frm_tester2" >
<table>
<tr>
<td>
<rich:panel header="Tester 2">
<rich:dataTable id="tbl_tester2" value="#{routing.regole}" var="regola" rows="10">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="ID REGOLA"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="CODICE OLO"></h:outputText>
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column>
<h:outputText value="#{regola.idRegola}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{regola.olo}"></h:outputText>
</rich:column>
</rich:dataTable>
<h:panelGrid columns="1">
<t:dataScroller id="scroll_1"
for="tbl_tester2"
fastStep="10"
pageCountVar="pageCount"
pageIndexVar="pageIndex"
paginator="true"
paginatorMaxPages="9"
immediate="true"
actionListener="#{routing.scrollerAction}"
paginatorActiveColumnStyle="font-weight:bold;"
>
<f:facet name="first" >
<t:graphicImage url="resources/images/arrow-first.gif" border="1" />
</f:facet>
<f:facet name="last">
<t:graphicImage url="resources/images/arrow-last.gif" border="1" />
</f:facet>
<f:facet name="previous">
<t:graphicImage url="resources/images/arrow-previous.gif" border="1" />
</f:facet>
<f:facet name="next">
<t:graphicImage url="resources/images/arrow-next.gif" border="1" />
</f:facet>
<f:facet name="fastforward">
<t:graphicImage url="resources/images/arrow-ff.gif" border="1" />
</f:facet>
<f:facet name="fastrewind">
<t:graphicImage url="resources/images/arrow-fr.gif" border="1" />
</f:facet>
</t:dataScroller>
</h:panelGrid>
</rich:panel>
</td>
</tr>
</table>
</h:form>

View File

@@ -0,0 +1,88 @@
<%@ 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>
<h:outputText value="Valori della lista : "/>
<h:outputText value="#{routing.num_regole}"/>
</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}" rendered="frm_tester">
<a4j:actionparam name="editable" value="true" assignTo="#{regola.editable}"/>
<a4j:support event="onclick"
immediate="true"
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="CHECK" style="text-align:center;border: 1px solid #000000"/>
</f:facet>
<t:selectBooleanCheckbox value="#{regola.editable}">
</t:selectBooleanCheckbox>
</t:column>
<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:commandLink id="pressButton" action="#{routing.printRule}"
value="Button">
</t:commandLink>
</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="#{!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>