Salvatore La Manna
3 anni fa
93 ha cambiato i file con 857 aggiunte e 1863 eliminazioni
@ -0,0 +1,2 @@ |
|||||||
|
eclipse.preferences.version=1 |
||||||
|
org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false |
File binario non mostrato.
@ -1,123 +0,0 @@ |
|||||||
package it.tref.liferay.portos.bo.util; |
|
||||||
|
|
||||||
import it.tref.liferay.portos.bo.model.DettPratica; |
|
||||||
import it.tref.liferay.portos.bo.model.IntPratica; |
|
||||||
import it.tref.liferay.portos.bo.model.Soggetto; |
|
||||||
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil; |
|
||||||
import it.tref.liferay.portos.bo.service.DettPraticaServiceUtil; |
|
||||||
import it.tref.liferay.portos.bo.service.IntPraticaServiceUtil; |
|
||||||
import it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil; |
|
||||||
import it.tref.liferay.portos.bo.service.SoggettoServiceUtil; |
|
||||||
import it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil; |
|
||||||
|
|
||||||
import java.util.List; |
|
||||||
|
|
||||||
import com.liferay.portal.kernel.exception.PortalException; |
|
||||||
import com.liferay.portal.kernel.exception.SystemException; |
|
||||||
import com.liferay.portal.kernel.util.Validator; |
|
||||||
import com.liferay.portal.model.User; |
|
||||||
import com.liferay.portal.service.UserLocalServiceUtil; |
|
||||||
|
|
||||||
public class SoggettiUtil { |
|
||||||
|
|
||||||
public static boolean isCommittenteAndDitta(long intPraticaId) throws SystemException { |
|
||||||
|
|
||||||
List<Soggetto> ditte = SoggettoLocalServiceUtil.getValidTmpByDettPratica_TipologiaSoggetto(intPraticaId, |
|
||||||
TipoSoggettoUtil.DITTA); |
|
||||||
List<Soggetto> committenti = SoggettoLocalServiceUtil.getValidTmpByDettPratica_TipologiaSoggetto(intPraticaId, |
|
||||||
TipoSoggettoUtil.COMMITTENTE); |
|
||||||
return isCommittenteAndDitta(committenti, ditte); |
|
||||||
} |
|
||||||
|
|
||||||
public static boolean isCommittenteAndDitta(List<Soggetto> committenti, List<Soggetto> ditte) { |
|
||||||
|
|
||||||
for (Soggetto committente : committenti) { |
|
||||||
for (Soggetto ditta : ditte) { |
|
||||||
if (ditta.getCodiceFiscale().equalsIgnoreCase(committente.getCodiceFiscale())) { |
|
||||||
return true; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
return false; |
|
||||||
} |
|
||||||
|
|
||||||
public static boolean isTitolareInCommittenti(long intPraticaId) throws SystemException, PortalException { |
|
||||||
|
|
||||||
IntPratica intPratica = IntPraticaServiceUtil.getIntPratica(intPraticaId); |
|
||||||
User titolareUser = UserLocalServiceUtil.getUserById(intPratica.getUserId()); |
|
||||||
String codiceFiscaleTitolare = titolareUser.getScreenName(); |
|
||||||
List<Soggetto> committenti = SoggettoServiceUtil.getValidTmpByIntPratica_TipologiaSoggetto(intPraticaId, |
|
||||||
TipoSoggettoUtil.COMMITTENTE); |
|
||||||
for (Soggetto soggetto : committenti) { |
|
||||||
if (codiceFiscaleTitolare.equalsIgnoreCase(soggetto.getCodiceFiscale())) { |
|
||||||
return true; |
|
||||||
} |
|
||||||
} |
|
||||||
return false; |
|
||||||
} |
|
||||||
|
|
||||||
public static boolean isSoggettoPrincipale(long soggettoId, long dettPraticaId) throws PortalException, |
|
||||||
SystemException { |
|
||||||
|
|
||||||
Soggetto soggetto = SoggettoServiceUtil.getSoggetto(soggettoId); |
|
||||||
return isSoggettoPrincipale(soggetto.getCodiceFiscale(), soggetto.getTipologiaSoggetto(), dettPraticaId); |
|
||||||
} |
|
||||||
|
|
||||||
public static boolean isSoggettoPrincipale(String codiceFiscale, String tipologiaSoggetto, long dettPraticaId) |
|
||||||
throws PortalException, SystemException { |
|
||||||
|
|
||||||
DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId); |
|
||||||
switch (tipologiaSoggetto) { |
|
||||||
case TipoSoggettoUtil.COMMITTENTE: |
|
||||||
return codiceFiscale.equalsIgnoreCase(dettPratica.getCodiceFiscalePrincipaleCommittente()); |
|
||||||
case TipoSoggettoUtil.COLLAUDATORE: |
|
||||||
return codiceFiscale.equalsIgnoreCase(dettPratica.getCodiceFiscalePrincipaleCollaudatore()); |
|
||||||
case TipoSoggettoUtil.DIRETTORE_LAVORI: |
|
||||||
return codiceFiscale.equalsIgnoreCase(dettPratica.getCodiceFiscalePrincipaleDirettoreLavori()); |
|
||||||
case TipoSoggettoUtil.PROGETTISTA: |
|
||||||
return codiceFiscale.equalsIgnoreCase(dettPratica.getCodiceFiscalePrincipaleProgettista()); |
|
||||||
case TipoSoggettoUtil.GEOLOGO: |
|
||||||
return codiceFiscale.equalsIgnoreCase(dettPratica.getCodiceFiscalePrincipaleGeologo()); |
|
||||||
case TipoSoggettoUtil.DITTA: |
|
||||||
return codiceFiscale.equalsIgnoreCase(dettPratica.getCodiceFiscalePrincipaleDitta()); |
|
||||||
case TipoSoggettoUtil.ARCHEOLOGO: |
|
||||||
return codiceFiscale.equalsIgnoreCase(dettPratica.getCodiceFiscalePrincipaleArcheologo()); |
|
||||||
default: |
|
||||||
return false; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
public static boolean hasSoggettoPrincipale(long dettPraticaId, String tipologiaSoggetto) throws PortalException, |
|
||||||
SystemException { |
|
||||||
|
|
||||||
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId); |
|
||||||
switch (tipologiaSoggetto) { |
|
||||||
case TipoSoggettoUtil.COMMITTENTE: |
|
||||||
return Validator.isNotNull(dettPratica.getCodiceFiscalePrincipaleCommittente()); |
|
||||||
case TipoSoggettoUtil.COLLAUDATORE: |
|
||||||
return Validator.isNotNull(dettPratica.getCodiceFiscalePrincipaleCollaudatore()); |
|
||||||
case TipoSoggettoUtil.DIRETTORE_LAVORI: |
|
||||||
return Validator.isNotNull(dettPratica.getCodiceFiscalePrincipaleDirettoreLavori()); |
|
||||||
case TipoSoggettoUtil.PROGETTISTA: |
|
||||||
return Validator.isNotNull(dettPratica.getCodiceFiscalePrincipaleProgettista()); |
|
||||||
case TipoSoggettoUtil.GEOLOGO: |
|
||||||
return Validator.isNotNull(dettPratica.getCodiceFiscalePrincipaleGeologo()); |
|
||||||
case TipoSoggettoUtil.DITTA: |
|
||||||
return Validator.isNotNull(dettPratica.getCodiceFiscalePrincipaleDitta()); |
|
||||||
default: |
|
||||||
return false; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
public static boolean isCollaudatorePresent(long dettPraticaId) throws SystemException { |
|
||||||
List<Soggetto> soggettiInseriti = SoggettoLocalServiceUtil.findByDettPratica(dettPraticaId); |
|
||||||
boolean collaudatorePresente = false; |
|
||||||
for (Soggetto soggetto : soggettiInseriti) { |
|
||||||
if (soggetto.getTipologiaSoggetto().equals(TipoSoggettoUtil.COLLAUDATORE)) { |
|
||||||
collaudatorePresente = true; |
|
||||||
break; |
|
||||||
} |
|
||||||
} |
|
||||||
return collaudatorePresente; |
|
||||||
} |
|
||||||
} |
|
@ -1,56 +1,37 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||||
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> |
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> |
||||||
<%@ include file="/html/fascicolo/init.jsp" %> |
<%@ include file="/html/fascicolo/init.jsp" %> |
||||||
<liferay-util:include page="/html/fascicolo/navigator/header.jsp" servletContext="<%=application %>"/> |
<liferay-util:include page="/html/fascicolo/navigator/header.jsp" servletContext="<%= application %>"/> |
||||||
<h2 class="fasciolo_page_title"><liferay-ui:message key="page_co_dati"></liferay-ui:message></h2> |
<h2 class="fasciolo_page_title"><liferay-ui:message key="page_co_dati" /></h2> |
||||||
|
|
||||||
<% |
<% |
||||||
IntPratica intPratica = (IntPratica)request.getAttribute("bean.intPratica"); |
IntPratica intPratica = (IntPratica) request.getAttribute("bean.intPratica"); |
||||||
long intPraticaId = intPratica.getIntPraticaId(); |
long intPraticaId = intPratica.getIntPraticaId(); |
||||||
%> |
%> |
||||||
|
<liferay-ui:search-container emptyResultsMessage="no-entries-were-found" orderByType="desc" orderByCol="createDate"> |
||||||
<liferay-ui:search-container |
|
||||||
emptyResultsMessage="no-entries-were-found" |
|
||||||
orderByType="desc" orderByCol="createDate" |
|
||||||
> |
|
||||||
|
|
||||||
<liferay-ui:search-container-results |
<liferay-ui:search-container-results |
||||||
results="<%= CollaudoLocalServiceUtil.findByIntPraticaId_Completata(intPraticaId, true, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null) %>" |
results="<%= CollaudoLocalServiceUtil.findByIntPraticaId_Completata(intPraticaId, true, QueryUtil.ALL_POS, |
||||||
total="<%= CollaudoLocalServiceUtil.countByIntPraticaId_Completata(intPraticaId, true) %>" |
QueryUtil.ALL_POS, null) %>" |
||||||
> |
total="<%= CollaudoLocalServiceUtil.countByIntPraticaId_Completata(intPraticaId, true) %>" /> |
||||||
</liferay-ui:search-container-results> |
<liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.Collaudo" modelVar="collaudo"> |
||||||
|
<liferay-ui:search-container-column-text name="Data" cssClass="text-nowrap" |
||||||
|
value='<%= Validator.isNull(collaudo.getDataEffettuazione()) ? StringPool.BLANK |
||||||
<liferay-ui:search-container-row |
: dateFormatDateTime.format(collaudo.getDataEffettuazione()) %>' /> |
||||||
className="it.tref.liferay.portos.bo.model.Collaudo" |
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Committente" |
||||||
modelVar="collaudo" |
value="<%= collaudo.getCodiceFiscaleDelegato().toUpperCase() %>"/> |
||||||
> |
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Tipologia" |
||||||
<liferay-ui:search-container-column-text name="Data" cssClass="text-nowrap" value='<%= Validator.isNotNull(collaudo.getDataEffettuazione()) ? dateFormatDateTime.format(collaudo.getDataEffettuazione()) : ""%>' /> |
value='<%= collaudo.getParziale() ? "Parziale" : "Totale" %>'/> |
||||||
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Committente" value="<%= collaudo.getCodiceFiscaleDelegato().toUpperCase() %>"/> |
|
||||||
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Tipologia" value='<%= collaudo.getParziale() ? "Parziale" : "Totale" %>'/> |
|
||||||
|
|
||||||
<liferay-ui:search-container-column-text> |
<liferay-ui:search-container-column-text> |
||||||
|
<liferay-portlet:renderURL var="viewDettagliCollaudoURL" |
||||||
<liferay-portlet:renderURL var="viewDettagliCollaudoURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>"> |
windowState="<%= LiferayWindowState.POP_UP.toString() %>"> |
||||||
<liferay-portlet:param name="mvcPath" value="/html/fascicolo/navigator/view_dettagli_collaudo.jsp"/> |
<liferay-portlet:param name="mvcPath" value="/html/fascicolo/navigator/view_dettagli_collaudo.jsp"/> |
||||||
<liferay-portlet:param name="collaudoId" value="<%=String.valueOf(collaudo.getCollaudoId())%>" /> |
<liferay-portlet:param name="collaudoId" value="<%= String.valueOf(collaudo.getCollaudoId()) %>" /> |
||||||
</liferay-portlet:renderURL> |
</liferay-portlet:renderURL> |
||||||
|
<liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true" |
||||||
<liferay-ui:icon-menu showWhenSingleIcon="<%= false %>" extended="false" showExpanded="true" cssClass="inline_toolbar displ_inline_block txt text-center" > |
cssClass="inline_toolbar displ_inline_block txt text-center" > |
||||||
|
<liferay-ui:icon iconCssClass="fa fa-info-circle" message="detail" useDialog="true" |
||||||
<liferay-ui:icon |
linkCssClass="btn btn-action d-inline-block" url="<%=viewDettagliCollaudoURL%>" /> |
||||||
iconCssClass="fa fa-info-circle" |
|
||||||
message="detail" |
|
||||||
linkCssClass="btn btn-action d-inline-block" |
|
||||||
url="<%=viewDettagliCollaudoURL%>" |
|
||||||
useDialog="<%= true %>" |
|
||||||
/> |
|
||||||
|
|
||||||
</liferay-ui:icon-menu> |
</liferay-ui:icon-menu> |
||||||
|
|
||||||
</liferay-ui:search-container-column-text> |
</liferay-ui:search-container-column-text> |
||||||
|
|
||||||
</liferay-ui:search-container-row> |
</liferay-ui:search-container-row> |
||||||
|
<liferay-ui:search-iterator paginate="false" /> |
||||||
<liferay-ui:search-iterator paginate="<%= false %>" /> |
|
||||||
</liferay-ui:search-container> |
</liferay-ui:search-container> |
@ -1,65 +1,42 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||||
<%@page import="it.tref.liferay.portos.bo.shared.util.PortletKeys"%> |
|
||||||
<%@page import="com.liferay.portal.kernel.servlet.ServletContextPool"%> |
|
||||||
<%@page import="java.util.ArrayList"%> |
|
||||||
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> |
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> |
||||||
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%> |
<%@page import="it.tref.liferay.portos.bo.shared.util.PortletKeys"%> |
||||||
<%@ include file="/html/fascicolo/init.jsp" %> |
<%@include file="/html/fascicolo/init.jsp"%> |
||||||
|
<liferay-util:include page="/html/fascicolo/navigator/header.jsp" servletContext="<%= application %>"/> |
||||||
<liferay-util:include page="/html/fascicolo/navigator/header.jsp" servletContext="<%=application %>"/> |
<h2 class="fasciolo_page_title"><liferay-ui:message key="page_fl_allegati" /></h2> |
||||||
<h2 class="fasciolo_page_title"><liferay-ui:message key="page_fl_allegati"></liferay-ui:message></h2> |
|
||||||
|
|
||||||
<% |
<% |
||||||
IntPratica intPratica = (IntPratica)request.getAttribute("bean.intPratica"); |
IntPratica intPratica = (IntPratica) request.getAttribute("bean.intPratica"); |
||||||
long intPraticaId = intPratica.getIntPraticaId(); |
long intPraticaId = intPratica.getIntPraticaId(); |
||||||
%> |
%> |
||||||
|
<liferay-ui:search-container emptyResultsMessage="no-entries-were-found" orderByType="desc" orderByCol="createDate"> |
||||||
<liferay-ui:search-container |
|
||||||
emptyResultsMessage="no-entries-were-found" |
|
||||||
orderByType="desc" orderByCol="createDate" |
|
||||||
> |
|
||||||
|
|
||||||
<liferay-ui:search-container-results |
<liferay-ui:search-container-results |
||||||
results="<%= FineLavoriLocalServiceUtil.findByIntPraticaId_Completata(intPraticaId, true, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null) %>" |
results="<%= FineLavoriLocalServiceUtil.findByIntPraticaId_Completata(intPraticaId, true, |
||||||
total="<%= FineLavoriLocalServiceUtil.countByIntPraticaId_Completata(intPraticaId, true) %>" |
QueryUtil.ALL_POS, QueryUtil.ALL_POS, null) %>" |
||||||
> |
total="<%= FineLavoriLocalServiceUtil.countByIntPraticaId_Completata(intPraticaId, true) %>" /> |
||||||
</liferay-ui:search-container-results> |
<liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.FineLavori" modelVar="fineLavori"> |
||||||
|
<liferay-ui:search-container-column-text name="Data" cssClass="text-nowrap" |
||||||
|
value='<%= Validator.isNull(fineLavori.getDataEffettuazione()) ? StringPool.BLANK |
||||||
<liferay-ui:search-container-row |
: dateFormatDateTime.format(fineLavori.getDataEffettuazione()) %>' /> |
||||||
className="it.tref.liferay.portos.bo.model.FineLavori" |
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Direttore Lavori" |
||||||
modelVar="fineLavori" |
value="<%= fineLavori.getCodiceFiscaleDelegato().toUpperCase() %>"/> |
||||||
> |
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Tipologia" |
||||||
<liferay-ui:search-container-column-text name="Data" cssClass="text-nowrap" value='<%= Validator.isNotNull(fineLavori.getDataEffettuazione()) ? dateFormatDateTime.format(fineLavori.getDataEffettuazione()) : ""%>' /> |
value='<%= fineLavori.getParziale() ? "Parziale" : "Totale" %>'/> |
||||||
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Direttore Lavori" value="<%= fineLavori.getCodiceFiscaleDelegato().toUpperCase() %>"/> |
|
||||||
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Tipologia" value='<%= fineLavori.getParziale() ? "Parziale" : "Totale" %>'/> |
|
||||||
|
|
||||||
<liferay-ui:search-container-column-text> |
<liferay-ui:search-container-column-text> |
||||||
|
<liferay-portlet:renderURL var="viewDettagliFineLavoriURL" portletName="<%= PortletKeys.ALLEGATI %>" |
||||||
<liferay-portlet:renderURL var="viewDettagliFineLavoriURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>" portletName='<%=PortletKeys.ALLEGATI %>'> |
windowState="<%= LiferayWindowState.POP_UP.toString() %>"> |
||||||
<liferay-portlet:param name="mvcPath" value="/html/allegatipratica/view_accordion.jsp"/> |
<liferay-portlet:param name="mvcPath" value="/html/allegatipratica/view_accordion.jsp"/> |
||||||
<liferay-portlet:param name="classPk" value="<%=String.valueOf(fineLavori.getFineLavoriId())%>" /> |
<liferay-portlet:param name="classPk" value="<%= String.valueOf(fineLavori.getFineLavoriId()) %>" /> |
||||||
<liferay-portlet:param name="className" value="<%=String.valueOf(FineLavori.class.getName())%>" /> |
<liferay-portlet:param name="className" value="<%= String.valueOf(FineLavori.class.getName()) %>" /> |
||||||
<liferay-portlet:param name="comingFrom" value="page_fine_lavori"/> |
<liferay-portlet:param name="comingFrom" value="page_fine_lavori"/> |
||||||
<liferay-portlet:param name="tipoAllegati" value="allegati_fine_lavori"/> |
<liferay-portlet:param name="tipoAllegati" value="allegati_fine_lavori"/> |
||||||
<liferay-portlet:param name="full" value="false"/> |
<liferay-portlet:param name="full" value="false"/> |
||||||
</liferay-portlet:renderURL> |
</liferay-portlet:renderURL> |
||||||
|
<liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true" |
||||||
<liferay-ui:icon-menu showWhenSingleIcon="<%= false %>" extended="false" showExpanded="true" cssClass="inline_toolbar displ_inline_block txt text-center" > |
cssClass="inline_toolbar displ_inline_block txt text-center" > |
||||||
|
<liferay-ui:icon iconCssClass="fa fa-info-circle" message="detail" useDialog="true" |
||||||
<liferay-ui:icon |
linkCssClass="btn btn-action d-inline-block" url="<%=viewDettagliFineLavoriURL%>" /> |
||||||
iconCssClass="fa fa-info-circle" |
|
||||||
message="detail" |
|
||||||
linkCssClass="btn btn-action d-inline-block" |
|
||||||
url="<%=viewDettagliFineLavoriURL%>" |
|
||||||
useDialog="<%= true %>" |
|
||||||
/> |
|
||||||
|
|
||||||
</liferay-ui:icon-menu> |
</liferay-ui:icon-menu> |
||||||
|
|
||||||
</liferay-ui:search-container-column-text> |
</liferay-ui:search-container-column-text> |
||||||
|
|
||||||
</liferay-ui:search-container-row> |
</liferay-ui:search-container-row> |
||||||
|
<liferay-ui:search-iterator paginate="false" /> |
||||||
<liferay-ui:search-iterator paginate="<%= false %>" /> |
|
||||||
</liferay-ui:search-container> |
</liferay-ui:search-container> |
@ -1,56 +1,38 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||||
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> |
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> |
||||||
<%@ include file="/html/fascicolo/init.jsp" %> |
<%@ include file="/html/fascicolo/init.jsp" %> |
||||||
<liferay-util:include page="/html/fascicolo/navigator/header.jsp" servletContext="<%=application %>"/> |
<liferay-util:include page="/html/fascicolo/navigator/header.jsp" servletContext="<%= application %>"/> |
||||||
<h2 class="fasciolo_page_title"><liferay-ui:message key="page_fl_dati"></liferay-ui:message></h2> |
<h2 class="fasciolo_page_title"><liferay-ui:message key="page_fl_dati" /></h2> |
||||||
|
|
||||||
<% |
<% |
||||||
IntPratica intPratica = (IntPratica)request.getAttribute("bean.intPratica"); |
IntPratica intPratica = (IntPratica) request.getAttribute("bean.intPratica"); |
||||||
long intPraticaId = intPratica.getIntPraticaId(); |
long intPraticaId = intPratica.getIntPraticaId(); |
||||||
%> |
%> |
||||||
|
<liferay-ui:search-container emptyResultsMessage="no-entries-were-found" orderByType="desc" orderByCol="createDate"> |
||||||
<liferay-ui:search-container |
|
||||||
emptyResultsMessage="no-entries-were-found" |
|
||||||
orderByType="desc" orderByCol="createDate" |
|
||||||
> |
|
||||||
|
|
||||||
<liferay-ui:search-container-results |
<liferay-ui:search-container-results |
||||||
results="<%= FineLavoriLocalServiceUtil.findByIntPraticaId_Completata(intPraticaId, true, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null) %>" |
results="<%= FineLavoriLocalServiceUtil.findByIntPraticaId_Completata(intPraticaId, true, |
||||||
total="<%= FineLavoriLocalServiceUtil.countByIntPraticaId_Completata(intPraticaId, true) %>" |
QueryUtil.ALL_POS, QueryUtil.ALL_POS, null) %>" |
||||||
> |
total="<%= FineLavoriLocalServiceUtil.countByIntPraticaId_Completata(intPraticaId, true) %>" /> |
||||||
</liferay-ui:search-container-results> |
<liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.FineLavori" modelVar="fineLavori"> |
||||||
|
<liferay-ui:search-container-column-text name="Data" cssClass="text-nowrap" |
||||||
|
value='<%= Validator.isNull(fineLavori.getDataEffettuazione()) ? StringPool.BLANK |
||||||
<liferay-ui:search-container-row |
: dateFormatDateTime.format(fineLavori.getDataEffettuazione()) %>' /> |
||||||
className="it.tref.liferay.portos.bo.model.FineLavori" |
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Direttore Lavori" |
||||||
modelVar="fineLavori" |
value="<%= fineLavori.getCodiceFiscaleDelegato().toUpperCase() %>"/> |
||||||
> |
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Tipologia" |
||||||
<liferay-ui:search-container-column-text name="Data" cssClass="text-nowrap" value='<%= Validator.isNotNull(fineLavori.getDataEffettuazione()) ? dateFormatDateTime.format(fineLavori.getDataEffettuazione()) : ""%>' /> |
value='<%= fineLavori.getParziale() ? "Parziale" : "Totale" %>'/> |
||||||
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Direttore Lavori" value="<%= fineLavori.getCodiceFiscaleDelegato().toUpperCase() %>"/> |
|
||||||
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Tipologia" value='<%= fineLavori.getParziale() ? "Parziale" : "Totale" %>'/> |
|
||||||
|
|
||||||
<liferay-ui:search-container-column-text> |
<liferay-ui:search-container-column-text> |
||||||
|
<liferay-portlet:renderURL var="viewDettagliFineLavoriURL" |
||||||
<liferay-portlet:renderURL var="viewDettagliFineLavoriURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>"> |
windowState="<%= LiferayWindowState.POP_UP.toString() %>"> |
||||||
<liferay-portlet:param name="mvcPath" value="/html/fascicolo/navigator/view_dettagli_fine-lavori.jsp"/> |
<liferay-portlet:param name="mvcPath" value="/html/fascicolo/navigator/view_dettagli_fine-lavori.jsp"/> |
||||||
<liferay-portlet:param name="fineLavoriId" value="<%=String.valueOf(fineLavori.getFineLavoriId())%>" /> |
<liferay-portlet:param name="fineLavoriId" |
||||||
|
value="<%= String.valueOf(fineLavori.getFineLavoriId())%>" /> |
||||||
</liferay-portlet:renderURL> |
</liferay-portlet:renderURL> |
||||||
|
<liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true" |
||||||
<liferay-ui:icon-menu showWhenSingleIcon="<%= false %>" extended="false" showExpanded="true" cssClass="inline_toolbar displ_inline_block txt text-center" > |
cssClass="inline_toolbar displ_inline_block txt text-center"> |
||||||
|
<liferay-ui:icon iconCssClass="fa fa-info-circle" message="detail" useDialog="true" |
||||||
<liferay-ui:icon |
linkCssClass="btn btn-action d-inline-block" url="<%= viewDettagliFineLavoriURL %>" /> |
||||||
iconCssClass="fa fa-info-circle" |
|
||||||
message="detail" |
|
||||||
linkCssClass="btn btn-action d-inline-block" |
|
||||||
url="<%=viewDettagliFineLavoriURL%>" |
|
||||||
useDialog="<%= true %>" |
|
||||||
/> |
|
||||||
|
|
||||||
</liferay-ui:icon-menu> |
</liferay-ui:icon-menu> |
||||||
|
|
||||||
</liferay-ui:search-container-column-text> |
</liferay-ui:search-container-column-text> |
||||||
|
|
||||||
</liferay-ui:search-container-row> |
</liferay-ui:search-container-row> |
||||||
|
<liferay-ui:search-iterator paginate="false" /> |
||||||
<liferay-ui:search-iterator paginate="<%= false %>" /> |
|
||||||
</liferay-ui:search-container> |
</liferay-ui:search-container> |
@ -1,84 +1,63 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||||
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil"%> |
|
||||||
<%@page import="it.tref.liferay.portos.bo.shared.util.PortletKeys"%> |
|
||||||
<%@page import="com.liferay.portal.kernel.servlet.ServletContextPool"%> |
|
||||||
<%@page import="java.util.ArrayList"%> |
|
||||||
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> |
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> |
||||||
|
<%@page import="it.tref.liferay.portos.bo.shared.util.PortletKeys"%> |
||||||
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%> |
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%> |
||||||
<%@ include file="/html/fascicolo/init.jsp" %> |
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil"%> |
||||||
|
<%@include file="/html/fascicolo/init.jsp"%> |
||||||
<liferay-util:include page="/html/fascicolo/navigator/header.jsp" servletContext="<%=application %>"/> |
<liferay-util:include page="/html/fascicolo/navigator/header.jsp" servletContext="<%= application %>"/> |
||||||
<h2 class="fasciolo_page_title"><liferay-ui:message key="page_in_allegati"></liferay-ui:message></h2> |
<h2 class="fasciolo_page_title"><liferay-ui:message key="page_in_allegati" /></h2> |
||||||
|
|
||||||
<% |
<% |
||||||
IntPratica intPratica = (IntPratica)request.getAttribute("bean.intPratica"); |
IntPratica intPratica = (IntPratica)request.getAttribute("bean.intPratica"); |
||||||
long intPraticaId = intPratica.getIntPraticaId(); |
long intPraticaId = intPratica.getIntPraticaId(); |
||||||
%> |
%> |
||||||
|
<liferay-ui:search-container emptyResultsMessage="no-entries-were-found" orderByType="desc" orderByCol="createDate"> |
||||||
<liferay-ui:search-container |
|
||||||
emptyResultsMessage="no-entries-were-found" |
|
||||||
orderByType="desc" orderByCol="createDate" |
|
||||||
> |
|
||||||
|
|
||||||
<liferay-ui:search-container-results |
<liferay-ui:search-container-results |
||||||
results="<%= DettPraticaServiceUtil.findCompletedByIntPraticaAndTipoPratica(intPraticaId, Arrays.asList(TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE))%>" |
results="<%= DettPraticaServiceUtil.findCompletedByIntPraticaAndTipoPratica(intPraticaId, |
||||||
total="<%= DettPraticaServiceUtil.countCompletedByIntPraticaAndTipoPratica(intPraticaId, Arrays.asList(TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE)) %>" |
Arrays.asList(TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE))%>" |
||||||
> |
total="<%= DettPraticaServiceUtil.countCompletedByIntPraticaAndTipoPratica(intPraticaId, |
||||||
</liferay-ui:search-container-results> |
Arrays.asList(TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE)) %>" /> |
||||||
|
<liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.DettPratica" modelVar="integrazione"> |
||||||
|
<liferay-ui:search-container-column-text name="Data" cssClass="text-nowrap" |
||||||
<liferay-ui:search-container-row |
value="<%= Validator.isNull(integrazione.getDataEffettuazione()) ? StringPool.BLANK |
||||||
className="it.tref.liferay.portos.bo.model.DettPratica" |
: dateFormatDate.format(integrazione.getDataEffettuazione()) %>" /> |
||||||
modelVar="integrazione" |
<liferay-ui:search-container-column-text cssClass="text-center" name="#" |
||||||
> |
value='<%= "<strong>" + integrazione.getIntegrazione() + "</strong>" %>'/> |
||||||
<liferay-ui:search-container-column-text name="Data" cssClass="text-nowrap" value="<%= Validator.isNotNull(integrazione.getDataEffettuazione()) ? dateFormatDate.format(integrazione.getDataEffettuazione()) : StringPool.BLANK %>" /> |
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Pratica" |
||||||
<liferay-ui:search-container-column-text cssClass="text-center" name="#" value='<%= "<strong>"+integrazione.getIntegrazione()+"</strong>" %>'/> |
value="<%= integrazione.getTitle(locale) %>"/> |
||||||
<liferay-ui:search-container-column-text cssClass="text-nowrap" name="Pratica" value="<%= integrazione.getTitle(locale) %>"/> |
|
||||||
<liferay-ui:search-container-column-text cssClass="text-left" name="Committenti"> |
<liferay-ui:search-container-column-text cssClass="text-left" name="Committenti"> |
||||||
<% |
<% |
||||||
StringBuilder builder = new StringBuilder(); |
StringBuilder builder = new StringBuilder(); |
||||||
List<Soggetto> committenti = SoggettoServiceUtil.getValidByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.COMMITTENTE); |
List<Soggetto> committenti = SoggettoServiceUtil |
||||||
for(Soggetto committente : committenti){ |
.getValidByIntPratica_TipologiaSoggetto(intPraticaId, TipoSoggettoUtil.COMMITTENTE); |
||||||
builder.append(committente.getDescrizioneCompleta()) |
for (Soggetto committente : committenti) { |
||||||
.append(StringPool.COMMA_AND_SPACE).append("<br>"); |
if (builder.length() > 0) { |
||||||
|
builder.append(",<br/>"); |
||||||
|
} |
||||||
|
builder.append(committente.getDescrizioneCompleta()); |
||||||
} |
} |
||||||
if(builder.length()>0) |
|
||||||
builder.setLength(builder.length()-6); |
|
||||||
|
|
||||||
out.print(builder.toString()); |
out.print(builder.toString()); |
||||||
%> |
%> |
||||||
</liferay-ui:search-container-column-text> |
</liferay-ui:search-container-column-text> |
||||||
|
|
||||||
<liferay-ui:search-container-column-text cssClass="text-center"> |
<liferay-ui:search-container-column-text cssClass="text-center"> |
||||||
<% |
<% |
||||||
String buttonId = "allegatoInButton_"+index; |
String buttonId = "allegatoInButton_" + index; |
||||||
String contentId = "allegatoInContent_"+index; |
String contentId = "allegatoInContent_" + index; |
||||||
String titleId = "Allegati Integrazione #"+integrazione.getDettPraticaId(); |
String titleId = "Allegati Integrazione #" + integrazione.getDettPraticaId(); |
||||||
%> |
%> |
||||||
|
<liferay-portlet:renderURL var="viewDettagliIntegrazioniURL" |
||||||
<liferay-portlet:renderURL var="viewDettagliIntegrazioniURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>" portletName='<%=PortletKeys.ALLEGATI %>'> |
windowState="<%= LiferayWindowState.POP_UP.toString() %>" portletName="<%=PortletKeys.ALLEGATI %>"> |
||||||
<liferay-portlet:param name="mvcPath" value="/html/allegatipratica/view_accordion.jsp"/> |
<liferay-portlet:param name="mvcPath" value="/html/allegatipratica/view_accordion.jsp"/> |
||||||
<liferay-portlet:param name="classPk" value="<%= String.valueOf(integrazione.getDettPraticaId()) %>"/> |
<liferay-portlet:param name="classPk" value="<%= String.valueOf(integrazione.getDettPraticaId()) %>"/> |
||||||
<liferay-portlet:param name="className" value="<%= DettPratica.class.getName() %>"/> |
<liferay-portlet:param name="className" value="<%= DettPratica.class.getName() %>"/> |
||||||
<liferay-portlet:param name="comingFrom" value="page_in_allegati"/> |
<liferay-portlet:param name="comingFrom" value="page_in_allegati"/> |
||||||
<liferay-portlet:param name="full" value="false"/> |
<liferay-portlet:param name="full" value="false"/> |
||||||
</liferay-portlet:renderURL> |
</liferay-portlet:renderURL> |
||||||
|
<liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true" |
||||||
<liferay-ui:icon-menu showWhenSingleIcon="<%= false %>" extended="false" showExpanded="true" cssClass="inline_toolbar displ_inline_block txt text-center" > |
cssClass="inline_toolbar displ_inline_block txt text-center" > |
||||||
|
<liferay-ui:icon iconCssClass="fa fa-info-circle" message="detail" useDialog="true" |
||||||
<liferay-ui:icon |
linkCssClass="btn btn-action d-inline-block" url="<%= viewDettagliIntegrazioniURL %>" /> |
||||||
iconCssClass="fa fa-info-circle" |
|
||||||
message="detail" |
|
||||||
linkCssClass="btn btn-action d-inline-block" |
|
||||||
url="<%= viewDettagliIntegrazioniURL %>" |
|
||||||
useDialog="<%= true %>" |
|
||||||
/> |
|
||||||
</liferay-ui:icon-menu> |
</liferay-ui:icon-menu> |
||||||
|
|
||||||
</liferay-ui:search-container-column-text> |
</liferay-ui:search-container-column-text> |
||||||
|
|
||||||
|
|
||||||
</liferay-ui:search-container-row> |
</liferay-ui:search-container-row> |
||||||
|
<liferay-ui:search-iterator paginate="false" /> |
||||||
<liferay-ui:search-iterator paginate="<%= false %>" /> |
|
||||||
</liferay-ui:search-container> |
</liferay-ui:search-container> |
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
@ -1,572 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8" ?> |
|
||||||
|
|
||||||
<taglib xmlns="http://java.sun.com/xml/ns/javaee" |
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
||||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" |
|
||||||
version="2.1"> |
|
||||||
|
|
||||||
<description>JSTL 1.2 core library</description> |
|
||||||
<display-name>JSTL core</display-name> |
|
||||||
<tlib-version>1.2</tlib-version> |
|
||||||
<short-name>c</short-name> |
|
||||||
<uri>http://java.sun.com/jsp/jstl/core</uri> |
|
||||||
|
|
||||||
<validator> |
|
||||||
<description> |
|
||||||
Provides core validation features for JSTL tags. |
|
||||||
</description> |
|
||||||
<validator-class> |
|
||||||
org.apache.taglibs.standard.tlv.JstlCoreTLV |
|
||||||
</validator-class> |
|
||||||
</validator> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Catches any Throwable that occurs in its body and optionally |
|
||||||
exposes it. |
|
||||||
</description> |
|
||||||
<name>catch</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
exception thrown from a nested action. The type of the |
|
||||||
scoped variable is the type of the exception thrown. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Simple conditional tag that establishes a context for |
|
||||||
mutually exclusive conditional operations, marked by |
|
||||||
<when> and <otherwise> |
|
||||||
</description> |
|
||||||
<name>choose</name> |
|
||||||
<tag-class>com.liferay.taglib.core.ChooseTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Simple conditional tag, which evalutes its body if the |
|
||||||
supplied condition is true and optionally exposes a Boolean |
|
||||||
scripting variable representing the evaluation of this condition |
|
||||||
</description> |
|
||||||
<name>if</name> |
|
||||||
<tag-class>com.liferay.taglib.core.IfTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
The test condition that determines whether or |
|
||||||
not the body content should be processed. |
|
||||||
</description> |
|
||||||
<name>test</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>boolean</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
resulting value of the test condition. The type |
|
||||||
of the scoped variable is Boolean. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Scope for var. |
|
||||||
</description> |
|
||||||
<name>scope</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Retrieves an absolute or relative URL and exposes its contents |
|
||||||
to either the page, a String in 'var', or a Reader in 'varReader'. |
|
||||||
</description> |
|
||||||
<name>import</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class> |
|
||||||
<tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
The URL of the resource to import. |
|
||||||
</description> |
|
||||||
<name>url</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
resource's content. The type of the scoped |
|
||||||
variable is String. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Scope for var. |
|
||||||
</description> |
|
||||||
<name>scope</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
resource's content. The type of the scoped |
|
||||||
variable is Reader. |
|
||||||
</description> |
|
||||||
<name>varReader</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the context when accessing a relative |
|
||||||
URL resource that belongs to a foreign |
|
||||||
context. |
|
||||||
</description> |
|
||||||
<name>context</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Character encoding of the content at the input |
|
||||||
resource. |
|
||||||
</description> |
|
||||||
<name>charEncoding</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
The basic iteration tag, accepting many different |
|
||||||
collection types and supporting subsetting and other |
|
||||||
functionality |
|
||||||
</description> |
|
||||||
<name>forEach</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class> |
|
||||||
<tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Collection of items to iterate over. |
|
||||||
</description> |
|
||||||
<name>items</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>java.lang.Object</type> |
|
||||||
<deferred-value> |
|
||||||
<type>java.lang.Object</type> |
|
||||||
</deferred-value> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
If items specified: |
|
||||||
Iteration begins at the item located at the |
|
||||||
specified index. First item of the collection has |
|
||||||
index 0. |
|
||||||
If items not specified: |
|
||||||
Iteration begins with index set at the value |
|
||||||
specified. |
|
||||||
</description> |
|
||||||
<name>begin</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>int</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
If items specified: |
|
||||||
Iteration ends at the item located at the |
|
||||||
specified index (inclusive). |
|
||||||
If items not specified: |
|
||||||
Iteration ends when index reaches the value |
|
||||||
specified. |
|
||||||
</description> |
|
||||||
<name>end</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>int</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Iteration will only process every step items of |
|
||||||
the collection, starting with the first one. |
|
||||||
</description> |
|
||||||
<name>step</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>int</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
current item of the iteration. This scoped |
|
||||||
variable has nested visibility. Its type depends |
|
||||||
on the object of the underlying collection. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
status of the iteration. Object exported is of type |
|
||||||
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested |
|
||||||
visibility. |
|
||||||
</description> |
|
||||||
<name>varStatus</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Iterates over tokens, separated by the supplied delimeters |
|
||||||
</description> |
|
||||||
<name>forTokens</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
String of tokens to iterate over. |
|
||||||
</description> |
|
||||||
<name>items</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>java.lang.String</type> |
|
||||||
<deferred-value> |
|
||||||
<type>java.lang.String</type> |
|
||||||
</deferred-value> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
The set of delimiters (the characters that |
|
||||||
separate the tokens in the string). |
|
||||||
</description> |
|
||||||
<name>delims</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>java.lang.String</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Iteration begins at the token located at the |
|
||||||
specified index. First token has index 0. |
|
||||||
</description> |
|
||||||
<name>begin</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>int</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Iteration ends at the token located at the |
|
||||||
specified index (inclusive). |
|
||||||
</description> |
|
||||||
<name>end</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>int</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Iteration will only process every step tokens |
|
||||||
of the string, starting with the first one. |
|
||||||
</description> |
|
||||||
<name>step</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>int</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
current item of the iteration. This scoped |
|
||||||
variable has nested visibility. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
status of the iteration. Object exported is of |
|
||||||
type |
|
||||||
javax.servlet.jsp.jstl.core.LoopTag |
|
||||||
Status. This scoped variable has nested |
|
||||||
visibility. |
|
||||||
</description> |
|
||||||
<name>varStatus</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Like <%= ... >, but for expressions. |
|
||||||
</description> |
|
||||||
<name>out</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Expression to be evaluated. |
|
||||||
</description> |
|
||||||
<name>value</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Default value if the resulting value is null. |
|
||||||
</description> |
|
||||||
<name>default</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Determines whether characters <,>,&,'," in the |
|
||||||
resulting string should be converted to their |
|
||||||
corresponding character entity codes. Default value is |
|
||||||
true. |
|
||||||
</description> |
|
||||||
<name>escapeXml</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Subtag of <choose> that follows <when> tags |
|
||||||
and runs only if all of the prior conditions evaluated to |
|
||||||
'false' |
|
||||||
</description> |
|
||||||
<name>otherwise</name> |
|
||||||
<tag-class>com.liferay.taglib.core.OtherwiseTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Adds a parameter to a containing 'import' tag's URL. |
|
||||||
</description> |
|
||||||
<name>param</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the query string parameter. |
|
||||||
</description> |
|
||||||
<name>name</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Value of the parameter. |
|
||||||
</description> |
|
||||||
<name>value</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Redirects to a new URL. |
|
||||||
</description> |
|
||||||
<name>redirect</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
The URL of the resource to redirect to. |
|
||||||
</description> |
|
||||||
<name>url</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the context when redirecting to a relative URL |
|
||||||
resource that belongs to a foreign context. |
|
||||||
</description> |
|
||||||
<name>context</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Removes a scoped variable (from a particular scope, if specified). |
|
||||||
</description> |
|
||||||
<name>remove</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class> |
|
||||||
<body-content>empty</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the scoped variable to be removed. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Scope for var. |
|
||||||
</description> |
|
||||||
<name>scope</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Sets the result of an expression evaluation in a 'scope' |
|
||||||
</description> |
|
||||||
<name>set</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable to hold the value |
|
||||||
specified in the action. The type of the scoped variable is |
|
||||||
whatever type the value expression evaluates to. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Expression to be evaluated. |
|
||||||
</description> |
|
||||||
<name>value</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<deferred-value> |
|
||||||
<type>java.lang.Object</type> |
|
||||||
</deferred-value> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Target object whose property will be set. Must evaluate to |
|
||||||
a JavaBeans object with setter property property, or to a |
|
||||||
java.util.Map object. |
|
||||||
</description> |
|
||||||
<name>target</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the property to be set in the target object. |
|
||||||
</description> |
|
||||||
<name>property</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Scope for var. |
|
||||||
</description> |
|
||||||
<name>scope</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Creates a URL with optional query parameters. |
|
||||||
</description> |
|
||||||
<name>url</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
processed url. The type of the scoped variable is |
|
||||||
String. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Scope for var. |
|
||||||
</description> |
|
||||||
<name>scope</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
URL to be processed. |
|
||||||
</description> |
|
||||||
<name>value</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the context when specifying a relative URL |
|
||||||
resource that belongs to a foreign context. |
|
||||||
</description> |
|
||||||
<name>context</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Subtag of <choose> that includes its body if its |
|
||||||
condition evalutes to 'true' |
|
||||||
</description> |
|
||||||
<name>when</name> |
|
||||||
<tag-class>com.liferay.taglib.core.WhenTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
The test condition that determines whether or not the |
|
||||||
body content should be processed. |
|
||||||
</description> |
|
||||||
<name>test</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>boolean</type> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
</taglib> |
|
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
@ -1,572 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8" ?> |
|
||||||
|
|
||||||
<taglib xmlns="http://java.sun.com/xml/ns/javaee" |
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
||||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" |
|
||||||
version="2.1"> |
|
||||||
|
|
||||||
<description>JSTL 1.2 core library</description> |
|
||||||
<display-name>JSTL core</display-name> |
|
||||||
<tlib-version>1.2</tlib-version> |
|
||||||
<short-name>c</short-name> |
|
||||||
<uri>http://java.sun.com/jsp/jstl/core</uri> |
|
||||||
|
|
||||||
<validator> |
|
||||||
<description> |
|
||||||
Provides core validation features for JSTL tags. |
|
||||||
</description> |
|
||||||
<validator-class> |
|
||||||
org.apache.taglibs.standard.tlv.JstlCoreTLV |
|
||||||
</validator-class> |
|
||||||
</validator> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Catches any Throwable that occurs in its body and optionally |
|
||||||
exposes it. |
|
||||||
</description> |
|
||||||
<name>catch</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
exception thrown from a nested action. The type of the |
|
||||||
scoped variable is the type of the exception thrown. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Simple conditional tag that establishes a context for |
|
||||||
mutually exclusive conditional operations, marked by |
|
||||||
<when> and <otherwise> |
|
||||||
</description> |
|
||||||
<name>choose</name> |
|
||||||
<tag-class>com.liferay.taglib.core.ChooseTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Simple conditional tag, which evalutes its body if the |
|
||||||
supplied condition is true and optionally exposes a Boolean |
|
||||||
scripting variable representing the evaluation of this condition |
|
||||||
</description> |
|
||||||
<name>if</name> |
|
||||||
<tag-class>com.liferay.taglib.core.IfTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
The test condition that determines whether or |
|
||||||
not the body content should be processed. |
|
||||||
</description> |
|
||||||
<name>test</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>boolean</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
resulting value of the test condition. The type |
|
||||||
of the scoped variable is Boolean. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Scope for var. |
|
||||||
</description> |
|
||||||
<name>scope</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Retrieves an absolute or relative URL and exposes its contents |
|
||||||
to either the page, a String in 'var', or a Reader in 'varReader'. |
|
||||||
</description> |
|
||||||
<name>import</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class> |
|
||||||
<tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
The URL of the resource to import. |
|
||||||
</description> |
|
||||||
<name>url</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
resource's content. The type of the scoped |
|
||||||
variable is String. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Scope for var. |
|
||||||
</description> |
|
||||||
<name>scope</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
resource's content. The type of the scoped |
|
||||||
variable is Reader. |
|
||||||
</description> |
|
||||||
<name>varReader</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the context when accessing a relative |
|
||||||
URL resource that belongs to a foreign |
|
||||||
context. |
|
||||||
</description> |
|
||||||
<name>context</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Character encoding of the content at the input |
|
||||||
resource. |
|
||||||
</description> |
|
||||||
<name>charEncoding</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
The basic iteration tag, accepting many different |
|
||||||
collection types and supporting subsetting and other |
|
||||||
functionality |
|
||||||
</description> |
|
||||||
<name>forEach</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class> |
|
||||||
<tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Collection of items to iterate over. |
|
||||||
</description> |
|
||||||
<name>items</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>java.lang.Object</type> |
|
||||||
<deferred-value> |
|
||||||
<type>java.lang.Object</type> |
|
||||||
</deferred-value> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
If items specified: |
|
||||||
Iteration begins at the item located at the |
|
||||||
specified index. First item of the collection has |
|
||||||
index 0. |
|
||||||
If items not specified: |
|
||||||
Iteration begins with index set at the value |
|
||||||
specified. |
|
||||||
</description> |
|
||||||
<name>begin</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>int</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
If items specified: |
|
||||||
Iteration ends at the item located at the |
|
||||||
specified index (inclusive). |
|
||||||
If items not specified: |
|
||||||
Iteration ends when index reaches the value |
|
||||||
specified. |
|
||||||
</description> |
|
||||||
<name>end</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>int</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Iteration will only process every step items of |
|
||||||
the collection, starting with the first one. |
|
||||||
</description> |
|
||||||
<name>step</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>int</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
current item of the iteration. This scoped |
|
||||||
variable has nested visibility. Its type depends |
|
||||||
on the object of the underlying collection. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
status of the iteration. Object exported is of type |
|
||||||
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested |
|
||||||
visibility. |
|
||||||
</description> |
|
||||||
<name>varStatus</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Iterates over tokens, separated by the supplied delimeters |
|
||||||
</description> |
|
||||||
<name>forTokens</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
String of tokens to iterate over. |
|
||||||
</description> |
|
||||||
<name>items</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>java.lang.String</type> |
|
||||||
<deferred-value> |
|
||||||
<type>java.lang.String</type> |
|
||||||
</deferred-value> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
The set of delimiters (the characters that |
|
||||||
separate the tokens in the string). |
|
||||||
</description> |
|
||||||
<name>delims</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>java.lang.String</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Iteration begins at the token located at the |
|
||||||
specified index. First token has index 0. |
|
||||||
</description> |
|
||||||
<name>begin</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>int</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Iteration ends at the token located at the |
|
||||||
specified index (inclusive). |
|
||||||
</description> |
|
||||||
<name>end</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>int</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Iteration will only process every step tokens |
|
||||||
of the string, starting with the first one. |
|
||||||
</description> |
|
||||||
<name>step</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>int</type> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
current item of the iteration. This scoped |
|
||||||
variable has nested visibility. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
status of the iteration. Object exported is of |
|
||||||
type |
|
||||||
javax.servlet.jsp.jstl.core.LoopTag |
|
||||||
Status. This scoped variable has nested |
|
||||||
visibility. |
|
||||||
</description> |
|
||||||
<name>varStatus</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Like <%= ... >, but for expressions. |
|
||||||
</description> |
|
||||||
<name>out</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Expression to be evaluated. |
|
||||||
</description> |
|
||||||
<name>value</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Default value if the resulting value is null. |
|
||||||
</description> |
|
||||||
<name>default</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Determines whether characters <,>,&,'," in the |
|
||||||
resulting string should be converted to their |
|
||||||
corresponding character entity codes. Default value is |
|
||||||
true. |
|
||||||
</description> |
|
||||||
<name>escapeXml</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Subtag of <choose> that follows <when> tags |
|
||||||
and runs only if all of the prior conditions evaluated to |
|
||||||
'false' |
|
||||||
</description> |
|
||||||
<name>otherwise</name> |
|
||||||
<tag-class>com.liferay.taglib.core.OtherwiseTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Adds a parameter to a containing 'import' tag's URL. |
|
||||||
</description> |
|
||||||
<name>param</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the query string parameter. |
|
||||||
</description> |
|
||||||
<name>name</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Value of the parameter. |
|
||||||
</description> |
|
||||||
<name>value</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Redirects to a new URL. |
|
||||||
</description> |
|
||||||
<name>redirect</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
The URL of the resource to redirect to. |
|
||||||
</description> |
|
||||||
<name>url</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the context when redirecting to a relative URL |
|
||||||
resource that belongs to a foreign context. |
|
||||||
</description> |
|
||||||
<name>context</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Removes a scoped variable (from a particular scope, if specified). |
|
||||||
</description> |
|
||||||
<name>remove</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class> |
|
||||||
<body-content>empty</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the scoped variable to be removed. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Scope for var. |
|
||||||
</description> |
|
||||||
<name>scope</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Sets the result of an expression evaluation in a 'scope' |
|
||||||
</description> |
|
||||||
<name>set</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable to hold the value |
|
||||||
specified in the action. The type of the scoped variable is |
|
||||||
whatever type the value expression evaluates to. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Expression to be evaluated. |
|
||||||
</description> |
|
||||||
<name>value</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<deferred-value> |
|
||||||
<type>java.lang.Object</type> |
|
||||||
</deferred-value> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Target object whose property will be set. Must evaluate to |
|
||||||
a JavaBeans object with setter property property, or to a |
|
||||||
java.util.Map object. |
|
||||||
</description> |
|
||||||
<name>target</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the property to be set in the target object. |
|
||||||
</description> |
|
||||||
<name>property</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Scope for var. |
|
||||||
</description> |
|
||||||
<name>scope</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Creates a URL with optional query parameters. |
|
||||||
</description> |
|
||||||
<name>url</name> |
|
||||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the exported scoped variable for the |
|
||||||
processed url. The type of the scoped variable is |
|
||||||
String. |
|
||||||
</description> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Scope for var. |
|
||||||
</description> |
|
||||||
<name>scope</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>false</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
URL to be processed. |
|
||||||
</description> |
|
||||||
<name>value</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
Name of the context when specifying a relative URL |
|
||||||
resource that belongs to a foreign context. |
|
||||||
</description> |
|
||||||
<name>context</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<description> |
|
||||||
Subtag of <choose> that includes its body if its |
|
||||||
condition evalutes to 'true' |
|
||||||
</description> |
|
||||||
<name>when</name> |
|
||||||
<tag-class>com.liferay.taglib.core.WhenTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<description> |
|
||||||
The test condition that determines whether or not the |
|
||||||
body content should be processed. |
|
||||||
</description> |
|
||||||
<name>test</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
<type>boolean</type> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
</taglib> |
|
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
@ -0,0 +1,17 @@ |
|||||||
|
package it.mwg.sismica.bo.shared.util; |
||||||
|
|
||||||
|
public class Generics { |
||||||
|
|
||||||
|
public static String capitalizeFull(String str) { |
||||||
|
|
||||||
|
int length = str.length(); |
||||||
|
StringBuilder sb = new StringBuilder(length); |
||||||
|
boolean capital = true; |
||||||
|
for (int i = 0; i < length; i++) { |
||||||
|
char c = str.charAt(i); |
||||||
|
sb.append(capital ? Character.toTitleCase(c) : Character.toLowerCase(c)); |
||||||
|
capital = (c == ' '); |
||||||
|
} |
||||||
|
return sb.toString(); |
||||||
|
} |
||||||
|
} |
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
Caricamento…
Reference in new issue