Salvatore La Manna
2 anni fa
112 ha cambiato i file con 1639 aggiunte e 11653 eliminazioni
@ -1,63 +1,5 @@
|
||||
package it.tref.liferay.portos.bo.portlet; |
||||
|
||||
import it.tref.liferay.portos.bo.model.Pagamento; |
||||
import it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil; |
||||
import it.tref.liferay.portos.bo.service.PagamentoServiceUtil; |
||||
|
||||
import javax.portlet.ActionRequest; |
||||
import javax.portlet.ActionResponse; |
||||
|
||||
import com.liferay.portal.kernel.exception.PortalException; |
||||
import com.liferay.portal.kernel.exception.SystemException; |
||||
import com.liferay.portal.kernel.log.Log; |
||||
import com.liferay.portal.kernel.log.LogFactoryUtil; |
||||
import com.liferay.portal.kernel.util.ParamUtil; |
||||
import com.liferay.portal.kernel.util.Validator; |
||||
import com.liferay.portal.service.ServiceContext; |
||||
import com.liferay.portal.service.ServiceContextFactory; |
||||
import com.liferay.portal.util.PortalUtil; |
||||
import com.liferay.util.bridges.mvc.MVCPortlet; |
||||
|
||||
public class PagamentiPendingPortlet extends MVCPortlet { |
||||
|
||||
private static final Log _log = LogFactoryUtil.getLog(PagamentiPendingPortlet.class); |
||||
|
||||
public void rigeneraPagamento(ActionRequest actionRequest, ActionResponse actionResponse) throws PortalException, |
||||
SystemException { |
||||
|
||||
try { |
||||
|
||||
ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); |
||||
long pagamentoId = ParamUtil.getLong(actionRequest, "pagamentoId"); |
||||
String url = ParamUtil.getString(actionRequest, "redirect"); |
||||
|
||||
Pagamento pagamento = PagamentoLocalServiceUtil.fetchPagamento(pagamentoId); |
||||
if (Validator.isNotNull(pagamento)) { |
||||
PagamentoServiceUtil.rigeneraPagamento(pagamentoId, pagamento.getCodiceFiscaleCommittente(), |
||||
pagamento.getMezzo(), url, serviceContext); |
||||
} |
||||
|
||||
} catch (Exception e) { |
||||
PortalUtil.copyRequestParameters(actionRequest, actionResponse); |
||||
_log.error("Error", e); |
||||
throw new SystemException(e); |
||||
} |
||||
} |
||||
|
||||
public void annullaPagamento(ActionRequest actionRequest, ActionResponse actionResponse) throws PortalException, |
||||
SystemException { |
||||
|
||||
try { |
||||
|
||||
ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); |
||||
long pagamentoId = ParamUtil.getLong(actionRequest, "pagamentoId"); |
||||
PagamentoServiceUtil.annullaPagamento(pagamentoId, serviceContext); |
||||
|
||||
} catch (Exception e) { |
||||
PortalUtil.copyRequestParameters(actionRequest, actionResponse); |
||||
_log.error("Error", e); |
||||
throw new SystemException(e); |
||||
} |
||||
} |
||||
|
||||
} |
||||
public class PagamentiPendingPortlet extends MVCPortlet {} |
||||
|
@ -1,81 +0,0 @@
|
||||
package it.tref.liferay.portos.bo.scheduler; |
||||
|
||||
import it.tref.liferay.portos.bo.model.Pagamento; |
||||
import it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil; |
||||
import it.tref.liferay.portos.bo.shared.util.PagamentoConstants; |
||||
import it.tref.liferay.portos.bo.util.PagamentiCommonUtil; |
||||
import it.tref.liferay.portos.bo.util.PagamentiUtil; |
||||
|
||||
import java.io.IOException; |
||||
import java.util.Calendar; |
||||
import java.util.Date; |
||||
import java.util.List; |
||||
import java.util.concurrent.locks.Lock; |
||||
import java.util.concurrent.locks.ReentrantLock; |
||||
|
||||
import com.liferay.portal.kernel.exception.PortalException; |
||||
import com.liferay.portal.kernel.exception.SystemException; |
||||
import com.liferay.portal.kernel.log.Log; |
||||
import com.liferay.portal.kernel.log.LogFactoryUtil; |
||||
import com.liferay.portal.kernel.messaging.Message; |
||||
import com.liferay.portal.kernel.messaging.MessageListener; |
||||
import com.liferay.portal.kernel.messaging.MessageListenerException; |
||||
import com.liferay.portal.model.Company; |
||||
import com.liferay.portal.service.CompanyLocalServiceUtil; |
||||
|
||||
public class VerificaPagamentiScheduler implements MessageListener { |
||||
|
||||
private static final Log _log = LogFactoryUtil.getLog(VerificaPagamentiScheduler.class); |
||||
|
||||
private static final Lock lock = new ReentrantLock(); |
||||
|
||||
private final int SIZE = 10; |
||||
|
||||
// parametro per recupero dei pagamenti IRIS avviati dopo XX minuti
|
||||
private final int DELAY_IN_MINUTE = 5; |
||||
|
||||
@Override |
||||
public void receive(Message message) throws MessageListenerException { |
||||
|
||||
if (lock.tryLock()) { |
||||
try { |
||||
for (Company company : CompanyLocalServiceUtil.getCompanies()) { |
||||
boolean irisDisabled = !PagamentiCommonUtil.irisIsEnable(company.getCompanyId()); |
||||
if (!irisDisabled) { |
||||
Calendar calendar = Calendar.getInstance(); |
||||
calendar.add(Calendar.MINUTE, -DELAY_IN_MINUTE); |
||||
calendar.set(Calendar.SECOND, 0); |
||||
calendar.set(Calendar.MILLISECOND, 0); |
||||
Date date = calendar.getTime(); |
||||
int count = PagamentoLocalServiceUtil.countByMezzo_Utilizzata_CreateDate( |
||||
PagamentoConstants.MEZZO_IRIS, PagamentoConstants.UTILIZZATA_IN_CORSO, date); |
||||
if (count > 0) { |
||||
for (int cursor = 0; cursor <= count; cursor += SIZE) { |
||||
List<Pagamento> pagamenti = PagamentoLocalServiceUtil |
||||
.findByMezzo_Utilizzata_CreateDate(PagamentoConstants.MEZZO_IRIS, |
||||
PagamentoConstants.UTILIZZATA_IN_CORSO, date, cursor, cursor |
||||
+ SIZE); |
||||
for (Pagamento pagamento : pagamenti) { |
||||
process(pagamento); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} catch (SystemException e) { |
||||
_log.error("Errore", e); |
||||
} finally { |
||||
lock.unlock(); |
||||
} |
||||
} |
||||
} |
||||
|
||||
private void process(Pagamento pagamento) { |
||||
|
||||
try { |
||||
PagamentiUtil.verificaPagamentoIRIS(pagamento); |
||||
} catch (IOException | PortalException | SystemException e) { |
||||
_log.error("Errore", e); |
||||
} |
||||
} |
||||
} |
@ -1,217 +0,0 @@
|
||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||
<%@page import="it.tref.liferay.portos.bo.shared.util.PagamentoConstants"%> |
||||
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> |
||||
<%@page import="java.util.Calendar"%> |
||||
<%@page import="java.util.Date"%> |
||||
<%@page import="java.util.UUID"%> |
||||
<%@page import="it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.model.Pagamento"%> |
||||
<%@ include file="/html/init.jsp" %> |
||||
|
||||
|
||||
|
||||
<% |
||||
long pagamentoId = ParamUtil.getLong(request, "pagamentoId"); |
||||
Pagamento pagamento = PagamentoLocalServiceUtil.getPagamento(pagamentoId); |
||||
String random = UUID.randomUUID().toString(); |
||||
%> |
||||
|
||||
<c:if test="<%= !pagamento.getOtf() %>"> |
||||
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15"> |
||||
<span><%= LanguageUtil.get(pageContext, "text-pagamento-iris") %></span> |
||||
</div> |
||||
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 padding_15 total-row"> |
||||
<%-- <c:set var="pagamentoOneriUrl" value="<%=pagamentoOneri.getUrl()%>"/> |
||||
<aui:button value="go-to-iris" cssClass="btn btn-primary" onClick="window.open('${pagamentoOneriUrl}','_blank')"/> --%> |
||||
<% |
||||
String buttonOtf = "btnOtf_"+random; |
||||
String contentOtf = "saveAndCloseDiv_otf_"+random; |
||||
%> |
||||
<liferay-ui:icon-menu icon="" showExpanded="<%=false %>" showWhenSingleIcon="<%=false%>"> |
||||
<liferay-ui:icon |
||||
id="<%= buttonOtf %>" |
||||
iconCssClass="fa fa-arrow-circle-o-right" |
||||
url="javascript:void(0)" |
||||
linkCssClass="btn btn-primary" |
||||
message="go-to-iris" |
||||
/> |
||||
</liferay-ui:icon-menu> |
||||
|
||||
<liferay-portlet:resourceURL id="confirmOtf" var="confirmOtfUrl"> |
||||
<liferay-portlet:param name="pagamentoId" value='<%= String.valueOf(pagamento.getPagamentoId()) %>'/> |
||||
</liferay-portlet:resourceURL> |
||||
<liferay-portlet:resourceURL id="resetOtf" var="resetOtfUrl"> |
||||
<liferay-portlet:param name="pagamentoId" value='<%= String.valueOf(pagamento.getPagamentoId()) %>'/> |
||||
</liferay-portlet:resourceURL> |
||||
<% |
||||
String functionOtf = |
||||
"var newWin = window.open('"+pagamento.getUrl()+"','_blank');"+ |
||||
"if(!newWin || newWin.closed || typeof newWin.closed=='undefined'){"+ |
||||
"A.io.request('"+resetOtfUrl+"',{"+ |
||||
"dataType: 'json',on: {"+ |
||||
"complete: function(event, id, obj) {"+ |
||||
"modalIrisPopupDisabled.show();"+ |
||||
"}"+ |
||||
"}"+ |
||||
"});"+ |
||||
"} else {"+ |
||||
"A.io.request('"+confirmOtfUrl+"',{"+ |
||||
"dataType: 'json',on: {"+ |
||||
"success: function(event, id, obj) {"+ |
||||
"var response = this.get('responseData');"+ |
||||
"if(response.isCompleted){"+ |
||||
"window.location.reload();"+ |
||||
"}"+ |
||||
"}"+ |
||||
"}"+ |
||||
"});"+ |
||||
"}"; |
||||
%> |
||||
|
||||
<div id='<%=renderResponse.getNamespace()+contentOtf %>' class="hide" > |
||||
<span><%= LanguageUtil.get(pageContext, "label-confirm-payment-otf") %></span> |
||||
</div> |
||||
<liferay-util:include page="/html/common/submit_window.jsp" servletContext="<%= application %>" > |
||||
<liferay-util:param name="contentDiv" value='<%= contentOtf %>'></liferay-util:param> |
||||
<liferay-util:param name="titolo" value="Attenzione"></liferay-util:param> |
||||
<liferay-util:param name="headerCss" value="text-center"></liferay-util:param> |
||||
<liferay-util:param name="buttonId" value="<%= buttonOtf %>"></liferay-util:param> |
||||
<liferay-util:param name="buttonConferma" value="Conferma"></liferay-util:param> |
||||
<liferay-util:param name="onClick" value="<%= functionOtf %>"></liferay-util:param> |
||||
<liferay-util:param name="width" value="500"></liferay-util:param> |
||||
<liferay-util:param name="height" value="280"></liferay-util:param> |
||||
</liferay-util:include> |
||||
|
||||
</div> |
||||
</c:if> |
||||
|
||||
<!-- DEVO AGIRE QUI PER IL BOTTONE --> |
||||
<c:if test="<%= pagamento.getOtf() %>"> |
||||
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15"> |
||||
<span><%= LanguageUtil.get(pageContext, "label-payment-otf-initialized") %></span> |
||||
</div> |
||||
|
||||
<c:if test="<%=pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_IN_CORSO) && pagamento.getOtfCreateDate() != null %>"> |
||||
|
||||
<% |
||||
|
||||
Calendar calDataPagamento = Calendar.getInstance(); |
||||
calDataPagamento.setTime(pagamento.getOtfCreateDate()); |
||||
calDataPagamento.add(Calendar.MINUTE, 15); |
||||
|
||||
Date dataPagamento = calDataPagamento.getTime(); |
||||
Date nowDate = new Date(); |
||||
|
||||
%> |
||||
|
||||
<c:if test="<%=nowDate.after(dataPagamento) %>"> |
||||
|
||||
<portlet:renderURL var="rigeneraPagamentoURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>" > |
||||
<portlet:param name="mvcPath" value="/html/fascicolofe/pagamenti/rigenera_pagamento.jsp"/> |
||||
<portlet:param name="pagamentoId" value='<%=pagamentoId + "" %>'/> |
||||
</portlet:renderURL> |
||||
|
||||
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 padding_15"> |
||||
|
||||
<span><%= LanguageUtil.get(pageContext, "label-payment-otf-rigeneration") %></span> |
||||
<% |
||||
String buttonId = "pagamentoButton_" + pagamento.getPagamentoId(); |
||||
%> |
||||
<aui:button type="button" id="<%=buttonId%>" value="text-rigenera-pagamento-admin" icon="icon-retweet" iconAlign="left" href="#" /> |
||||
</div> |
||||
|
||||
|
||||
<script type="text/javascript"> |
||||
|
||||
AUI().ready('aui-node', function(A) { |
||||
A.one('#pagamentoButton_<%=pagamento.getPagamentoId() %>').on('click', function(e) { |
||||
Liferay.Util.openWindow( |
||||
{ |
||||
dialog: { |
||||
modal: true, |
||||
cache: false, |
||||
centered: true, |
||||
resizable: false, |
||||
destroyOnClose: true, |
||||
width: 500, |
||||
height: 250 |
||||
}, |
||||
id: 'dialogRigeneraPagamentoId_<%=pagamento.getPagamentoId()%>', |
||||
title: 'Rigenera Pagamento', |
||||
uri: '<%=rigeneraPagamentoURL%>' |
||||
} |
||||
); |
||||
|
||||
}); |
||||
}); |
||||
|
||||
</script> |
||||
<aui:script> |
||||
Liferay.provide(window, 'refreshPortlet', function() { |
||||
var curPortlet = '#p_p_id<portlet:namespace/>'; |
||||
Liferay.Portlet.refresh(curPortlet); |
||||
}, |
||||
['aui-dialog','aui-dialog-iframe'] |
||||
); |
||||
</aui:script> |
||||
|
||||
<aui:script> |
||||
Liferay.provide(window, 'closePopup', function(dialogId) { |
||||
var A = AUI(); |
||||
var dialog = Liferay.Util.getWindow(dialogId); |
||||
dialog.destroy(); |
||||
|
||||
}, |
||||
['liferay-util-window'] |
||||
); |
||||
</aui:script> |
||||
|
||||
</c:if> |
||||
|
||||
</c:if> |
||||
|
||||
</c:if> |
||||
|
||||
|
||||
<div id='<%=renderResponse.getNamespace()+"help_message_iris_popup"%>' class="confirmModal"></div> |
||||
<% |
||||
String msgIris = LanguageUtil.get(pageContext, "help_message_iris_popup"); |
||||
%> |
||||
<aui:script > |
||||
var modalIrisPopupDisabled = null; |
||||
AUI().ready( |
||||
'aui-modal', |
||||
function(A) { |
||||
|
||||
modalIrisPopupDisabled = new A.Modal( |
||||
{ |
||||
bodyContent: '<%= msgIris %>', |
||||
centered: true, |
||||
destroyOnHide: false, |
||||
headerContent: '<h3 class="modal_title">Attenzione</h3>', |
||||
modal: true, |
||||
render: '#<portlet:namespace />help_message_iris_popup', |
||||
visible: false, |
||||
close: true, |
||||
resizable: { |
||||
handles: '' |
||||
} |
||||
}).render(); |
||||
|
||||
modalIrisPopupDisabled.addToolbar( |
||||
[ |
||||
{ |
||||
label: 'Chiudi', |
||||
on: { |
||||
click: function() { |
||||
modalIrisPopupDisabled.hide(); |
||||
window.location.reload(); |
||||
} |
||||
} |
||||
} |
||||
] |
||||
); |
||||
|
||||
} |
||||
); |
||||
</aui:script> |
@ -1,45 +0,0 @@
|
||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||
<%@page import="it.tref.liferay.portos.bo.shared.util.PagamentoConstants"%> |
||||
<%@page import="it.tref.liferay.portos.bo.util.PagamentiCommonUtil"%> |
||||
<%@page import="java.util.UUID"%> |
||||
<%@page import="it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.model.Pagamento"%> |
||||
<%@ include file="/html/init.jsp" %> |
||||
|
||||
<% |
||||
long companyId = company.getCompanyId(); |
||||
long pagamentoId = ParamUtil.getLong(request, "pagamentoId"); |
||||
String verifyPagamentoURL = ParamUtil.getString(request, "verifyPagamentoURL"); |
||||
Pagamento pagamento = PagamentoLocalServiceUtil.getPagamento(pagamentoId); |
||||
String random = UUID.randomUUID().toString(); |
||||
|
||||
String formSostituisciPagamento = "fmSostituisci_"+random; |
||||
String buttonSubmit = "buttonSubmit_"+random; |
||||
String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request); |
||||
%> |
||||
|
||||
<liferay-portlet:actionURL name="sostituisciPagamento" var="sostituisciPagamentoURL"> |
||||
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fascicolo_calcolo.jsp"/> |
||||
<liferay-portlet:param name="pagamentoId" value='<%= String.valueOf(pagamento.getPagamentoId()) %>'/> |
||||
<liferay-portlet:param name="codiceFiscaleCommittente" value='<%= pagamento.getCodiceFiscaleCommittente() %>'/> |
||||
<liferay-portlet:param name="url" value="<%= currentCompleteUrl %>"/> |
||||
<liferay-portlet:param name="redirect" value="<%=verifyPagamentoURL %>"/> |
||||
</liferay-portlet:actionURL> |
||||
<aui:form name='<%= formSostituisciPagamento %>' method="post" action="<%= sostituisciPagamentoURL %>"> |
||||
<c:if test="<%= PagamentiCommonUtil.irisIsEnable(companyId)%>"> |
||||
<aui:input type="hidden" name="mezzo" value="<%= PagamentoConstants.MEZZO_IRIS %>" /> |
||||
</c:if> |
||||
<c:if test="<%= !PagamentiCommonUtil.irisIsEnable(companyId)%>"> |
||||
<aui:input type="hidden" name="mezzo" value="<%= PagamentoConstants.MEZZO_MANUALE %>" /> |
||||
</c:if> |
||||
<aui:button id='<%= renderResponse.getNamespace()+buttonSubmit %>' type="submit" value="text-rigenera-pagamento" icon="icon-retweet" iconAlign="left"></aui:button> |
||||
<%-- <aui:script use="aui-base"> |
||||
A.one('<%= "#"+renderResponse.getNamespace()+buttonSubmit %>').on( |
||||
'click', |
||||
function(event) { |
||||
event.preventDefault(); |
||||
submitForm('#<%= renderResponse.getNamespace()+formSostituisciPagamento %>'); |
||||
} |
||||
); |
||||
</aui:script> --%> |
||||
</aui:form> |
@ -1,73 +0,0 @@
|
||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||
<%@ include file="/html/init.jsp" %> |
||||
|
||||
<% |
||||
long pagamentoId = ParamUtil.getLong(request, "pagamentoId", 0L); |
||||
String dialogId = "dialogRigeneraPagamentoId_" + pagamentoId; |
||||
String portletNameApp = "#p_p_id_"+ themeDisplay.getPortletDisplay().getId() +"_"; |
||||
%> |
||||
|
||||
<liferay-portlet:actionURL name="rigeneraPagamento" var="rigeneraPagamentoURL"> |
||||
<portlet:param name="pagamentoId" value='<%=pagamentoId + "" %>'/> |
||||
</liferay-portlet:actionURL> |
||||
|
||||
|
||||
<aui:form action="<%=rigeneraPagamentoURL %>" method="POST" onSubmit='<%=renderResponse.getNamespace()+"closePopupRefresh()"%>'> |
||||
<div class="container-fluid"> |
||||
<div class="row"> |
||||
<div class="col-sm-12 col-md-12"> |
||||
<span style="font-weight: bold;font-size:18px;">Si è sicuri di voler rigenerare il pagamento? Questa azione sarà irreversibile!</span> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="row" style="margin-top:20px;"> |
||||
<div class="col-sm-6 col-md-6" style="width:50%;float: left;"> |
||||
<aui:button |
||||
name="submitFormRigeneraPagamentoChiudi" |
||||
type="button" cssClass="btn btn-info" value="Chiudi" |
||||
style=" font-size:12px;" |
||||
onClick='<%=renderResponse.getNamespace()+"closePopup()"%>' |
||||
/> |
||||
</div> |
||||
<div class="col-sm-6 col-md-6" style="width:50%;float: left;"> |
||||
<aui:button name="submitFormRigeneraPagamento" |
||||
type="submit" cssClass="btn btn-danger" value="Rigenera Pagamento" |
||||
style=" font-size:12px;" |
||||
/> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
|
||||
</div> |
||||
|
||||
</aui:form> |
||||
|
||||
|
||||
|
||||
<aui:script use="aui-base"> |
||||
Liferay.provide( |
||||
window, |
||||
'<portlet:namespace/>closePopup', |
||||
function() { |
||||
|
||||
Liferay.Util.getOpener().closePopup('<%= dialogId %>'); |
||||
|
||||
}, |
||||
['aui-base','liferay-util-window'] |
||||
); |
||||
</aui:script> |
||||
|
||||
<aui:script use="aui-base"> |
||||
Liferay.provide( |
||||
window, |
||||
'<portlet:namespace/>closePopupRefresh', |
||||
function() { |
||||
Liferay.Util.getOpener().closePopup('<%= dialogId %>'); |
||||
Liferay.Util.getOpener().refreshPortlet(); |
||||
}, |
||||
['aui-base','liferay-util-window'] |
||||
); |
||||
</aui:script> |
||||
|
||||
|
@ -1,166 +1,124 @@
|
||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||
<%@page import="com.liferay.portal.kernel.workflow.WorkflowConstants"%> |
||||
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.util.SezioniUtil"%> |
||||
<%@page import="com.liferay.portal.kernel.util.UniqueList"%> |
||||
<%@page import="it.tref.liferay.portos.bo.shared.util.FirmeUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.shared.bean.FirmeBean"%> |
||||
<%@page import="it.tref.liferay.portos.bo.model.Soggetto"%> |
||||
<%@page import="it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil"%> |
||||
<%@page import="java.util.ArrayList"%> |
||||
<%@page import="it.tref.liferay.portos.bo.model.Asseverazione"%> |
||||
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.util.AsseverazioniUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.service.AsseverazioneLocalServiceUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.util.ValidazionePraticaUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.service.DettPraticaServiceUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.model.DettPratica"%> |
||||
<%@page import="it.tref.liferay.portos.bo.service.DocPraticaLocalServiceUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.model.DocPratica"%> |
||||
<%@page import="it.tref.liferay.portos.bo.shared.util.DocumentiPraticaUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.model.IntPratica"%> |
||||
<%@page import="it.tref.liferay.portos.bo.service.DettPraticaServiceUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%> |
||||
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> |
||||
<%@page import="it.tref.liferay.portos.bo.util.SezioniUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.util.ValidazionePraticaUtil"%> |
||||
<%@ include file="/html/fascicolofe/init.jsp" %> |
||||
|
||||
<% |
||||
long intPraticaId = ParamUtil.getLong(request, "intPraticaId",0l); |
||||
long dettPraticaId = ParamUtil.getLong(request, "dettPraticaId",0l); |
||||
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); |
||||
DettPratica dettPratica = DettPraticaServiceUtil.getDettPratica(dettPraticaId); |
||||
|
||||
if(dettPratica==null){ |
||||
dettPratica = DettPraticaServiceUtil.getLastEditableByIntPratica(intPraticaId); |
||||
if(dettPratica==null){ |
||||
dettPratica = DettPraticaServiceUtil.getLastCompletedByIntPratica(intPraticaId); |
||||
} |
||||
long intPraticaId = ParamUtil.getLong(request, "intPraticaId"); |
||||
long dettPraticaId = ParamUtil.getLong(request, "dettPraticaId"); |
||||
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); |
||||
DettPratica dettPratica = DettPraticaServiceUtil.fetchDettPratica(dettPraticaId); |
||||
if (dettPratica == null) { |
||||
dettPratica = DettPraticaServiceUtil.getLastEditableByIntPratica(intPraticaId); |
||||
if (dettPratica == null) { |
||||
dettPratica = DettPraticaServiceUtil.getLastCompletedByIntPratica(intPraticaId); |
||||
} |
||||
} |
||||
%> |
||||
|
||||
<liferay-portlet:renderURL var="verifyURL" windowState="<%=LiferayWindowState.POP_UP.toString() %>"> |
||||
<liferay-portlet:renderURL var="verifyURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>"> |
||||
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_cambio_soggetti.jsp"/> |
||||
<liferay-portlet:param name="intPraticaId" value="<%=String.valueOf(intPraticaId)%>" /> |
||||
<liferay-portlet:param name="dettPraticaId" value="<%=String.valueOf(dettPraticaId)%>" /> |
||||
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>" /> |
||||
<liferay-portlet:param name="dettPraticaId" value="<%= String.valueOf(dettPraticaId) %>" /> |
||||
</liferay-portlet:renderURL> |
||||
|
||||
<liferay-portlet:renderURL var="viewVerifyOkURL" > |
||||
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/navigator/common/verify_ok.jsp"/> |
||||
<liferay-portlet:param name="dettPraticaId" value="<%=String.valueOf(dettPraticaId)%>" /> |
||||
<liferay-portlet:param name="dettPraticaId" value="<%= String.valueOf(dettPraticaId) %>" /> |
||||
<liferay-portlet:param name="label" value="cambio-soggetti-ok" /> |
||||
</liferay-portlet:renderURL> |
||||
|
||||
<liferay-portlet:actionURL name="completeCambioSoggetti" var="completeCambioSoggettiURL"> |
||||
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_cambio_soggetti.jsp"/> |
||||
<liferay-portlet:param name="dettPraticaId" value="<%=String.valueOf(dettPraticaId)%>" /> |
||||
<liferay-portlet:param name="dettPraticaId" value="<%= String.valueOf(dettPraticaId) %>" /> |
||||
<liferay-portlet:param name="redirect" value="<%= viewVerifyOkURL %>" /> |
||||
</liferay-portlet:actionURL> |
||||
|
||||
<liferay-util:include page="/html/common/help_message.jsp" servletContext="<%= application %>"> |
||||
<liferay-util:param name="message" value="help_message_cambio_soggetti"></liferay-util:param> |
||||
</liferay-util:include> |
||||
|
||||
<liferay-util:include page="/html/common/help_message.jsp" servletContext="<%= application %>"> |
||||
<liferay-util:param name="message" value="help_message_cambio_soggetti" /> |
||||
</liferay-util:include> |
||||
<div class="container-fluid clearfix"> |
||||
<div class="container-btn-fascicolo pull-right" > |
||||
<liferay-ui:icon-menu showWhenSingleIcon="<%= false %>" extended="false" showExpanded="true" cssClass="inline_toolbar" > |
||||
|
||||
<liferay-ui:icon |
||||
iconCssClass="fa fa-refresh" |
||||
message="refresh" |
||||
url="<%=verifyURL %>" |
||||
linkCssClass="btn" |
||||
/> |
||||
|
||||
<liferay-ui:icon |
||||
linkCssClass='<%= ValidazionePraticaUtil.canCompleteUserEditing(dettPraticaId) ?"btn btn-primary":"btn btn-primary disabled" %>' |
||||
iconCssClass="fa fa-check" |
||||
message="Concludi Cambio Soggetti" |
||||
url="<%= completeCambioSoggettiURL %>" |
||||
/> |
||||
|
||||
<liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true" |
||||
cssClass="inline_toolbar"> |
||||
<liferay-ui:icon iconCssClass="fa fa-refresh" message="refresh" url="<%= verifyURL %>" |
||||
linkCssClass="btn" /> |
||||
<liferay-ui:icon linkCssClass='<%= ValidazionePraticaUtil.canCompleteUserEditing(dettPraticaId) |
||||
? "btn btn-primary" : "btn btn-primary disabled" %>' iconCssClass="fa fa-check" |
||||
message="Concludi Cambio Soggetti" url="<%= completeCambioSoggettiURL %>" /> |
||||
</liferay-ui:icon-menu> |
||||
</div> |
||||
</div> |
||||
<div class="container-fluid clearfix compilazione-domanda" id="<portlet:namespace/>_section-completed"> |
||||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 asseverazioni tab-error"> |
||||
<div class="col-xs-12 asseverazioni tab-error"> |
||||
<div class="row asseverazioni-header"> |
||||
|
||||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> |
||||
<div class="col-xs-12"> |
||||
<div class="row" style="padding-top: 10px;"> |
||||
<div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"> |
||||
<div class="col-xs-8"> |
||||
Sezione |
||||
</div> |
||||
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 asserazioni-header-title"> |
||||
<div class="col-xs-2 asserazioni-header-title"> |
||||
Completata |
||||
</div> |
||||
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2"></div> |
||||
<div class="col-xs-2"></div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<% |
||||
<% |
||||
String section = SezioniUtil.SEZIONE_ANAGRAFE_SOGGETTI; |
||||
%> |
||||
%> |
||||
<div class="row asseverazioni-title"> |
||||
<div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"> |
||||
<div class="col-xs-8"> |
||||
<%= LanguageUtil.get(pageContext, "sezione-" + section) %> |
||||
</div> |
||||
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center"> |
||||
<div class="col-xs-2 text-center"> |
||||
<% |
||||
boolean isSectionCompleted = ValidazionePraticaUtil.notCompletedSection(section, dettPraticaId).isEmpty(); |
||||
StringBuilder tooltipSection = new StringBuilder(); |
||||
if(!isSectionCompleted){ |
||||
List<String> notCompleted = ValidazionePraticaUtil.notCompletedSection(section, dettPraticaId); |
||||
if(!notCompleted.isEmpty()){ |
||||
tooltipSection.append("<ul class='list-body-modal'>"); |
||||
for(String incomplete : notCompleted){ |
||||
tooltipSection.append("<li class='item-body-modal'>"+LanguageUtil.get(pageContext, incomplete)+"</li>"); |
||||
} |
||||
tooltipSection.append("</ul>"); |
||||
} |
||||
List<String> notCompleted = ValidazionePraticaUtil.notCompletedSection(section, dettPraticaId); |
||||
StringBuilder tooltipSection = new StringBuilder(); |
||||
if (!notCompleted.isEmpty()) { |
||||
tooltipSection.append("<ul class='list-body-modal'>"); |
||||
for (String incomplete : notCompleted) { |
||||
tooltipSection.append("<li class='item-body-modal'>" |
||||
+ LanguageUtil.get(pageContext, incomplete) + "</li>"); |
||||
} |
||||
tooltipSection.append("</ul>"); |
||||
} |
||||
%> |
||||
<span class='icon-asseverazioni fa <%= isSectionCompleted ? "fa-check txt-green" : "fa-close txt-red"%>'> |
||||
<span class='icon-asseverazioni fa <%= notCompleted.isEmpty() ? "fa-check txt-green" |
||||
: "fa-close txt-red"%>'> |
||||
</span> |
||||
</div> |
||||
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center"> |
||||
<div class="col-xs-2 text-center"> |
||||
<c:if test="<%= tooltipSection.length() > 0 %>"> |
||||
<button id="<portlet:namespace /><%= section %>_button" class="btn btn-primary">Dettagli</button> |
||||
<div id="<portlet:namespace /><%= section %>_div" class="hide"><%= tooltipSection.toString() %></div> |
||||
<div id="<portlet:namespace /><%= section %>_div" |
||||
class="hide"><%= tooltipSection.toString() %></div> |
||||
<% |
||||
String title = "Riepilogo Errori Sezione "+LanguageUtil.get(pageContext, "sezione-"+section); |
||||
String buttonId = section+"_button"; |
||||
String contentId = section+"_div"; |
||||
String title = "Riepilogo Errori Sezione " + LanguageUtil.get(pageContext, "sezione-" + section); |
||||
String buttonId = section + "_button"; |
||||
String contentId = section + "_div"; |
||||
%> |
||||
<liferay-util:include page="/html/common/confirm_window.jsp" servletContext="<%= application %>" > |
||||
<liferay-util:param name="titolo" value="<%= title%>"></liferay-util:param> |
||||
<liferay-util:param name="buttonId" value="<%=buttonId%>"></liferay-util:param> |
||||
<liferay-util:param name="contentDiv" value="<%=contentId%>"></liferay-util:param> |
||||
<liferay-util:param name="width" value="750"></liferay-util:param> |
||||
<liferay-util:param name="externalForm" value="true"></liferay-util:param> |
||||
<liferay-util:param name="titolo" value="<%= title %>" /> |
||||
<liferay-util:param name="buttonId" value="<%= buttonId %>" /> |
||||
<liferay-util:param name="contentDiv" value="<%= contentId %>" /> |
||||
<liferay-util:param name="width" value="750" /> |
||||
<liferay-util:param name="externalForm" value="true" /> |
||||
</liferay-util:include> |
||||
</c:if> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<script type="text/javascript"> |
||||
YUI().use( |
||||
'aui-tooltip', |
||||
function(Y) { |
||||
new Y.TooltipDelegate( |
||||
{ |
||||
trigger: '.tooltip-info', |
||||
position: 'top', |
||||
cssClass: 'tooltip-help', |
||||
html: true, |
||||
opacity: 1 |
||||
} |
||||
); |
||||
} |
||||
); |
||||
YUI().use('aui-tooltip', function (Y) { |
||||
new Y.TooltipDelegate({ |
||||
trigger: '.tooltip-info', |
||||
position: 'top', |
||||
cssClass: 'tooltip-help', |
||||
html: true, |
||||
opacity: 1, |
||||
}); |
||||
}); |
||||
</script> |
||||
|
||||
<aui:script use="aui-base"> |
||||
window.parent.Liferay.fire('verifyPopup-ready'); |
||||
</aui:script> |
@ -1,312 +0,0 @@
|
||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||
<%@page import="it.tref.liferay.portos.bo.model.FineLavori"%> |
||||
<%@page import="it.tref.liferay.portos.bo.model.Pagamento"%> |
||||
<%@page import="it.tref.liferay.portos.bo.service.FineLavoriServiceUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.service.PagamentoLocalServiceUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.service.SoggettoLocalServiceUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.shared.util.PagamentoConstants"%> |
||||
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoIntegrazioneUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.shared.util.TipoSoggettoUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.util.PagamentiCommonUtil"%> |
||||
<%@page import="java.math.BigDecimal"%> |
||||
<%@page import="java.text.NumberFormat"%> |
||||
<%@ include file="/html/fascicolofe/init.jsp" %> |
||||
<% |
||||
long intPraticaId = ParamUtil.getLong(request, "intPraticaId", 0L); |
||||
long fineLavoriId = ParamUtil.getLong(request, "fineLavoriId", 0L); |
||||
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); |
||||
FineLavori fineLavori = FineLavoriServiceUtil.getFineLavori(fineLavoriId); |
||||
if (fineLavori == null) { |
||||
fineLavori = FineLavoriServiceUtil.getLastEditable(intPraticaId); |
||||
} |
||||
String formName = "fmpaga"; |
||||
String buttonId = "fmbutton"; |
||||
long companyId = company.getCompanyId(); |
||||
boolean disabledInput = Validator.isNotNull(fineLavori.getPagamentoId()); |
||||
boolean pagamentoIsPagato = false; |
||||
boolean pagamentoIsPending = false; |
||||
boolean pagamentoNonPagabile = false; |
||||
boolean pagamentoRifiutato = false; |
||||
boolean pagamentoAnnullato = false; |
||||
Pagamento pagamento = null; |
||||
if (Validator.isNotNull(fineLavori.getPagamentoId())) { |
||||
pagamento = PagamentoLocalServiceUtil.getPagamento(fineLavori.getPagamentoId()); |
||||
pagamentoIsPagato = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_PAGATA); |
||||
pagamentoIsPending = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_IN_CORSO); |
||||
pagamentoNonPagabile = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_NON_PAGABILE); |
||||
pagamentoRifiutato = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_RIFIUTATA); |
||||
pagamentoAnnullato = pagamento.getUtilizzata().equals(PagamentoConstants.UTILIZZATA_ANNULLATO); |
||||
} |
||||
String formRicevutaPagamento = "fmRicevuta"; |
||||
String currentCompleteUrl = PortalUtil.getCurrentCompleteURL(request); |
||||
%> |
||||
<liferay-portlet:renderURL var="verifyURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>"> |
||||
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fine-lavori.jsp"/> |
||||
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/> |
||||
<liferay-portlet:param name="fineLavoriId" value="<%= String.valueOf(fineLavoriId) %>" /> |
||||
</liferay-portlet:renderURL> |
||||
<liferay-portlet:renderURL var="verifyPagamentoURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>"> |
||||
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fine-lavori_calcolo.jsp"/> |
||||
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/> |
||||
<liferay-portlet:param name="fineLavoriId" value="<%= String.valueOf(fineLavoriId) %>" /> |
||||
</liferay-portlet:renderURL> |
||||
<div class="container-fluid clearfix root-calc"> |
||||
<h2 class="title-fascicolo pull-left">Calcolo importo</h2> |
||||
<div class="pull-right" > |
||||
<liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true" |
||||
cssClass="inline_toolbar" > |
||||
<c:if test="<%= !PagamentiCommonUtil.pagamentiCompleted(fineLavori.getFineLavoriId(), |
||||
FineLavori.class.getName()) %>"> |
||||
<liferay-ui:icon iconCssClass="fa fa-chevron-left" message="go-back" url="<%= verifyURL %>" |
||||
linkCssClass="btn" /> |
||||
</c:if> |
||||
</liferay-ui:icon-menu> |
||||
</div> |
||||
</div> |
||||
<liferay-util:include page="/html/common/help_message.jsp" servletContext="<%= application %>"> |
||||
<liferay-util:param name="message" value="help_message_calcolo_importo" /> |
||||
</liferay-util:include> |
||||
<div class="container-fluid"> |
||||
<div class="row header-calcolo"> |
||||
<div class="col-xs-12 padding_15"> |
||||
<%= intPratica.getTitle(false) %> |
||||
<strong> |
||||
<%= Validator.isNull(intPratica) ? StringPool.BLANK |
||||
: " - " + LanguageUtil.get(pageContext, "tipo-pratica-" + intPratica.getTipoPratica()) %> |
||||
</strong> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<c:if test="<%= Validator.isNotNull(pagamento) && !fineLavori.getNormEsenteBollo() %>"> |
||||
<div class="container-fluid clearfix calcolo-importo"> |
||||
<div class="row"> |
||||
<div class="col-xs-12 padding_15"> |
||||
<div class="module-group"> |
||||
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" |
||||
title="label-pagamento-bolli"> |
||||
<div class="container-fluid"> |
||||
<div class="row"> |
||||
<c:if test="<%= pagamentoIsPagato || pagamentoIsPending %>"> |
||||
<c:if test="<%= pagamentoIsPagato %>"> |
||||
<div class="col-xs-12 padding_15"><span> |
||||
<%= LanguageUtil.get(pageContext, "text-pagamento-completato-bolli") %> |
||||
</span></div> |
||||
</c:if> |
||||
<c:if test="<%= pagamentoIsPending %>"> |
||||
<liferay-portlet:actionURL name="allegatoFilePagamento" |
||||
var="allegatoFilePagamentoURL"> |
||||
<liferay-portlet:param name="mvcPath" |
||||
value="/html/fascicolofe/verify_fine-lavori_calcolo.jsp" /> |
||||
<liferay-portlet:param name="intPraticaId" |
||||
value="<%= String.valueOf(intPraticaId) %>"/> |
||||
<liferay-portlet:param name="fineLavoriId" |
||||
value="<%= String.valueOf(fineLavoriId) %>" /> |
||||
<liferay-portlet:param name="pagamentoId" |
||||
value='<%= String.valueOf(pagamento.getPagamentoId()) %>'/> |
||||
<liferay-portlet:param name="redirect" value="<%=verifyPagamentoURL %>"/> |
||||
</liferay-portlet:actionURL> |
||||
<c:if test="<%= !PagamentiCommonUtil.irisIsEnable(companyId) |
||||
|| pagamento.getMezzo().equalsIgnoreCase( |
||||
PagamentoConstants.MEZZO_MANUALE) %>"> |
||||
<div class="col-xs-10 padding_15"><span> |
||||
<%= LanguageUtil.get(pageContext, "text-pagamento-manuale-bolli") %> |
||||
</span> |
||||
<c:if test="<%= (pagamentoIsPending && pagamento.getMezzo() |
||||
.equals(PagamentoConstants.MEZZO_MANUALE) && |
||||
PagamentiCommonUtil.irisIsEnable(companyId) ) %>"> |
||||
<liferay-util:include servletContext="<%= application %>" |
||||
page="/html/fascicolofe/pagamenti/replace_payment.jsp" > |
||||
<liferay-util:param name="pagamentoId" |
||||
value='<%= String.valueOf(pagamento.getPagamentoId()) %>' /> |
||||
<liferay-util:param name="verifyPagamentoURL" |
||||
value='<%= verifyPagamentoURL %>' /> |
||||
</liferay-util:include> |
||||
</c:if> |
||||
</div> |
||||
<div class="col-xs-2 padding_15 total-row"> |
||||
<aui:form name="<%= formRicevutaPagamento %>" |
||||
enctype="multipart/form-data" method="post" |
||||
action="<%= allegatoFilePagamentoURL %>"> |
||||
<div> |
||||
<aui:input type="file" name="docFile" |
||||
label="Ricevuta Pagamento"> |
||||
<aui:validator name="required" |
||||
errorMessage="File Richiesto" /> |
||||
<aui:validator name="acceptFiles" |
||||
errorMessage="Errore... Formati supportati: pdf,p7m">'p7m,pdf'</aui:validator> |
||||
</aui:input> |
||||
</div> |
||||
<aui:button-row> |
||||
<aui:button type="submit" value="upload-file" /> |
||||
</aui:button-row> |
||||
</aui:form> |
||||
</div> |
||||
</c:if> |
||||
<c:if test="<%= PagamentiCommonUtil.irisIsEnable(companyId) |
||||
&& pagamento.getMezzo().equalsIgnoreCase(PagamentoConstants.MEZZO_IRIS) |
||||
&& Validator.isNotNull(pagamento.getUrl())%>"> |
||||
<liferay-util:include page="/html/fascicolofe/pagamenti/confirm_iris.jsp" |
||||
servletContext="<%= application %>" > |
||||
<liferay-util:param name="pagamentoId" |
||||
value='<%= String.valueOf(pagamento.getPagamentoId()) %>' /> |
||||
</liferay-util:include> |
||||
</c:if> |
||||
</c:if> |
||||
</c:if> |
||||
<c:if test="<%= pagamentoNonPagabile || pagamentoRifiutato %>"> |
||||
<c:if test="<%= pagamentoNonPagabile %>"> |
||||
<div class="col-xs-10 padding_15"> |
||||
<span><%= LanguageUtil.get(pageContext, |
||||
"text-pagamento-nonpagabile-bolli") %></span> |
||||
</div> |
||||
</c:if> |
||||
<c:if test="<%= pagamentoRifiutato %>"> |
||||
<div class="col-xs-10 padding_15"> |
||||
<span><%= LanguageUtil.get(pageContext, |
||||
"text-pagamento-rifiutato-bolli") %></span> |
||||
</div> |
||||
</c:if> |
||||
<div class="col-xs-2 padding_15"> |
||||
<liferay-util:include page="/html/fascicolofe/pagamenti/replace_payment.jsp" |
||||
servletContext="<%= application %>" > |
||||
<liferay-util:param name="pagamentoId" |
||||
value='<%= String.valueOf(pagamento.getPagamentoId()) %>' /> |
||||
<liferay-util:param name="verifyPagamentoURL" |
||||
value='<%= verifyPagamentoURL %>' /> |
||||
</liferay-util:include> |
||||
</div> |
||||
</c:if> |
||||
<c:if test="<%= pagamentoAnnullato %>"> |
||||
<span><%= LanguageUtil.get(pageContext, "text-pagamento-annullato-bolli") %></span> |
||||
</c:if> |
||||
</div> |
||||
</div> |
||||
</liferay-ui:panel> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</c:if> |
||||
<c:if test="<%= PagamentiCommonUtil.pagamentiCompleted(fineLavori.getFineLavoriId(), FineLavori.class.getName()) %>"> |
||||
<liferay-util:include page="/html/fascicolofe/completed_fascicolo.jsp" servletContext="<%= application %>" > |
||||
<liferay-util:param name="classPk" value="<%=String.valueOf(fineLavori.getFineLavoriId())%>" /> |
||||
<liferay-util:param name="className" value="<%=FineLavori.class.getName()%>" /> |
||||
</liferay-util:include> |
||||
<div class="separator" style="margin: 30px 0 40px 0"></div> |
||||
</c:if> |
||||
<c:if test="<%= PagamentiCommonUtil.pagamentiInitialized(fineLavori.getFineLavoriId(), FineLavori.class.getName()) %>"> |
||||
<h2 class="pagamento_riepilogo text-center txt-bold">Riepilogo</h2> |
||||
</c:if> |
||||
<liferay-portlet:actionURL name="pagaInvia" var="pagaInviaURL" > |
||||
<liferay-portlet:param name="mvcPath" value="/html/fascicolofe/verify_fine-lavori_calcolo.jsp"/> |
||||
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/> |
||||
<liferay-portlet:param name="fineLavoriId" value="<%= String.valueOf(fineLavoriId) %>" /> |
||||
<liferay-portlet:param name="url" value="<%= currentCompleteUrl %>"/> |
||||
<liferay-portlet:param name="redirect" value="<%=verifyPagamentoURL %>"/> |
||||
</liferay-portlet:actionURL> |
||||
<aui:form name="<%= formName %>" enctype="multipart/form-data" method="post" action="<%= pagaInviaURL %>"> |
||||
<div class="container-fluid clearfix calcolo-importo"> |
||||
<div class="row"> |
||||
<div class="col-sm-6 col-xs-12"> |
||||
<aui:select label="gc-soggetto-02" name="codiceFiscaleCommittente" showEmptyOption="true" |
||||
required="true" showRequiredLabel="true" disabled="<%= disabledInput %>" > |
||||
<% |
||||
List<Soggetto> committenti = SoggettoLocalServiceUtil.getValidByIntPratica_TipologiaSoggetto( |
||||
intPraticaId, TipoSoggettoUtil.COMMITTENTE); |
||||
for (Soggetto committente : committenti) { |
||||
%> |
||||
<aui:option label='<%= committente.getDescrizioneCompleta() %>' |
||||
value="<%= committente.getCodiceFiscale() %>" |
||||
selected="<%= (committenti.size() == 1) || (Validator.isNotNull(pagamento) |
||||
&& committente.getCodiceFiscale().equalsIgnoreCase( |
||||
pagamento.getCodiceFiscaleCommittente())) %>" /> |
||||
<% |
||||
} |
||||
%> |
||||
</aui:select> |
||||
</div> |
||||
</div> |
||||
<div class="row"> |
||||
<div class="col-xs-12 padding_15"> |
||||
<div class="module-group"> |
||||
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" |
||||
title="label-pagamenti-spese-bolli"> |
||||
<div class="container-fluid"> |
||||
<div class="row"> |
||||
<div class="col-xs-12 container-norm_esente_bollo"> |
||||
<aui:input cssClass="refresh-input" disabled="true" |
||||
name="normEsenteBollo" label="norm-esente-bollo" |
||||
bean="<%= fineLavori %>" model="<%= FineLavori.class %>" /> |
||||
</div> |
||||
<div class="col-xs-10 padding_15"> |
||||
<div class="row container-price__row"> |
||||
<c:if test="<%= fineLavori.isNormEsenteBollo() %>"> |
||||
<ol style="list-style-type: none; width:100%"> |
||||
<li> |
||||
<strong>Esente Bollo</strong> |
||||
</li> |
||||
</ol> |
||||
</c:if> |
||||
</div> |
||||
</div> |
||||
<div class="col-xs-2 padding_15 total-row"> |
||||
<div class="total-row__label">Totale importo</div> |
||||
<% |
||||
BigDecimal importoBollo = null; |
||||
if (Validator.isNotNull(pagamento)) { |
||||
importoBollo = new BigDecimal(pagamento.getImporto()); |
||||
} else { |
||||
importoBollo = fineLavori.isNormEsenteBollo() ? new BigDecimal("0.00") |
||||
: PagamentiCommonUtil.getImportoBolli(companyId, |
||||
fineLavori.getFineLavoriId(), FineLavori.class.getName(), |
||||
TipoIntegrazioneUtil.FINE_LAVORI); |
||||
} |
||||
%> |
||||
<div class="total-row__value"><strong> <%= NumberFormat.getCurrencyInstance( |
||||
LocaleUtil.getSiteDefault()).format(importoBollo) %></strong></div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</liferay-ui:panel> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<c:if test="<%= Validator.isNull(pagamento) %>"> |
||||
<div class="row"> |
||||
<div class="col-md-12"> |
||||
<div class="pull-right"> |
||||
<liferay-ui:icon-menu showWhenSingleIcon="false" extended="false" showExpanded="true" |
||||
cssClass="inline_toolbar" > |
||||
<liferay-ui:icon iconCssClass="fa fa-close" message="cancel" url="<%= verifyURL %>" |
||||
linkCssClass="btn" /> |
||||
<liferay-ui:icon id="<%=buttonId %>" iconCssClass="fa fa-credit-card" |
||||
message="Paga e invia" url="#" linkCssClass="btn btn-primary" /> |
||||
</liferay-ui:icon-menu> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div id='<%= renderResponse.getNamespace() + "saveAndCloseDiv" %>' class="hide" > |
||||
<% |
||||
String paymentConfirmText = StringPool.BLANK; |
||||
if (PagamentiCommonUtil.irisIsEnable(companyId)) { |
||||
paymentConfirmText = LanguageUtil.get(pageContext, "label-confirm-payment-iris"); |
||||
} else { |
||||
paymentConfirmText = LanguageUtil.get(pageContext, "label-confirm-payment-manual"); |
||||
} |
||||
%> |
||||
<span style="min-height:70px"><%= paymentConfirmText %></span> |
||||
</div> |
||||
<liferay-util:include page="/html/common/submit_window.jsp" servletContext="<%= application %>" > |
||||
<liferay-util:param name="formName" value="<%= formName %>" /> |
||||
<liferay-util:param name="titolo" value="Attenzione" /> |
||||
<liferay-util:param name="buttonId" value="<%= buttonId %>" /> |
||||
<liferay-util:param name="buttonConferma" value="Conferma" /> |
||||
<liferay-util:param name="width" value="500" /> |
||||
<liferay-util:param name="height" value="280" /> |
||||
<liferay-util:param name="externalForm" value="true" /> |
||||
</liferay-util:include> |
||||
</c:if> |
||||
</div> |
||||
</aui:form> |
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<classpath> |
||||
<classpathentry kind="src" path="docroot/WEB-INF/src"/> |
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.7.0_80"> |
||||
<attributes> |
||||
<attribute name="owner.project.facets" value="java"/> |
||||
</attributes> |
||||
</classpathentry> |
||||
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/com.liferay.ide.eclipse.server.tomcat.runtimeClasspathProvider/Liferay v6.2 CE (Tomcat 7)"> |
||||
<attributes> |
||||
<attribute name="owner.project.facets" value="jst.web"/> |
||||
</attributes> |
||||
</classpathentry> |
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/> |
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/> |
||||
<classpathentry kind="con" path="com.liferay.ide.eclipse.server.plugin.container/portlet"> |
||||
<attributes> |
||||
<attribute name="org.eclipse.jst.component.nondependency" value=""/> |
||||
</attributes> |
||||
</classpathentry> |
||||
<classpathentry kind="output" path="docroot/WEB-INF/classes"/> |
||||
</classpath> |
@ -1,36 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<projectDescription> |
||||
<name>portos-mapit-plugin-portlet</name> |
||||
<comment></comment> |
||||
<projects> |
||||
</projects> |
||||
<buildSpec> |
||||
<buildCommand> |
||||
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name> |
||||
<arguments> |
||||
</arguments> |
||||
</buildCommand> |
||||
<buildCommand> |
||||
<name>org.eclipse.jdt.core.javabuilder</name> |
||||
<arguments> |
||||
</arguments> |
||||
</buildCommand> |
||||
<buildCommand> |
||||
<name>org.eclipse.wst.common.project.facet.core.builder</name> |
||||
<arguments> |
||||
</arguments> |
||||
</buildCommand> |
||||
<buildCommand> |
||||
<name>org.eclipse.wst.validation.validationbuilder</name> |
||||
<arguments> |
||||
</arguments> |
||||
</buildCommand> |
||||
</buildSpec> |
||||
<natures> |
||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature> |
||||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature> |
||||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature> |
||||
<nature>org.eclipse.jdt.core.javanature</nature> |
||||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature> |
||||
</natures> |
||||
</projectDescription> |
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<classpath> |
||||
<classpathentry kind="src" path="docroot"/> |
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/> |
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject"> |
||||
<attributes> |
||||
<attribute name="hide" value="true"/> |
||||
</attributes> |
||||
</classpathentry> |
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/> |
||||
<classpathentry kind="output" path=""/> |
||||
</classpath> |
@ -1,7 +0,0 @@
|
||||
eclipse.preferences.version=1 |
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 |
||||
org.eclipse.jdt.core.compiler.compliance=1.7 |
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
||||
org.eclipse.jdt.core.compiler.source=1.7 |
@ -1,3 +0,0 @@
|
||||
eclipse.preferences.version=1 |
||||
validateFragments=false |
||||
validation.use-project-settings=true |
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> |
||||
<wb-module deploy-name="portos-mapit-plugin-portlet"> |
||||
<wb-resource deploy-path="/" source-path="/docroot" tag="defaultRootSource"/> |
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/src"/> |
||||
<property name="context-root" value="portos-mapit-plugin-portlet"/> |
||||
<property name="java-output-path" value="/portos-mapit-plugin-portlet/docroot/WEB-INF/classes"/> |
||||
</wb-module> |
||||
</project-modules> |
@ -1,7 +0,0 @@
|
||||
<root> |
||||
<facet id="liferay.portlet"> |
||||
<node name="libprov"> |
||||
<attribute name="provider-id" value="com.liferay.ide.eclipse.plugin.portlet.libraryProvider"/> |
||||
</node> |
||||
</facet> |
||||
</root> |
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<faceted-project> |
||||
<runtime name="Liferay v6.2 CE (Tomcat 7)"/> |
||||
<fixed facet="jst.web"/> |
||||
<fixed facet="wst.jsdt.web"/> |
||||
<fixed facet="java"/> |
||||
<installed facet="java" version="1.7"/> |
||||
<installed facet="jst.web" version="3.0"/> |
||||
<installed facet="liferay.portlet" version="6.0"/> |
||||
<installed facet="wst.jsdt.web" version="1.0"/> |
||||
</faceted-project> |
@ -1 +0,0 @@
|
||||
org.eclipse.wst.jsdt.launching.baseBrowserLibrary |
@ -1 +0,0 @@
|
||||
Window |
@ -1 +0,0 @@
|
||||
{"ide":{"scriptPaths":[]},"plugins":{"aui":{},"liferay":{},"yui":{}},"libs":["ecma5","browser"]} |
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE project> |
||||
|
||||
<project name="portos-mapit-plugin-portlet" basedir="." default="deploy"> |
||||
<import file="../build-common-portlet.xml" /> |
||||
</project> |
@ -1,3 +0,0 @@
|
||||
Manifest-Version: 1.0 |
||||
Class-Path: |
||||
|
File binario non mostrato.
File binario non mostrato.
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE display PUBLIC "-//Liferay//DTD Display 6.2.0//EN" "http://www.liferay.com/dtd/liferay-display_6_2_0.dtd"> |
||||
|
||||
<display> |
||||
|
||||
<category name="category.sample"> |
||||
<portlet id="1"></portlet> |
||||
</category> |
||||
</display> |
@ -1,15 +0,0 @@
|
||||
name=Portos Mapit Plugin |
||||
module-group-id=liferay |
||||
module-incremental-version=1 |
||||
tags= |
||||
short-description= |
||||
change-log= |
||||
page-url=http://www.liferay.com |
||||
author=Liferay, Inc. |
||||
licenses=LGPL |
||||
portal-dependency-jars=\ |
||||
jstl-api.jar,\ |
||||
jstl-impl.jar |
||||
portal-dependency-tlds=c.tld |
||||
long-description= |
||||
liferay-versions=6.2.0+ |
@ -1,31 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 6.2.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_6_2_0.dtd"> |
||||
|
||||
<liferay-portlet-app> |
||||
|
||||
<portlet> |
||||
<portlet-name>1</portlet-name> |
||||
<icon>/icon.png</icon> |
||||
<header-portlet-css>/css/main.css</header-portlet-css> |
||||
<footer-portlet-javascript> |
||||
/js/main.js |
||||
</footer-portlet-javascript> |
||||
<css-class-wrapper>1-portlet</css-class-wrapper> |
||||
</portlet> |
||||
<role-mapper> |
||||
<role-name>administrator</role-name> |
||||
<role-link>Administrator</role-link> |
||||
</role-mapper> |
||||
<role-mapper> |
||||
<role-name>guest</role-name> |
||||
<role-link>Guest</role-link> |
||||
</role-mapper> |
||||
<role-mapper> |
||||
<role-name>power-user</role-name> |
||||
<role-link>Power User</role-link> |
||||
</role-mapper> |
||||
<role-mapper> |
||||
<role-name>user</role-name> |
||||
<role-link>User</role-link> |
||||
</role-mapper> |
||||
</liferay-portlet-app> |
@ -1,38 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
|
||||
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" version="2.0"> |
||||
|
||||
<portlet> |
||||
<portlet-name>1</portlet-name> |
||||
<display-name>Fascicolo Map</display-name> |
||||
<portlet-class> |
||||
it.tref.liferay.portos.plugin.portlet.FascicoloMapPortlet |
||||
</portlet-class> |
||||
<init-param> |
||||
<name>view-template</name> |
||||
<value>/html/fascicolomap/view.jsp</value> |
||||
</init-param> |
||||
<expiration-cache>0</expiration-cache> |
||||
<supports> |
||||
<mime-type>text/html</mime-type> |
||||
<portlet-mode>view</portlet-mode> |
||||
</supports> |
||||
<portlet-info> |
||||
<title>Fascicolo Map</title> |
||||
<short-title>1</short-title> |
||||
<keywords></keywords> |
||||
</portlet-info> |
||||
<security-role-ref> |
||||
<role-name>administrator</role-name> |
||||
</security-role-ref> |
||||
<security-role-ref> |
||||
<role-name>guest</role-name> |
||||
</security-role-ref> |
||||
<security-role-ref> |
||||
<role-name>power-user</role-name> |
||||
</security-role-ref> |
||||
<security-role-ref> |
||||
<role-name>user</role-name> |
||||
</security-role-ref> |
||||
</portlet> |
||||
</portlet-app> |
@ -1,2 +0,0 @@
|
||||
fascicolo = it.tref.liferay.portos.fascicolofe |
||||
comuni = Comuni Layer |
@ -1,53 +0,0 @@
|
||||
package it.tref.liferay.portos.plugin; |
||||
|
||||
import java.util.Set; |
||||
|
||||
import it.tref.liferay.mapit.plugin.MapItPlugin; |
||||
import it.tref.liferay.mapit.plugin.action.MapItPluginAction; |
||||
import it.tref.liferay.mapit.plugin.event.MapItPluginEvent; |
||||
|
||||
public class FascicoloPlugin implements MapItPlugin{ |
||||
|
||||
@Override |
||||
public String getBottomJspPage() { |
||||
// TODO Auto-generated method stub
|
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Set<Class<? extends MapItPluginAction>> getMapItPluginActions() { |
||||
// TODO Auto-generated method stub
|
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Set<Class<? extends MapItPluginEvent>> getMapItPluginEvents() { |
||||
// TODO Auto-generated method stub
|
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public String getPortalConfigurationPortletId() { |
||||
// TODO Auto-generated method stub
|
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public String getPortletConfigurationJsp() { |
||||
// TODO Auto-generated method stub
|
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public String getSiteConfigurationPortletId() { |
||||
// TODO Auto-generated method stub
|
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public String getTopJspPage() { |
||||
return "/html/plugin/top.jsp"; |
||||
} |
||||
|
||||
|
||||
} |
@ -1,11 +0,0 @@
|
||||
package it.tref.liferay.portos.plugin.portlet; |
||||
|
||||
import com.liferay.util.bridges.mvc.MVCPortlet; |
||||
|
||||
/** |
||||
* Portlet implementation class FascicoloMapPortlet |
||||
*/ |
||||
public class FascicoloMapPortlet extends MVCPortlet { |
||||
|
||||
|
||||
} |
@ -1,7 +0,0 @@
|
||||
## |
||||
## MapIt |
||||
## |
||||
|
||||
mapit.plugin=it.tref.liferay.portos.plugin.FascicoloPlugin |
||||
|
||||
mapit.version = 6.2.0.101+ |
File diff soppresso perché troppo grande
Load Diff
@ -1,538 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> |
||||
|
||||
<taglib> |
||||
<tlib-version>1.0</tlib-version> |
||||
<jsp-version>1.1</jsp-version> |
||||
<short-name>liferay-portlet</short-name> |
||||
<uri>http://liferay.com/tld/portlet</uri> |
||||
|
||||
<!-- |
||||
liferay-portlet:actionURL is similar to portlet:actionURL except it has the |
||||
additional attributes plid, portletName, anchor, and encrypt. |
||||
|
||||
Set varImpl to set the PortletURL object. This gives you an object reference |
||||
to the underlying URL implementation. |
||||
|
||||
Set plid to the plid of another layout. This allows you to post the URL to |
||||
another layout. |
||||
|
||||
Set portletName to the name of a portlet other than the current portlet. |
||||
This allows you to post the URL to another portlet. |
||||
|
||||
Set anchor to false if you do not want the page to refresh and anchor to the |
||||
current portlet. |
||||
|
||||
Set encrypt to true if you want to encrypt all the parameter values. |
||||
|
||||
Set doAsUserId to process this URL as if it is accessed by the specified |
||||
user. |
||||
|
||||
Set portletConfiguration to true if you want to pass the parameters needed |
||||
when you are accessing a portlet that is wrapped by the Portlet |
||||
Configuration portlet. |
||||
--> |
||||
|
||||
<tag> |
||||
<name>actionURL</name> |
||||
<tag-class>com.liferay.taglib.portlet.ActionURLTag</tag-class> |
||||
<tei-class>com.liferay.taglib.portlet.ActionURLTei</tei-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>allowEmptyParam</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>anchor</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>copyCurrentRenderParameters</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>doAsGroupId</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>doAsUserId</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>encrypt</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>escapeXml</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>name</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>plid</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portletConfiguration</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portletMode</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portletName</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>refererGroupId</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>refererPlid</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>secure</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>varImpl</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>windowState</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-back</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconBackTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-close</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconCloseTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-configuration</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconConfigurationTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-edit</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconEditTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-edit-defaults</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconEditDefaultsTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-edit-guest</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconEditGuestTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-export-import</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconExportImportTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-help</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconHelpTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-maximize</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconMaximizeTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-minimize</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconMinimizeTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-options</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconOptionsTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-portlet</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconPortletTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>ariaRole</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>id</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>label</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portlet</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>url</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-portlet-css</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconPortletCssTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-print</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconPrintTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>icon-refresh</name> |
||||
<tag-class>com.liferay.taglib.portletext.IconRefreshTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>param</name> |
||||
<tag-class>com.liferay.taglib.util.ParamTag</tag-class> |
||||
<body-content>empty</body-content> |
||||
<attribute> |
||||
<name>name</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>value</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>preview</name> |
||||
<tag-class>com.liferay.taglib.portletext.PreviewTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>portletName</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>queryString</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>showBorders</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>width</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
<!-- |
||||
liferay-portlet:renderURL is similar to portlet:renderURL except it has the |
||||
additional attributes plid, portletName, anchor, and encrypt. |
||||
|
||||
Set varImpl to set the PortletURL object. This gives you an object reference |
||||
to the underlying URL implementation. |
||||
|
||||
Set plid to the plid of another layout. This allows you to post the URL to |
||||
another layout. |
||||
|
||||
Set portletName to the name of a portlet other than the current portlet. |
||||
This allows you to post the URL to another portlet. |
||||
|
||||
Set anchor to false if you do not want the page to refresh and anchor to the |
||||
current portlet. |
||||
|
||||
Set encrypt to true if you want to encrypt all the parameter values. |
||||
|
||||
Set doAsUserId to process this URL as if it is accessed by the specified |
||||
user. |
||||
|
||||
Set portletConfiguration to true if you want to pass the parameters needed |
||||
when you are accessing a portlet that is wrapped by the Portlet |
||||
Configuration portlet. |
||||
--> |
||||
|
||||
<tag> |
||||
<name>renderURL</name> |
||||
<tag-class>com.liferay.taglib.portlet.RenderURLTag</tag-class> |
||||
<tei-class>com.liferay.taglib.portlet.RenderURLTei</tei-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>allowEmptyParam</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>anchor</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>copyCurrentRenderParameters</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>doAsGroupId</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>doAsUserId</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>encrypt</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>escapeXml</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>plid</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portletConfiguration</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portletMode</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portletName</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>refererGroupId</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>refererPlid</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>secure</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>varImpl</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>windowState</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>renderURLParams</name> |
||||
<tag-class>com.liferay.taglib.portlet.RenderURLParamsTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>varImpl</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
<!-- |
||||
liferay-portlet:resourceURL is similar to portlet:resourceURL except it has |
||||
the additional attributes plid, portletName, anchor, and encrypt. |
||||
|
||||
Set varImpl to set the PortletURL object. This gives you an object reference |
||||
to the underlying URL implementation. |
||||
|
||||
Set plid to the plid of another layout. This allows you to post the URL to |
||||
another layout. |
||||
|
||||
Set portletName to the name of a portlet other than the current portlet. |
||||
This allows you to post the URL to another portlet. |
||||
|
||||
Set anchor to false if you do not want the page to refresh and anchor to the |
||||
current portlet. |
||||
|
||||
Set encrypt to true if you want to encrypt all the parameter values. |
||||
|
||||
Set doAsUserId to process this URL as if it is accessed by the specified |
||||
user. |
||||
|
||||
Set portletConfiguration to true if you want to pass the parameters needed |
||||
when you are accessing a portlet that is wrapped by the Portlet |
||||
Configuration portlet. |
||||
--> |
||||
|
||||
<tag> |
||||
<name>resourceURL</name> |
||||
<tag-class>com.liferay.taglib.portlet.ResourceURLTag</tag-class> |
||||
<tei-class>com.liferay.taglib.portlet.ResourceURLTei</tei-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>anchor</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>copyCurrentRenderParameters</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>doAsGroupId</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>doAsUserId</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>encrypt</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>escapeXml</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>id</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>plid</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portletConfiguration</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portletMode</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portletName</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>refererGroupId</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>refererPlid</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>secure</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>varImpl</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>windowState</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>runtime</name> |
||||
<tag-class>com.liferay.taglib.portletext.RuntimeTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>defaultPreferences</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portletName</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>queryString</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
</taglib> |
@ -1,158 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> |
||||
|
||||
<taglib> |
||||
<tlib-version>1.0</tlib-version> |
||||
<jsp-version>1.1</jsp-version> |
||||
<short-name>portlet</short-name> |
||||
<uri>http://java.sun.com/portlet</uri> |
||||
<tag> |
||||
<name>actionURL</name> |
||||
<tag-class>com.liferay.taglib.portlet.ActionURLTag</tag-class> |
||||
<tei-class>com.liferay.taglib.portlet.ActionURLTei</tei-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>copyCurrentRenderParameters</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>escapeXml</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>name</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portletMode</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>secure</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>windowState</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>defineObjects</name> |
||||
<tag-class>com.liferay.taglib.portlet.DefineObjectsTag</tag-class> |
||||
<tei-class>com.liferay.taglib.portlet.DefineObjectsTei</tei-class> |
||||
<body-content>empty</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>namespace</name> |
||||
<tag-class>com.liferay.taglib.portlet.NamespaceTag</tag-class> |
||||
<body-content>empty</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>param</name> |
||||
<tag-class>com.liferay.taglib.util.ParamTag</tag-class> |
||||
<body-content>empty</body-content> |
||||
<attribute> |
||||
<name>name</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>value</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>property</name> |
||||
<tag-class>com.liferay.taglib.util.PropertyTag</tag-class> |
||||
<body-content>empty</body-content> |
||||
<attribute> |
||||
<name>name</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>value</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>renderURL</name> |
||||
<tag-class>com.liferay.taglib.portlet.RenderURLTag</tag-class> |
||||
<tei-class>com.liferay.taglib.portlet.RenderURLTei</tei-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>copyCurrentRenderParameters</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>escapeXml</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portletMode</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>secure</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>windowState</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>resourceURL</name> |
||||
<tag-class>com.liferay.taglib.portlet.ResourceURLTag</tag-class> |
||||
<tei-class>com.liferay.taglib.portlet.ResourceURLTei</tei-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>cacheability</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>escapeXml</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>id</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>secure</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
</taglib> |
@ -1,106 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> |
||||
|
||||
<taglib> |
||||
<tlib-version>1.0</tlib-version> |
||||
<jsp-version>1.1</jsp-version> |
||||
<short-name>liferay-security</short-name> |
||||
<uri>http://liferay.com/tld/security</uri> |
||||
<tag> |
||||
<name>doAsURL</name> |
||||
<tag-class>com.liferay.taglib.security.DoAsURLTag</tag-class> |
||||
<tei-class>com.liferay.taglib.security.DoAsURLTei</tei-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>doAsUserId</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>encrypt</name> |
||||
<tag-class>com.liferay.taglib.security.EncryptTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>className</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>protocol</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>style</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>target</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>unencryptedParams</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>url</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>permissionsURL</name> |
||||
<tag-class>com.liferay.taglib.security.PermissionsURLTag</tag-class> |
||||
<tei-class>com.liferay.taglib.security.PermissionsURLTei</tei-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>modelResource</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>modelResourceDescription</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>redirect</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>resourceGroupId</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>resourcePrimKey</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>roleTypes</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>windowState</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
</taglib> |
@ -1,65 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> |
||||
|
||||
<taglib> |
||||
<tlib-version>1.0</tlib-version> |
||||
<jsp-version>1.1</jsp-version> |
||||
<short-name>theme</short-name> |
||||
<uri>http://liferay.com/tld/theme</uri> |
||||
<tag> |
||||
<name>defineObjects</name> |
||||
<tag-class>com.liferay.taglib.theme.DefineObjectsTag</tag-class> |
||||
<tei-class>com.liferay.taglib.theme.DefineObjectsTei</tei-class> |
||||
<body-content>empty</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>include</name> |
||||
<tag-class>com.liferay.taglib.theme.IncludeTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>page</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>layout-icon</name> |
||||
<tag-class>com.liferay.taglib.theme.LayoutIconTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>layout</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>meta-tags</name> |
||||
<tag-class>com.liferay.taglib.theme.MetaTagsTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
<tag> |
||||
<name>param</name> |
||||
<tag-class>com.liferay.taglib.util.ParamTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>name</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>value</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>wrap-portlet</name> |
||||
<tag-class>com.liferay.taglib.theme.WrapPortletTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>page</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
</taglib> |
File diff soppresso perché troppo grande
Load Diff
@ -1,141 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> |
||||
|
||||
<taglib> |
||||
<tlib-version>1.2</tlib-version> |
||||
<jsp-version>1.1</jsp-version> |
||||
<short-name>liferay-util</short-name> |
||||
<uri>http://liferay.com/tld/util</uri> |
||||
<tag> |
||||
<name>body-bottom</name> |
||||
<tag-class>com.liferay.taglib.util.BodyBottomTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>outputKey</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>body-top</name> |
||||
<tag-class>com.liferay.taglib.util.BodyTopTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>outputKey</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>buffer</name> |
||||
<tag-class>com.liferay.taglib.util.BufferTag</tag-class> |
||||
<tei-class>com.liferay.taglib.util.BufferTei</tei-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>var</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>get-url</name> |
||||
<tag-class>com.liferay.taglib.util.GetUrlTag</tag-class> |
||||
<tei-class>com.liferay.taglib.util.GetUrlTei</tei-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>expires</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>url</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>html-bottom</name> |
||||
<tag-class>com.liferay.taglib.util.HtmlBottomTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>outputKey</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>position</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>html-top</name> |
||||
<tag-class>com.liferay.taglib.util.HtmlTopTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>outputKey</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>position</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>include</name> |
||||
<tag-class>com.liferay.taglib.util.IncludeTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>page</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>portletId</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>servletContext</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>strict</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>useCustomPage</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>param</name> |
||||
<tag-class>com.liferay.taglib.util.ParamTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<name>name</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<name>value</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
<tag> |
||||
<name>whitespace-remover</name> |
||||
<tag-class>com.liferay.taglib.util.WhitespaceRemoverTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
</taglib> |
@ -1,3 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<web-app id="WebApp_ID" version="2.5" 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-app_2_5.xsd"> |
||||
</web-app> |
Some files were not shown because too many files have changed in this diff Show More
Caricamento…
Reference in new issue