Author: dolander
Date: Wed Jul 28 13:30:35 2004
New Revision: 30868
Added:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/anchor/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/anchor/nullbinding/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/anchor/nullbinding/Controller.jpf
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/anchor/nullbinding/index.jsp
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/anchor/nullbindingerror/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/anchor/nullbindingerror/Controller.jpf
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/anchor/nullbindingerror/index.jsp
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/base/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/base/nullbinding/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/base/nullbinding/Controller.jpf
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/base/nullbinding/index.jsp
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/button/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/button/nullbinding/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/button/nullbinding/Controller.jpf
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/button/nullbinding/index.jsp
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/checkbox/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/checkbox/nullbinding/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/checkbox/nullbinding/Controller.jpf
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/checkbox/nullbinding/index.jsp
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/htmlbase/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/htmlbase/nullbinding/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/htmlbase/nullbinding/Controller.jpf
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/htmlbase/nullbinding/index.jsp
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/index.jsp
Modified:
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/IHtmlCore.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Base.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Hidden.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlBaseTag.java
incubator/beehive/trunk/netui/src/util/org/apache/beehive/netui/util/netui.properties
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/index/Controller.jpf
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/index/index.jsp
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/index/style.css
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/accesskey/index.jsp
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/template/divPanelTree/Controller.jpf
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RepeatRadioOptionError.xml
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr132760.xml
Log:
Working through the binding of tag attributes to a null value in JSP 2.0 EL
Verify Anchor, Base, Button, Checkbox, and HtmlBaseTag attributes
Create a set of BVT tests for these tags (not yet recordered)
Modified:
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/IHtmlCore.java
==============================================================================
---
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/IHtmlCore.java
(original)
+++
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/IHtmlCore.java
Wed Jul 28 13:30:35 2004
@@ -42,7 +42,8 @@
* Set the ID of the tag.
* @param tagId - the tagId.
*/
- void setTagId(String tagId);
+ void setTagId(String tagId)
+ throws JspException;
/**
* Returns the Nodes title.
Modified:
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java
==============================================================================
---
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java
(original)
+++
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java
Wed Jul 28 13:30:35 2004
@@ -252,7 +252,7 @@
*/
public void setScope(String scope)
{
- _scope = scope;
+ _scope = setNonEmptyValueAttribute(scope);
}
/**
@@ -291,7 +291,7 @@
*/
public void setOnClick(String onclick)
{
- _state.onClick = onclick;
+ _state.onClick = setNonEmptyValueAttribute(onclick);
}
/**
Modified:
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Base.java
==============================================================================
---
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Base.java
(original)
+++
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Base.java
Wed Jul 28 13:30:35 2004
@@ -84,7 +84,7 @@
*/
public void setTarget(String target)
{
- _state.target = target;
+ _state.target = setNonEmptyValueAttribute(target);
}
/**
Modified:
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java
==============================================================================
---
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java
(original)
+++
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java
Wed Jul 28 13:30:35 2004
@@ -151,8 +151,9 @@
* @netui.tldx:attribute reftype="netui-action-url"
*/
public void setAction(String action)
+ throws JspException
{
- _action = action;
+ _action = setRequiredValueAttribute(action,"action");
}
/**
@@ -169,9 +170,14 @@
* @netui:attribute required="false" rtexprvalue="true"
*/
public void setType(String type)
+ throws JspException
{
- // @todo: we need to validate that the type is legal
- _state.type = type;
+ if (INPUT_SUBMIT.equals(type) || INPUT_BUTTON.equals(type) ||
INPUT_RESET.equals(type)) {
+ _state.type = type;
+ return;
+ }
+ String s = Bundle.getString("Tags_ButtonTypeError", new
Object[]{type});
+ registerTagError(s, null);
}
/**
@@ -279,6 +285,13 @@
}
else {
idScript = renderTagId(_state, null, true, true);
+ }
+
+ // report any errors that may have been generated.
+ if (hasErrors()) {
+ reportErrors();
+ localRelease();
+ return EVAL_PAGE;
}
TagRenderingBase br =
TagRenderingBase.Factory.getRendering(TagRenderingBase.INPUT_SUBMIT_TAG,
request);
Modified:
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Hidden.java
==============================================================================
---
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Hidden.java
(original)
+++
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Hidden.java
Wed Jul 28 13:30:35 2004
@@ -175,6 +175,7 @@
* @netui.tldx:attribute category="general"
*/
public void setTagId(String tagId)
+ throws JspException
{
// @todo: this is in the base class, should we remove it?
_tagId = tagId;
Modified:
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlBaseTag.java
==============================================================================
---
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlBaseTag.java
(original)
+++
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlBaseTag.java
Wed Jul 28 13:30:35 2004
@@ -83,6 +83,8 @@
*/
public void setStyle(String style)
{
+ if ("".equals(style))
+ return;
AbstractHtmlState tsh = getState();
tsh.style = style;
}
@@ -95,24 +97,24 @@
*/
public void setStyleClass(String styleClass)
{
+ if ("".equals(styleClass))
+ return;
AbstractHtmlState tsh = getState();
tsh.styleClass = styleClass;
}
/**
* Set the ID of the tag.
- * @param tagId - the tagId.
+ * @param tagId - the tagId. A value is required.
* @netui:attribute required="false" rtexprvalue="true"
* @netui.tldx:attribute category="general"
*/
public void setTagId(String tagId)
+ throws JspException
{
- // JSP 2.0 EL will convert a null into a empty string "". This will
- // convert that back so that we only set the tagId if there is an
actual value.
- if (tagId.equals(""))
- tagId = null;
+ // JSP 2.0 EL will convert a null into a empty string "". If we get a
"" we will display an error.
AbstractHtmlState tsh = getState();
- tsh.id = tagId;
+ tsh.id = setRequiredValueAttribute(tagId,"tagId");;
}
/**
Modified:
incubator/beehive/trunk/netui/src/util/org/apache/beehive/netui/util/netui.properties
==============================================================================
---
incubator/beehive/trunk/netui/src/util/org/apache/beehive/netui/util/netui.properties
(original)
+++
incubator/beehive/trunk/netui/src/util/org/apache/beehive/netui/util/netui.properties
Wed Jul 28 13:30:35 2004
@@ -71,6 +71,7 @@
Tags_AttributeInvalidParent=The parent tag of this "<b>attribute</b>" does not
support dynamic attributes.
Tags_ButtonText=Click
+Tags_ButtonTypeError=The type of a button must be one of 'submit', 'button' or
'reset', found ''{0}''.
Tags_CaptionTableParent=A TableCaption must have a Table as parent.
Tags_RowTableParent=A TableRow must have a Table or TableBody as parent.
Added:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/anchor/nullbinding/Controller.jpf
==============================================================================
--- (empty file)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/anchor/nullbinding/Controller.jpf
Wed Jul 28 13:30:35 2004
@@ -0,0 +1,59 @@
+package coretags.anchor.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/anchor/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>",
+ "<pageflow-object id='action-call:@page:[EMAIL
PROTECTED]@action:begin.do@'>",
+ " <property value='184,150,150,116' name='elbowsX'/>",
+ " <property value='92,92,92,92' name='elbowsY'/>",
+ " <property value='West_1' name='fromPort'/>",
+ " <property value='East_1' name='toPort'/>",
+ "</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/anchor/nullbinding/index.jsp
==============================================================================
--- (empty file)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/anchor/nullbinding/index.jsp
Wed Jul 28 13:30:35 2004
@@ -0,0 +1,43 @@
+<%@ 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>Anchor Null Binding</h4>
+ <p style="color:green">
+ This test will null bind to a bunch of attributes on the anchor.
These should all be ignored without
+ warning. In the first case, the anchors should all be exactly the
same. The attribute bound to a
+ null expression is ignored in the output. The second set of anchor
have default values for there
+ parameters.<br>
+ This is a single page test.
+ </p>
+ <hr>
+ <ul>
+ <li><netui:anchor action="begin"
charSet="${pageFlow.nullValue}">Link</netui:anchor> -- charSet</li>
+ <li><netui:anchor action="begin"
coords="${pageFlow.nullValue}">Link</netui:anchor> -- coords</li>
+ <li><netui:anchor action="begin"
hrefLang="${pageFlow.nullValue}">Link</netui:anchor> -- hrefLang</li>
+ <li><netui:anchor action="begin"
location="${pageFlow.nullValue}">Link</netui:anchor> -- location</li>
+ <li><netui:anchor action="begin"
onBlur="${pageFlow.nullValue}">Link</netui:anchor> -- onBlur</li>
+ <li><netui:anchor action="begin"
onFocus="${pageFlow.nullValue}">Link</netui:anchor> -- onFocus</li>
+ <li><netui:anchor action="begin"
rel="${pageFlow.nullValue}">Link</netui:anchor> -- rel</li>
+ <li><netui:anchor action="begin"
rev="${pageFlow.nullValue}">Link</netui:anchor> -- rev</li>
+ <li><netui:anchor action="begin"
scope="${pageFlow.nullValue}">Link</netui:anchor> -- scope</li>
+ <li><netui:anchor action="begin"
shape="${pageFlow.nullValue}">Link</netui:anchor> -- shape</li>
+ <li><netui:anchor action="begin"
target="${pageFlow.nullValue}">Link</netui:anchor> -- target</li>
+ <li><netui:anchor action="begin"
type="${pageFlow.nullValue}">Link</netui:anchor> -- type</li>
+ </ul>
+ <ul>
+ <li><netui:anchor action="begin"
accessKey="${pageFlow.nullValue}">Link</netui:anchor> -- accessKey</li>
+ <li><netui:anchor action="begin"
tabindex="${pageFlow.nullValue}">Link</netui:anchor> -- tabindex</li>
+ </ul>
+ <hr>
+
+ </netui:body>
+</netui:html>
+
+
+
\ No newline at end of file
Added:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/anchor/nullbindingerror/Controller.jpf
==============================================================================
--- (empty file)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/anchor/nullbindingerror/Controller.jpf
Wed Jul 28 13:30:35 2004
@@ -0,0 +1,73 @@
+package coretags.anchor.nullbindingerror;
+
+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/anchor/nullbindingerror/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>",
+ "<pageflow-object id='action:${pageflow.nullValue}.do'>",
+ " <property value='340' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='action-call:@page:[EMAIL
PROTECTED]@action:${pageflow.nullValue}.do@'>",
+ " <property value='256,280,280,304' name='elbowsX'/>",
+ " <property value='92,92,92,92' name='elbowsY'/>",
+ " <property value='East_1' name='fromPort'/>",
+ " <property value='West_1' name='toPort'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='action:${pageFlow.nullValue}.do'>",
+ " <property value='340' name='x'/>",
+ " <property value='160' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='action-call:@page:[EMAIL
PROTECTED]@action:${pageFlow.nullValue}.do@'>",
+ " <property value='256,280,280,304' name='elbowsX'/>",
+ " <property value='103,103,152,152' name='elbowsY'/>",
+ " <property value='East_2' name='fromPort'/>",
+ " <property value='West_1' name='toPort'/>",
+ "</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/anchor/nullbindingerror/index.jsp
==============================================================================
--- (empty file)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/anchor/nullbindingerror/index.jsp
Wed Jul 28 13:30:35 2004
@@ -0,0 +1,35 @@
+<%@ 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>Anchor Null Binding Errors</h4>
+ <p style="color:green">
+ This test will test null binding against various attributes of the
anchor that should raise errors.
+ The first set of test bind to
+ the core anchor properties <b>action, href, clientAction,
linkName</b>. Of these, only the href accepts
+ the value "". All the rest will raise a runtime error.<br>
+ This is a single page test.
+ </p>
+ <p style="color:green">
+ The second test binds to <b>tagId</b> which will raise an error.
+ </p>
+ <hr>
+ <ul>
+ <li>action -- <netui:anchor action="${pageFlow.nullValue}">Null
action</netui:anchor></li>
+ <li>href -- <netui:anchor href="${pageFlow.nullValue}">Null
href</netui:anchor></li>
+ <li>clientAction -- <netui:anchor
clientAction="${pageFlow.nullValue}">Null clientAction</netui:anchor></li>
+ <li>linkName -- <netui:anchor linkName="${pageFlow.nullValue}">Null
linkName</netui:anchor></li>
+ </ul>
+ <hr>
+ <ul>
+ <li>tagId -- <netui:anchor href="" tagId="${pageFlow.nullValue}">Null
tagId</netui:anchor></li>
+ </u>
+ </netui:body>
+</netui:html>
+
+
\ No newline at end of file
Added:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/base/nullbinding/Controller.jpf
==============================================================================
--- (empty file)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/base/nullbinding/Controller.jpf
Wed Jul 28 13:30:35 2004
@@ -0,0 +1,53 @@
+package coretags.base.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/base/nullbinding/index.jsp
==============================================================================
--- (empty file)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/base/nullbinding/index.jsp
Wed Jul 28 13:30:35 2004
@@ -0,0 +1,20 @@
+<%@ 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 target="${pageFlow.nullValue}" />
+ </head>
+ <body>
+ <h4>Null binding in the base tag</h4>
+ <p style="color:green">
+ This test simply binds the base tag to a value that results in null. In
the base
+ found in the head, there should not be a target.
+ </p>
+ </body>
+</netui:html>
+
+
\ No newline at end of file
Added:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/button/nullbinding/Controller.jpf
==============================================================================
--- (empty file)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/button/nullbinding/Controller.jpf
Wed Jul 28 13:30:35 2004
@@ -0,0 +1,52 @@
+package coretags.button.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/button/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/button/nullbinding/index.jsp
==============================================================================
--- (empty file)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/button/nullbinding/index.jsp
Wed Jul 28 13:30:35 2004
@@ -0,0 +1,36 @@
+<%@ 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>Button Null Binding</h4>
+ <p style="color:green">There are two sets of tests. The first set set all
the attributes
+ that should result in errors [action, tagId and type]. In the last set of
tests, the first
+ simply ignores the default value. The second and third both will output
the default value.
+ <br>
+ This is a single page test.
+ </p>
+ <hr>
+ <ul>
+ <li><netui:button action="${pageFlow.nullValue}"/> -- action</li>
+ <li><netui:button tagId="${pageFlow.nullValue}"/> -- tagId</li>
+ <li><netui:button type="${pageFlow.nullValue}"/> -- type</li>
+ </ul>
+ <hr>
+ <ul>
+ <li><netui:button value="${pageFlow.nullValue}"/> -- value</li>
+ <li><netui:button tabindex="${pageFlow.nullValue}"/> -- tabindex</li>
+ <li><netui:button accessKey="${pageFlow.nullValue}"/> -- accessKey</li>
+ </ul>
+ <hr>
+
+ </netui:body>
+</netui:html>
+
+
\ No newline at end of file
Added:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/checkbox/nullbinding/Controller.jpf
==============================================================================
--- (empty file)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/checkbox/nullbinding/Controller.jpf
Wed Jul 28 13:30:35 2004
@@ -0,0 +1,71 @@
+package coretags.checkbox.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/checkbox/nullbinding/Controller.jpf'/>",
+ "<pageflow-object id='page:index.jsp'>",
+ " <property value='220' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='action:begin.do'>",
+ " <property value='80' 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 boolean[] _booleanValues = new boolean[10];
+ private Boolean _nullBoolean;
+
+ public String getNullValue() {
+ return _nullValue;
+ }
+
+ public boolean[] getValues() {
+ return _booleanValues;
+ }
+
+ public Boolean getNullBoolean() {
+ return _nullBoolean;
+ }
+ public void setNulLBoolean(Boolean b) {
+ _nullBoolean = b;
+ }
+
+ @Jpf.Action(
+ forwards={
+ @Jpf.Forward(name="index", path="index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+ protected void onCreate() {
+ for (int i=0;i<_booleanValues.length;i++)
+ _booleanValues[i] = true;
+ }
+
+
+}
\ No newline at end of file
Added:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/checkbox/nullbinding/index.jsp
==============================================================================
--- (empty file)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/checkbox/nullbinding/index.jsp
Wed Jul 28 13:30:35 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-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>CheckBox Null Binding</h4>
+ <p style="color:green">This test binds the primary attributes of the
checkbox tag to a null value.
+ In the first set of tests, the value is ignored. In the second set of
tests, the default value is
+ output. In the third set of tests, <b>tagId</b> will result in an error
and the <b>defaultValue</b> will
+ result in a false.
+ <br>
+ This is a single page test.
+ </p>
+ <hr>
+ <ul>
+ <li><netui:checkBox dataSource="pageFlow.values[0]"
alt="${pageFlow.nullValue}" /> -- alt</li>
+ <li><netui:checkBox dataSource="pageFlow.values[1]"
title="${pageFlow.nullValue}" /> -- title</li>
+ </ul>
+ <hr>
+ <ul>
+ <li><netui:checkBox dataSource="pageFlow.values[2]"
tabindex="${pageFlow.nullValue}" /> -- tabindex</li>
+ <li><netui:checkBox dataSource="pageFlow.values[3]"
accessKey="${pageFlow.nullValue}"/> -- accessKey</li>
+ </ul>
+ <hr>
+ <ul>
+ <li><netui:checkBox dataSource="pageFlow.values[4]"
tagId="${pageFlow.nullValue}" /> -- tagId</li>
+ <li><netui:checkBox dataSource="pageFlow.nullBoolean"
defaultValue="${pageFlow.nullValue}"/> -- defaultValue</li>
+ </ul>
+ <hr>
+ <ul>
+
+ </netui:body>
+</netui:html>
+
+
\ No newline at end of file
Added:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/htmlbase/nullbinding/Controller.jpf
==============================================================================
--- (empty file)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/htmlbase/nullbinding/Controller.jpf
Wed Jul 28 13:30:35 2004
@@ -0,0 +1,53 @@
+package coretags.htmlbase.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/htmlbase/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/htmlbase/nullbinding/index.jsp
==============================================================================
--- (empty file)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/htmlbase/nullbinding/index.jsp
Wed Jul 28 13:30:35 2004
@@ -0,0 +1,46 @@
+<%@ 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"%>
+<%@ 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>HtmlBase Attribute Binding</h4>
+ <p style="color:green">
+ This test will null bind to a bunch of attributes on which are defined
on the HtmlBaseTag class. These
+ attributes are exposed on a bunch of the HTML tags. In all cases
below, when a value is resolved
+ to null, the value is ignored. All of the anchors in this test should
result in the same markup.<br>
+ This is a single page test.
+ </p>
+ <hr>
+ <ul>
+ <li><netui:anchor action="begin"
style="${pageFlow.nullValue}">Link</netui:anchor> -- style</li>
+ <li><netui:anchor action="begin"
styleClass="${pageFlow.nullValue}">Link</netui:anchor> -- styleClass</li>
+ <li><netui:anchor action="begin"
title="${pageFlow.nullValue}">Link</netui:anchor> -- title</li>
+ <li><netui:anchor action="begin"
onClick="${pageFlow.nullValue}">Link</netui:anchor> -- onClick</li>
+ <li><netui:anchor action="begin"
onDblClick="${pageFlow.nullValue}">Link</netui:anchor> -- onDblClick</li>
+ <li><netui:anchor action="begin"
onKeyDown="${pageFlow.nullValue}">Link</netui:anchor> -- onKeyDown</li>
+ <li><netui:anchor action="begin"
onKeyPress="${pageFlow.nullValue}">Link</netui:anchor> -- onKeyPress</li>
+ <li><netui:anchor action="begin"
onKeyUp="${pageFlow.nullValue}">Link</netui:anchor> -- onKeyUp</li>
+ <li><netui:anchor action="begin"
onMouseDown="${pageFlow.nullValue}">Link</netui:anchor> -- onMouseDown</li>
+ <li><netui:anchor action="begin"
onMouseMove="${pageFlow.nullValue}">Link</netui:anchor> -- onMouseMove</li>
+ <li><netui:anchor action="begin"
onMouseOut="${pageFlow.nullValue}">Link</netui:anchor> -- onMouseOut</li>
+ <li><netui:anchor action="begin"
onMouseOver="${pageFlow.nullValue}">Link</netui:anchor> -- onMouseOver</li>
+ <li><netui:anchor action="begin"
onMouseUp="${pageFlow.nullValue}">Link</netui:anchor> -- onMouseUp</li>
+ <li><netui:anchor action="begin"
dir="${pageFlow.nullValue}">Link</netui:anchor> -- dir</li>
+ <li><netui:anchor action="begin"
lang="${pageFlow.nullValue}">Link</netui:anchor> -- lang</li>
+ </ul>
+ <hr>
+
+ </netui:body>
+</netui:html>
+
+
+
+
\ No newline at end of file
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/index.jsp
==============================================================================
--- (empty file)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/index.jsp
Wed Jul 28 13:30:35 2004
@@ -0,0 +1,17 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<html>
+ <head>
+ <title>Core Tag Tests</title>
+ </head>
+ <body>
+ <h4>Index of Core Tests</h4>
+ <ul>
+ <li><a href="anchor\nullbinding\Controller.jpf">Anchor Null Binding</a>
— Anchor null binding tests</li>
+ <li><a href="anchor\nullbindingerror\Controller.jpf">Anchor Error Null
Binding</a> — Anchor null binding tests with errors</li>
+ <li><a href="base\nullbinding\Controller.jpf">Base Null Binding</a>
— Base null binding tests</li>
+ <li><a href="button\nullbinding\Controller.jpf">Button Null Binding</a>
— Button null binding tests</li>
+ <li><a href="checkbox\nullbinding\Controller.jpf">Checkbox Null
Binding</a> — Checkbox null binding tests</li>
+ <li><a href="htmlbase\nullbinding\Controller.jpf">HtmlBase Null
Binding</a> — HtmlBase attributes null binding tests</li>
+ </ul>
+ </body>
+</html>
Modified:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/index/Controller.jpf
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/index/Controller.jpf
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/index/Controller.jpf
Wed Jul 28 13:30:35 2004
@@ -39,11 +39,15 @@
)
public class Controller extends PageFlowController
{
+ private final String ROW_ON_STYLE = "row";
+ private final String ROW_OFF_STYLE = "altRow";
private final String TESTS = " Tests";
transient private TestDefinitions _td;
transient private Category[] _cats;
private String _cat = "drt";
+ private boolean _rowOn = false;
+
public Iterator getCategories()
{
CatIterator it = new CatIterator(_cats,_cat);
@@ -63,6 +67,11 @@
return c.getDescription() + ((pos != -1) ? "" : TESTS);
}
+ public String getRowStyle() {
+ _rowOn = !_rowOn;
+ return (_rowOn) ? ROW_ON_STYLE : ROW_OFF_STYLE;
+ }
+
protected void onCreate()
{
@@ -82,6 +91,7 @@
})
public Forward selectList()
{
+ _rowOn = false;
String cat = getRequest().getParameter("target");
if (cat != null) {
_cat = cat;
Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/index/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/index/index.jsp
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/index/index.jsp
Wed Jul 28 13:30:35 2004
@@ -53,12 +53,10 @@
<netui-data:repeater dataSource="pageFlow.tests">
<netui-data:repeaterHeader><table border='1px'
cellspacing='0'></netui-data:repeaterHeader>
<netui-data:repeaterItem>
- <tr>
+ <tr class="${pageFlow.rowStyle}">
<td class="nameColumn"><netui:anchor
href="/coreWeb/testRecorder?mode=displayLink">${container.item.name}
<netui:parameter name="file" value="${container.item.name}"/>
</netui:anchor></td>
- <td class="descrColumn">${container.item.description}
- </td>
<td class="diffColumn">
<c:if test="${container.item.diff == true}">
<netui:anchor href="/coreWeb/testRecorder?mode=diff">Diff
@@ -67,6 +65,8 @@
</c:if>
</td>
+ <td class="descrColumn">${container.item.description}
+ </td>
<td class="detailColumn"><netui:anchor
href="/coreWeb/testRecorder?mode=details">Details
<netui:parameter name="file" value="${container.item.name}"/>
</netui:anchor></td>
Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/index/style.css
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/index/style.css
(original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/index/style.css
Wed Jul 28 13:30:35 2004
@@ -20,6 +20,10 @@
color: #9685BA;
}
+.altRow {
+ background-color: #eeeeff;
+}
+
/** Define the title which is positioned at the top **/
.title {
position: absolute;
Modified:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/accesskey/index.jsp
==============================================================================
---
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/accesskey/index.jsp
(original)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/accesskey/index.jsp
Wed Jul 28 13:30:35 2004
@@ -68,7 +68,7 @@
</table>
<br/>
<netui:button value="Form Submit" type="submit" accessKey="F"
alt="${pageFlow.altText}"/><b>(F)</b>
- <netui:button type="Reset" value="Reset" accessKey="R"
alt="${pageFlow.altText}"/><b>(R)</b>
+ <netui:button type="reset" value="Reset" accessKey="R"
alt="${pageFlow.altText}"/><b>(R)</b>
<netui:imageButton src="./folder.gif"
accessKey="X"></netui:imageButton><b>(X)</b>
</netui:form>
</body>
Modified:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/template/divPanelTree/Controller.jpf
==============================================================================
---
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/template/divPanelTree/Controller.jpf
(original)
+++
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/template/divPanelTree/Controller.jpf
Wed Jul 28 13:30:35 2004
@@ -96,14 +96,6 @@
public void setTree(TreeElement t) {
tree = t;
}
-
- // Uncomment this declaration to access Global.app.
- //
- // protected global.Global globalApp;
- //
-
- // For an example of page flow exception handling see the example "catch"
and "exception-handler"
- // annotations in {project}/WEB-INF/src/global/Global.app
/**
* This method represents the point of entry into the pageflow
Modified:
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RepeatRadioOptionError.xml
==============================================================================
---
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RepeatRadioOptionError.xml
(original)
+++
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RepeatRadioOptionError.xml
Wed Jul 28 13:30:35 2004
@@ -2,7 +2,7 @@
<ses:recorderSession
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
<ses:sessionName>RepeatRadioOptionError</ses:sessionName>
<ses:tester>Daryl</ses:tester>
- <ses:startDate>08 Jul 2004, 09:56:56.957 AM MDT</ses:startDate>
+ <ses:startDate>28 Jul 2004, 11:10:09.384 AM MDT</ses:startDate>
<ses:description>Daryl</ses:description>
<ses:tests>
<ses:test>
@@ -47,7 +47,7 @@
</ses:header>
<ses:header>
<ses:name>testrecorder.playback.testid</ses:name>
- <ses:value>-a9431aa:fd9f6fce18:-797b</ses:value>
+ <ses:value>-4dc4efeb:fe06b43f71:-7b5e</ses:value>
</ses:header>
<ses:header>
<ses:name>user-agent</ses:name>
@@ -79,7 +79,7 @@
<caption class="normalAttr">CheckBox Group</caption>
<tr align="center"><td align="right" width="25%"><input
type="radio"
name="wlw-radio_button_group_key:{pageFlow.resultsOne}"><span>null</span></td>
- <td align="left"><span class=""></span>
+ <td align="left"><span></span>
</td></tr>
<span style="color:red;background-color:white">
[<b>Tag Error:1</b>, Found in tag <b>RadioButtonGroup</b>]</span>
@@ -101,7 +101,7 @@
</ses:testResults>
</ses:test>
</ses:tests>
- <ses:endDate>08 Jul 2004, 09:56:58.429 AM MDT</ses:endDate>
+ <ses:endDate>28 Jul 2004, 11:10:10.225 AM MDT</ses:endDate>
<ses:sessionStatus>fail</ses:sessionStatus>
<ses:testCount>1</ses:testCount>
<ses:passedCount>0</ses:passedCount>
Modified:
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr132760.xml
==============================================================================
---
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr132760.xml
(original)
+++
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr132760.xml
Wed Jul 28 13:30:35 2004
@@ -2,7 +2,7 @@
<ses:recorderSession
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
<ses:sessionName>Cr132760</ses:sessionName>
<ses:tester>Daryl</ses:tester>
- <ses:startDate>08 Jul 2004, 05:33:11.849 PM MDT</ses:startDate>
+ <ses:startDate>28 Jul 2004, 01:57:56.301 PM MDT</ses:startDate>
<ses:description>Daryl</ses:description>
<ses:tests>
<ses:test>
@@ -47,7 +47,7 @@
</ses:header>
<ses:header>
<ses:name>testrecorder.playback.testid</ses:name>
- <ses:value>-1fafffd5:fda0f58f87:-7d64</ses:value>
+ <ses:value>-6e5cbeef:fe0747451b:-7e39</ses:value>
</ses:header>
<ses:header>
<ses:name>testrecorder.playback.testnumber</ses:name>
@@ -73,7 +73,8 @@
points to an action that doesn't exist. This is reported as an error.
<hr>
<form id="Netui_Form_0" action="/coreWeb/bugs/cr132760/post.do"
method="post">
- <input type="submit" value="Post">
+ <span style="color:red;background-color:white">
+ [<b>Tag Error:1</b>, Found in tag <b>Button</b>]</span>
</form>
</body><div> <hr /><table border="1" cellspacing="0"
style="color:red;background-color:white">
@@ -89,7 +90,7 @@
</ses:testResults>
</ses:test>
</ses:tests>
- <ses:endDate>08 Jul 2004, 05:33:13.421 PM MDT</ses:endDate>
+ <ses:endDate>28 Jul 2004, 01:57:57.082 PM MDT</ses:endDate>
<ses:sessionStatus>fail</ses:sessionStatus>
<ses:testCount>1</ses:testCount>
<ses:passedCount>0</ses:passedCount>