Sfoglia il codice sorgente
# Conflicts: # liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar # liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar # liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar # liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar # liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar # liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar # liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar # liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar # liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar # liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar # liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar # liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties # liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar # liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar # liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar # liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-report-shared.jarfeature/pratica-ospedaliera
Marco Alderighi
6 mesi fa
49 ha cambiato i file con 568 aggiunte e 135 eliminazioni
@ -1,12 +0,0 @@
|
||||
eclipse.preferences.version=1 |
||||
encoding//docroot/WEB-INF/src/content/Language.properties=UTF-8 |
||||
encoding//docroot/WEB-INF/src/content/Portal.properties=UTF-8 |
||||
encoding//docroot/html/amministrazione/tabs/territori/view.jsp=UTF-8 |
||||
encoding//docroot/html/common/import_all_window.jsp=UTF-8 |
||||
encoding//docroot/html/common/import_window.jsp=UTF-8 |
||||
encoding//docroot/html/fascicolo/actions/action_toggle_sospensione.jsp=UTF-8 |
||||
encoding//docroot/html/fascicolo/navigator/header.jsp=UTF-8 |
||||
encoding//docroot/html/fascicolo/soggetto_details.jsp=UTF-8 |
||||
encoding//docroot/html/gestioneattivita/advanced_search.jsp=UTF-8 |
||||
encoding//docroot/html/sismica_administration/init.jsp=UTF-8 |
||||
encoding//docroot/html/sismica_administration/view.jsp=UTF-8 |
@ -0,0 +1,134 @@
|
||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||
<%@include file="/html/init.jsp"%> |
||||
<% |
||||
String formName = ParamUtil.getString(request, "formName", "fm"); |
||||
String titolo = ParamUtil.getString(request, "titolo", "Invio"); |
||||
String buttonId = ParamUtil.getString(request, "buttonId", "sumbit-button"); |
||||
String buttonConferma = ParamUtil.getString(request, "buttonConferma", "Modifica"); |
||||
String buttonAnnulla = ParamUtil.getString(request, "buttonAnnulla", "Annulla"); |
||||
String width = ParamUtil.getString(request, "width", "700"); |
||||
String height = ParamUtil.getString(request, "height"); |
||||
String contentDiv = ParamUtil.getString(request, "contentDiv", "saveAndCloseDiv"); |
||||
boolean buttonBar = ParamUtil.getBoolean(request, "buttonBar", true); |
||||
String randomId = StringUtil.randomId(); |
||||
String onClick = ParamUtil.getString(request, "onClick"); |
||||
boolean externalForm = ParamUtil.getBoolean(request, "externalForm", false); |
||||
boolean okVisible = ParamUtil.getBoolean(request, "okVisible", true); |
||||
%> |
||||
<aui:input name='<%= "confirmClose_" + randomId %>' type="hidden" value="false" /> |
||||
<div id='<%=renderResponse.getNamespace() + "saveAndCloseModal_" + randomId %>' class="confirmModal"></div> |
||||
<div class='customAlert'> |
||||
<p class='message'></p> |
||||
<input type='button' class='confirmButton' value='CHIUDI'> |
||||
</div> |
||||
<liferay-portlet:resourceURL var="resourceURL" id="controllaExtraInfo" copyCurrentRenderParameters="false" /> |
||||
<aui:script > |
||||
AUI().ready('aui-modal', 'aui-io-request', 'aui-form-validator', function(A) { |
||||
var modal = new A.Modal({ |
||||
bodyContent: A.one('#<portlet:namespace /><%=contentDiv%>'), |
||||
width: <%= width %>, |
||||
<% |
||||
if (!height.equals(StringPool.BLANK)) { |
||||
%> |
||||
height: <%= height %>, |
||||
<% |
||||
} |
||||
%> |
||||
centered: true, |
||||
destroyOnHide: false, |
||||
headerContent: '<h3 class="text-center"><%= titolo %></h3>', |
||||
modal: true, |
||||
render: '#<portlet:namespace />saveAndCloseModal_<%= randomId %>', |
||||
visible: false, |
||||
close: false, |
||||
}).render(); |
||||
<% |
||||
if (buttonBar) { |
||||
%> |
||||
modal.addToolbar( |
||||
[ |
||||
{ |
||||
label: '<%= buttonAnnulla %>', |
||||
on: { |
||||
click: function() { |
||||
modal.hide(); |
||||
} |
||||
} |
||||
}, |
||||
<% |
||||
if (okVisible) { |
||||
%> |
||||
{ |
||||
label: '<%= buttonConferma %>', |
||||
cssClass: 'btn-primary', |
||||
on: { |
||||
click: function() { |
||||
<% |
||||
if (Validator.isNotNull(onClick)) { |
||||
out.print(onClick); |
||||
} else { |
||||
%> |
||||
submitForm(document.<portlet:namespace /><%= formName %>); |
||||
var formValidator = Liferay.Form.get('<portlet:namespace /><%= formName %>') |
||||
.formValidator; |
||||
<% |
||||
if (externalForm) { |
||||
%> |
||||
if (!formValidator.hasErrors()) { |
||||
A.one('#<portlet:namespace />confirmClose_<%= randomId %>') |
||||
.set('value', 'true'); |
||||
} else { |
||||
alert("Attenzione!\nCampi richiesti non compilati correttamente"); |
||||
} |
||||
modal.hide(); |
||||
<% |
||||
} else { |
||||
%> |
||||
if (!formValidator.hasErrors()) { |
||||
modal.hide(); |
||||
A.one('#<portlet:namespace />confirmClose_<%= randomId %>') |
||||
.set('value', 'true'); |
||||
} |
||||
<% |
||||
} |
||||
%> |
||||
<% |
||||
} |
||||
%> |
||||
} |
||||
} |
||||
} |
||||
<% |
||||
} |
||||
%> |
||||
] |
||||
); |
||||
<% |
||||
} |
||||
%> |
||||
|
||||
A.one('#<portlet:namespace /><%= buttonId %>').on('click', function() { |
||||
A.one('#<portlet:namespace /><%=contentDiv%>').show(); |
||||
modal.show(); |
||||
}); |
||||
|
||||
window.alert = function(msg) { |
||||
$('.message').text(msg); |
||||
$('.customAlert').css('animation', 'fadeIn 0.3s linear'); |
||||
$('.customAlert').css('display', 'inline'); |
||||
setTimeout(function() { |
||||
$('.customAlert').css('animation', 'none'); |
||||
}, 100); |
||||
}; |
||||
|
||||
$(function(){ |
||||
$('.confirmButton').click(function(){ |
||||
$('.customAlert').css('animation', 'fadeOut 0.3s linear'); |
||||
setTimeout(function(){ |
||||
$('.customAlert').css('animation', 'none'); |
||||
$('.customAlert').css('display', 'none'); |
||||
}, 100); |
||||
}); |
||||
}); |
||||
}); |
||||
</aui:script> |
@ -0,0 +1,44 @@
|
||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||
<%@page import="java.util.Locale"%> |
||||
<%@page import="com.liferay.portal.kernel.util.Validator"%> |
||||
<%@page import="java.text.NumberFormat"%> |
||||
<%@page import="java.math.BigDecimal"%> |
||||
<%@page import="com.liferay.portal.kernel.bean.BeanPropertiesUtil"%> |
||||
<%@page import="it.tref.liferay.portos.bo.shared.util.PagamentoConstants"%> |
||||
<%@page import="com.liferay.portal.kernel.language.LanguageUtil"%> |
||||
|
||||
<%@ include file="/html/init.jsp" %> |
||||
|
||||
<% |
||||
long dettPraticaId = ParamUtil.getLong(request, "dettPraticaId",0l); |
||||
long idPagamento = ParamUtil.getLong(request, "idPagamento", 0l); |
||||
String formName = ParamUtil.getString(request, "formName", "fm"); |
||||
|
||||
DettPratica dettPratica = DettPraticaLocalServiceUtil.getDettPratica(dettPraticaId); |
||||
Pagamento objPagamento = PagamentoLocalServiceUtil.fetchPagamento(idPagamento); |
||||
|
||||
long companyId = company.getCompanyId(); |
||||
|
||||
String portletNamespace = renderResponse.getNamespace(); |
||||
String redirect = currentURL+"#"+portletNamespace+"tab="+portletNamespace+"page_pagamenti"; |
||||
|
||||
%> |
||||
|
||||
<c:if test="<%= Validator.isNotNull(objPagamento) %>"> |
||||
<div class="col-sm-12 col-md-12"> |
||||
<%-- <liferay-portlet:actionURL name="setBollettinoImposta" var="setBollettinoImpostaURL"> |
||||
<liferay-portlet:param name="idPagamento" value="<%=String.valueOf(idPagamento) %>"/> |
||||
<liferay-portlet:param name="dettPraticaId" value="<%=String.valueOf(dettPraticaId) %>"/> |
||||
<liferay-portlet:param name="redirect" value="<%= redirect %>" /> |
||||
<liferay-portlet:param name="mvcPath" value="/html/pagamenti/view_panel_form_bollettino.jsp"/> |
||||
</liferay-portlet:actionURL> --%> |
||||
|
||||
<aui:form name="<%= formName %>" method="post" action=""> |
||||
<aui:input name="numeroBollettino" type="textarea" |
||||
label="label-codice-bollettino" value="<%= objPagamento.getNumeroBollettino() %>"> |
||||
<aui:validator name="maxLength" errorMessage="errore-lenght-bollettino">250</aui:validator> |
||||
<aui:validator name="required" errorMessage="Campo Richiesto" /> |
||||
</aui:input> |
||||
</aui:form> |
||||
</div> |
||||
</c:if> |
@ -1,12 +1,7 @@
|
||||
eclipse.preferences.version=1 |
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
||||
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate |
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 |
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve |
||||
org.eclipse.jdt.core.compiler.compliance=1.7 |
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate |
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate |
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate |
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
||||
org.eclipse.jdt.core.compiler.source=1.7 |
||||
|
Caricamento…
Reference in new issue