Salvatore La Manna
4 anni fa
72 ha cambiato i file con 1524 aggiunte e 3917 eliminazioni
@ -1,33 +1,32 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General |
||||
* Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.bo.model.impl; |
||||
|
||||
/** |
||||
* The extended model implementation for the AllegatoManuale service. Represents a row in the "portos_bo_AllegatoManuale" database table, with each column mapped to a property of this class. |
||||
* The extended model implementation for the AllegatoManuale service. Represents a row in the |
||||
* "portos_bo_AllegatoManuale" database table, with each column mapped to a property of this class. |
||||
* |
||||
* <p> |
||||
* Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.bo.model.AllegatoManuale} interface. |
||||
* Helper methods and all application logic should be put in this class. Whenever methods are added, rerun |
||||
* ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.bo.model.AllegatoManuale} interface. |
||||
* </p> |
||||
* |
||||
* @author Davide Barbagallo, 3F Consulting |
||||
*/ |
||||
public class AllegatoManualeImpl extends AllegatoManualeBaseImpl { |
||||
/* |
||||
* NOTE FOR DEVELOPERS: |
||||
* |
||||
* Never reference this class directly. All methods that expect a allegato manuale model instance should use the {@link it.tref.liferay.portos.bo.model.AllegatoManuale} interface instead. |
||||
* NOTE FOR DEVELOPERS: Never reference this class directly. All methods that expect a allegato manuale model |
||||
* instance should use the {@link it.tref.liferay.portos.bo.model.AllegatoManuale} interface instead. |
||||
*/ |
||||
public AllegatoManualeImpl() { |
||||
} |
||||
|
@ -1,34 +1,34 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General |
||||
* Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.bo.model.impl; |
||||
|
||||
/** |
||||
* The extended model implementation for the ParereGeologo service. Represents a row in the "portos_bo_ParereGeologo" database table, with each column mapped to a property of this class. |
||||
* The extended model implementation for the ParereGeologo service. Represents a row in the |
||||
* "portos_bo_ParereGeologo" database table, with each column mapped to a property of this class. |
||||
* |
||||
* <p> |
||||
* Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.bo.model.ParereGeologo} interface. |
||||
* Helper methods and all application logic should be put in this class. Whenever methods are added, rerun |
||||
* ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.bo.model.ParereGeologo} interface. |
||||
* </p> |
||||
* |
||||
* @author Davide Barbagallo, 3F Consulting |
||||
*/ |
||||
@SuppressWarnings("serial") |
||||
public class ParereGeologoImpl extends ParereGeologoBaseImpl { |
||||
/* |
||||
* NOTE FOR DEVELOPERS: |
||||
* |
||||
* Never reference this class directly. All methods that expect a parere geologo model instance should use the {@link it.tref.liferay.portos.bo.model.ParereGeologo} interface instead. |
||||
* NOTE FOR DEVELOPERS: Never reference this class directly. All methods that expect a parere geologo model instance |
||||
* should use the {@link it.tref.liferay.portos.bo.model.ParereGeologo} interface instead. |
||||
*/ |
||||
public ParereGeologoImpl() { |
||||
} |
||||
} |
||||
} |
||||
|
@ -1,34 +1,34 @@
|
||||
/** |
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. |
||||
* |
||||
* This library is free software; you can redistribute it and/or modify it under |
||||
* the terms of the GNU Lesser General Public License as published by the Free |
||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General |
||||
* Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) |
||||
* any later version. |
||||
* |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
||||
* details. |
||||
*/ |
||||
|
||||
package it.tref.liferay.portos.bo.model.impl; |
||||
|
||||
/** |
||||
* The extended model implementation for the Tempistica service. Represents a row in the "portos_bo_Tempistica" database table, with each column mapped to a property of this class. |
||||
* The extended model implementation for the Tempistica service. Represents a row in the |
||||
* "portos_bo_Tempistica" database table, with each column mapped to a property of this class. |
||||
* |
||||
* <p> |
||||
* Helper methods and all application logic should be put in this class. Whenever methods are added, rerun ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.bo.model.Tempistica} interface. |
||||
* Helper methods and all application logic should be put in this class. Whenever methods are added, rerun |
||||
* ServiceBuilder to copy their definitions into the {@link it.tref.liferay.portos.bo.model.Tempistica} interface. |
||||
* </p> |
||||
* |
||||
* @author Davide Barbagallo, 3F Consulting |
||||
*/ |
||||
@SuppressWarnings("serial") |
||||
public class TempisticaImpl extends TempisticaBaseImpl { |
||||
/* |
||||
* NOTE FOR DEVELOPERS: |
||||
* |
||||
* Never reference this class directly. All methods that expect a tempistica model instance should use the {@link it.tref.liferay.portos.bo.model.Tempistica} interface instead. |
||||
* NOTE FOR DEVELOPERS: Never reference this class directly. All methods that expect a tempistica model instance |
||||
* should use the {@link it.tref.liferay.portos.bo.model.Tempistica} interface instead. |
||||
*/ |
||||
public TempisticaImpl() { |
||||
} |
||||
} |
||||
} |
||||
|
File diff soppresso perché troppo grande
Load Diff
File diff soppresso perché troppo grande
Load Diff
@ -1,147 +0,0 @@
|
||||
package it.tref.liferay.portos.bo.util; |
||||
|
||||
import java.util.Calendar; |
||||
import java.util.Date; |
||||
import java.util.GregorianCalendar; |
||||
|
||||
import org.apache.commons.lang.time.DateUtils; |
||||
|
||||
public class FestivitaUtil { |
||||
|
||||
public final static boolean isFestivo(Date date) { |
||||
|
||||
int year = DateUtils.toCalendar(date).get(Calendar.YEAR); |
||||
|
||||
boolean isCapodanno = is(date, 1, 1); |
||||
boolean isBefana = is(date, 6, 1); |
||||
boolean isPasqua = isPasqua(date); |
||||
|
||||
boolean isPasquetta = false; |
||||
Date dtPasqua = findPasqua(year); |
||||
if (dtPasqua != null) { |
||||
Calendar calendar = DateUtils.toCalendar(dtPasqua); |
||||
while (calendar.get(Calendar.DAY_OF_WEEK) != Calendar.MONDAY) { |
||||
calendar.add(Calendar.DATE, 1); |
||||
} |
||||
isPasquetta = is(date, calendar.getTime()); |
||||
} |
||||
|
||||
boolean isFestaDellaLiberazione = is(date, 25, 4); |
||||
boolean isFestaDeiLavoratori = is(date, 1, 5); |
||||
boolean isFestaDellaRepubblica = is(date, 2, 6); |
||||
boolean isFerragosto = is(date, 15, 8); |
||||
boolean isOgnissanti = is(date, 1, 11); |
||||
boolean isImmacolataConcezione = is(date, 8, 12); |
||||
boolean isNatale = is(date, 25, 12); |
||||
boolean isSantoStefano = is(date, 26, 12); |
||||
|
||||
return isCapodanno || isBefana || isPasqua || isPasquetta || isFestaDellaLiberazione |
||||
|| isFestaDeiLavoratori || isFestaDellaRepubblica || isFerragosto || isOgnissanti |
||||
|| isImmacolataConcezione || isNatale || isSantoStefano; |
||||
} |
||||
|
||||
private final static boolean isPasqua(Date date) { |
||||
|
||||
Calendar calendar = new GregorianCalendar(); |
||||
calendar.setTime(date); |
||||
|
||||
int year = calendar.get(Calendar.YEAR); |
||||
int dateYMD = year * 10000 + calendar.get(Calendar.MONTH) * 100 + calendar.get(Calendar.DAY_OF_MONTH); |
||||
|
||||
Date pasqua = findPasqua(year); |
||||
if (pasqua != null) { |
||||
calendar.setTime(pasqua); |
||||
int pasquaYMD = year * 10000 + calendar.get(Calendar.MONTH) * 100 |
||||
+ calendar.get(Calendar.DAY_OF_MONTH); |
||||
return (pasquaYMD == dateYMD); |
||||
} |
||||
|
||||
return false; |
||||
} |
||||
|
||||
private final static boolean is(Date date, int day, int month) { |
||||
Calendar calendar = DateUtils.toCalendar(date); |
||||
return calendar.get(Calendar.DATE) == day && (calendar.get(Calendar.MONTH) + 1) == month; |
||||
} |
||||
|
||||
private final static boolean is(Date date, Date date2) { |
||||
Calendar calendar = Calendar.getInstance(); |
||||
calendar.setTime(date); |
||||
Calendar calendar2 = Calendar.getInstance(); |
||||
calendar2.setTime(date2); |
||||
return calendar.get(Calendar.DATE) == calendar2.get(Calendar.DATE) |
||||
&& calendar.get(Calendar.MONTH) == calendar2.get(Calendar.MONTH); |
||||
} |
||||
|
||||
private final static Date findPasqua(int year) { |
||||
|
||||
if ((year < 1573) || (year > 2499)) { |
||||
throw null; |
||||
} |
||||
|
||||
int a = year % 19; |
||||
int b = year % 4; |
||||
int c = year % 7; |
||||
|
||||
int m = 0; |
||||
int n = 0; |
||||
|
||||
if ((year >= 1583) && (year <= 1699)) { |
||||
m = 22; |
||||
n = 2; |
||||
} |
||||
if ((year >= 1700) && (year <= 1799)) { |
||||
m = 23; |
||||
n = 3; |
||||
} |
||||
if ((year >= 1800) && (year <= 1899)) { |
||||
m = 23; |
||||
n = 4; |
||||
} |
||||
if ((year >= 1900) && (year <= 2099)) { |
||||
m = 24; |
||||
n = 5; |
||||
} |
||||
if ((year >= 2100) && (year <= 2199)) { |
||||
m = 24; |
||||
n = 6; |
||||
} |
||||
if ((year >= 2200) && (year <= 2299)) { |
||||
m = 25; |
||||
n = 0; |
||||
} |
||||
if ((year >= 2300) && (year <= 2399)) { |
||||
m = 26; |
||||
n = 1; |
||||
} |
||||
if ((year >= 2400) && (year <= 2499)) { |
||||
m = 25; |
||||
n = 1; |
||||
} |
||||
|
||||
int d = (19 * a + m) % 30; |
||||
int e = (2 * b + 4 * c + 6 * d + n) % 7; |
||||
|
||||
Calendar calendar = new GregorianCalendar(); |
||||
calendar.set(Calendar.YEAR, year); |
||||
|
||||
if (d + e < 10) { |
||||
calendar.set(Calendar.YEAR, year); |
||||
calendar.set(Calendar.MONTH, Calendar.MARCH); |
||||
calendar.set(Calendar.DAY_OF_MONTH, d + e + 22); |
||||
} else { |
||||
calendar.set(Calendar.MONTH, Calendar.APRIL); |
||||
int day = d + e - 9; |
||||
if (26 == day) { |
||||
day = 19; |
||||
} |
||||
if ((25 == day) && (28 == d) && (e == 6) && (a > 10)) { |
||||
day = 18; |
||||
} |
||||
calendar.set(Calendar.DAY_OF_MONTH, day); |
||||
} |
||||
|
||||
return calendar.getTime(); |
||||
} |
||||
|
||||
} |
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 binario non mostrato.
@ -1,572 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
||||
<taglib 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-jsptaglibrary_2_1.xsd" |
||||
version="2.1"> |
||||
|
||||
<description>JSTL 1.2 core library</description> |
||||
<display-name>JSTL core</display-name> |
||||
<tlib-version>1.2</tlib-version> |
||||
<short-name>c</short-name> |
||||
<uri>http://java.sun.com/jsp/jstl/core</uri> |
||||
|
||||
<validator> |
||||
<description> |
||||
Provides core validation features for JSTL tags. |
||||
</description> |
||||
<validator-class> |
||||
org.apache.taglibs.standard.tlv.JstlCoreTLV |
||||
</validator-class> |
||||
</validator> |
||||
|
||||
<tag> |
||||
<description> |
||||
Catches any Throwable that occurs in its body and optionally |
||||
exposes it. |
||||
</description> |
||||
<name>catch</name> |
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<description> |
||||
Name of the exported scoped variable for the |
||||
exception thrown from a nested action. The type of the |
||||
scoped variable is the type of the exception thrown. |
||||
</description> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
<tag> |
||||
<description> |
||||
Simple conditional tag that establishes a context for |
||||
mutually exclusive conditional operations, marked by |
||||
<when> and <otherwise> |
||||
</description> |
||||
<name>choose</name> |
||||
<tag-class>com.liferay.taglib.core.ChooseTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
|
||||
<tag> |
||||
<description> |
||||
Simple conditional tag, which evalutes its body if the |
||||
supplied condition is true and optionally exposes a Boolean |
||||
scripting variable representing the evaluation of this condition |
||||
</description> |
||||
<name>if</name> |
||||
<tag-class>com.liferay.taglib.core.IfTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<description> |
||||
The test condition that determines whether or |
||||
not the body content should be processed. |
||||
</description> |
||||
<name>test</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
<type>boolean</type> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Name of the exported scoped variable for the |
||||
resulting value of the test condition. The type |
||||
of the scoped variable is Boolean. |
||||
</description> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Scope for var. |
||||
</description> |
||||
<name>scope</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
<tag> |
||||
<description> |
||||
Retrieves an absolute or relative URL and exposes its contents |
||||
to either the page, a String in 'var', or a Reader in 'varReader'. |
||||
</description> |
||||
<name>import</name> |
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class> |
||||
<tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<description> |
||||
The URL of the resource to import. |
||||
</description> |
||||
<name>url</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Name of the exported scoped variable for the |
||||
resource's content. The type of the scoped |
||||
variable is String. |
||||
</description> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Scope for var. |
||||
</description> |
||||
<name>scope</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Name of the exported scoped variable for the |
||||
resource's content. The type of the scoped |
||||
variable is Reader. |
||||
</description> |
||||
<name>varReader</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Name of the context when accessing a relative |
||||
URL resource that belongs to a foreign |
||||
context. |
||||
</description> |
||||
<name>context</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Character encoding of the content at the input |
||||
resource. |
||||
</description> |
||||
<name>charEncoding</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
<tag> |
||||
<description> |
||||
The basic iteration tag, accepting many different |
||||
collection types and supporting subsetting and other |
||||
functionality |
||||
</description> |
||||
<name>forEach</name> |
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class> |
||||
<tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<description> |
||||
Collection of items to iterate over. |
||||
</description> |
||||
<name>items</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
<type>java.lang.Object</type> |
||||
<deferred-value> |
||||
<type>java.lang.Object</type> |
||||
</deferred-value> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
If items specified: |
||||
Iteration begins at the item located at the |
||||
specified index. First item of the collection has |
||||
index 0. |
||||
If items not specified: |
||||
Iteration begins with index set at the value |
||||
specified. |
||||
</description> |
||||
<name>begin</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
<type>int</type> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
If items specified: |
||||
Iteration ends at the item located at the |
||||
specified index (inclusive). |
||||
If items not specified: |
||||
Iteration ends when index reaches the value |
||||
specified. |
||||
</description> |
||||
<name>end</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
<type>int</type> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Iteration will only process every step items of |
||||
the collection, starting with the first one. |
||||
</description> |
||||
<name>step</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
<type>int</type> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Name of the exported scoped variable for the |
||||
current item of the iteration. This scoped |
||||
variable has nested visibility. Its type depends |
||||
on the object of the underlying collection. |
||||
</description> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Name of the exported scoped variable for the |
||||
status of the iteration. Object exported is of type |
||||
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested |
||||
visibility. |
||||
</description> |
||||
<name>varStatus</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
<tag> |
||||
<description> |
||||
Iterates over tokens, separated by the supplied delimeters |
||||
</description> |
||||
<name>forTokens</name> |
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<description> |
||||
String of tokens to iterate over. |
||||
</description> |
||||
<name>items</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
<type>java.lang.String</type> |
||||
<deferred-value> |
||||
<type>java.lang.String</type> |
||||
</deferred-value> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
The set of delimiters (the characters that |
||||
separate the tokens in the string). |
||||
</description> |
||||
<name>delims</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
<type>java.lang.String</type> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Iteration begins at the token located at the |
||||
specified index. First token has index 0. |
||||
</description> |
||||
<name>begin</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
<type>int</type> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Iteration ends at the token located at the |
||||
specified index (inclusive). |
||||
</description> |
||||
<name>end</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
<type>int</type> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Iteration will only process every step tokens |
||||
of the string, starting with the first one. |
||||
</description> |
||||
<name>step</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
<type>int</type> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Name of the exported scoped variable for the |
||||
current item of the iteration. This scoped |
||||
variable has nested visibility. |
||||
</description> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Name of the exported scoped variable for the |
||||
status of the iteration. Object exported is of |
||||
type |
||||
javax.servlet.jsp.jstl.core.LoopTag |
||||
Status. This scoped variable has nested |
||||
visibility. |
||||
</description> |
||||
<name>varStatus</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
<tag> |
||||
<description> |
||||
Like <%= ... >, but for expressions. |
||||
</description> |
||||
<name>out</name> |
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<description> |
||||
Expression to be evaluated. |
||||
</description> |
||||
<name>value</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Default value if the resulting value is null. |
||||
</description> |
||||
<name>default</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Determines whether characters <,>,&,'," in the |
||||
resulting string should be converted to their |
||||
corresponding character entity codes. Default value is |
||||
true. |
||||
</description> |
||||
<name>escapeXml</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
|
||||
<tag> |
||||
<description> |
||||
Subtag of <choose> that follows <when> tags |
||||
and runs only if all of the prior conditions evaluated to |
||||
'false' |
||||
</description> |
||||
<name>otherwise</name> |
||||
<tag-class>com.liferay.taglib.core.OtherwiseTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
</tag> |
||||
|
||||
<tag> |
||||
<description> |
||||
Adds a parameter to a containing 'import' tag's URL. |
||||
</description> |
||||
<name>param</name> |
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<description> |
||||
Name of the query string parameter. |
||||
</description> |
||||
<name>name</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Value of the parameter. |
||||
</description> |
||||
<name>value</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
<tag> |
||||
<description> |
||||
Redirects to a new URL. |
||||
</description> |
||||
<name>redirect</name> |
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<description> |
||||
The URL of the resource to redirect to. |
||||
</description> |
||||
<name>url</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Name of the context when redirecting to a relative URL |
||||
resource that belongs to a foreign context. |
||||
</description> |
||||
<name>context</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
<tag> |
||||
<description> |
||||
Removes a scoped variable (from a particular scope, if specified). |
||||
</description> |
||||
<name>remove</name> |
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class> |
||||
<body-content>empty</body-content> |
||||
<attribute> |
||||
<description> |
||||
Name of the scoped variable to be removed. |
||||
</description> |
||||
<name>var</name> |
||||
<required>true</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Scope for var. |
||||
</description> |
||||
<name>scope</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
<tag> |
||||
<description> |
||||
Sets the result of an expression evaluation in a 'scope' |
||||
</description> |
||||
<name>set</name> |
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<description> |
||||
Name of the exported scoped variable to hold the value |
||||
specified in the action. The type of the scoped variable is |
||||
whatever type the value expression evaluates to. |
||||
</description> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Expression to be evaluated. |
||||
</description> |
||||
<name>value</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
<deferred-value> |
||||
<type>java.lang.Object</type> |
||||
</deferred-value> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Target object whose property will be set. Must evaluate to |
||||
a JavaBeans object with setter property property, or to a |
||||
java.util.Map object. |
||||
</description> |
||||
<name>target</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Name of the property to be set in the target object. |
||||
</description> |
||||
<name>property</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Scope for var. |
||||
</description> |
||||
<name>scope</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
<tag> |
||||
<description> |
||||
Creates a URL with optional query parameters. |
||||
</description> |
||||
<name>url</name> |
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<description> |
||||
Name of the exported scoped variable for the |
||||
processed url. The type of the scoped variable is |
||||
String. |
||||
</description> |
||||
<name>var</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Scope for var. |
||||
</description> |
||||
<name>scope</name> |
||||
<required>false</required> |
||||
<rtexprvalue>false</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
URL to be processed. |
||||
</description> |
||||
<name>value</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
<attribute> |
||||
<description> |
||||
Name of the context when specifying a relative URL |
||||
resource that belongs to a foreign context. |
||||
</description> |
||||
<name>context</name> |
||||
<required>false</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
<tag> |
||||
<description> |
||||
Subtag of <choose> that includes its body if its |
||||
condition evalutes to 'true' |
||||
</description> |
||||
<name>when</name> |
||||
<tag-class>com.liferay.taglib.core.WhenTag</tag-class> |
||||
<body-content>JSP</body-content> |
||||
<attribute> |
||||
<description> |
||||
The test condition that determines whether or not the |
||||
body content should be processed. |
||||
</description> |
||||
<name>test</name> |
||||
<required>true</required> |
||||
<rtexprvalue>true</rtexprvalue> |
||||
<type>boolean</type> |
||||
</attribute> |
||||
</tag> |
||||
|
||||
</taglib> |
Caricamento…
Reference in new issue