Sfoglia il codice sorgente

add dates to render url

develop
E-A 2 anni fa
parent
commit
64049d16e8
  1. BIN
      liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar
  2. BIN
      liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar
  3. BIN
      liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar
  4. BIN
      liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar
  5. BIN
      liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar
  6. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath
  7. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/.gitignore
  8. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/ant.xml
  9. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/jpa-buddy.xml
  10. 9
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/misc.xml
  11. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/vcs.xml
  12. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project
  13. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml
  14. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar
  15. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  16. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
  17. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar
  18. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar
  19. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
  20. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java
  21. 6
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java
  22. 23
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml
  23. 5
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  24. 37
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java
  25. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  26. 1
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/build.xml
  27. BIN
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  28. BIN
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-reportistica-portlet-service.jar
  29. 3
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-portlet.xml
  30. 2
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/portlet.xml
  31. 5
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/it/nextmind/portos/reportistica/ReportisticaPortlet.java
  32. 3
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp
  33. 51
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp
  34. 1
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/ivy.xml.MD5

BIN
liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar vendored

File binario non mostrato.

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.classpath

@ -2,7 +2,7 @@
<classpath> <classpath>
<classpathentry kind="src" path="docroot/WEB-INF/src"/> <classpathentry kind="src" path="docroot/WEB-INF/src"/>
<classpathentry kind="src" output="docroot/WEB-INF/classes-service" path="docroot/WEB-INF/service"/> <classpathentry kind="src" output="docroot/WEB-INF/classes-service" path="docroot/WEB-INF/service"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre">
<attributes> <attributes>
<attribute name="owner.project.facets" value="java"/> <attribute name="owner.project.facets" value="java"/>
</attributes> </attributes>

10
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/.gitignore vendored

@ -1,10 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Zeppelin ignored files
/ZeppelinRemoteNotebooks/

6
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/ant.xml

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AntConfiguration">
<buildFile url="file://$PROJECT_DIR$/build.xml" />
</component>
</project>

6
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/jpa-buddy.xml

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JpaBuddyIdeaProjectConfig">
<option name="renamerInitialized" value="true" />
</component>
</project>

9
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/misc.xml

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/classes" />
</component>
<component name="ProjectType">
<option name="id" value="jpab" />
</component>
</project>

6
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.idea/vcs.xml

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
</component>
</project>

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.project

@ -35,7 +35,7 @@
</natures> </natures>
<filteredResources> <filteredResources>
<filter> <filter>
<id>1676466957656</id> <id>1679562748565</id>
<name></name> <name></name>
<type>30</type> <type>30</type>
<matcher> <matcher>

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.project.facet.core.xml

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<faceted-project> <faceted-project>
<runtime name="Liferay v6.2 CE (Tomcat 7)"/> <runtime name="Liferay v6.2 CE (Tomcat 7)"/>
<fixed facet="wst.jsdt.web"/>
<fixed facet="jst.web"/> <fixed facet="jst.web"/>
<fixed facet="java"/> <fixed facet="java"/>
<fixed facet="wst.jsdt.web"/>
<installed facet="java" version="1.7"/> <installed facet="java" version="1.7"/>
<installed facet="jst.web" version="3.0"/> <installed facet="jst.web" version="3.0"/>
<installed facet="liferay.portlet" version="6.0"/> <installed facet="liferay.portlet" version="6.0"/>

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar

File binario non mostrato.

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinder.java

@ -25,4 +25,8 @@ public interface IntPraticaFinder {
public int canAddCollaudoCount( public int canAddCollaudoCount(
java.lang.String codiceFiscaleDelegatoCollaudo) java.lang.String codiceFiscaleDelegatoCollaudo)
throws com.liferay.portal.kernel.exception.SystemException; throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List filtraPratiche(java.util.Date dataInizioLavori,
java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException;
} }

6
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderUtil.java

@ -34,6 +34,12 @@ public class IntPraticaFinderUtil {
return getFinder().canAddCollaudoCount(codiceFiscaleDelegatoCollaudo); return getFinder().canAddCollaudoCount(codiceFiscaleDelegatoCollaudo);
} }
public static java.util.List filtraPratiche(
java.util.Date dataInizioLavori, java.util.Date dataFineLavori)
throws com.liferay.portal.kernel.exception.SystemException {
return getFinder().filtraPratiche(dataInizioLavori, dataFineLavori);
}
public static IntPraticaFinder getFinder() { public static IntPraticaFinder getFinder() {
if (_finder == null) { if (_finder == null) {
_finder = (IntPraticaFinder)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.bo.service.ClpSerializer.getServletContextName(), _finder = (IntPraticaFinder)PortletBeanLocatorUtil.locate(it.tref.liferay.portos.bo.service.ClpSerializer.getServletContextName(),

23
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/custom-sql/intpratica.xml

@ -16,4 +16,27 @@
and fine.completata = true order by int.createdate; and fine.completata = true order by int.createdate;
]]> ]]>
</sql> </sql>
<sql id="IntPratica.reportPraticaStato">
<![CDATA[
select tipoprocedura, statopratica, count(*)
from portos_bo_intpratica pbi
where pbi.dtpratica > ?
and pbi.dtpratica < ?
group by tipoprocedura, statopratica
order by tipoprocedura;
]]>
</sql>
<sql id="IntPratica.reportPraticaIntegrazioni">
<![CDATA[
select tipoprocedura, count(*)
from portos_bo_avviso pbd
join portos_bo_intpratica pbi
on pbi.intpraticaid = pbd.intpraticaid
where
pbi.createdate > ?
and pbi.createdate < ?
and tipodocumento = 'IN'
group by tipoprocedura order by tipoprocedura;
]]>
</sql>
</custom-sql> </custom-sql>

5
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java

@ -31,6 +31,7 @@ import it.tref.liferay.portos.bo.model.Soggetto;
import it.tref.liferay.portos.bo.model.StoricoSoggettoPratica; import it.tref.liferay.portos.bo.model.StoricoSoggettoPratica;
import it.tref.liferay.portos.bo.model.Territorio; import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.service.base.IntPraticaLocalServiceBaseImpl; import it.tref.liferay.portos.bo.service.base.IntPraticaLocalServiceBaseImpl;
import it.tref.liferay.portos.bo.service.persistence.IntPraticaFinderUtil;
import it.tref.liferay.portos.bo.shared.bean.FirmeBean; import it.tref.liferay.portos.bo.shared.bean.FirmeBean;
import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants; import it.tref.liferay.portos.bo.shared.util.ConfigurazioneConstants;
import it.tref.liferay.portos.bo.shared.util.FirmeUtil; import it.tref.liferay.portos.bo.shared.util.FirmeUtil;
@ -56,6 +57,7 @@ import java.util.Collections;
import java.util.Comparator; import java.util.Comparator;
import java.util.Date; import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
import java.util.List; import java.util.List;
import java.util.Locale; import java.util.Locale;
@ -131,6 +133,9 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
private static Map<String, String> vecchieProcedure = null; private static Map<String, String> vecchieProcedure = null;
private static final Log _log = LogFactoryUtil.getLog(IntPraticaLocalServiceImpl.class); private static final Log _log = LogFactoryUtil.getLog(IntPraticaLocalServiceImpl.class);
public Iterator filtraPratiche(Date dataInizioLavori, Date dataFineLavori) {
return IntPraticaFinderUtil.filtraPratiche(dataInizioLavori, dataFineLavori);
}
@Override @Override
public Map<String, String> getTipiProcedure() { public Map<String, String> getTipiProcedure() {

37
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java

@ -1,10 +1,5 @@
package it.tref.liferay.portos.bo.service.persistence; package it.tref.liferay.portos.bo.service.persistence;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl;
import java.util.List;
import com.liferay.portal.kernel.dao.orm.ORMException; import com.liferay.portal.kernel.dao.orm.ORMException;
import com.liferay.portal.kernel.dao.orm.QueryPos; import com.liferay.portal.kernel.dao.orm.QueryPos;
import com.liferay.portal.kernel.dao.orm.SQLQuery; import com.liferay.portal.kernel.dao.orm.SQLQuery;
@ -15,6 +10,13 @@ import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.service.persistence.impl.BasePersistenceImpl; import com.liferay.portal.service.persistence.impl.BasePersistenceImpl;
import com.liferay.util.dao.orm.CustomSQLUtil; import com.liferay.util.dao.orm.CustomSQLUtil;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implements IntPraticaFinder { public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implements IntPraticaFinder {
private static final Log _log = LogFactoryUtil.getLog(IntPraticaFinderImpl.class); private static final Log _log = LogFactoryUtil.getLog(IntPraticaFinderImpl.class);
@ -71,4 +73,29 @@ public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implem
} }
} }
} }
private final String FILTRA_PRATICHE = "IntPratica.reportPraticaStato";
private final String FILTRA_PRATICHE_AVVISO = "IntPratica.reportPraticaIntegrazioni";
public Iterator filtraPratiche(Date dataInizioLavori, Date dataFineLavori)
throws SystemException {
Session session = null;
try {
session = openSession();
String sql = CustomSQLUtil.get(FILTRA_PRATICHE);
SQLQuery query = session.createSQLQuery(sql);
query.setCacheable(false);
QueryPos qPos = QueryPos.getInstance(query);
qPos.add(dataInizioLavori);
qPos.add(dataFineLavori);
Iterator l = query.iterate();
_log.debug(l.getClass().getSimpleName());
return l;
} catch (ORMException e) {
_log.error("Errore", e);
throw new RuntimeException(e);
} finally {
if (session != null) {
closeSession(session);
}
}
}
} }

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
## ##
build.namespace=portos_bo build.namespace=portos_bo
build.number=3616 build.number=3622
build.date=1677835577253 build.date=1679568472281
build.auto.upgrade=true build.auto.upgrade=true
## ##

1
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/build.xml

@ -3,4 +3,5 @@
<project name="portos-reportistica-portlet" basedir="." default="deploy"> <project name="portos-reportistica-portlet" basedir="." default="deploy">
<import file="../build-common-portlet.xml" /> <import file="../build-common-portlet.xml" />
</project> </project>

BIN
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-reportistica-portlet-service.jar

File binario non mostrato.

3
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-portlet.xml

@ -5,6 +5,9 @@
<portlet> <portlet>
<portlet-name>portos-reportistica</portlet-name> <portlet-name>portos-reportistica</portlet-name>
<icon>/icon.png</icon> <icon>/icon.png</icon>
<control-panel-entry-category>
configuration
</control-panel-entry-category>
<header-portlet-css>/css/main.css</header-portlet-css> <header-portlet-css>/css/main.css</header-portlet-css>
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript> <footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
<css-class-wrapper>portos-reportistica-portlet</css-class-wrapper> <css-class-wrapper>portos-reportistica-portlet</css-class-wrapper>

2
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/portlet.xml

@ -7,7 +7,7 @@
<portlet-class>com.liferay.util.bridges.mvc.MVCPortlet</portlet-class> <portlet-class>com.liferay.util.bridges.mvc.MVCPortlet</portlet-class>
<init-param> <init-param>
<name>view-template</name> <name>view-template</name>
<value>/view.jsp</value> <value>/html/view.jsp</value>
</init-param> </init-param>
<expiration-cache>0</expiration-cache> <expiration-cache>0</expiration-cache>
<supports> <supports>

5
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/it/nextmind/portos/reportistica/ReportisticaPortlet.java

@ -1,5 +0,0 @@
package it.nextmind.portos.reportistica;
public class ReportisticaPortlet {
}

3
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp

@ -17,6 +17,3 @@
<liferay-theme:defineObjects /> <liferay-theme:defineObjects />
<portlet:defineObjects /> <portlet:defineObjects />
<%
Format dateFormatDate = FastDateFormatFactoryUtil.getDate(LocaleUtil.ITALY, TimeZoneUtil.getTimeZone("Europe/Rome"));
%>

51
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp

@ -1,33 +1,54 @@
<%@page import="java.util.Iterator"%>
<%@page import="it.tref.liferay.portos.bo.model.DocPratica"%>
<%@page import="it.tref.liferay.portos.bo.model.IntPratica"%>
<%@page import="it.tref.liferay.portos.bo.service.persistence.IntPraticaFinderUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.persistence.IntPraticaFinderUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%>
<%@page import="java.util.List"%>
<%@page import="java.util.Date"%>
<%@page import="javax.portlet.PortletURL"%> <%@page import="javax.portlet.PortletURL"%>
<%@page import="com.liferay.portal.model.Group"%> <%@page import="com.liferay.portal.model.Group"%>
<%@page import="com.liferay.portal.kernel.util.Validator"%>
<%@page import="com.liferay.portal.kernel.util.ParamUtil"%>
<%@page import="com.liferay.portal.kernel.util.DateFormatFactoryUtil"%>
<%@page import="com.liferay.portlet.PortletURLFactoryUtil"%> <%@page import="com.liferay.portlet.PortletURLFactoryUtil"%>
<%@ include file="/html/init.jsp"%>
<%
Date dataInizioLavori = ParamUtil.getDate(request, "dataInizioInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd"));
Date dataFineLavori = ParamUtil.getDate(request, "dataFineInput", DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd"));
%>
<aui:row> <aui:row>
<liferay-portlet:actionURL <liferay-portlet:renderURL
name="cambiaDataInizioLavori" var="filtraPerRangeDataURL" >
var="cambiaDataInizioLavoriURL" > <liferay-portlet:param name="dataInizioLavori" value="<%= String.valueOf(dataInizioLavori) %>"/>
<liferay-portlet:param name="intPraticaId" value="<%= String.valueOf(intPraticaId) %>"/> <liferay-portlet:param name="dataFineLavori" value="<%= String.valueOf(dataFineLavori) %>"/>
<liferay-portlet:param name="mvcPath" value="/html/view.jsp"/> <liferay-portlet:param name="mvcPath" value="/html/view.jsp"/>
</liferay-portlet:actionURL> </liferay-portlet:renderURL>
<%
String functionDataInizio = "javascript:"+renderResponse.getNamespace()+"openConfirmationDialog('"+renderResponse.getNamespace()+"cambiaDataInizioLavori','Sei sicuro di voler modificare la DATA di INIZIO LAVORI?')"; <aui:form action="<%= filtraPerRangeDataURL %>" method="post">
%>
<aui:form action="<%= cambiaDataInizioLavoriURL %>" method="post" name="cambiaDataInizioLavori">
<div style="display:flex;"> <div style="display:flex;">
<p><b>Data inizio Lavori Opera:</b></p> <p><b>Data inizio Lavori Opera:</b></p>
<aui:input <aui:input
name="dataInizioLavoriOperaInput" name="dataInizioInput"
inlineLabel="left"
type="date"
value='<%= DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd").format(dataInizioLavori) %>'>
</aui:input>
<p><b>Data fine Lavori Opera:</b></p>
<aui:input
name="dataFineInput"
label="" label=""
inlineLabel="left" inlineLabel="left"
type="date" type="date"
value='<%= DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd").format(dataInizioLavoriOpera) %>'> value='<%= DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd").format(dataFineLavori) %>'>
</aui:input> </aui:input>
<div> <div>
<aui:button <aui:button
name="cambiaDataInizioLavoriBtn" name="PulsanteFiltro"
cssClass="btn-primary" cssClass="btn-primary"
type="button" type="submit"
value="Cambia" />
onClick='<%= functionDataInizio %>'/>
</div> </div>
</div> </div>
</aui:form> </aui:form>

1
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/ivy.xml.MD5

@ -0,0 +1 @@
e801ce4e2cdef8a0bf759f7d48e9ed48
Caricamento…
Annulla
Salva