Author: dolander
Date: Sun Aug  1 19:35:31 2004
New Revision: 35561

Added:
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/attribute/
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/attribute/nullbinding/
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/attribute/nullbinding/Controller.jpf
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/attribute/nullbinding/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errors/
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errors/Controller.jpf
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errors/index.jsp
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errorsinline/
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errorsinline/Controller.jpf
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errorsinline/index.jsp
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/nullbinding/
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/nullbinding/Controller.jpf
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/nullbinding/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/errors/
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/errors/Controller.jpf
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/errors/index.jsp
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/nullbinding/
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/nullbinding/Controller.jpf
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/nullbinding/index.jsp
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatstring/
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatstring/nullbinding/
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatstring/nullbinding/Controller.jpf
   
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatstring/nullbinding/index.jsp
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAttributeNullBinding.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatDateErrors.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatDateErrorsInline.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatDateNullBinding.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatNumberErrors.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatNumberNullBinding.xml
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatStringNullBinding.xml
Modified:
   incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/index.jsp
   
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml
Log:
BVT test of the Formattable/Formatter error reporting.




Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/attribute/nullbinding/Controller.jpf
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/attribute/nullbinding/Controller.jpf
        Sun Aug  1 19:35:31 2004
@@ -0,0 +1,53 @@
+package coretags.attribute.nullbinding;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+/**
+ * This is the default controller for a blank web application.
+ */
[EMAIL PROTECTED]
[EMAIL PROTECTED](
+    value = { 
+        "<!-- This data is auto-generated. Hand-editing this section is not 
recommended. -->", 
+        "<view-properties>", 
+        "<pageflow-object 
id='pageflow:/coretags/base/nullbinding/Controller.jpf'/>", 
+        "<pageflow-object id='action:begin.do'>", 
+        "  <property value='80' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='page:index.jsp'>", 
+        "  <property value='220' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='forward:[EMAIL PROTECTED]:begin.do@'>", 
+        "  <property value='116,140,140,164' name='elbowsX'/>", 
+        "  <property value='92,92,92,92' name='elbowsY'/>", 
+        "  <property value='East_1' name='fromPort'/>", 
+        "  <property value='West_1' name='toPort'/>", 
+        "  <property value='index' name='label'/>", 
+        "</pageflow-object>", 
+        "</view-properties>"
+    }
+)
+public class Controller extends PageFlowController
+{
+    private String _nullValue = null;
+    
+    public String getNullValue() {
+        return _nullValue;
+    }
+    
+    @Jpf.Action(
+        forwards={
+           @Jpf.Forward(name="index", path="index.jsp")
+        }
+    )
+    protected Forward begin()
+    {
+        return new Forward("index");
+    }
+
+
+}
\ No newline at end of file

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/attribute/nullbinding/index.jsp
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/attribute/nullbinding/index.jsp
     Sun Aug  1 19:35:31 2004
@@ -0,0 +1,34 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0"; prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0"; 
prefix="netui-data"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0"; 
prefix="netui-template"%>
+
+
+<netui:html>
+    <head>
+        <netui:base />
+    </head>
+    <netui:body>
+    <h4>Null binding in the Attribute tag</h4>
+    <p style="color:green">This test verifies that values bound to the 
Attribute tag are 
+    handled correctly.  In the first two, both <b>name</b> and <b>value</b> 
are required to 
+    provide a value.  These will report an error.  The third <b>value</b> does 
not require a value
+    an will be ignored.
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><netui:anchor action="begin">link
+        <netui:attribute name="${pageFlow.nullValue}" value="nullName"/>
+        </netui:anchor></li>
+    <li><netui:anchor action="begin">link
+        <netui:attribute name="nullFacet" facet="${pageFlow.nullValue}" 
value="nullFacet"/>
+        </netui:anchor></li>
+    <li><netui:anchor action="begin">link
+        <netui:attribute name="nullValue" value="${pageFlow.nullValue}"/>
+        </netui:anchor></li>
+    </ul>
+    </netui:body>
+</netui:html>
+
+  
\ No newline at end of file

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errors/Controller.jpf
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errors/Controller.jpf
    Sun Aug  1 19:35:31 2004
@@ -0,0 +1,83 @@
+package coretags.formatdate.errors;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+/**
+ * This is the default controller for a blank web application.
+ */
[EMAIL PROTECTED]
[EMAIL PROTECTED](
+    value = { 
+        "<!-- This data is auto-generated. Hand-editing this section is not 
recommended. -->", 
+        "<view-properties>", 
+        "<pageflow-object 
id='pageflow:/coretags/base/nullbinding/Controller.jpf'/>", 
+        "<pageflow-object id='action:begin.do'>", 
+        "  <property value='80' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='page:index.jsp'>", 
+        "  <property value='220' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='forward:[EMAIL PROTECTED]:begin.do@'>", 
+        "  <property value='116,140,140,164' name='elbowsX'/>", 
+        "  <property value='92,92,92,92' name='elbowsY'/>", 
+        "  <property value='East_1' name='fromPort'/>", 
+        "  <property value='West_1' name='toPort'/>", 
+        "  <property value='index' name='label'/>", 
+        "</pageflow-object>", 
+        "</view-properties>"
+    }
+)
+public class Controller extends PageFlowController
+{
+    private String _nullValue = null;
+    private String _textDate = "01/28/63";
+    private String _textAreaDate = "01/28/63";
+    private String _select;
+    
+    public String getNullValue() {
+        return _nullValue;
+    }
+    
+    public String getTextDate() {
+        return _textDate;
+    }
+    
+    public void setTextDate(String date) {
+        _textDate = date;
+    }
+    
+    public String getTextAreaDate() {
+        return _textAreaDate;
+    }
+    
+    public void setTextAreaDate(String date) {
+        _textAreaDate = date;
+    }
+
+    public String getSelect() {
+        return _select;
+    }
+    
+    public void setSelect(String date) {
+        _select = date;
+    }
+    
+    public Character getCharValue() {
+        return new Character('a');
+    }
+    
+    @Jpf.Action(
+        forwards={
+           @Jpf.Forward(name="index", path="index.jsp")
+        }
+    )
+    protected Forward begin()
+    {
+        return new Forward("index");
+    }
+
+}

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errors/index.jsp
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errors/index.jsp
 Sun Aug  1 19:35:31 2004
@@ -0,0 +1,41 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0"; prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0"; 
prefix="netui-template"%>
+<netui:html>
+    <head>
+        <netui:base />
+    </head>
+    <netui:body>
+    <h4>Format Error Reporting</h4>
+    <p style="color:green">There are two sets of test, the first verify errors 
in the FormatDate tag.
+    <br>
+    The second verify that error reporting works against the HTML tags.
+    For each HTML tag that allows a formatter, verify that the error is
+    being reported.  Each of these should produce an in-line error and also an 
error in the collected
+    errors at the end of the page.
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><netui:formatDate /> -- No Parent</li>
+    <li><netui:label value="01/28/63"><netui:formatDate 
stringInputPattern="x//ssd" /></netui:label> -- bad input pattern</li>
+    <li><netui:label value="01/28/63"><netui:formatDate pattern="x//ssd" 
/></netui:label> -- bad pattern</li>
+    <li><netui:label value="bad-date"><netui:formatDate /></netui:label> -- 
bad date</li>
+    <li><netui:label value="${pageFlow.charValue}"><netui:formatDate 
/></netui:label> -- bad type</li>
+    </ul>
+    <hr>
+    <ul>
+    <li><netui:label value="01/28/63"><netui:formatDate 
pattern="${pageFlow.nullValue}"/></netui:label></li>
+    <li><netui:select dataSource="pageFlow.select">
+        <netui:formatDate pattern="${pageFlow.nullValue}"/>
+        <netui:selectOption value="01/28/63" />
+        <netui:selectOption value="01/29/63" />
+        <netui:selectOption value="01/30/63" />
+    </netui:select>
+    <li><netui:textArea dataSource="pageFlow.textAreaDate"><netui:formatDate  
pattern="${pageFlow.nullValue}"/></netui:textArea></li>
+    <li><netui:textBox dataSource="pageFlow.textDate"><netui:formatDate  
pattern="${pageFlow.nullValue}"/></netui:textBox></li>
+    </ul>
+    </netui:body>
+</netui:html>
+
+  
\ No newline at end of file

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errorsinline/Controller.jpf
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errorsinline/Controller.jpf
      Sun Aug  1 19:35:31 2004
@@ -0,0 +1,78 @@
+package coretags.formatdate.errorsinline;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+/**
+ * This is the default controller for a blank web application.
+ */
[EMAIL PROTECTED]
[EMAIL PROTECTED](
+    value = { 
+        "<!-- This data is auto-generated. Hand-editing this section is not 
recommended. -->", 
+        "<view-properties>", 
+        "<pageflow-object 
id='pageflow:/coretags/base/nullbinding/Controller.jpf'/>", 
+        "<pageflow-object id='action:begin.do'>", 
+        "  <property value='80' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='page:index.jsp'>", 
+        "  <property value='220' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='forward:[EMAIL PROTECTED]:begin.do@'>", 
+        "  <property value='116,140,140,164' name='elbowsX'/>", 
+        "  <property value='92,92,92,92' name='elbowsY'/>", 
+        "  <property value='East_1' name='fromPort'/>", 
+        "  <property value='West_1' name='toPort'/>", 
+        "  <property value='index' name='label'/>", 
+        "</pageflow-object>", 
+        "</view-properties>"
+    }
+)
+public class Controller extends PageFlowController
+{
+    private String _nullValue = null;
+    private String _textDate = "01/28/63";
+    private String _textAreaDate = "01/28/63";
+    private String _select;
+    
+    public String getNullValue() {
+        return _nullValue;
+    }
+    
+    public String getTextDate() {
+        return _textDate;
+    }
+    
+    public void setTextDate(String date) {
+        _textDate = date;
+    }
+    
+    public String getTextAreaDate() {
+        return _textAreaDate;
+    }
+    
+    public void setTextAreaDate(String date) {
+        _textAreaDate = date;
+    }
+
+    public String getSelect() {
+        return _select;
+    }
+    
+    public void setSelect(String date) {
+        _select = date;
+    }
+    
+    @Jpf.Action(
+        forwards={
+           @Jpf.Forward(name="index", path="index.jsp")
+        }
+    )
+    protected Forward begin()
+    {
+        return new Forward("index");
+    }
+}

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errorsinline/index.jsp
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/errorsinline/index.jsp
   Sun Aug  1 19:35:31 2004
@@ -0,0 +1,30 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0"; prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0"; 
prefix="netui-template"%>
+<html>
+    <head>
+        <netui:base />
+    </head>
+    <body>
+    <h4>Format Error Reporting Inline</h4>
+    <p style="color:green">For each HTML tag that allows a formatter, verify 
that the error is
+    being reported.  The error will only be produced inline because there 
isn't a &lt;netui:html> 
+    tag to collect the errors.
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><netui:label value="01/28/63"><netui:formatDate 
pattern="${pageFlow.nullValue}"/></netui:label></li>
+    <li><netui:select dataSource="pageFlow.select">
+        <netui:formatDate pattern="${pageFlow.nullValue}"/>
+        <netui:selectOption value="01/28/63" />
+        <netui:selectOption value="01/29/63" />
+        <netui:selectOption value="01/30/63" />
+    </netui:select>
+    <li><netui:textArea dataSource="pageFlow.textAreaDate"><netui:formatDate  
pattern="${pageFlow.nullValue}"/></netui:textArea></li>
+    <li><netui:textBox dataSource="pageFlow.textDate"><netui:formatDate  
pattern="${pageFlow.nullValue}"/></netui:textBox></li>
+    </ul>
+    </body>
+</html>
+
+  
\ No newline at end of file

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/nullbinding/Controller.jpf
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/nullbinding/Controller.jpf
       Sun Aug  1 19:35:31 2004
@@ -0,0 +1,53 @@
+package coretags.formatdate.nullbinding;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+/**
+ * This is the default controller for a blank web application.
+ */
[EMAIL PROTECTED]
[EMAIL PROTECTED](
+    value = { 
+        "<!-- This data is auto-generated. Hand-editing this section is not 
recommended. -->", 
+        "<view-properties>", 
+        "<pageflow-object 
id='pageflow:/coretags/base/nullbinding/Controller.jpf'/>", 
+        "<pageflow-object id='action:begin.do'>", 
+        "  <property value='80' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='page:index.jsp'>", 
+        "  <property value='220' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='forward:[EMAIL PROTECTED]:begin.do@'>", 
+        "  <property value='116,140,140,164' name='elbowsX'/>", 
+        "  <property value='92,92,92,92' name='elbowsY'/>", 
+        "  <property value='East_1' name='fromPort'/>", 
+        "  <property value='West_1' name='toPort'/>", 
+        "  <property value='index' name='label'/>", 
+        "</pageflow-object>", 
+        "</view-properties>"
+    }
+)
+public class Controller extends PageFlowController
+{
+    private String _nullValue = null;
+    
+    public String getNullValue() {
+        return _nullValue;
+    }
+    
+    @Jpf.Action(
+        forwards={
+           @Jpf.Forward(name="index", path="index.jsp")
+        }
+    )
+    protected Forward begin()
+    {
+        return new Forward("index");
+    }
+
+
+}
\ No newline at end of file

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/nullbinding/index.jsp
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatdate/nullbinding/index.jsp
    Sun Aug  1 19:35:31 2004
@@ -0,0 +1,28 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0"; prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0"; 
prefix="netui-template"%>
+<netui:html>
+    <head>
+        <netui:base />
+    </head>
+    <netui:body>
+    <h4>Null binding in the FormatDate tag</h4>
+    <p style="color:green">Binding various attributes of the formatDate tag to 
null values.  The 
+    first two bindings should produce errors.  These are the <b>pattern</b> 
and <b>stringInputPattern</b>.
+    The second two, don't produce errors.  These are the <b>country</b> and 
<b>language</b> attributes.
+    These have defaults so do not produce errors.
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><netui:label value="01/28/63"><netui:formatDate 
pattern="${pageFlow.nullValue}" /></netui:label> -- pattern</li>
+    <li><netui:label value="01/28/63"><netui:formatDate 
stringInputPattern="${pageFlow.nullValue}" /></netui:label> -- 
stringInputPattern</li>
+    </ul>
+    <li>
+    <li><netui:label value="01/28/63"><netui:formatDate 
country="${pageFlow.nullValue}" /></netui:label> -- country</li>
+    <li><netui:label value="01/28/63"><netui:formatDate 
language="${pageFlow.nullValue}" /></netui:label> -- language</li>
+    </ul>
+    </netui:body>
+</netui:html>
+
+  
\ No newline at end of file

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/errors/Controller.jpf
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/errors/Controller.jpf
  Sun Aug  1 19:35:31 2004
@@ -0,0 +1,53 @@
+package coretags.formatnumber.errors;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+/**
+ * This is the default controller for a blank web application.
+ */
[EMAIL PROTECTED]
[EMAIL PROTECTED](
+    value = { 
+        "<!-- This data is auto-generated. Hand-editing this section is not 
recommended. -->", 
+        "<view-properties>", 
+        "<pageflow-object 
id='pageflow:/coretags/base/nullbinding/Controller.jpf'/>", 
+        "<pageflow-object id='action:begin.do'>", 
+        "  <property value='80' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='page:index.jsp'>", 
+        "  <property value='220' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='forward:[EMAIL PROTECTED]:begin.do@'>", 
+        "  <property value='116,140,140,164' name='elbowsX'/>", 
+        "  <property value='92,92,92,92' name='elbowsY'/>", 
+        "  <property value='East_1' name='fromPort'/>", 
+        "  <property value='West_1' name='toPort'/>", 
+        "  <property value='index' name='label'/>", 
+        "</pageflow-object>", 
+        "</view-properties>"
+    }
+)
+public class Controller extends PageFlowController
+{
+    private String _nullValue = null;
+    
+    public String getNullValue() {
+        return _nullValue;
+    }
+    
+    @Jpf.Action(
+        forwards={
+           @Jpf.Forward(name="index", path="index.jsp")
+        }
+    )
+    protected Forward begin()
+    {
+        return new Forward("index");
+    }
+
+
+}
\ No newline at end of file

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/errors/index.jsp
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/errors/index.jsp
       Sun Aug  1 19:35:31 2004
@@ -0,0 +1,24 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0"; prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0"; 
prefix="netui-template"%>
+<netui:html>
+    <head>
+        <netui:base />
+    </head>
+    <netui:body>
+    <h4>Errors In FormatNumber</h4>
+    <p style="color:green">This test verifies the basic errors in the 
<b>formatNumber</b> tag.  The first
+    is reported when the tag doesn't have a <b>Formattable</b> as a parent.  
In the second, the value
+    is not a number and in the third the pattern is not legal.
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><netui:formatNumber /> -- no parent</li>
+    <li><netui:label value="bad.number"><netui:formatNumber /></netui:label> 
-- bad number value</li>
+    <li><netui:label value="12345"><netui:formatNumber pattern=";##0.0#"  
/></netui:label> -- bad pattern value</li>
+    </ul>
+    </netui:body>
+</netui:html>
+
+  
\ No newline at end of file

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/nullbinding/Controller.jpf
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/nullbinding/Controller.jpf
     Sun Aug  1 19:35:31 2004
@@ -0,0 +1,53 @@
+package coretags.formatnumber.nullbinding;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+/**
+ * This is the default controller for a blank web application.
+ */
[EMAIL PROTECTED]
[EMAIL PROTECTED](
+    value = { 
+        "<!-- This data is auto-generated. Hand-editing this section is not 
recommended. -->", 
+        "<view-properties>", 
+        "<pageflow-object 
id='pageflow:/coretags/base/nullbinding/Controller.jpf'/>", 
+        "<pageflow-object id='action:begin.do'>", 
+        "  <property value='80' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='page:index.jsp'>", 
+        "  <property value='220' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='forward:[EMAIL PROTECTED]:begin.do@'>", 
+        "  <property value='116,140,140,164' name='elbowsX'/>", 
+        "  <property value='92,92,92,92' name='elbowsY'/>", 
+        "  <property value='East_1' name='fromPort'/>", 
+        "  <property value='West_1' name='toPort'/>", 
+        "  <property value='index' name='label'/>", 
+        "</pageflow-object>", 
+        "</view-properties>"
+    }
+)
+public class Controller extends PageFlowController
+{
+    private String _nullValue = null;
+    
+    public String getNullValue() {
+        return _nullValue;
+    }
+    
+    @Jpf.Action(
+        forwards={
+           @Jpf.Forward(name="index", path="index.jsp")
+        }
+    )
+    protected Forward begin()
+    {
+        return new Forward("index");
+    }
+
+
+}
\ No newline at end of file

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/nullbinding/index.jsp
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatnumber/nullbinding/index.jsp
  Sun Aug  1 19:35:31 2004
@@ -0,0 +1,25 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0"; prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0"; 
prefix="netui-template"%>
+<netui:html>
+    <head>
+        <netui:base />
+    </head>
+    <netui:body>
+    <h4>Null binding in the FormatNumber tag</h4>
+    <p style="color:green">This test verifies the results of binding to a null 
value the attributes
+    of the <b>FormatNumber</b> tag.  Both the <b>pattern</b> and <b>type</b> 
attributes will report
+    an error.  The final two <b>country</b> and </b>language</b> ignore the 
null value.
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><netui:label value="12345"><netui:formatNumber 
pattern="${pageFlow.nullValue}" /></netui:label> -- pattern</li>
+    <li><netui:label value="12345"><netui:formatNumber 
type="${pageFlow.nullValue}" /></netui:label> -- type</li>
+    <li><netui:label value="12345"><netui:formatNumber 
country="${pageFlow.nullValue}" /></netui:label> -- country</li>
+    <li><netui:label value="12345"><netui:formatNumber 
language="${pageFlow.nullValue}" /></netui:label> -- language</li>
+    </ul>
+    </netui:body>
+</netui:html>
+
+  
\ No newline at end of file

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatstring/nullbinding/Controller.jpf
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatstring/nullbinding/Controller.jpf
     Sun Aug  1 19:35:31 2004
@@ -0,0 +1,53 @@
+package coretags.formatstring.nullbinding;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+/**
+ * This is the default controller for a blank web application.
+ */
[EMAIL PROTECTED]
[EMAIL PROTECTED](
+    value = { 
+        "<!-- This data is auto-generated. Hand-editing this section is not 
recommended. -->", 
+        "<view-properties>", 
+        "<pageflow-object 
id='pageflow:/coretags/base/nullbinding/Controller.jpf'/>", 
+        "<pageflow-object id='action:begin.do'>", 
+        "  <property value='80' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='page:index.jsp'>", 
+        "  <property value='220' name='x'/>", 
+        "  <property value='100' name='y'/>", 
+        "</pageflow-object>", 
+        "<pageflow-object id='forward:[EMAIL PROTECTED]:begin.do@'>", 
+        "  <property value='116,140,140,164' name='elbowsX'/>", 
+        "  <property value='92,92,92,92' name='elbowsY'/>", 
+        "  <property value='East_1' name='fromPort'/>", 
+        "  <property value='West_1' name='toPort'/>", 
+        "  <property value='index' name='label'/>", 
+        "</pageflow-object>", 
+        "</view-properties>"
+    }
+)
+public class Controller extends PageFlowController
+{
+    private String _nullValue = null;
+    
+    public String getNullValue() {
+        return _nullValue;
+    }
+    
+    @Jpf.Action(
+        forwards={
+           @Jpf.Forward(name="index", path="index.jsp")
+        }
+    )
+    protected Forward begin()
+    {
+        return new Forward("index");
+    }
+
+
+}
\ No newline at end of file

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatstring/nullbinding/index.jsp
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/formatstring/nullbinding/index.jsp
  Sun Aug  1 19:35:31 2004
@@ -0,0 +1,28 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0"; prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0"; 
prefix="netui-template"%>
+<netui:html>
+    <head>
+        <netui:base />
+    </head>
+    <netui:body>
+    <h4>Null binding in the FormatString tag</h4>
+    <p style="color:green">There are two sets of tests here.  The first is a 
test of binding  null values to the 
+    attributes.  Binding null to <b>pattern</b> results in errors, the others 
are ignored.  The final tests is 
+    the only error raised by the <b>formatString</b> tag.    
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><netui:label value="123456"><netui:formatString 
pattern="${pageFlow.nullValue}" /></netui:label> -- pattern</li>
+    <li><netui:label value="123456"><netui:formatString pattern="###-###" 
country="${pageFlow.nullValue}" /></netui:label> -- country</li>
+    <li><netui:label value="123456"><netui:formatString pattern="###-###" 
language="${pageFlow.nullValue}" /></netui:label> -- language</li>
+    </ul>
+    <hr>
+    <ul>
+    <li><netui:formatString pattern="###-###" country="${pageFlow.nullValue}" 
/>-- no parent</li>
+    </ul>
+    </netui:body>
+</netui:html>
+
+  
\ No newline at end of file

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/index.jsp   
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/index.jsp   
Sun Aug  1 19:35:31 2004
@@ -8,6 +8,7 @@
     <ul>
     <li><a href="anchor/nullbinding/Controller.jpf">Anchor Null Binding</a> 
&#8212; Anchor null binding tests</li>
     <li><a href="anchor/nullbindingerror/Controller.jpf">Anchor Error Null 
Binding</a> &#8212; Anchor null binding tests with errors</li>
+    <li><a href="attribute/nullbinding/Controller.jpf">Attribute Null 
Binding</a> &#8212; Attribute null binding tests</li>
     <li><a href="base/nullbinding/Controller.jpf">Base Null Binding</a> 
&#8212; Base null binding tests</li>
     <li><a href="button/nullbinding/Controller.jpf">Button Null Binding</a> 
&#8212; Button null binding tests</li>
     <li><a href="checkbox/nullbinding/Controller.jpf">Checkbox Null 
Binding</a> &#8212; Checkbox null binding tests</li>
@@ -15,7 +16,13 @@
     <li><a href="form/bean/Controller.jpf">Form Bean</a> &#8212; Test of the 
Form name, type and scope attributes</li>
     <li><a href="form/beanerror/Controller.jpf">Form Bean Error</a> &#8212; 
Test of Errors in the Form name, type and scope attributes</li>
     <li><a href="form/errors/Controller.jpf">Form Errors</a> &#8212; Form 
Errors</li>
-    <li><a href="form/nullbinding/Controller.jpf">Form Null Binding</a> 
&#8212; FileUpload null binding tests</li>
+    <li><a href="form/nullbinding/Controller.jpf">Form Null Binding</a> 
&#8212; Form null binding tests</li>
+    <li><a href="formatdate/errors/Controller.jpf">FormatDate Errors</a> 
&#8212; FormatDate tag errors and Formatter error reporting</li>
+    <li><a href="formatdate/errorsinline/Controller.jpf">FormatDate Inline 
Errors</a> &#8212; Formatter error reporting with inline errors</li>
+    <li><a href="formatdate/nullbinding/Controller.jpf">FormatDate Null 
Binding</a> &#8212; FormatDate null binding</li>
+    <li><a href="formatnumber/errors/Controller.jpf">FormatNumber Errors</a> 
&#8212; FormatNumber errors</li>
+    <li><a href="formatnumber/nullbinding/Controller.jpf">FormatNumber Null 
Binding</a> &#8212; FormatNumber null binding</li>
+    <li><a href="formatstring/nullbinding/Controller.jpf">FormatString Null 
Binding</a> &#8212; FormatString null binding and errors</li>
     <li><a href="htmlbase/nullbinding/Controller.jpf">HtmlBase Null 
Binding</a> &#8212; HtmlBase attributes null binding tests</li>
     </ul>
     </body>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml
   (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml
   Sun Aug  1 19:35:31 2004
@@ -1654,6 +1654,19 @@
          </features>
       </test>
       <test>
+         <name>CtAttributeNullBinding</name>
+         <description>Binding to null in the Attribute tags 
attributes</description>
+         <webapp>coreWeb</webapp>
+         <categories>
+            <category>bvt</category>
+            <category>tags</category>
+         </categories>
+         <features>
+            <feature>Attribute</feature>
+            <feature>Binding</feature>
+         </features>
+      </test>
+      <test>
          <name>CtBaseNullBinding</name>
          <description>Binding to null in the Base tags attributes</description>
          <webapp>coreWeb</webapp>
@@ -1755,7 +1768,84 @@
             <feature>Binding</feature>
          </features>
       </test>
-
+      <test>
+         <name>CtFormatDateErrors</name>
+         <description>The errors produced by the FormatDate tag</description>
+         <webapp>coreWeb</webapp>
+         <categories>
+            <category>bvt</category>
+            <category>tags</category>
+         </categories>
+         <features>
+            <feature>FormatDate</feature>
+            <feature>Errors</feature>
+         </features>
+      </test>
+      <test>
+         <name>CtFormatDateErrorsInline</name>
+         <description>The errors produced by the FormatDate tag.  These errors 
are reported inline.</description>
+         <webapp>coreWeb</webapp>
+         <categories>
+            <category>bvt</category>
+            <category>tags</category>
+         </categories>
+         <features>
+            <feature>FormatDate</feature>
+            <feature>Errors</feature>
+         </features>
+      </test>
+      <test>
+         <name>CtFormatDateNullBinding</name>
+         <description>Binding to null in the FormatDate 
attributes</description>
+         <webapp>coreWeb</webapp>
+         <categories>
+            <category>bvt</category>
+            <category>tags</category>
+         </categories>
+         <features>
+            <feature>FormatDate</feature>
+            <feature>Binding</feature>
+         </features>
+      </test>
+      <test>
+         <name>CtFormatNumberErrors</name>
+         <description>Errors produced by the FormatNumber tag</description>
+         <webapp>coreWeb</webapp>
+         <categories>
+            <category>bvt</category>
+            <category>tags</category>
+         </categories>
+         <features>
+            <feature>FormatNumber</feature>
+            <feature>Errors</feature>
+         </features>
+      </test>
+      <test>
+         <name>CtFormatNumberNullBinding</name>
+         <description>Binding to null in the FormatNumber 
attributes</description>
+         <webapp>coreWeb</webapp>
+         <categories>
+            <category>bvt</category>
+            <category>tags</category>
+         </categories>
+         <features>
+            <feature>FormatNumber</feature>
+            <feature>Binding</feature>
+         </features>
+      </test>
+      <test>
+         <name>CtFormatStringNullBinding</name>
+         <description>Binding to null in the FormatString 
attributes</description>
+         <webapp>coreWeb</webapp>
+         <categories>
+            <category>bvt</category>
+            <category>tags</category>
+         </categories>
+         <features>
+            <feature>FormatString</feature>
+            <feature>Binding</feature>
+         </features>
+      </test>
       <test>
          <name>CtHtmlBaseNullBinding</name>
          <description>Binding to null in the HtmlBaseTag 
attributes</description>

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAttributeNullBinding.xml
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAttributeNullBinding.xml
        Sun Aug  1 19:35:31 2004
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
+   <ses:sessionName>CtAttributeNullBinding</ses:sessionName>
+   <ses:tester>Daryl</ses:tester>
+   <ses:startDate>01 Aug 2004, 07:33:56.369 PM MDT</ses:startDate>
+   <ses:description>Test of binding null values to Attribute tag 
attributes.</ses:description>
+   <ses:tests>
+      <ses:test>
+         <ses:testNumber>1</ses:testNumber>
+         <ses:request>
+            <ses:protocol>HTTP</ses:protocol>
+            <ses:protocolVersion>1.1</ses:protocolVersion>
+            <ses:host>localhost</ses:host>
+            <ses:port>8080</ses:port>
+            
<ses:uri>/coreWeb/coretags/attribute/nullbinding/Controller.jpf</ses:uri>
+            <ses:method>GET</ses:method>
+            <ses:parameters/>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>E71A3096C1D20E797D14F5DEEBF9BA72</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  <ses:value>image/gif, image/x-xbitmap, image/jpeg, 
image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, 
application/msword, application/x-shockwave-flash, */*</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-encoding</ses:name>
+                  <ses:value>gzip, deflate</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>Keep-Alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>cookie</ses:name>
+                  
<ses:value>JSESSIONID=E71A3096C1D20E797D14F5DEEBF9BA72</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>host</ses:name>
+                  <ses:value>localhost:8080</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>user-agent</ses:name>
+                  <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 
5.1)</ses:value>
+               </ses:header>
+            </ses:headers>
+         </ses:request>
+         <ses:response>
+            <ses:statusCode>200</ses:statusCode>
+            <ses:reason/>
+            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 
4.01 Transitional//EN"
+       "http://www.w3.org/TR/html4/loose.dtd";>
+<html lang="en">
+<head>
+        <base 
href="http://localhost:8080/coreWeb/coretags/attribute/nullbinding/index.jsp";>
+    </head>
+    <body>
+    <h4>Null binding in the Attribute tag</h4>
+    <p style="color:green">This test verifies that values bound to the 
Attribute tag are 
+    handled correctly.  In the first two, both <b>name</b> and <b>value</b> 
are required to 
+    provide a value.  These will report an error.  The third <b>value</b> does 
not require a value
+    an will be ignored.
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><a href="/coreWeb/coretags/attribute/nullbinding/begin.do">link
+        <span style="color:red;background-color:white">
+ [<b>Tag Error:1</b>, Found in tag <b>Attribute</b>]</span></a></li>
+    <li><a href="/coreWeb/coretags/attribute/nullbinding/begin.do">link
+        <span style="color:red;background-color:white">
+ [<b>Tag Error:2</b>, Found in tag <b>Attribute</b>]</span></a></li>
+    <li><a 
href="/coreWeb/coretags/attribute/nullbinding/begin.do">link</a></li>
+    </ul>
+    <div> <hr /><table border="1" cellspacing="0" 
style="color:red;background-color:white">
+ <tr><th colspan="6">Page Errors</th></tr>
+ <tr><th>Error Number</th><th>Tag Type</th><th colspan="4">Error</th></tr>
+<tr><th>1</th><th>Attribute</th><th>Message</th><td>Attribute 'name' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+<tr><th>2</th><th>Attribute</th><th>Message</th><td>Attribute 'facet' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+</table></div>
+</body>
+</html>]]></ses:responseBody>
+         </ses:response>
+      </ses:test>
+   </ses:tests>
+   <ses:endDate>01 Aug 2004, 07:34:08.917 PM MDT</ses:endDate>
+   <ses:testCount>1</ses:testCount>
+</ses:recorderSession>

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatDateErrors.xml
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatDateErrors.xml
    Sun Aug  1 19:35:31 2004
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
+   <ses:sessionName>CtFormatDateErrors</ses:sessionName>
+   <ses:tester>Daryl</ses:tester>
+   <ses:startDate>01 Aug 2004, 07:36:55.636 PM MDT</ses:startDate>
+   <ses:description>The errors in the FormatDate tag.</ses:description>
+   <ses:tests>
+      <ses:test>
+         <ses:testNumber>1</ses:testNumber>
+         <ses:request>
+            <ses:protocol>HTTP</ses:protocol>
+            <ses:protocolVersion>1.1</ses:protocolVersion>
+            <ses:host>localhost</ses:host>
+            <ses:port>8080</ses:port>
+            
<ses:uri>/coreWeb/coretags/formatdate/errors/Controller.jpf</ses:uri>
+            <ses:method>GET</ses:method>
+            <ses:parameters/>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>33E1F48AEF90FC1AFB68E071441A9524</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  <ses:value>image/gif, image/x-xbitmap, image/jpeg, 
image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, 
application/msword, application/x-shockwave-flash, */*</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-encoding</ses:name>
+                  <ses:value>gzip, deflate</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>Keep-Alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>cookie</ses:name>
+                  
<ses:value>JSESSIONID=33E1F48AEF90FC1AFB68E071441A9524</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>host</ses:name>
+                  <ses:value>localhost:8080</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>user-agent</ses:name>
+                  <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 
5.1)</ses:value>
+               </ses:header>
+            </ses:headers>
+         </ses:request>
+         <ses:response>
+            <ses:statusCode>200</ses:statusCode>
+            <ses:reason/>
+            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 
4.01 Transitional//EN"
+       "http://www.w3.org/TR/html4/loose.dtd";>
+<html lang="en">
+<head>
+        <base 
href="http://localhost:8080/coreWeb/coretags/formatdate/errors/index.jsp";>
+    </head>
+    <body>
+    <h4>Format Error Reporting</h4>
+    <p style="color:green">There are two sets of test, the first verify errors 
in the FormatDate tag.
+    <br>
+    The second verify that error reporting works against the HTML tags.
+    For each HTML tag that allows a formatter, verify that the error is
+    being reported.  Each of these should produce an in-line error and also an 
error in the collected
+    errors at the end of the page.
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:1</b>, Found in tag <b>FormatDate</b>]</span> -- No Parent</li>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:2</b>, Found in tag <b>Label</b>]</span> -- bad input 
pattern</li>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:3</b>, Found in tag <b>Label</b>]</span> -- bad pattern</li>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:4</b>, Found in tag <b>Label</b>]</span> -- bad date</li>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:5</b>, Found in tag <b>Label</b>]</span> -- bad type</li>
+    </ul>
+    <hr>
+    <ul>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:6</b>, Found in tag 
<b>FormatDate</b>]</span><span>01/28/63</span></li>
+    <li><input type="hidden" name="wlw-select_key:{pageFlow.select}OldValue" 
value="true">
+<span style="color:red;background-color:white">
+ [<b>Tag Error:7</b>, Found in tag <b>FormatDate</b>]</span>
+<select name="wlw-select_key:{pageFlow.select}">        <option 
value="01/28/63">01/28/63</option>
+        <option value="01/29/63">01/29/63</option>
+        <option value="01/30/63">01/30/63</option></select>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:8</b>, Found in tag <b>FormatDate</b>]</span><textarea 
name="{pageFlow.textAreaDate}">01/28/63</textarea></li>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:9</b>, Found in tag <b>FormatDate</b>]</span><input type="text" 
name="{pageFlow.textDate}" value="01/28/63"></li>
+    </ul>
+    <div> <hr /><table border="1" cellspacing="0" 
style="color:red;background-color:white">
+ <tr><th colspan="6">Page Errors</th></tr>
+ <tr><th>Error Number</th><th>Tag Type</th><th colspan="4">Error</th></tr>
+<tr><th>1</th><th>FormatDate</th><th>Message</th><td>Format tags require a 
parent that is Formattable.</td></tr>
+<tr><th>2</th><th>Label</th><th>Message</th><td>FormatDate error, the 
stringInputPattern "x//ssd" is invalid.  IllegalArgumentException: Illegal 
pattern character 'x'</td></tr>
+<tr><th>3</th><th>Label</th><th>Message</th><td>FormatDate error creating 
SimpleDateFormat: Illegal pattern character 'x'</td></tr>
+<tr><th>4</th><th>Label</th><th>Message</th><td>The String "bad-date" is not 
in an understood date format.</td></tr>
+<tr><th>5</th><th>Label</th><th>Message</th><td>The type "java.lang.Character" 
may not be formatted by a formatDate tag.</td></tr>
+<tr><th>6</th><th>FormatDate</th><th>Message</th><td>Attribute 'patttern' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+<tr><th>7</th><th>FormatDate</th><th>Message</th><td>Attribute 'patttern' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+<tr><th>8</th><th>FormatDate</th><th>Message</th><td>Attribute 'patttern' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+<tr><th>9</th><th>FormatDate</th><th>Message</th><td>Attribute 'patttern' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+</table></div>
+</body>
+</html>]]></ses:responseBody>
+         </ses:response>
+      </ses:test>
+   </ses:tests>
+   <ses:endDate>01 Aug 2004, 07:37:05.260 PM MDT</ses:endDate>
+   <ses:testCount>1</ses:testCount>
+</ses:recorderSession>

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatDateErrorsInline.xml
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatDateErrorsInline.xml
      Sun Aug  1 19:35:31 2004
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
+   <ses:sessionName>CtFormatDateErrorsInline</ses:sessionName>
+   <ses:tester>Daryl</ses:tester>
+   <ses:startDate>01 Aug 2004, 07:41:00.579 PM MDT</ses:startDate>
+   <ses:description>Verification of in-line error reporting in 
Formattables.</ses:description>
+   <ses:tests>
+      <ses:test>
+         <ses:testNumber>1</ses:testNumber>
+         <ses:request>
+            <ses:protocol>HTTP</ses:protocol>
+            <ses:protocolVersion>1.1</ses:protocolVersion>
+            <ses:host>localhost</ses:host>
+            <ses:port>8080</ses:port>
+            
<ses:uri>/coreWeb/coretags/formatdate/errorsinline/Controller.jpf</ses:uri>
+            <ses:method>GET</ses:method>
+            <ses:parameters/>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>1A1BBB155E76EBB10BF1FBF1124C169C</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  <ses:value>image/gif, image/x-xbitmap, image/jpeg, 
image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, 
application/msword, application/x-shockwave-flash, */*</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-encoding</ses:name>
+                  <ses:value>gzip, deflate</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>Keep-Alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>cookie</ses:name>
+                  
<ses:value>JSESSIONID=1A1BBB155E76EBB10BF1FBF1124C169C</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>host</ses:name>
+                  <ses:value>localhost:8080</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>user-agent</ses:name>
+                  <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 
5.1)</ses:value>
+               </ses:header>
+            </ses:headers>
+         </ses:request>
+         <ses:response>
+            <ses:statusCode>200</ses:statusCode>
+            <ses:reason/>
+            <ses:responseBody><![CDATA[<html>
+    <head>
+        <base 
href="http://localhost:8080/coreWeb/coretags/formatdate/errorsinline/index.jsp";>
+    </head>
+    <body>
+    <h4>Format Error Reporting Inline</h4>
+    <p style="color:green">For each HTML tag that allows a formatter, verify 
that the error is
+    being reported.  The error will only be produced inline because there 
isn't a &lt;netui:html> 
+    tag to collect the errors.
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><span> <table border="1" cellspacing="0" 
style="color:red;background-color:white">
+ <tr><th colspan="5">Tag Error</th></tr>
+ <tr><th>Tag</th><td>FormatDate</td>
+ <th>Errors</th><td colspan="2">1</td></tr>
+ <tr><th>Tag Error</th><th>Message</th><td colspan="3">Attribute 'patttern' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+</table></span><span>01/28/63</span></li>
+    <li><input type="hidden" name="wlw-select_key:{pageFlow.select}OldValue" 
value="true">
+<span> <table border="1" cellspacing="0" 
style="color:red;background-color:white">
+ <tr><th colspan="5">Tag Error</th></tr>
+ <tr><th>Tag</th><td>FormatDate</td>
+ <th>Errors</th><td colspan="2">1</td></tr>
+ <tr><th>Tag Error</th><th>Message</th><td colspan="3">Attribute 'patttern' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+</table></span>
+<select name="wlw-select_key:{pageFlow.select}">
+        <option value="01/28/63">01/28/63</option>
+        <option value="01/29/63">01/29/63</option>
+        <option value="01/30/63">01/30/63</option></select>
+    <li><span> <table border="1" cellspacing="0" 
style="color:red;background-color:white">
+ <tr><th colspan="5">Tag Error</th></tr>
+ <tr><th>Tag</th><td>FormatDate</td>
+ <th>Errors</th><td colspan="2">1</td></tr>
+ <tr><th>Tag Error</th><th>Message</th><td colspan="3">Attribute 'patttern' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+</table></span><textarea 
name="{pageFlow.textAreaDate}">01/28/63</textarea></li>
+    <li><span> <table border="1" cellspacing="0" 
style="color:red;background-color:white">
+ <tr><th colspan="5">Tag Error</th></tr>
+ <tr><th>Tag</th><td>FormatDate</td>
+ <th>Errors</th><td colspan="2">1</td></tr>
+ <tr><th>Tag Error</th><th>Message</th><td colspan="3">Attribute 'patttern' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+</table></span><input type="text" name="{pageFlow.textDate}" 
value="01/28/63"></li>
+    </ul>
+    </body>
+</html>]]></ses:responseBody>
+         </ses:response>
+      </ses:test>
+   </ses:tests>
+   <ses:endDate>01 Aug 2004, 07:41:08.610 PM MDT</ses:endDate>
+   <ses:testCount>1</ses:testCount>
+</ses:recorderSession>

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatDateNullBinding.xml
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatDateNullBinding.xml
       Sun Aug  1 19:35:31 2004
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
+   <ses:sessionName>CtFormatDateNullBinding</ses:sessionName>
+   <ses:tester>Daryl</ses:tester>
+   <ses:startDate>01 Aug 2004, 07:42:06.203 PM MDT</ses:startDate>
+   <ses:description>Verification test of the binding of null values to the 
FormatDate tag.</ses:description>
+   <ses:tests>
+      <ses:test>
+         <ses:testNumber>1</ses:testNumber>
+         <ses:request>
+            <ses:protocol>HTTP</ses:protocol>
+            <ses:protocolVersion>1.1</ses:protocolVersion>
+            <ses:host>localhost</ses:host>
+            <ses:port>8080</ses:port>
+            
<ses:uri>/coreWeb/coretags/formatdate/nullbinding/Controller.jpf</ses:uri>
+            <ses:method>GET</ses:method>
+            <ses:parameters/>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>904DEBEDE720C66E72988F6712FD518F</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  <ses:value>image/gif, image/x-xbitmap, image/jpeg, 
image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, 
application/msword, application/x-shockwave-flash, */*</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-encoding</ses:name>
+                  <ses:value>gzip, deflate</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>Keep-Alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>cookie</ses:name>
+                  
<ses:value>JSESSIONID=904DEBEDE720C66E72988F6712FD518F</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>host</ses:name>
+                  <ses:value>localhost:8080</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>user-agent</ses:name>
+                  <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 
5.1)</ses:value>
+               </ses:header>
+            </ses:headers>
+         </ses:request>
+         <ses:response>
+            <ses:statusCode>200</ses:statusCode>
+            <ses:reason/>
+            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 
4.01 Transitional//EN"
+       "http://www.w3.org/TR/html4/loose.dtd";>
+<html lang="en">
+<head>
+        <base 
href="http://localhost:8080/coreWeb/coretags/formatdate/nullbinding/index.jsp";>
+    </head>
+    <body>
+    <h4>Null binding in the FormatDate tag</h4>
+    <p style="color:green">Binding various attributes of the formatDate tag to 
null values.  The 
+    first two bindings should produce errors.  These are the <b>pattern</b> 
and <b>stringInputPattern</b>.
+    The second two, don't produce errors.  These are the <b>country</b> and 
<b>language</b> attributes.
+    These have defaults so do not produce errors.
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:1</b>, Found in tag 
<b>FormatDate</b>]</span><span>01/28/63</span> -- pattern</li>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:2</b>, Found in tag 
<b>FormatDate</b>]</span><span>01/28/63</span> -- stringInputPattern</li>
+    </ul>
+    <li>
+    <li><span>1/28/63 12:00 AM</span> -- country</li>
+    <li><span>1/28/63 12:00 AM</span> -- language</li>
+    </ul>
+    <div> <hr /><table border="1" cellspacing="0" 
style="color:red;background-color:white">
+ <tr><th colspan="6">Page Errors</th></tr>
+ <tr><th>Error Number</th><th>Tag Type</th><th colspan="4">Error</th></tr>
+<tr><th>1</th><th>FormatDate</th><th>Message</th><td>Attribute 'patttern' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+<tr><th>2</th><th>FormatDate</th><th>Message</th><td>Attribute 
'stringInputPattern' is required to have a value.  The value "" is illegal.  
This is often cause by binding to an object with a null value.</td></tr>
+</table></div>
+</body>
+</html>]]></ses:responseBody>
+         </ses:response>
+      </ses:test>
+   </ses:tests>
+   <ses:endDate>01 Aug 2004, 07:42:13.754 PM MDT</ses:endDate>
+   <ses:testCount>1</ses:testCount>
+</ses:recorderSession>

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatNumberErrors.xml
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatNumberErrors.xml
  Sun Aug  1 19:35:31 2004
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
+   <ses:sessionName>CtFormatNumberErrors</ses:sessionName>
+   <ses:tester>Daryl</ses:tester>
+   <ses:startDate>01 Aug 2004, 07:42:59.590 PM MDT</ses:startDate>
+   <ses:description>Verification of the errors raised by the FormatNumber 
tag.</ses:description>
+   <ses:tests>
+      <ses:test>
+         <ses:testNumber>1</ses:testNumber>
+         <ses:request>
+            <ses:protocol>HTTP</ses:protocol>
+            <ses:protocolVersion>1.1</ses:protocolVersion>
+            <ses:host>localhost</ses:host>
+            <ses:port>8080</ses:port>
+            
<ses:uri>/coreWeb/coretags/formatnumber/errors/Controller.jpf</ses:uri>
+            <ses:method>GET</ses:method>
+            <ses:parameters/>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>FC67F6C5778CF2466B65E17F9863137D</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  <ses:value>image/gif, image/x-xbitmap, image/jpeg, 
image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, 
application/msword, application/x-shockwave-flash, */*</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-encoding</ses:name>
+                  <ses:value>gzip, deflate</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>Keep-Alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>cookie</ses:name>
+                  
<ses:value>JSESSIONID=FC67F6C5778CF2466B65E17F9863137D</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>host</ses:name>
+                  <ses:value>localhost:8080</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>user-agent</ses:name>
+                  <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 
5.1)</ses:value>
+               </ses:header>
+            </ses:headers>
+         </ses:request>
+         <ses:response>
+            <ses:statusCode>200</ses:statusCode>
+            <ses:reason/>
+            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 
4.01 Transitional//EN"
+       "http://www.w3.org/TR/html4/loose.dtd";>
+<html lang="en">
+<head>
+        <base 
href="http://localhost:8080/coreWeb/coretags/formatnumber/errors/index.jsp";>
+    </head>
+    <body>
+    <h4>Errors In FormatNumber</h4>
+    <p style="color:green">This test verifies the basic errors in the 
<b>formatNumber</b> tag.  The first
+    is reported when the tag doesn't have a <b>Formattable</b> as a parent.  
In the second, the value
+    is not a number and in the third the pattern is not legal.
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:1</b>, Found in tag <b>FormatNumber</b>]</span> -- no 
parent</li>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:2</b>, Found in tag <b>Label</b>]</span> -- bad number 
value</li>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:3</b>, Found in tag <b>Label</b>]</span> -- bad pattern 
value</li>
+    </ul>
+    <div> <hr /><table border="1" cellspacing="0" 
style="color:red;background-color:white">
+ <tr><th colspan="6">Page Errors</th></tr>
+ <tr><th>Error Number</th><th>Tag Type</th><th colspan="4">Error</th></tr>
+<tr><th>1</th><th>FormatNumber</th><th>Message</th><td>Format tags require a 
parent that is Formattable.</td></tr>
+<tr><th>2</th><th>Label</th><th>Message</th><td>FormatNumber error parsing 
input: For input string: "bad.number"</td></tr>
+<tr><th>3</th><th>Label</th><th>Message</th><td>FormatNumber error applying 
pattern: Unquoted special character ';' in pattern ";##0.0#"</td></tr>
+</table></div>
+</body>
+</html>]]></ses:responseBody>
+         </ses:response>
+      </ses:test>
+   </ses:tests>
+   <ses:endDate>01 Aug 2004, 07:43:08.442 PM MDT</ses:endDate>
+   <ses:testCount>1</ses:testCount>
+</ses:recorderSession>

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatNumberNullBinding.xml
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatNumberNullBinding.xml
     Sun Aug  1 19:35:31 2004
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
+   <ses:sessionName>CtFormatNumberNullBinding</ses:sessionName>
+   <ses:tester>Daryl</ses:tester>
+   <ses:startDate>01 Aug 2004, 07:43:54.839 PM MDT</ses:startDate>
+   <ses:description>Verification of null binding to the FormatNumber 
attributes</ses:description>
+   <ses:tests>
+      <ses:test>
+         <ses:testNumber>1</ses:testNumber>
+         <ses:request>
+            <ses:protocol>HTTP</ses:protocol>
+            <ses:protocolVersion>1.1</ses:protocolVersion>
+            <ses:host>localhost</ses:host>
+            <ses:port>8080</ses:port>
+            
<ses:uri>/coreWeb/coretags/formatnumber/nullbinding/Controller.jpf</ses:uri>
+            <ses:method>GET</ses:method>
+            <ses:parameters/>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>8336C28BFAAC26A09AD5FFCD7F5C835F</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  <ses:value>image/gif, image/x-xbitmap, image/jpeg, 
image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, 
application/msword, application/x-shockwave-flash, */*</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-encoding</ses:name>
+                  <ses:value>gzip, deflate</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>Keep-Alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>cookie</ses:name>
+                  
<ses:value>JSESSIONID=8336C28BFAAC26A09AD5FFCD7F5C835F</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>host</ses:name>
+                  <ses:value>localhost:8080</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>user-agent</ses:name>
+                  <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 
5.1)</ses:value>
+               </ses:header>
+            </ses:headers>
+         </ses:request>
+         <ses:response>
+            <ses:statusCode>200</ses:statusCode>
+            <ses:reason/>
+            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 
4.01 Transitional//EN"
+       "http://www.w3.org/TR/html4/loose.dtd";>
+<html lang="en">
+<head>
+        <base 
href="http://localhost:8080/coreWeb/coretags/formatnumber/nullbinding/index.jsp";>
+    </head>
+    <body>
+    <h4>Null binding in the FormatNumber tag</h4>
+    <p style="color:green">This test verifies the results of binding to a null 
value the attributes
+    of the <b>FormatNumber</b> tag.  Both the <b>pattern</b> and <b>type</b> 
attributes will report
+    an error.  The final two <b>country</b> and </b>language</b> ignore the 
null value.
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:1</b>, Found in tag 
<b>FormatNumber</b>]</span><span>12345</span> -- pattern</li>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:2</b>, Found in tag 
<b>FormatNumber</b>]</span><span>12345</span> -- type</li>
+    <li><span>12,345</span> -- country</li>
+    <li><span>12,345</span> -- language</li>
+    </ul>
+    <div> <hr /><table border="1" cellspacing="0" 
style="color:red;background-color:white">
+ <tr><th colspan="6">Page Errors</th></tr>
+ <tr><th>Error Number</th><th>Tag Type</th><th colspan="4">Error</th></tr>
+<tr><th>1</th><th>FormatNumber</th><th>Message</th><td>Attribute 'patttern' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+<tr><th>2</th><th>FormatNumber</th><th>Message</th><td>Attribute 'type' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+</table></div>
+</body>
+</html>]]></ses:responseBody>
+         </ses:response>
+      </ses:test>
+   </ses:tests>
+   <ses:endDate>01 Aug 2004, 07:44:04.012 PM MDT</ses:endDate>
+   <ses:testCount>1</ses:testCount>
+</ses:recorderSession>

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatStringNullBinding.xml
==============================================================================
--- (empty file)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatStringNullBinding.xml
     Sun Aug  1 19:35:31 2004
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
+   <ses:sessionName>CtFormatStringNullBinding</ses:sessionName>
+   <ses:tester>Daryl</ses:tester>
+   <ses:startDate>01 Aug 2004, 07:44:50.479 PM MDT</ses:startDate>
+   <ses:description>Verification of null binding to the FormatString 
attributes.</ses:description>
+   <ses:tests>
+      <ses:test>
+         <ses:testNumber>1</ses:testNumber>
+         <ses:request>
+            <ses:protocol>HTTP</ses:protocol>
+            <ses:protocolVersion>1.1</ses:protocolVersion>
+            <ses:host>localhost</ses:host>
+            <ses:port>8080</ses:port>
+            
<ses:uri>/coreWeb/coretags/formatstring/nullbinding/Controller.jpf</ses:uri>
+            <ses:method>GET</ses:method>
+            <ses:parameters/>
+            <ses:cookies>
+               <ses:cookie>
+                  <ses:name>JSESSIONID</ses:name>
+                  <ses:value>D97ECB6E74A8CE8CC9AA416E1102C1E5</ses:value>
+               </ses:cookie>
+            </ses:cookies>
+            <ses:headers>
+               <ses:header>
+                  <ses:name>accept</ses:name>
+                  <ses:value>image/gif, image/x-xbitmap, image/jpeg, 
image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, 
application/msword, application/x-shockwave-flash, */*</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-encoding</ses:name>
+                  <ses:value>gzip, deflate</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>accept-language</ses:name>
+                  <ses:value>en-us</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>connection</ses:name>
+                  <ses:value>Keep-Alive</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>cookie</ses:name>
+                  
<ses:value>JSESSIONID=D97ECB6E74A8CE8CC9AA416E1102C1E5</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>host</ses:name>
+                  <ses:value>localhost:8080</ses:value>
+               </ses:header>
+               <ses:header>
+                  <ses:name>user-agent</ses:name>
+                  <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 
5.1)</ses:value>
+               </ses:header>
+            </ses:headers>
+         </ses:request>
+         <ses:response>
+            <ses:statusCode>200</ses:statusCode>
+            <ses:reason/>
+            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 
4.01 Transitional//EN"
+       "http://www.w3.org/TR/html4/loose.dtd";>
+<html lang="en">
+<head>
+        <base 
href="http://localhost:8080/coreWeb/coretags/formatstring/nullbinding/index.jsp";>
+    </head>
+    <body>
+    <h4>Null binding in the FormatString tag</h4>
+    <p style="color:green">There are two sets of tests here.  The first is a 
test of binding  null values to the 
+    attributes.  Binding null to <b>pattern</b> results in errors, the others 
are ignored.  The final tests is 
+    the only error raised by the <b>formatString</b> tag.    
+    <br>
+    This is a single page test.  
+    </p>
+    <ul>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:1</b>, Found in tag 
<b>FormatString</b>]</span><span>123456</span> -- pattern</li>
+    <li><span>123-456</span> -- country</li>
+    <li><span>123-456</span> -- language</li>
+    </ul>
+    <hr>
+    <ul>
+    <li><span style="color:red;background-color:white">
+ [<b>Tag Error:2</b>, Found in tag <b>FormatString</b>]</span>-- no parent</li>
+    </ul>
+    <div> <hr /><table border="1" cellspacing="0" 
style="color:red;background-color:white">
+ <tr><th colspan="6">Page Errors</th></tr>
+ <tr><th>Error Number</th><th>Tag Type</th><th colspan="4">Error</th></tr>
+<tr><th>1</th><th>FormatString</th><th>Message</th><td>Attribute 'patttern' is 
required to have a value.  The value "" is illegal.  This is often cause by 
binding to an object with a null value.</td></tr>
+<tr><th>2</th><th>FormatString</th><th>Message</th><td>Format tags require a 
parent that is Formattable.</td></tr>
+</table></div>
+</body>
+</html>]]></ses:responseBody>
+         </ses:response>
+      </ses:test>
+   </ses:tests>
+   <ses:endDate>01 Aug 2004, 07:44:56.207 PM MDT</ses:endDate>
+   <ses:testCount>1</ses:testCount>
+</ses:recorderSession>

Reply via email to