[jboss-cvs] JBossAS SVN: r95409 - projects/metadata/web/trunk/src/main/java/org/jboss/metadata/web/spec.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 22 10:36:21 EDT 2009
Author: remy.maucherat at jboss.com
Date: 2009-10-22 10:36:20 -0400 (Thu, 22 Oct 2009)
New Revision: 95409
Modified:
projects/metadata/web/trunk/src/main/java/org/jboss/metadata/web/spec/AttributeMetaData.java
projects/metadata/web/trunk/src/main/java/org/jboss/metadata/web/spec/TagMetaData.java
projects/metadata/web/trunk/src/main/java/org/jboss/metadata/web/spec/VariableMetaData.java
Log:
- I should know by now that using booleans for JSP stuff is not possible, due to the special "yes" value ...
Modified: projects/metadata/web/trunk/src/main/java/org/jboss/metadata/web/spec/AttributeMetaData.java
===================================================================
--- projects/metadata/web/trunk/src/main/java/org/jboss/metadata/web/spec/AttributeMetaData.java 2009-10-22 14:19:49 UTC (rev 95408)
+++ projects/metadata/web/trunk/src/main/java/org/jboss/metadata/web/spec/AttributeMetaData.java 2009-10-22 14:36:20 UTC (rev 95409)
@@ -41,10 +41,10 @@
{
private static final long serialVersionUID = 1;
- private boolean required = false;
- private boolean rtexprvalue = false;
+ private String required;
+ private String rtexprvalue;
private String type;
- private boolean fragment = false;
+ private String fragment;
private DeferredValueMetaData deferredValue;
private DeferredMethodMetaData deferredMethod;
@@ -57,29 +57,29 @@
this.type = type;
}
- public boolean getRequired()
+ public String getRequired()
{
return required;
}
- public void setRequired(boolean required)
+ public void setRequired(String required)
{
this.required = required;
}
- public boolean getRtexprvalue()
+ public String getRtexprvalue()
{
return rtexprvalue;
}
- public void setRtexprvalue(boolean rtexprvalue)
+ public void setRtexprvalue(String rtexprvalue)
{
this.rtexprvalue = rtexprvalue;
}
- public boolean getFragment()
+ public String getFragment()
{
return fragment;
}
- public void setFragment(boolean fragment)
+ public void setFragment(String fragment)
{
this.fragment = fragment;
}
Modified: projects/metadata/web/trunk/src/main/java/org/jboss/metadata/web/spec/TagMetaData.java
===================================================================
--- projects/metadata/web/trunk/src/main/java/org/jboss/metadata/web/spec/TagMetaData.java 2009-10-22 14:19:49 UTC (rev 95408)
+++ projects/metadata/web/trunk/src/main/java/org/jboss/metadata/web/spec/TagMetaData.java 2009-10-22 14:36:20 UTC (rev 95409)
@@ -48,7 +48,7 @@
private BodyContentType bodyContent;
private List<VariableMetaData> variables;
private List<AttributeMetaData> attributes;
- private boolean dynamicAttributes = false;
+ private String dynamicAttributes;
private List<String> examples;
private List<TldExtensionMetaData> tagExtensions;
@@ -79,11 +79,11 @@
this.bodyContent = bodyContent;
}
- public boolean getDynamicAttributes()
+ public String getDynamicAttributes()
{
return dynamicAttributes;
}
- public void setDynamicAttributes(boolean dynamicAttributes)
+ public void setDynamicAttributes(String dynamicAttributes)
{
this.dynamicAttributes = dynamicAttributes;
}
Modified: projects/metadata/web/trunk/src/main/java/org/jboss/metadata/web/spec/VariableMetaData.java
===================================================================
--- projects/metadata/web/trunk/src/main/java/org/jboss/metadata/web/spec/VariableMetaData.java 2009-10-22 14:19:49 UTC (rev 95408)
+++ projects/metadata/web/trunk/src/main/java/org/jboss/metadata/web/spec/VariableMetaData.java 2009-10-22 14:36:20 UTC (rev 95409)
@@ -42,8 +42,8 @@
private String nameGiven;
private String nameFromAttribute;
private String variableClass;
- private boolean declare = true;
- private VariableScopeType scope = VariableScopeType.NESTED;
+ private String declare;
+ private VariableScopeType scope;
public String getNameGiven()
{
@@ -72,11 +72,11 @@
this.variableClass = variableClass;
}
- public boolean getDeclare()
+ public String getDeclare()
{
return declare;
}
- public void setDeclare(boolean declare)
+ public void setDeclare(String declare)
{
this.declare = declare;
}
More information about the jboss-cvs-commits
mailing list