From f28c672ee4fa434a4c1e1febcd9e99d9622ad7ac Mon Sep 17 00:00:00 2001 From: E-A Date: Tue, 21 Mar 2023 17:55:33 +0100 Subject: [PATCH] start feature - report --- .../portos-reportistica-portlet/.tern-project | 1 + .../WEB-INF/liferay-plugin-package.properties | 9 ++++- .../docroot/html/init.jsp | 22 ++++++++++++ .../docroot/html/view.jsp | 34 +++++++++++++++++++ 4 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/.tern-project create mode 100644 liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp create mode 100644 liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/.tern-project b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/.tern-project new file mode 100644 index 00000000..a185ba0d --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/.tern-project @@ -0,0 +1 @@ +{"ide":{"scriptPaths":[]},"plugins":{"aui":{},"liferay":{},"yui":{}},"libs":["ecma5","browser"]} \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-plugin-package.properties b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-plugin-package.properties index fc6ed97b..ae5f6bce 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-plugin-package.properties +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/liferay-plugin-package.properties @@ -8,4 +8,11 @@ change-log= page-url=http://www.liferay.com author=Liferay, Inc. licenses=LGPL -liferay-versions=6.2.0+ \ No newline at end of file +liferay-versions=6.2.0+ +portal-dependency-jars=\ + jstl-api.jar,\ + jstl-impl.jar +portal-dependency-tlds=\ + c.tld +required-deployment-contexts=\ + portos-bo-portlet \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp new file mode 100644 index 00000000..5bd59703 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/init.jsp @@ -0,0 +1,22 @@ +<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@page import="java.text.Format"%> +<%@page import="com.liferay.portal.kernel.util.FastDateFormatFactoryUtil"%> +<%@page import="com.liferay.portal.kernel.util.TimeZoneUtil"%> +<%@page import="com.liferay.portal.kernel.util.LocaleUtil"%> + +<%@taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> +<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> + +<%@taglib uri="http://liferay.com/tld/aui" prefix="aui" %> +<%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %> +<%@taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %> +<%@taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %> +<%@taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> +<%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %> + + + + +<% +Format dateFormatDate = FastDateFormatFactoryUtil.getDate(LocaleUtil.ITALY, TimeZoneUtil.getTimeZone("Europe/Rome")); +%> \ No newline at end of file diff --git a/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp new file mode 100644 index 00000000..8c0291a2 --- /dev/null +++ b/liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp @@ -0,0 +1,34 @@ +<%@page import="javax.portlet.PortletURL"%> +<%@page import="com.liferay.portal.model.Group"%> +<%@page import="com.liferay.portlet.PortletURLFactoryUtil"%> + + + + + + <% + String functionDataInizio = "javascript:"+renderResponse.getNamespace()+"openConfirmationDialog('"+renderResponse.getNamespace()+"cambiaDataInizioLavori','Sei sicuro di voler modificare la DATA di INIZIO LAVORI?')"; + %> + +
+

Data inizio Lavori Opera:

+ + +
+ +
+
+
+