Salvatore La Manna
4 anni fa
1504 ha cambiato i file con 4397 aggiunte e 706482 eliminazioni
@ -1,6 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<!DOCTYPE project> |
|
||||||
|
|
||||||
<project name="PortoTestPlugin-portlet" basedir="." default="deploy"> |
|
||||||
<import file="../build-common-portlet.xml" /> |
|
||||||
</project> |
|
@ -1,3 +0,0 @@ |
|||||||
Manifest-Version: 1.0 |
|
||||||
Class-Path: |
|
||||||
|
|
@ -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="test-portos"></portlet> |
|
||||||
</category> |
|
||||||
</display> |
|
@ -1,13 +0,0 @@ |
|||||||
name=PortoTestPlugin |
|
||||||
module-group-id=liferay |
|
||||||
module-incremental-version=1 |
|
||||||
tags= |
|
||||||
short-description= |
|
||||||
long-description= |
|
||||||
change-log= |
|
||||||
page-url=http://www.liferay.com |
|
||||||
author=Liferay, Inc. |
|
||||||
licenses=LGPL |
|
||||||
liferay-versions=6.2.0+ |
|
||||||
required-deployment-contexts=\ |
|
||||||
portos-bo-portlet |
|
@ -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>test-portos</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>test-portos-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>test-portos</portlet-name> |
|
||||||
<display-name>Test Portos</display-name> |
|
||||||
<portlet-class> |
|
||||||
it.tref.liferay.portos.plugin.TestPortosPortlet |
|
||||||
</portlet-class> |
|
||||||
<init-param> |
|
||||||
<name>view-template</name> |
|
||||||
<value>/html/testportos/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>Test Portos</title> |
|
||||||
<short-title>Test Portos</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,99 +0,0 @@ |
|||||||
package it.tref.liferay.portos.plugin; |
|
||||||
|
|
||||||
import it.tref.liferay.portos.bo.model.ControlloPratica; |
|
||||||
import it.tref.liferay.portos.bo.model.IntPratica; |
|
||||||
import it.tref.liferay.portos.bo.service.ClpSerializer; |
|
||||||
import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil; |
|
||||||
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; |
|
||||||
|
|
||||||
import java.util.List; |
|
||||||
|
|
||||||
import javax.portlet.ActionRequest; |
|
||||||
import javax.portlet.ActionResponse; |
|
||||||
|
|
||||||
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; |
|
||||||
import com.liferay.portal.kernel.dao.orm.DynamicQuery; |
|
||||||
import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; |
|
||||||
import com.liferay.portal.kernel.dao.orm.QueryUtil; |
|
||||||
import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; |
|
||||||
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.search.Indexer; |
|
||||||
import com.liferay.portal.kernel.search.IndexerRegistryUtil; |
|
||||||
import com.liferay.portal.kernel.util.ParamUtil; |
|
||||||
import com.liferay.portal.kernel.util.WebKeys; |
|
||||||
import com.liferay.portal.theme.ThemeDisplay; |
|
||||||
import com.liferay.util.bridges.mvc.MVCPortlet; |
|
||||||
|
|
||||||
/** |
|
||||||
* Portlet implementation class TestPortosPortlet |
|
||||||
*/ |
|
||||||
public class TestPortosPortlet extends MVCPortlet { |
|
||||||
private static final Log _log = LogFactoryUtil.getLog(TestPortosPortlet.class); |
|
||||||
|
|
||||||
public void reIndexFasciolo(ActionRequest actionRequest, ActionResponse actionResponse) { |
|
||||||
|
|
||||||
|
|
||||||
try { |
|
||||||
|
|
||||||
ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); |
|
||||||
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); |
|
||||||
|
|
||||||
Indexer intIndexer = IndexerRegistryUtil.getIndexer(IntPratica.class); |
|
||||||
Indexer controlloIndexer = IndexerRegistryUtil.getIndexer(ControlloPratica.class); |
|
||||||
|
|
||||||
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); |
|
||||||
|
|
||||||
if (intPratica != null) { |
|
||||||
|
|
||||||
intIndexer.delete(themeDisplay.getCompanyId(), intPratica.getUuid()); |
|
||||||
intIndexer.reindex(IntPratica.class.getName(), intPratica.getIntPraticaId()); |
|
||||||
|
|
||||||
ClassLoader classLoader = |
|
||||||
(ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); |
|
||||||
|
|
||||||
DynamicQuery queryCP = DynamicQueryFactoryUtil.forClass(ControlloPratica.class, classLoader); |
|
||||||
queryCP.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); |
|
||||||
|
|
||||||
List<ControlloPratica> appList = |
|
||||||
ControlloPraticaLocalServiceUtil.dynamicQuery(queryCP, QueryUtil.ALL_POS, QueryUtil.ALL_POS); |
|
||||||
|
|
||||||
if (appList != null && !appList.isEmpty()) { |
|
||||||
for (ControlloPratica controlloPratica : appList) { |
|
||||||
controlloIndexer.delete(themeDisplay.getCompanyId(),controlloPratica.getUuid()); |
|
||||||
controlloIndexer.reindex(ControlloPratica.class.getName(),controlloPratica.getControlloPraticaId()); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} catch (PortalException | SystemException e) { |
|
||||||
_log.error(e,e); |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
public void updateCollaudoStatico(ActionRequest actionRequest, ActionResponse actionResponse) throws SystemException { |
|
||||||
|
|
||||||
// ClassLoader classLoader =
|
|
||||||
// (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader");
|
|
||||||
//
|
|
||||||
// DynamicQuery queryCP = DynamicQueryFactoryUtil.forClass(DettPratica.class, classLoader);
|
|
||||||
// queryCP.add(RestrictionsFactoryUtil.ne("oldDettPraticaId", 0L));
|
|
||||||
//
|
|
||||||
// List<DettPratica> lista = DettPraticaLocalServiceUtil.dynamicQuery(queryCP, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
|
|
||||||
// for (DettPratica dettPratica : lista) {
|
|
||||||
//
|
|
||||||
// dettPratica.setCollaudoStatico(!dettPratica.getCollaudoStatico());
|
|
||||||
// DettPraticaLocalServiceUtil.updateDettPratica(dettPratica);
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
} |
|
||||||
|
|
||||||
public void testActionUrl(ActionRequest actionRequest, ActionResponse actionResponse) { |
|
||||||
System.out.println(ParamUtil.getString(actionRequest, "pagamentoId")); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
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> |
|
@ -1,11 +0,0 @@ |
|||||||
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> |
|
||||||
<%@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" %> |
|
||||||
|
|
||||||
|
|
||||||
<liferay-theme:defineObjects /> |
|
||||||
<portlet:defineObjects /> |
|
@ -1,61 +0,0 @@ |
|||||||
<%@page import="com.liferay.portal.kernel.util.ParamUtil"%> |
|
||||||
<%@include file="init.jsp"%> |
|
||||||
|
|
||||||
<% |
|
||||||
long pagamentoId = ParamUtil.getLong(request, "pagamentoId", 0L); |
|
||||||
String dialogId = "testPopupIdUnique"; |
|
||||||
String portletNameApp = "#p_p_id_"+ themeDisplay.getPortletDisplay().getId() +"_"; |
|
||||||
%> |
|
||||||
|
|
||||||
<liferay-portlet:actionURL name="testActionUrl" var="testActionUrlURL"> |
|
||||||
<portlet:param name="pagamentoId" value='<%=pagamentoId + "" %>'/> |
|
||||||
</liferay-portlet:actionURL> |
|
||||||
|
|
||||||
|
|
||||||
<aui:form action="<%=testActionUrlURL %>" method="POST"> |
|
||||||
<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="submitFormRigeneraPagamento" |
|
||||||
type="submit" 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;" |
|
||||||
onClick='<%=renderResponse.getNamespace()+"closePopup()"%>' |
|
||||||
/> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> |
|
||||||
|
|
||||||
</aui:form> |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<aui:script use="aui-base"> |
|
||||||
Liferay.provide( |
|
||||||
window, |
|
||||||
'<portlet:namespace/>closePopup', |
|
||||||
function() { |
|
||||||
|
|
||||||
Liferay.Util.getOpener().refreshPortlet(); |
|
||||||
Liferay.Util.getOpener().closePopup('<%= dialogId %>'); |
|
||||||
|
|
||||||
}, |
|
||||||
['aui-base','liferay-util-window'] |
|
||||||
); |
|
||||||
</aui:script> |
|
@ -1,114 +0,0 @@ |
|||||||
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> |
|
||||||
<%@include file="init.jsp"%> |
|
||||||
|
|
||||||
<hr style="margin:20px;" /> |
|
||||||
|
|
||||||
<liferay-portlet:actionURL name="reIndexFasciolo" var="reIndexFascioloURL" /> |
|
||||||
<div class="row-fluid" style="margin-top:20px;"> |
|
||||||
<div class="span12"> |
|
||||||
<div style="font-weight: bold; font-size:18px; margin-bottom: 10px;">Form per reindicizzare un fascicolo</div> |
|
||||||
<aui:form action="<%=reIndexFascioloURL %>" method="post" name="fm1"> |
|
||||||
<div> |
|
||||||
<aui:input name="intPraticaId" label="IntPraticaId" > |
|
||||||
<aui:validator name="number"/> |
|
||||||
</aui:input> |
|
||||||
<aui:button type="submit" value="Reindicizza Fascicolo" /> |
|
||||||
</div> |
|
||||||
</aui:form> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
<hr style="margin:20px;" /> |
|
||||||
|
|
||||||
<liferay-portlet:actionURL name="updateCollaudoStatico" var="updateCollaudoStaticoURL" /> |
|
||||||
<div class="row-fluid" style="margin-top:20px;"> |
|
||||||
<div class="span12"> |
|
||||||
<div style="font-weight: bold; font-size:18px; margin-bottom: 10px;">Corregge le DettPratica: Va premuto solo una volta!!!!</div> |
|
||||||
<aui:form action="<%=updateCollaudoStaticoURL %>" method="post" name="fm1"> |
|
||||||
<div> |
|
||||||
|
|
||||||
<aui:button type="submit" value="RIPARA DettPratica" /> |
|
||||||
</div> |
|
||||||
</aui:form> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
|
|
||||||
<portlet:actionURL name="testActionUrl" var="testActionUrlURL"> |
|
||||||
<portlet:param name="testParam" value="testParamValue" /> |
|
||||||
</portlet:actionURL> |
|
||||||
|
|
||||||
|
|
||||||
<portlet:renderURL var="popupURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>" > |
|
||||||
<portlet:param name="mvcPath" value="/html/testportos/rigenera_pagamento.jsp"/> |
|
||||||
<portlet:param name="pagamentoId" value="12200" /> |
|
||||||
</portlet:renderURL> |
|
||||||
|
|
||||||
<aui:button useDialog="true" id='rigeneraPagamento_a' icon="fa fa-plus" href="<%=popupURL%>" cssClass="btn btn-primary btn-action"/> |
|
||||||
|
|
||||||
|
|
||||||
<a href="#" id="<portlet:namespace/>showPopup"> |
|
||||||
<span class="edit-mode-addportlet"> </span> |
|
||||||
<liferay-ui:message key='add-content-element' /> |
|
||||||
</a> |
|
||||||
|
|
||||||
<script type="text/javascript"> |
|
||||||
|
|
||||||
AUI().ready('aui-node', function(A) { |
|
||||||
A.one('#<portlet:namespace/>showPopup').on('click', function(e) { |
|
||||||
Liferay.Util.openWindow( |
|
||||||
{ |
|
||||||
dialog: { |
|
||||||
modal: true, |
|
||||||
cache: false, |
|
||||||
centered: true, |
|
||||||
resizable: false, |
|
||||||
destroyOnClose: true, |
|
||||||
width: 500, |
|
||||||
height: 250 |
|
||||||
}, |
|
||||||
id: 'testPopupIdUnique', |
|
||||||
title: 'Rigenera Pagamento', |
|
||||||
uri: '<%=popupURL%>' |
|
||||||
} |
|
||||||
); |
|
||||||
|
|
||||||
}); |
|
||||||
|
|
||||||
Liferay.provide(window,'closePopup', |
|
||||||
function(popupIdToClose) { |
|
||||||
var dialog = Liferay.Util.getWindow(popupIdToClose); |
|
||||||
dialog.destroy(); // You can try toggle/hide whatever You want |
|
||||||
}, |
|
||||||
['aui-base','aui-dialog','aui-dialog-iframe'] |
|
||||||
); |
|
||||||
}); |
|
||||||
|
|
||||||
</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.Window.getById(dialogId); |
|
||||||
dialog.destroy(); |
|
||||||
}, |
|
||||||
['liferay-util-window'] |
|
||||||
); |
|
||||||
</aui:script> |
|
||||||
|
|
||||||
|
|
||||||
<div title="Rigenera Pagamento" class="tooltip-info"> |
|
||||||
<liferay-ui:icon id='<%="rigeneraPagamento_"%>' linkCssClass="btn btn-danger" iconCssClass="fa fa-trash" message="Rigenera Pagamento" url="javascript:void(0)"/> |
|
||||||
</div> |
|
||||||
|
|
||||||
<liferay-ui:icon-delete message="return" url="<%= testActionUrlURL %>"/> |
|
||||||
|
|
Prima Larghezza: | Altezza: | Dimensione: 467 B |
@ -1,18 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
|
|
||||||
<ivy-module |
|
||||||
version="2.0" |
|
||||||
xmlns:m2="http://ant.apache.org/ivy/maven" |
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
||||||
xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd" |
|
||||||
> |
|
||||||
<info module="PortoTestPlugin-portlet" organisation="com.liferay"> |
|
||||||
<extends extendType="configurations,description,info" location="../../ivy.xml" module="com.liferay.sdk" organisation="com.liferay" revision="latest.integration" /> |
|
||||||
</info> |
|
||||||
|
|
||||||
<dependencies defaultconf="default"> |
|
||||||
<dependency conf="test->default" name="arquillian-junit-container" org="org.jboss.arquillian.junit" rev="1.1.6.Final" /> |
|
||||||
<dependency conf="test->default" name="arquillian-tomcat-remote-7" org="org.jboss.arquillian.container" rev="1.0.0.CR6" /> |
|
||||||
<dependency conf="test->default" name="com.liferay.ant.arquillian" org="com.liferay" rev="1.0.0-SNAPSHOT" /> |
|
||||||
</dependencies> |
|
||||||
</ivy-module> |
|
@ -1,15 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
|
|
||||||
<arquillian |
|
||||||
xmlns="http://jboss.org/schema/arquillian" |
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
||||||
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd" |
|
||||||
> |
|
||||||
<container default="true" qualifier="tomcat"> |
|
||||||
<configuration> |
|
||||||
<property name="jmxPort">8099</property> |
|
||||||
<property name="pass">tomcat</property> |
|
||||||
<property name="user">tomcat</property> |
|
||||||
</configuration> |
|
||||||
</container> |
|
||||||
</arquillian> |
|
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File diff suppressed because one or more lines are too long
File diff soppresso perché troppo grande
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Caricamento…
Reference in new issue