Author: xlawrence
Date: Mon Jan 14 09:27:18 2008
New Revision: 19499
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D19499&repname=
=3Djahia
Log:
Rename the type attribute to name, in order to be consistent with all the o=
ther declare tags, which use names
Modified:
branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/java/org/jahia/taglibs/decla=
rations/DeclareBoxTag.java
branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/WEB-INF/etc/taglibs/j=
ahia-components.tld
Modified: branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/java/org/jahia/taglibs=
/declarations/DeclareBoxTag.java
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-INCLUD=
E-TAG-BRANCH/core/src/java/org/jahia/taglibs/declarations/DeclareBoxTag.jav=
a&rev=3D19499&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/java/org/jahia/taglibs/decla=
rations/DeclareBoxTag.java (original)
+++ branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/java/org/jahia/taglibs/decla=
rations/DeclareBoxTag.java Mon Jan 14 09:27:18 2008
@@ -27,7 +27,6 @@
import java.util.Set;
=
/**
- *
* This tag is an extension of the DeclareContainerListTag and is used to =
declare a new box type.
*
* @author Xavier Lawrence
@@ -43,13 +42,9 @@
private String view;
private String id;
=
- public String getBoxType() {
- return type;
- }
-
- public void setType(String type) {
- this.type =3D type;
- this.listName =3D type;
+ public void setName(String name) {
+ super.listName =3D name;
+ type =3D name;
}
=
public String getView() {
Modified: branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/WEB-INF/etc/tag=
libs/jahia-components.tld
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-INCLUD=
E-TAG-BRANCH/core/src/webapp/WEB-INF/etc/taglibs/jahia-components.tld&rev=
=3D19499&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/WEB-INF/etc/taglibs/j=
ahia-components.tld (original)
+++ branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/WEB-INF/etc/taglibs/j=
ahia-components.tld Mon Jan 14 09:27:18 2008
@@ -327,7 +327,7 @@
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
- <name>type</name>
+ <name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list