You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ri...@apache.org on 2005/07/21 19:57:31 UTC
svn commit: r220152 [2/3] - in /incubator/beehive/trunk/netui:
src/tags-html/org/apache/beehive/netui/tags/html/
test/webapps/drt/coreWeb/coretags/attribute/nullbinding/
test/webapps/drt/coreWeb/tags/attribute/
test/webapps/drt/testRecorder/config/ tes...
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/select.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/select.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/select.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/select.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,36 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ select
+ </p>
+ <netui:form action="submitIt">
+ <netui:select dataSource="actionForm.selectedItems"
+ defaultValue="${pageFlow.defaultSelectedItems}"
+ optionsDataSource="pageFlow.defaultOptions"
+ style="theStyle"
+ styleClass="theClass"
+ multiple="true">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:select>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/select.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,41 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ select Tag Errors
+ </p>
+ <netui:form action="submitIt">
+ <netui:select dataSource="actionForm.selectedItems"
+ defaultValue="${pageFlow.defaultSelectedItems}"
+ optionsDataSource="pageFlow.defaultOptions"
+ style="theStyle"
+ styleClass="theClass"
+ multiple="true">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ </netui:select>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectOption.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectOption.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectOption.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectOption.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,39 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ selectOption
+ </p>
+ <netui:form action="submitIt">
+ <netui:select dataSource="actionForm.selectedItems"
+ defaultValue="${pageFlow.defaultSelectedItems}"
+ style="theStyle"
+ styleClass="theClass"
+ multiple="true">
+ <netui:selectOption value="${pageFlow.optionOne}" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:selectOption>
+ <netui:selectOption value="${pageFlow.optionTwo}"/>
+ <netui:selectOption value="${pageFlow.optionThree}"/>
+ </netui:select>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectOption.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectOptionErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectOptionErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectOptionErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectOptionErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,45 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/taFrom beehive-commits-return-2859-apmail-incubator-beehive-commits-archive=incubator.apache.org@incubator.apache.org Thu Jul 21 17:57:59 2005
Return-Path: <be...@incubator.apache.org>
Delivered-To: apmail-incubator-beehive-commits-archive@www.apache.org
Received: (qmail 17988 invoked from network); 21 Jul 2005 17:57:59 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199)
by minotaur.apache.org with SMTP; 21 Jul 2005 17:57:59 -0000
Received: (qmail 7584 invoked by uid 500); 21 Jul 2005 17:57:59 -0000
Delivered-To: apmail-incubator-beehive-commits-archive@incubator.apache.org
Received: (qmail 7444 invoked by uid 500); 21 Jul 2005 17:57:58 -0000
Mailing-List: contact beehive-commits-help@incubator.apache.org; run by ezmlm
Precedence: bulk
List-Help: <ma...@incubator.apache.org>
List-Unsubscribe: <ma...@incubator.apache.org>
List-Post: <mailto:beehive-cgs-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ selectOption Tag Errors
+ </p>
+ <netui:form action="submitIt">
+ <netui:select dataSource="actionForm.selectedItems"
+ defaultValue="${pageFlow.defaultSelectedItems}"
+ style="theStyle"
+ styleClass="theClass"
+ multiple="true">
+ <netui:selectOption value="${pageFlow.optionOne}" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ <netui:attribute name="value" value="whatever"/>
+ </netui:selectOption>
+ <netui:selectOption value="${pageFlow.optionTwo}"/>
+ <netui:selectOption value="${pageFlow.optionThree}"/>
+ </netui:select>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectOptionErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/span.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/span.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/span.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/span.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,29 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ span
+ </p>
+ <netui:span value="Label" style="theStyle" styleClass="theClass">
+ ommits@incubator.apache.org>
List-Id: <beehive-commits.incubator.apache.org>
Reply-To: "Beehive Dev" <be...@incubator.apache.org>
Delivered-To: mailing list beehive-commits@incubator.apache.org
Received: (qmail 7418 invoked by uid 500); 21 Jul 2005 17:57:57 -0000
Delivered-To: apmail-incubator-beehive-cvs@incubator.apache.org
Received: (qmail 7405 invoked by uid 99); 21 Jul 2005 17:57:56 -0000
X-ASF-Spam-Status: No, hits=-9.8 required=10.0
tests=ALL_TRUSTED,NO_REAL_NAME
X-Spam-Check-By: apache.org
Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194)
by apache.org (qpsmtpd/0.29) with SMTP; Thu, 21 Jul 2005 10:57:44 -0700
Received: (qmail 17899 invoked by uid 65534); 21 Jul 2005 17:57:42 -0000
Message-ID: <20...@minotaur.apache.org>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r220152 [1/3] - in /incubator/beehive/trunk/netui:
src/tags-html/org/apache/beehive/netui/tags/html/
test/webap <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:span>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/span.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/spanErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/spanErrors.jsp?rev=220152&view=auto
==========ps/drt/coreWeb/coretags/attribute/nullbinding/
test/webapps/drt/coreWeb/tags/attribute/
test/webapps/drt/testRecorder/config/ tes...
Date: Thu, 21 Jul 2005 17:57:31 -0000
To: beehive-cvs@incubator.apache.org
From: rich@apache.org
X-Mailer: svnmailer-1.0.2
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N
Author: rich
Date: Thu Jul 21 10:57:26 2005
New Revision: 220152
URL: http://svn.apache.org/viewcvs?rev=220152&view=rev
Log:
This is a contribution from Krista Baker and Carlin Rogers to address http://issues.apache.org/jira/browse/BEEHIVE-842 : netui:attribute's on the checkBoxOption tag are not being set or overriden . Thank you!
BB: self (linux)
Added:
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/Controller.jpf (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/anchor.jsp (with props)
incubator/beehive/tr====================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/spanErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/spanErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,34 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ span Tag Errors
+ </p>
+ <netui:span value="Label" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("unk/netui/test/webapps/drt/coreWeb/tags/attribute/anchorErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/base.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/baseErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/button.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/buttonErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBox.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxOption.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxOptionErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/fileUpload.jsp (with propsred"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ </netui:span>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/spanErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textArea.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textArea.jsp?rev=220152&view=auto
===========================================================================)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/fileUploadErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/form.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/formErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/hidden.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/hiddenErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/image.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageAnchor.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageAnchorErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageButton.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageButto===
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textArea.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textArea.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,55 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ textArea
+ </p>
+ <netui:form action="submitIt">
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <netui:textArea rows="99"
+ cols="99"
+ dataSource="actionForm.theProperty"
+ disabled="true"
+ readonly="true"
+ nErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/index.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/label.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/labelErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/radioButtonOption.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/radioButtonOptionErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/select.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/selectOption.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/dr style="theStyle"
+ styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+ <netui:attribute name="rows" value="5"/>
+ <netui:attribute name="cols" value="5"/>
+
+ <%
+ pageContext.setAttribute("disabled", new String("false"));
+ pageContext.setAttribute("readonly", new String("false"));
+ %>
+ <netui:attribute name="disabled" value="${pageScope.disabled}"/>
+ <netui:attribute name="readonly" value="${pageScope.readonly}"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("t/coreWeb/tags/attribute/selectOptionErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/span.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/spanErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textArea.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textAreaErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textBox.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textBoxErrors.jsp (with props)
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/AttributeTag.xml (with props)
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/AttributeTagErrors.xml (with props)
Modified:
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Base.java
incubator/beehive/trunk/red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:textArea>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textArea.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textAreaErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textAreaErrors.jsp?rev=220152&view=auto
==========================netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBoxOption.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/HtmlConstants.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Image.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RadioButtonOption.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/SelectOption.java
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/attribute/nullbinding/Controller.jpf
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Base.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/tr====================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textAreaErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textAreaErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,60 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ textArea Tag Errors
+ </p>
+ <netui:form action="submitIt">
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <netui:textArea rows="99"
+ cols="99"
+ dataSource="actionForm.theProperty"
+ disabled="truunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Base.java?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- 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 Thu Jul 21 10:57:26 2005
@@ -101,6 +101,7 @@
if (name != null && name.equals(HREF)) {
String s = Bundle.getString("Tags_AttributeMayNotBeSet", new Object[]{name});
registerTagError(s, null);
+ error = true;
}
if (error)
return;
@@ -108,10 +109,6 @@
// set the state variables that will override the tag settings...
if (name.equals(TARGET)) {
_state.target = value;
- return;
- }
- else if (name.equals(HREF)) {
- _state.href = value;
return;
}
Modified: incubator/beehie"
+ readonly="true"
+ style="theStyle"
+ styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+ <netui:attribute name="rows" value="5"/>
+ <netui:attribute name="cols" value="5"/>
+
+ <%
+ pageContext.setAttribute("disabled", new String("false"));
+ pageContext.setAttribute("readonly", new String("false"));
+ %>
+ <netui:attribute name="disabled" value="${pageScope.disabled}"/>
+ <netui:attribute name="readonly" value="${pageScope.readonly}"/>
+
+ <%-- Test netui expression --%>
+ <%
+ ve/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java Thu Jul 21 10:57:26 2005
@@ -180,7 +180,7 @@
}
else {
if (name.equals(DISABLED)) {
- _state.disabled = true;
+ _state.disabled = new Boolean(value).booleanValue();
return;
}
}
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBoxOption.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-h pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ </netui:textArea>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textAreaErrors.jsp
------------------------tml/org/apache/beehive/netui/tags/html/CheckBoxOption.java?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBoxOption.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBoxOption.java Thu Jul 21 10:57:26 2005
@@ -76,8 +76,8 @@
}
/**
- * Base support for the attribute tag. This is overridden to prevent setting the <code>type</code>
- * and <code>value</code> attribute.
+ * Base support for the attribute tag. This is overridden to prevent setting the <code>type</code>,
+ * <code>checked</code>, and <code>value</code> attributes.
* @param name The name of the attribute. This value may not be null or the empty string.
* @param value The value of the attribute. This may contain an expression.
* @param facet The name of a facet to which the attribute will b------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textBox.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textBox.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textBox.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textBox.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,55 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ textBox
+ </p>
+ <netui:form action="submitIt">
+ <table>
+ e applied. This is optional.
@@ -92,8 +92,10 @@
registerTagError(s, null);
}
else {
- _state.disabled = new Boolean(value).booleanValue();
- return;
+ if (name.equals(DISABLED)) {
+ _state.disabled = new Boolean(value).booleanValue();
+ return;
+ }
}
}
super.setAttribute(name, value, facet);
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Hidden.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Hidden.java?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- 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 Thu Jul 2 <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <netui:textBox maxlength="99"
+ size="99"
+ dataSource="actionForm.theProperty"
+ disabled="true"
+ readonly="true"
+ style="theStyle"
+ styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%
+ pageContext.setAttribute("disabled", new String("false"));
+ pageContext.setAttribute("readonly", new String("false"));
+ %>
+ <netui:attribute name="disabled" value="${pageScope.disabled}"/>
+ 1 10:57:26 2005
@@ -77,12 +77,11 @@
public void setAttribute(String name, String value, String facet)
throws JspException
{
- if (name == null)
- return;
-
- if (name.equals(TYPE) || name.equals(VALUE)) {
- String s = Bundle.getString("Tags_AttributeMayNotBeSet", new Object[]{name});
- registerTagError(s, null);
+ if (name != null) {
+ if (name.equals(TYPE) || name.equals(VALUE)) {
+ String s = Bundle.getString("Tags_AttributeMayNotBeSet", new Object[]{name});
+ registerTagError(s, null);
+ }
}
super.setAttribute(name, value, facet);
}
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlConstants.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlConstants.java?rev=220152&r1=220151&r2=220152&view=diff
=============================================== <netui:attribute name="readonly" value="${pageScope.readonly}"/>
+ <netui:attribute name="maxlength" value="10"/>
+ <netui:attribute name="size" value="5"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:textBox>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textBox.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textBoxErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textBoxErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textBoxErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textBoxErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,60 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ textBox Tag Errors
+ </p>
+ <netui:form action="submitIt">
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <netui:textBox maxlength="99"
+ size="99"
+ dataSource="actionForm.theProperty"
+ disabled="true"
+ readonly="true"
+ style="theStyle"
+ styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%
+ pageContext.setAttribute("disabled", new String("false"));
+ pageContext.setAttribute("readonly", new String("false"));
+ %>
+ <netui:attribute name="disabled" value="${pageScope.disabled}"/>
+ <netui:attribute name="readonly" value="${pageScope.readonly}"/>
+ <netui:attribute name="maxlength" value="10"/>
+ <netui:attribute name="size" value="5"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ </netui:textBox>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/textBoxErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- 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 Thu Jul 21 10:57:===============================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlConstants.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/HtmlConstants.java Thu Jul 21 10:57:26 2005
@@ -287,7 +287,7 @@
static final String ISMAP = "ismap";
/**
- * The name of the <code>longdesc</code> attribute.
+ * The name of the <code>language</code> attribute.
*/
static final String LANGUAGE = "language";
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Image.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Image.java?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Image.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apa26 2005
@@ -393,6 +393,32 @@
</features>
</test>
<test>
+ <name>AttributeTag</name>
+ <description>Test of the attribute tag</description>
+ <webapp>coreWeb</webapp>
+ <categories>
+ <category>bvt</category>
+ <category>bvt.struts11</category>
+ <category>tags</category>
+ </categories>
+ <features>
+ <feature>Attribute</feature>
+ </features>
+ </test>
+ <test>
+ <name>AttributeTagErrors</name>
+ <description>Test the errors of the attribute tag</description>
+ <webapp>coreWeb</webapp>
+ <categories>
+ <category>bvt</category>
+ <category>bvt.struts11</category>
+ <category>tags</category>
+ </categories>
+ <features>
+ <feature>Attribute</feature>
+ </features>
+ </test>
+ <test>
<name>B13789</name>
<description>Databinding with java keywords.</desche/beehive/netui/tags/html/Image.java Thu Jul 21 10:57:26 2005
@@ -290,8 +290,11 @@
ServletRequest req = pageContext.getRequest();
String scriptId = null;
- // Generate the name definition or image element
+ // report errors that may have occurred
+ if (hasErrors())
+ return reportAndExit(EVAL_PAGE);
+ // Generate the name definition or image element
String uri = null;
if (_state.src != null) {
try {
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RadioButtonOption.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RadioButtonOption.java?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RadioButtonOption.java (original)
+++ incubator/beehive/trunk/netui/src/tacription>
<webapp>coreWeb</webapp>
Added: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/AttributeTag.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/AttributeTag.xml?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/AttributeTag.xml (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/AttributeTag.xml Thu Jul 21 10:57:26 2005
@@ -0,0 +1,1377 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session">
+ <ses:sessionName>AttributeTag</ses:sessionName>
+ <ses:tester>crogers</ses:tester>
+ <ses:startDate>19 Jul 2005, 12:54:00.397 PM MDT</ses:startDate>
+ <ses:description>Test the Attribute tag to set attributes of other NetUI HTML tags.</ses:description>
+ <ses:tests>
+ <ses:test>
+ gs-html/org/apache/beehive/netui/tags/html/RadioButtonOption.java Thu Jul 21 10:57:26 2005
@@ -84,8 +84,10 @@
registerTagError(s, null);
}
else {
- _state.disabled = new Boolean(value).booleanValue();
- return;
+ if (name.equals(DISABLED)) {
+ _state.disabled = new Boolean(value).booleanValue();
+ return;
+ }
}
}
super.setAttribute(name, value, facet);
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/SelectOption.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/SelectOption.java?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/SelectOption.java (original)
+++ incubator/beehive/tru <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/tags/attribute/anchor.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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:nk/netui/src/tags-html/org/apache/beehive/netui/tags/html/SelectOption.java Thu Jul 21 10:57:26 2005
@@ -80,12 +80,11 @@
public void setAttribute(String name, String value, String facet)
throws JspException
{
- if (name == null)
- return;
-
- if (name.equals(VALUE)) {
- String s = Bundle.getString("Tags_AttributeMayNotBeSet", new Object[]{name});
- registerTagError(s, null);
+ if (name != null) {
+ if (name.equals(VALUE)) {
+ String s = Bundle.getString("Tags_AttributeMayNotBeSet", new Object[]{name});
+ registerTagError(s, null);
+ }
}
super.setAttribute(name, value, facet);
}
Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/attribute/nullbinding/Controller.jpf
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/attribute/nullbinding/Controller.jpf?rev=220152&r1=220151&r2=220152&view=difname>accept-encoding</ses:name>
+ <ses:value>gzip, deflate</ses:value>
+ </ses:header>
+ <ses:header>
+ <ses:name>accept-language</ses:name>
+ <ses:value>en-us,en;q=0.5</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=A6A7B7AC4012EC3B0D071CD9396521AD</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; SV1; .NET CLR 1.1.4322)</ses:value>
+ </sesf
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/attribute/nullbinding/Controller.jpf (original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/attribute/nullbinding/Controller.jpf Thu Jul 21 10:57:26 2005
@@ -15,56 +15,33 @@
*
* $Header:$
*/
-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.
- */
-@Jpf.Controller
-@Jpf.ViewProperties(
- 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 va: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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ anchor
+ </p>
+ <a href="/coreWeb/tags/attribute/begin.do" class="MyAttributeClass" customAttr="red" anotherCustomAttr="anotherCustomValue" style="MyAttributeStyle">go to start</a>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>2</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>
+ lue='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:path#index#index.jsp#@action: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="inde <ses:uri>/coreWeb/tags/attribute/base.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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,en;q=0.5</ses:vax.jsp")
- }
- )
- protected Forward begin()
- {
- return new Forward("index");
- }
-
-
-}
+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.
+ */
+@Jpf.Controller
+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");
+ }
+
+
+}
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/Controller.jpf
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/Controller.jlue>
+ </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=A6A7B7AC4012EC3B0D071CD9396521AD</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; SV1; .NET CLR 1.1.4322)</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 Transipf?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/Controller.jpf (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/Controller.jpf Thu Jul 21 10:57:26 2005
@@ -0,0 +1,158 @@
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package tags.attribute;
+
+import org.apachtional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+
+ <head>
+
+
+
+
+ <base href="http://localhost:8080/coreWeb/tags/attribute/base.jsp" target="_myAttributeTop" customAttr="red" anotherCustomAttr="anotherCustomValue">
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ base
+ </p>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>3</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/tags/attribute/button.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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,en;q=0.5</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=A6A7B7AC4012EC3B0D071CD9396521AD</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; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ button
+ </p>
+ e.beehive.netui.pageflow.FormData;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.struts.upload.FormFile;
+
+@Jpf.Controller()
+public class Controller extends PageFlowController
+{
+ // used for the radioButtonOption tag test
+ private String defaultOption = "Two";
+ public String getDefaultOption()
+ {
+ return defaultOption;
+ }
+ public void setDefaultOption(String option)
+ {
+ defaultOption = option;
+ }
+
+ // used for the checkBoxOption tag test
+ private String[] defaultOptions = new String[] {"One", "Two", "Three", "Four"};
+ public String[] getDefaultOptions()
+ {
+ return defaultOptions;
+ }
+ public void setDefaultOptions(String[] options)
+ {
+ defaultOptions = options;
+ }
+
+ // used for the select, selectOption tag tests
+ private String[] defaultSelectedItems = new Stri <input type="button" class="MyAttributeClass" value="theValue" customAttr="red" anotherCustomAttr="anotherCustomValue" style="MyAttributeStyle">
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>4</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/tags/attribute/checkBox.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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,en;q=0.5</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=A6A7B7AC4012EC3B0D071CD9396521AD</ses:value>
+ </ses:header>
+ <ses:header>
+ <ses:name>host</ses:name>
+ <ses:value>localhostng[] {"One", "Two"};
+ public String[] getDefaultSelectedItems()
+ {
+ return defaultSelectedItems;
+ }
+ public void setDefaultSelectedItems(String[] defaultSelectedItems)
+ {
+ this.defaultSelectedItems = defaultSelectedItems;
+ }
+
+ // used for the checkBoxOption, radioButtonOption, selectOption tag tests
+ private String optionOne = "One";
+ public String getOptionOne(){return optionOne;}
+ public void setOptionOne(String option) {optionOne = option;}
+ private String optionTwo = "Two";
+ public String getOptionTwo(){return optionTwo;}
+ public void setOptionTwo(String option) {optionTwo = option;}
+ private String optionThree = "Three";
+ public String getOptionThree(){return optionThree;}
+ public void setOptionThree(String option) {optionThree = option;}
+
+ // used for the hidden tag test
+ public String hiddenParam = "hiddenValue";
+ public String getHiddenParam(){
+ return hiddenParam;
+ }
+ public void setHiddenPar: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; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ checkBox
+ </p>
+
+ <form action="/coreWeb/tags/attribute/submitIt.do" method="post">
+ <table>
+ <tr valign="top">
+ <td>My Checkbox:</td>
+ <td>
+ <input type="hidden" name="wlw-checkbox_key:{actionForm.am(String myParam){
+ hiddenParam = myParam;
+ }
+
+ @Jpf.Action(forwards = {
+ @Jpf.Forward(name = "success", path="index.jsp")
+ })
+ protected Forward begin()
+ {
+ return new Forward("success");
+ }
+
+ @Jpf.Action(forwards = {
+ @Jpf.Forward(name = "success", path="index.jsp")
+ })
+ protected Forward submitIt(SubmitItForm form)
+ {
+ return new Forward("success");
+ }
+
+ /**
+ * FormData with get and set methods for various tests
+ */
+ public static class SubmitItForm extends FormData
+ {
+ // general property for tests with form
+ private String theProperty;
+ public void setTheProperty(String property)
+ {
+ theProperty = property;
+ }
+ public String getTheProperty()
+ {
+ return theProperty;
+ }
+
+ // property for checkBox tag test
+ private Boolean boxChecked;
+ public void setBoxChecked(Boolean checked)
+ {boxChecked}OldValue" value="false"><input type="checkbox" name="wlw-checkbox_key:{actionForm.boxChecked}" class="MyAttributeClass" checked customAttr="red" anotherCustomAttr="anotherCustomValue" style="MyAttributeStyle">
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <input type="submit" value="submitIt">
+ </form>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>5</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/tags/attribute/checkBoxOption.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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,en;q=0.5</ses:value>
+ </ses:header>
+ <ses:header>
+ <ses:name>connection</ses:name>
+ <ses:value>Keep-Alive</ses:value>
+ </ses:header>
+ <ses:header>
+ <ses:name>c
+ boxChecked = checked;
+ }
+ public Boolean getBoxChecked()
+ {
+ return boxChecked;
+ }
+
+ // property for checkBoxOption tag test
+ private String[] checkedBoxes;
+ public void setCheckedBoxes(String[] checkedBoxes)
+ {
+ this.checkedBoxes = checkedBoxes;
+ }
+ public String[] getCheckedBoxes()
+ {
+ return this.checkedBoxes;
+ }
+
+ // property for fileUpload tag test
+ private FormFile theFile;
+ public void setTheFile(FormFile file)
+ {
+ theFile = file;
+ }
+ public FormFile getTheFile()
+ {
+ return theFile;
+ }
+
+ // property for select tag test
+ private String[] selectedItems;
+ public void setSelectedItems(String[] items)
+ {
+ selectedItems = items;
+ }
+ public String[] getSelectedItems()
+ {
+ return selectedItems;
+ ookie</ses:name>
+ <ses:value>JSESSIONID=A6A7B7AC4012EC3B0D071CD9396521AD</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; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ checkBoxOption
+ </p>
+
+
+ }
+ }
+}
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/Controller.jpf
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/anchor.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/anchor.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/anchor.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/anchor.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,30 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </he <form action="/coreWeb/tags/attribute/submitIt.do" method="post">
+ <input type="hidden" name="wlw-checkbox_group_key:{actionForm.checkedBoxes}OldValue" value="true">
+ <input type="checkbox" name="wlw-checkbox_group_key:{actionForm.checkedBoxes}" class="MyAttributeClass" value="One" checked customAttr="red" anotherCustomAttr="anotherCustomValue" style="MyAttributeStyle"><span class="theLabelStyleClass" style="theLabelStyle">One</span>
+ <input type="checkbox" name="wlw-checkbox_group_key:{actionForm.checkedBoxes}" value="Two" checked><span>Two</span>
+ <input type="checkbox" name="wlw-checkbox_group_key:{actionForm.checkedBoxes}" value="Three" checked><span>Three</span>
+
+ <input type="submit" value="submitIt">
+ </form>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>6</ses:testNumber>
+ <ses:request>
+ <ses:protocolad>
+ <body>
+ <p>
+ anchor
+ </p>
+ <netui:anchor action="begin" style="theStyle" styleClass="theClass">
+ go to start
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:anchor>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/anchor.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb>HTTP</ses:protocol>
+ <ses:protocolVersion>1.1</ses:protocolVersion>
+ <ses:host>localhost</ses:host>
+ <ses:port>8080</ses:port>
+ <ses:uri>/coreWeb/tags/attribute/fileUpload.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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:va/tags/attribute/anchorErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/anchorErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/anchorErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/anchorErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,36 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ anchor Tag Errors
+ </p>
+ <netui:anchor action="begin" style="theStyle" styleClass="theClass">
+ go to start
+ <%-- Test override --%>
+ <netui:attribute name="class" vlue>
+ </ses:header>
+ <ses:header>
+ <ses:name>accept-language</ses:name>
+ <ses:value>en-us,en;q=0.5</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=A6A7B7AC4012EC3B0D071CD9396521AD</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; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ fileUpload
+ </p>
+ <form action="/coreWeb/tags/attribute/submitIt.do" method="post" enctype="multipart/form-data">
+ <table>
+ <tr valign="top">
+ <td>TheFile:</td>
+ <td>
+ <input type="file" name="{actionForm.theFile}" class="MyAttributeClass" readonly customAttr="red" anotherCustomAttr="anotherCustomValue" style="MyAttributeStyle">
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <input type="submit" value="submitIt">
+ </form>
+ </body>
+
+</html>]]></sesalue="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ <netui:attribute name="href" value="whatever"/>
+ </netui:anchor>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/anchorErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubat:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>7</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/tags/attribute/form.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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>or/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/base.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/base.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/base.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/base.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,29 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <%-- Base tag --%>
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+
+ <netui:base target="_top">
+ <%-- Test override --%>
+ <netui:attribute name="target" value="_myAttributeTop" />
+
+ </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,en;q=0.5</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=A6A7B7AC4012EC3B0D071CD9396521AD</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;<netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:base>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ base
+ </p>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/base.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/baseErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/baseErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/baseErrors.jsp (added)
+++ incubator/beehi MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ form
+ </p>
+ <form action="/coreWeb/tags/attribute/submitIt.do" class="MyAttributeClass" method="post" customAttr="red" autocomplete="off" style="MyAttributeStyle">
+
+
+
+
+
+
+
+
+
+
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <input type="text" name=ve/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/baseErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,35 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <%-- Base tag --%>
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+
+ <netui:base target="_top">
+ <%-- Test override --%>
+ <netui:attribute name="target" value="_myAttributeTop" />
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attr"{actionForm.theProperty}">
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <input type="submit" value="submitIt">
+ </form>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>8</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/tags/attribute/hidden.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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,en;q=0.5</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=A6A7B7AC4012EC3B0D071CD9396521AD</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; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p> hidden </p>
+ <form action="/coreWeb/tags/attribute/submitIt.do" method="post">
+ <input type="hidden" name="{pageFlow.hiddenParam}" value="hiddenValue" customAttr="red" anotherCustomAttr="anotherCustomValue">
+
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <input type="text" name="{actionForm.theProperty}">
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <input type="submit" value="submitIt">
+ </form>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>9</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/tags/attribute/image.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</ses:valibute name="name" value="whatever"/>
+ <netui:attribute name="href" value="whatever"/>
+ </netui:base>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ base Tag Errors
+ </p>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/baseErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/button.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/button.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/button.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/button.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +ue>
+ </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,en;q=0.5</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>JSESSIONID1,29 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ button
+ </p>
+ <netui:button type="button" value="theValue" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:button>
+=A6A7B7AC4012EC3B0D071CD9396521AD</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; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ image
+ </p>
+ <img src="/coreWeb/tags/attribute/./folder.gif" style="MyAttributeStyle" class="MyAttr </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/button.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/buttonErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/buttonErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/buttonErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/buttonErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,36 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute TibuteClass" customAttr="red" anotherCustomAttr="anotherCustomValue">
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>10</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/tags/attribute/imageAnchor.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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/vndag
+ </title>
+ </head>
+ <body>
+ <p>
+ button Tag Errors
+ </p>
+ <netui:button type="button" value="theValue" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ <netui:attribute name="type" va.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,en;q=0.5</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=A6A7B7AC4012EC3B0D071CD9396521AD</ses:value>
+ </ses:header>
+ <ses:header>
+ <ses:name>host</ses:name>
+ <ses:value>localhost:8080</ses:value>
+ </ses:header>
+ <ses:headelue="whatever"/>
+ <netui:attribute name="value" value="whatever"/>
+ </netui:button>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/buttonErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBox.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBox.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBox.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBox.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,46 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<ner>
+ <ses:name>user-agent</ses:name>
+ <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ imageAnchor
+ </p>
+ <a href="/coreWeb/tags/attribute/begin.do" class="MyAttributeClass" style="MyAttributeStyle"><img src="/coreWeb/tags/attribute/./folder.gif" customAttr="red" anotherCustomAttr="anotherCustomValue"></a>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>11</setui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ checkBox
+ </p>
+<%
+ pageContext.setAttribute("checkBoxDefaultValue", new Boolean("true"));
+%>
+ <netui:form action="submitIt">
+ <table>
+ <tr valign="top">
+ <td>My Checkbox:</td>
+ <td>
+ <netui:checkBox dataSource="actionForm.boxChecked"
+ disabled="false"
+ defaultValue="${pageScope.checkBoxDefaultValue}"
+ style="theStyle"
+ styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+ s: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/tags/attribute/imageButton.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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-encodi <netui:attribute name="disabled" value="false"/>
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %><a href="/TuresAppWeb/testPages/hidden/index.jsp">/TuresAppWeb/testPages/hidden/index.jsp</a>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:checkBox>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBox.jsp
------------------------------------------------------------------------------
svn:eolng</ses:name>
+ <ses:value>gzip, deflate</ses:value>
+ </ses:header>
+ <ses:header>
+ <ses:name>accept-language</ses:name>
+ <ses:value>en-us,en;q=0.5</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=A6A7B7AC4012EC3B0D071CD9396521AD</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; SV1; .NET CLR 1.1.4322)</ses:value>
+ </ses:header>
+ -style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,54 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ checkBox Tag Errors
+ </p>
+<%
+ pageContext.setAttribute("checkBoxDefaultValue", new Boolean("true"));
+%>
+ <netui </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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ imageButton
+ </p>
+ <form action="/coreWeb/tags/attribute/submitIt.do" method="post">
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <input type="text" name="{actionForm.theProperty}">
+ </td>
+ </tr>
+ </table>
+ <br/>
+
+ <input type="image" class="MyAttributeClass" src="/coreWeb/tags/attribute/./folder.gif" customAttr="red" anotherCustomAttr="anotherCustomValue" style="MyAttributeSt:form action="submitIt">
+ <table>
+ <tr valign="top">
+ <td>My Checkbox:</td>
+ <td>
+ <netui:checkBox dataSource="actionForm.boxChecked"
+ disabled="false"
+ defaultValue="${pageScope.checkBoxDefaultValue}"
+ style="theStyle"
+ styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+ <netui:attribute name="disabled" value="false"/>
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %><a href="/TuresAppWeb/testPages/hidden/yle">
+ </form>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>12</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/tags/attribute/label.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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, applicatioindex.jsp">/TuresAppWeb/testPages/hidden/index.jsp</a>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ <netui:attribute name="type" value="whatever"/>
+ <netui:attribute name="value" value="whatever"/>
+ <netui:attribute name="checked" value="whatever"/>
+ </netui:checkBox>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </bon/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,en;q=0.5</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=A6A7B7AC4012EC3B0D071CD9396521AD</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:namedy>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxOption.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxOption.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxOption.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxOption.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,47 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Att>
+ <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ label
+ </p>
+ <label class="MyAttributeClass" customAttr="red" anotherCustomAttr="anotherCustomValue" style="MyAttributeStyle">Label</label>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>13</ses:testNumber>
+ <ses:request>
+ <ses:protocol>HTTP</ses:protocol>
+ <ses:protocolVersion>1.1</ses:proribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ checkBoxOption
+ </p>
+ <%-- Here's a hint on the use of the checkBoxGroup tag:
+ Explanation - You bind an array of strings to the checkBoxGroup datasource.
+ If the first string in the array matches the value you assigned to the first
+ checkBoxOption the checkbox is marked as true. If the second string in the
+ array matches the value you assigned to the second checkBoxOption the
+ checkbox is marked as true.--%>
+
+ <netui:form action="submitIt">
+ <netui:checkBoxGroup dataSource="actionForm.checkedBoxes"
+ defaultValue="${pageFlow.defaultOptions}">
+ <netui:checkBoxOption value="${pageFlow.optionOne}"
+ labelStyle="theLabelStyle"
+ labelStyleClass="theLabelStyleClass" tocolVersion>
+ <ses:host>localhost</ses:host>
+ <ses:port>8080</ses:port>
+ <ses:uri>/coreWeb/tags/attribute/radioButtonOption.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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:head
+ style="theStyle"
+ styleClass="theClass" >
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:checkBoxOption>
+ <netui:checkBoxOption value="${pageFlow.optionTwo}"></netui:checkBoxOption>
+ <netui:checkBoxOption value="${pageFlow.optionThree}"></netui:checkBoxOption>
+ </netui:checkBoxGrouper>
+ <ses:name>accept-language</ses:name>
+ <ses:value>en-us,en;q=0.5</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=A6A7B7AC4012EC3B0D071CD9396521AD</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; SV1; .NET CLR 1.1.4322)</ses:value>
+ </ses:header>
+ </ses:headers>
+ </ses:request>
+ <ses:response>
+ <ses:statusCode>200</ses:statusCode>
+ >
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxOption.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxOptionErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxOptionErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxOptionErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxOptionErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,55 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.or <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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ radioButtonOption
+ </p>
+
+
+ <form action="/coreWeb/tags/attribute/submitIt.do" method="post">
+
+ <input type="radio" name="wlw-radio_button_group_key:{actionForm.theProperty}" class="MyAttributeClass" value="One" customAttr="red" anotherCustomAttr="anotherCustomValue" style="MyAttributeStyle"><span class="theLabelStyleClass" style="theLabelStyle">One</span>
+ <input type="radio" name="wlw-radio_button_group_key:{actionForm.theProperty}" value="Two" checked><span>Two</span>
+ <input type="radio" name="wlw-radio_button_group_key:{actionForm.theProperty}" value="Three"><span>Three</span>
+
+ <input typg/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ checkBoxOption Tag Errors
+ </p>
+ <%-- Here's a hint on the use of the checkBoxGroup tag:
+ Explanation - You bind an array of strings to the checkBoxGroup datasource.
+ If the first string in the array matches the value you assigned to the first
+ checkBoxOption the checkbox is marked as true. If the second string in the
+ array matches the value you assigned to the second checkBoxOption the
+ checkbox is marked as true.--%>
+
+ <netui:form action="submitIt">
+ <netui:checkBoxGroup dataSource="actionForm.checkedBoxes"
+ defaultValue="${pageFlow.defaultOptions}">
+ <netui:checkBoxOption value="${pageFlow.optionOne}"
+ e="submit" value="submitIt">
+ </form>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>14</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/tags/attribute/select.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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.m labelStyle="theLabelStyle"
+ labelStyleClass="theLabelStyleClass"
+ style="theStyle"
+ styleClass="theClass" >
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <nes-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,en;q=0.5</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=A6A7B7AC4012EC3B0D071CD9396521AD</ses:value>
+ </ses:header>
+ <ses:header>
+ <ses:name>host</ses:name>
+ <ses:value>localhost:8080</ses:value>
+ </ses:header>
+ <ses:header>
+ <ses:ntui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ <netui:attribute name="type" value="whatever"/>
+ <netui:attribute name="value" value="whatever"/>
+ <netui:attribute name="checked" value="whatever"/>
+ </netui:checkBoxOption>
+ <netui:checkBoxOption value="${pageFlow.optionTwo}"></netui:checkBoxOption>
+ <netui:checkBoxOption value="${pageFlow.optionThree}"></netui:checkBoxOption>
+ </netui:checkBoxGroup>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/checkBoxOptionErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/fileUpload.jsp
URL: http://svn.apame>user-agent</ses:name>
+ <ses:value>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ select
+ </p>
+ <form action="/coreWeb/tags/attribute/submitIt.do" method="post">
+ <input type="hidden" name="wlw-select_key:{actionForm.selectedItems}OldValue" value="true">
+<select name="wlw-select_key:{actionForm.selectedItems}" class="MyAttributeClass" multiple customAttr="red" anotherCustomAttr="anotherCustomValue" style="MyAttributeStyle">
+<option class="MyAttributeClaache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/fileUpload.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/fileUpload.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/fileUpload.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,39 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ fileUpload
+ </p>
+ <netui:form action="submitIt" enctype="multipart/form-data">
+ <table>
+ <tr valign="top">
+ <td>TheFile:</td>
+ <td>
+ <netui:fileUpload dataSource="actionForm.ss" value="pageFlow.defaultOptions" style="MyAttributeStyle">pageFlow.defaultOptions</option>
+<option class="MyAttributeClass" value="One" selected style="MyAttributeStyle">One</option>
+<option class="MyAttributeClass" value="Two" selected style="MyAttributeStyle">Two</option></select>
+ <input type="submit" value="submitIt">
+ </form>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>15</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/tags/attribute/selectOption.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AtheFile" readonly="false" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+ <netui:attribute name="readonly" value="true"/>
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:fileUpload>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <netui:button value="submitIt" type="submit"/>
+ C4012EC3B0D071CD9396521AD</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,en;q=0.5</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>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/fileUpload.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/fileUploadErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/fileUploadErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/fileUploadErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/fileUploadErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,45 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <t <ses:value>JSESSIONID=A6A7B7AC4012EC3B0D071CD9396521AD</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; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ selectOption
+ </p>
+ <form action="/coreWeb/tags/attribute/submititle>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ fileUpload Tag Errors
+ </p>
+ <netui:form action="submitIt" enctype="multipart/form-data">
+ <table>
+ <tr valign="top">
+ <td>TheFile:</td>
+ <td>
+ <netui:fileUpload dataSource="actionForm.theFile" readonly="false" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+ <netui:attribute name="readonly" value="true"/>
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.colorIt.do" method="post">
+ <input type="hidden" name="wlw-select_key:{actionForm.selectedItems}OldValue" value="true">
+<select name="wlw-select_key:{actionForm.selectedItems}" class="theClass" multiple style="theStyle"><option class="MyAttributeClass" value="One" selected customAttr="red" anotherCustomAttr="anotherCustomValue" style="MyAttributeStyle">One</option>
+ <option value="Two" selected>Two</option>
+ <option value="Three">Three</option></select>
+ <input type="submit" value="submitIt">
+ </form>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>16</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/tags/attribute/span.jsp</ses:uri>
+ <se}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ <netui:attribute name="type" value="whatever"/>
+ </netui:fileUpload>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/fileUploadErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netus:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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,en;q=0.5</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=A6A7B7AC4012EC3B0D071CD9396521AD</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; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ span
+ </p>
+ <span class="MyAttributeClass" customAttr="red" anotherCustomAttr="anotherCustomValue" style="MyAttributeStyle">Label</span>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>17</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/tags/attribute/textArea.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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,en;q=0.5</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=A6A7B7AC4012EC3B0D071CD9396521AD</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; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ textArea
+ </p>
+ <form action="/coreWeb/tags/attribute/submitIt.do" method="post">
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <textarea name="{actionForm.theProperty}" class="MyAttributeClass" disabled rows="5" cols="5" customAttr="red" anotherCustomAttr="anotherCustomValue" style="MyAttributeStyle"></textarea>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <input type="submit" value="submitIt">
+ </form>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ <ses:test>
+ <ses:testNumber>18</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/tags/attribute/textBox.jsp</ses:uri>
+ <ses:method>GET</ses:method>
+ <ses:parameters/>
+ <ses:cookies>
+ <ses:cookie>
+ i/test/webapps/drt/coreWeb/tags/attribute/form.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/form.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/form.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/form.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,39 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ form
+ </p>
+ <netui:form action="submitIt" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:att <ses:name>JSESSIONID</ses:name>
+ <ses:value>A6A7B7AC4012EC3B0D071CD9396521AD</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,en;q=0.5</ses:value>
+ </ses:header>
+ <ses:header>
+ <ses:name>connection</ses:name>
+ <ses:value>Keep-Alive</ses:value>
+ </ses:header>
+ ribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="autocomplete" value="off"/>
+
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <netui:textBox dataSource="actionForm.theProperty"/>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/form.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: <ses:header>
+ <ses:name>cookie</ses:name>
+ <ses:value>JSESSIONID=A6A7B7AC4012EC3B0D071CD9396521AD</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; SV1; .NET CLR 1.1.4322)</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>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ textBox incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/formErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/formErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/formErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/formErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,46 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ form Tag Errors
+ </p>
+ <netui:form action="submitIt" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute
+ </p>
+ <form action="/coreWeb/tags/attribute/submitIt.do" method="post">
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <input type="text" name="{actionForm.theProperty}" class="MyAttributeClass" maxlength="10" size="5" disabled customAttr="red" anotherCustomAttr="anotherCustomValue" style="MyAttributeStyle">
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <input type="submit" value="submitIt">
+ </form>
+ </body>
+
+</html>]]></ses:responseBody>
+ </ses:response>
+ </ses:test>
+ </ses:tests>
+ <ses:endDate>19 Jul 2005, 01:00:22.707 PM MDT</ses:endDate>
+ <ses:testCount>18</ses:testCount>
+</ses:recorderSession>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/AttributeTag.xml
------------------------------------------------------------------------------
svn:eol-style = native
name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="autocomplete" value="off"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ <netui:attribute name="action" value="whatever"/>
+ <netui:attribute name="method" value="whatever"/>
+
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <netui:textBox dataSource="actionForm.theProperty"/>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/formErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/hidden.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/hidden.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/hidden.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/hidden.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,35 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p> hidden </p>
+ <netui:form action="submitIt">
+ <netui:hidden dataSource="pageFlow.hiddenParam">
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:hidden>
+
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <netui:textBox dataSource="actionForm.theProperty"/>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/hidden.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/hiddenErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/hiddenErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/hiddenErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/hiddenErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,42 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p> hidden Tag Errors</p>
+ <netui:form action="submitIt">
+ <netui:hidden dataSource="pageFlow.hiddenParam">
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ <netui:attribute name="type" value="whatever"/>
+ <netui:attribute name="value" value="whatever"/>
+ </netui:hidden>
+
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <netui:textBox dataSource="actionForm.theProperty"/>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/hiddenErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/image.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/image.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/image.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/image.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,29 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ image
+ </p>
+ <netui:image src="./folder.gif" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:image>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/image.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageAnchor.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageAnchor.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageAnchor.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageAnchor.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,29 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ imageAnchor
+ </p>
+ <netui:imageAnchor action="begin" src="./folder.gif" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}" facet="image"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue" facet="image"/>
+ </netui:imageAnchor>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageAnchor.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageAnchorErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageAnchorErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageAnchorErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageAnchorErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,35 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ imageAnchor Tag Errors
+ </p>
+ <netui:imageAnchor action="begin" src="./folder.gif" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}" facet="image"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue" facet="image"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ <netui:attribute name="href" value="whatever"/>
+ </netui:imageAnchor>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageAnchorErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageButton.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageButton.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageButton.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageButton.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,41 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ imageButton
+ </p>
+ <netui:form action="submitIt">
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <netui:textBox dataSource="actionForm.theProperty"/>
+ </td>
+ </tr>
+ </table>
+ <br/>
+
+ <netui:imageButton src="./folder.gif" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:imageButton>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageButton.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageButtonErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageButtonErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageButtonErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageButtonErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,48 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ imageButton Tag Errors
+ </p>
+ <netui:form action="submitIt">
+ <table>
+ <tr valign="top">
+ <td>TheProperty:</td>
+ <td>
+ <netui:textBox dataSource="actionForm.theProperty"/>
+ </td>
+ </tr>
+ </table>
+ <br/>
+
+ <netui:imageButton src="./folder.gif" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ <netui:attribute name="src" value="whatever"/>
+ <netui:attribute name="value" value="whatever"/>
+ </netui:imageButton>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageButtonErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,35 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ image Tag Errors
+ </p>
+ <netui:image src="./folder.gif" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ <netui:attribute name="src" value="whatever"/>
+ </netui:image>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/imageErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/index.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/index.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/index.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,51 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ Tag tests using the attribute tag
+ </p>
+ <br><netui:anchor href="anchor.jsp">anchor</netui:anchor>
+ <br><netui:anchor href="anchorErrors.jsp">anchor errors</netui:anchor>
+ <br><netui:anchor href="base.jsp">base</netui:anchor>
+ <br><netui:anchor href="baseErrors.jsp">base errors</netui:anchor>
+ <br><netui:anchor href="button.jsp">button</netui:anchor>
+ <br><netui:anchor href="buttonErrors.jsp">button errors</netui:anchor>
+ <br><netui:anchor href="checkBox.jsp">checkBox</netui:anchor>
+ <br><netui:anchor href="checkBoxErrors.jsp">checkBox errors</netui:anchor>
+ <br><netui:anchor href="checkBoxOption.jsp">checkBoxOption</netui:anchor>
+ <br><netui:anchor href="checkBoxOptionErrors.jsp">checkBoxOption errors</netui:anchor>
+ <br><netui:anchor href="fileUpload.jsp">fileUpload</netui:anchor>
+ <br><netui:anchor href="fileUploadErrors.jsp">fileUpload errors</netui:anchor>
+ <br><netui:anchor href="form.jsp">form</netui:anchor>
+ <br><netui:anchor href="formErrors.jsp">form errors</netui:anchor>
+ <br><netui:anchor href="hidden.jsp">hidden</netui:anchor>
+ <br><netui:anchor href="hiddenErrors.jsp">hidden errors</netui:anchor>
+ <br><netui:anchor href="image.jsp">image</netui:anchor>
+ <br><netui:anchor href="imageErrors.jsp">image errors</netui:anchor>
+ <br><netui:anchor href="imageAnchor.jsp">imageAnchor</netui:anchor>
+ <br><netui:anchor href="imageAnchorErrors.jsp">imageAnchor errors</netui:anchor>
+ <br><netui:anchor href="imageButton.jsp">imageButton</netui:anchor>
+ <br><netui:anchor href="imageButtonErrors.jsp">imageButton errors</netui:anchor>
+ <br><netui:anchor href="label.jsp">label</netui:anchor>
+ <br><netui:anchor href="labelErrors.jsp">label errors</netui:anchor>
+ <br><netui:anchor href="radioButtonOption.jsp">radioButtonOption</netui:anchor>
+ <br><netui:anchor href="radioButtonOptionErrors.jsp">radioButtonOption errors</netui:anchor>
+ <br><netui:anchor href="select.jsp">select</netui:anchor>
+ <br><netui:anchor href="selectErrors.jsp">select errors</netui:anchor>
+ <br><netui:anchor href="selectOption.jsp">selectOption</netui:anchor>
+ <br><netui:anchor href="selectOptionErrors.jsp">selectOption errors</netui:anchor>
+ <br><netui:anchor href="span.jsp">span</netui:anchor>
+ <br><netui:anchor href="spanErrors.jsp">span errors</netui:anchor>
+ <br><netui:anchor href="textArea.jsp">textArea</netui:anchor>
+ <br><netui:anchor href="textAreaErrors.jsp">textArea errors</netui:anchor>
+ <br><netui:anchor href="textBox.jsp">textBox</netui:anchor>
+ <br><netui:anchor href="textBoxErrors.jsp">textBox errors</netui:anchor>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/label.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/label.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/label.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/label.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,29 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ label
+ </p>
+ <netui:label value="Label" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:label>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/label.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/labelErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/labelErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/labelErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/labelErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,34 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ label Tag Errors
+ </p>
+ <netui:label value="Label" style="theStyle" styleClass="theClass">
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ </netui:label>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/labelErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/radioButtonOption.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/radioButtonOption.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/radioButtonOption.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/radioButtonOption.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,47 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ radioButtonOption
+ </p>
+ <%-- Here's a hint on the use of the radioButtonGroup tag:
+ Explanation - You bind a String to the radioButtonGroup dataSource.
+ If this String matches the value you assigned to the first
+ redioButtonOption the first radiobutton is marked as true.
+ If the String matches the value you assigned to the second
+ redioButtonOption the second radiobutton is marked as true, etc. --%>
+
+ <netui:form action="submitIt">
+ <netui:radioButtonGroup dataSource="actionForm.theProperty"
+ defaultValue="${pageFlow.defaultOption}">
+ <netui:radioButtonOption value="${pageFlow.optionOne}"
+ labelStyle="theLabelStyle"
+ labelStyleClass="theLabelStyleClass"
+ style="theStyle"
+ styleClass="theClass" >
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+ </netui:radioButtonOption>
+ <netui:radioButtonOption value="${pageFlow.optionTwo}"></netui:radioButtonOption>
+ <netui:radioButtonOption value="${pageFlow.optionThree}"></netui:radioButtonOption>
+ </netui:radioButtonGroup>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/radioButtonOption.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/radioButtonOptionErrors.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/radioButtonOptionErrors.jsp?rev=220152&view=auto
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/radioButtonOptionErrors.jsp (added)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/radioButtonOptionErrors.jsp Thu Jul 21 10:57:26 2005
@@ -0,0 +1,55 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+
+<netui:html documentType="html4-loose">
+ <head>
+ <title>
+ Test Attribute Tag
+ </title>
+ </head>
+ <body>
+ <p>
+ radioButtonOption Tag Errors
+ </p>
+ <%-- Here's a hint on the use of the radioButtonGroup tag:
+ Explanation - You bind a String to the radioButtonGroup dataSource.
+ If this String matches the value you assigned to the first
+ redioButtonOption the first radiobutton is marked as true.
+ If the String matches the value you assigned to the second
+ redioButtonOption the second radiobutton is marked as true, etc. --%>
+
+ <netui:form action="submitIt">
+ <netui:radioButtonGroup dataSource="actionForm.theProperty"
+ defaultValue="${pageFlow.defaultOption}">
+ <netui:radioButtonOption value="${pageFlow.optionOne}"
+ labelStyle="theLabelStyle"
+ labelStyleClass="theLabelStyleClass"
+ style="theStyle"
+ styleClass="theClass" >
+ <%-- Test override --%>
+ <netui:attribute name="class" value="MyAttributeClass"/>
+ <netui:attribute name="style" value="MyAttributeStyle"/>
+
+ <%-- Test netui expression --%>
+ <%
+ pageContext.setAttribute("color", new String("red"));
+ %>
+ <netui:attribute name="customAttr" value="${pageScope.color}"/>
+ <%-- Test a regular old attribute --%>
+ <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
+
+ <%-- Test disallowed attributes --%>
+ <%-- these cause errors --%>
+ <netui:attribute name="id" value="whatever"/>
+ <netui:attribute name="name" value="whatever"/>
+ <netui:attribute name="type" value="whatever"/>
+ <netui:attribute name="value" value="whatever"/>
+ <netui:attribute name="checked" value="whatever"/>
+ </netui:radioButtonOption>
+ <netui:radioButtonOption value="${pageFlow.optionTwo}"></netui:radioButtonOption>
+ <netui:radioButtonOption value="${pageFlow.optionThree}"></netui:radioButtonOption>
+ </netui:radioButtonGroup>
+ <netui:button value="submitIt" type="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
Propchange: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/tags/attribute/radioButtonOptionErrors.jsp
------------------------------------------------------------------------------
svn:eol-style = native