Author: julien(a)jboss.com
Date: 2007-02-09 21:21:09 -0500 (Fri, 09 Feb 2007)
New Revision: 6203
Modified:
trunk/core/src/main/org/jboss/portal/core/util/markup/Element.java
Log:
some javadoc to explain the use case of the empty Element field.
Modified: trunk/core/src/main/org/jboss/portal/core/util/markup/Element.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/util/markup/Element.java 2007-02-10 02:16:20
UTC (rev 6202)
+++ trunk/core/src/main/org/jboss/portal/core/util/markup/Element.java 2007-02-10 02:21:09
UTC (rev 6203)
@@ -35,7 +35,12 @@
/** . */
final String bodyContent;
- /** . */
+ /**
+ * If empty is false and the body content is null then we will output the start tag
and
+ * the end tag instead of an empty tag. The use case is for the script element which
+ * when it is empty raise issues on IE, so it start element and end element have to
be
+ * used.
+ */
final boolean empty;
/** . */
Show replies by date