Author: ekoneil Date: Thu Aug 26 15:52:00 2004 New Revision: 37099 Added: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/AbstractHtmlColumnModel.java (contents, props changed) incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/LiteralColumnModel.java (contents, props changed) incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlColumn.java (contents, props changed) incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/onclick.jsp (contents, props changed) incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridEmptyColumnsTag.xml (contents, props changed) incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridJavaScriptSmoke.xml Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/ColumnModel.java incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/AnchorColumnModel.java incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/ImageColumnModel.java incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractColumn.java incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AnchorColumn.java incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/ImageColumn.java incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/LiteralColumn.java incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridCaptionTest.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridFooterTest.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridHeaderTest.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridModelTest.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerBasic.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerInCaption.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerInFooter.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridScriptletTagFile.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridSmokeTest.xml Log: Add data grid support for the base HTML JavaScript events (onclick, etc).
Refactor the separation between the core ColumnModel base class and the HTML tag support. The AbstractHtmlColumnModel object now encapsulates all of this code. In addition, the "value" property has moved off of ColumnModel and down onto columns that have a value (anchor and literal, for example). The ImageColumn doesn't have a value. Add two new tests: - JavaScriptSmoke -- tests basic support for JavaScript in the rendered grid - EmptyColumnsTag -- tests that a <netui-data:columns> tag works correctly without any additional attributes BB: self DRT: NetUI pass datagrid pass Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/ColumnModel.java ============================================================================== --- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/ColumnModel.java (original) +++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/ColumnModel.java Thu Aug 26 15:52:00 2004 @@ -29,7 +29,7 @@ /** * todo: re-enable sorting / filtering in column headers */ -public class ColumnModel +public abstract class ColumnModel { private static final Logger _logger = Logger.getInstance(ColumnModel.class); @@ -51,8 +51,6 @@ private String _filterUri; private String _sortExpression; private String _filterExpression; - - private String _value; private String _headerText; private Boolean _filterable = null; @@ -60,19 +58,6 @@ private int _renderState = NO_RENDER_STATE; - // ----------------------------------------------------- - // - // Render Releated Column State - // - // ----------------------------------------------------- - public String getValue() {return _value;} - public void setValue(String value) {_value = value;} - - // ----------------------------------------------------- - // - // Model Related Column State - // - // ----------------------------------------------------- public void setRenderState(int renderState) { if(renderState == NO_RENDER_STATE || renderState == HEADER_RENDER_STATE || renderState == DATA_RENDER_STATE) @@ -137,11 +122,7 @@ } } - public void renderDataCell(StringBuffer buffer) - { - String formatted = formatText(_value); - buffer.append(formatted); - } + public abstract void renderDataCell(StringBuffer buffer); public void openHeaderCell(StringBuffer buf) { Added: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/AbstractHtmlColumnModel.java ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/AbstractHtmlColumnModel.java Thu Aug 26 15:52:00 2004 @@ -0,0 +1,153 @@ +/* + * B E A S Y S T E M S + * Copyright 2002-2004 BEA Systems, Inc. + * + * 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 org.apache.beehive.netui.databinding.datagrid.model.impl; + +import org.apache.beehive.netui.databinding.datagrid.model.ColumnModel; +import org.apache.beehive.netui.databinding.datagrid.util.JspUtil; +import org.apache.beehive.netui.tags.rendering.AbstractHtmlState; +import org.apache.beehive.netui.tags.html.HtmlConstants; +import org.apache.beehive.netui.tags.IAttributeConsumer; +import org.apache.beehive.netui.util.Bundle; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.jsp.PageContext; + +/** + * todo: need to do error reporting from the model back to the JSP tags + */ +public abstract class AbstractHtmlColumnModel + extends ColumnModel + implements IAttributeConsumer +{ + private HttpServletRequest _request = null; + + public void setOnClick(String onClick) + {getHtmlState().registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, HtmlConstants.ONCLICK, onClick);} + + public void setOnDblClick(String onDblClick) + {getHtmlState().registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, HtmlConstants.ONDBLCLICK, onDblClick);} + + public void setOnKeyDown(String onKeyDown) + {getHtmlState().registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, HtmlConstants.ONKEYDOWN, onKeyDown);} + + public void setOnKeyUp(String onKeyUp) + {getHtmlState().registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, HtmlConstants.ONKEYUP, onKeyUp);} + + public void setOnKeyPress(String onKeyPress) + {getHtmlState().registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, HtmlConstants.ONKEYPRESS, onKeyPress);} + + public void setOnMouseDown(String onMouseDown) + {getHtmlState().registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, HtmlConstants.ONMOUSEDOWN, onMouseDown);} + + public void setOnMouseUp(String onMouseUp) + {getHtmlState().registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, HtmlConstants.ONMOUSEUP, onMouseUp);} + + public void setOnMouseMove(String onMouseMove) + {getHtmlState().registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, HtmlConstants.ONMOUSEMOVE, onMouseMove);} + + public void setOnMouseOut(String onMouseOut) + {getHtmlState().registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, HtmlConstants.ONMOUSEOUT, onMouseOut);} + + public void setOnMouseOver(String onMouseOver) + {getHtmlState().registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, HtmlConstants.ONMOUSEOVER, onMouseOver);} + + public void setStyle(String style) + { + if ("".equals(style)) return; + + getHtmlState().style = style; + } + + public void setStyleClass(String styleClass) + { + if ("".equals(styleClass)) return; + + getHtmlState().styleClass = styleClass; + } + + public void setTitle(String title) + {getHtmlState().registerAttribute(AbstractHtmlState.ATTR_GENERAL, HtmlConstants.TITLE, title);} + + /** + * Base support for the <code>attribute</code> tag. This requires that the tag buffer their body and + * write attribute in the end tag. For the HTML tags it is not legal to set + * the <code>id</code> or <code>name</code> attributes. In addition, the base tag does + * not allow facets to be set. If the attribute is legal it will be added to the + * general expression map stored in the <code>AbstractHtmlState</code> of the tag. + * @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 be applied. This is optional. + */ + public void setAttribute(String name, String value, String facet) + { + setStateAttribute(name, value); + } + + protected abstract AbstractHtmlState getHtmlState(); + + protected HttpServletRequest getHttpServletRequest() + { + if(_request == null) + { + PageContext pageContext = JspUtil.getPageContext(getDataGridModel().getJspContext()); + _request = (HttpServletRequest)pageContext.getRequest(); + } + + return _request; + } + + /** + * Attribute implementation. + * @param name + * @param value + */ + protected void setStateAttribute(String name, String value) + { + AbstractHtmlState tsh = getHtmlState(); + + boolean error = false; + + // validate the name attribute, in the case of an error simply return. + if (name == null || name.length() <= 0) { + String s = Bundle.getString("Tags_AttributeNameNotSet"); + throw new RuntimeException(s); + } + + // it's not legal to set the id or name attributes this way + if (name != null && (name.equals(HtmlConstants.ID) || name.equals(HtmlConstants.NAME))) { + String s = Bundle.getString("Tags_AttributeMayNotBeSet", new Object[]{name}); + throw new RuntimeException(s); + } + if (error) + return; + + // if there is a style or class we will let them override the base + if (name.equals(HtmlConstants.CLASS)) + { + tsh.styleClass = value; + return; + } + else if (name.equals(HtmlConstants.STYLE)) + { + tsh.style = value; + return; + } + tsh.registerAttribute(AbstractHtmlState.ATTR_GENERAL, name, value); + } +} \ No newline at end of file Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/AnchorColumnModel.java ============================================================================== --- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/AnchorColumnModel.java (original) +++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/AnchorColumnModel.java Thu Aug 26 15:52:00 2004 @@ -20,10 +20,7 @@ import java.net.MalformedURLException; import java.util.HashMap; -import javax.servlet.jsp.PageContext; -import javax.servlet.http.HttpServletRequest; -import org.apache.beehive.netui.databinding.datagrid.model.ColumnModel; import org.apache.beehive.netui.databinding.datagrid.model.DataGridModel; import org.apache.beehive.netui.databinding.datagrid.util.JspUtil; @@ -32,12 +29,13 @@ import org.apache.beehive.netui.tags.rendering.AnchorTag; import org.apache.beehive.netui.tags.rendering.TagRenderingBase; import org.apache.beehive.netui.tags.rendering.SpanTag; +import org.apache.beehive.netui.tags.rendering.AbstractHtmlState; /** * */ public class AnchorColumnModel - extends ColumnModel + extends AbstractHtmlColumnModel { private static final Logger _logger = Logger.getInstance(AnchorColumnModel.class); @@ -45,9 +43,13 @@ private String _href = null; private String _scopeId = null; private String _action = null; + private String _value = null; private AnchorTag.State _anchorState = null; + public String getValue() {return _value;} + public void setValue(String value) {_value = value;} + public void startCell() { super.startCell(); @@ -65,11 +67,6 @@ public void setScopeId(String scopeId) {_scopeId = scopeId;} public void setHref(String href) {_href = href;} - public void setOnClick(String onClick) - { - _anchorState.onClick = setNonEmptyValueAttribute(onClick); - } - public void addParameter(String name, Object value) { if(_params == null) @@ -82,8 +79,6 @@ { DataGridModel dgm = getDataGridModel(); assert dgm != null; - PageContext pageContext = JspUtil.getPageContext(dgm.getJspContext()); - assert pageContext != null; String url = null; try @@ -99,10 +94,8 @@ _anchorState.href = url; SpanTag.State spanState = new SpanTag.State(); - HttpServletRequest request = (HttpServletRequest)pageContext.getRequest(); - - TagRenderingBase trb = TagRenderingBase.Factory.getRendering(TagRenderingBase.ANCHOR_TAG, request); - TagRenderingBase span = TagRenderingBase.Factory.getRendering(TagRenderingBase.SPAN_TAG, request); + TagRenderingBase trb = TagRenderingBase.Factory.getRendering(TagRenderingBase.ANCHOR_TAG, getHttpServletRequest()); + TagRenderingBase span = TagRenderingBase.Factory.getRendering(TagRenderingBase.SPAN_TAG, getHttpServletRequest()); StringBuilder sb = new StringBuilder(); trb.doStartTag(sb, _anchorState); @@ -112,5 +105,10 @@ trb.doEndTag(sb); buffer.append(sb.toString()); + } + + protected AbstractHtmlState getHtmlState() + { + return _anchorState; } } Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/ImageColumnModel.java ============================================================================== --- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/ImageColumnModel.java (original) +++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/ImageColumnModel.java Thu Aug 26 15:52:00 2004 @@ -18,22 +18,17 @@ */ package org.apache.beehive.netui.databinding.datagrid.model.impl; -import org.apache.beehive.netui.databinding.datagrid.model.ColumnModel; -import org.apache.beehive.netui.databinding.datagrid.util.JspUtil; import org.apache.beehive.netui.util.logging.Logger; import org.apache.beehive.netui.tags.rendering.TagRenderingBase; import org.apache.beehive.netui.tags.rendering.ImageTag; import org.apache.beehive.netui.tags.rendering.AbstractHtmlState; import org.apache.beehive.netui.tags.html.HtmlConstants; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.jsp.PageContext; - /** * todo: support the significant JavaScript support */ public class ImageColumnModel - extends ColumnModel + extends AbstractHtmlColumnModel { private static final Logger _logger = Logger.getInstance(ImageColumnModel.class); @@ -51,10 +46,8 @@ _imageState = null; } - public String getSrc() - {return _imageState.src;} - public void setSrc(String src) - {_imageState.src = src;} + public String getSrc() {return _imageState.src;} + public void setSrc(String src) {_imageState.src = src;} public String getAlign() {return (String)_imageState.getAttribute(AbstractHtmlState.ATTR_GENERAL, HtmlConstants.ALIGN);} @@ -87,32 +80,19 @@ public void setWidth(String width) {_imageState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, HtmlConstants.WIDTH, width);} - public String getStyle() - {return _imageState.getAttribute(AbstractHtmlState.ATTR_GENERAL, HtmlConstants.STYLE);} - public void setStyle(String style) - {_imageState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, HtmlConstants.STYLE, style);} - - public String getImageStyleClass() - {return _imageState.getAttribute(AbstractHtmlState.ATTR_GENERAL, HtmlConstants.CLASS);} - - public void setImageStyleClass(String styleClass) - {_imageState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, HtmlConstants.CLASS, styleClass);} - public void renderDataCell(StringBuffer buffer) { - // todo: need an image anchor column type - if(getValue() != null) - super.renderDataCell(buffer); - StringBuilder sb = new StringBuilder(); - PageContext pageContext = JspUtil.getPageContext(getDataGridModel().getJspContext()); - HttpServletRequest request = (HttpServletRequest)pageContext.getRequest(); - - TagRenderingBase br = TagRenderingBase.Factory.getRendering(TagRenderingBase.IMAGE_TAG, request); + TagRenderingBase br = TagRenderingBase.Factory.getRendering(TagRenderingBase.IMAGE_TAG, getHttpServletRequest()); br.doStartTag(sb, _imageState); br.doEndTag(sb); buffer.append(sb.toString()); + } + + protected AbstractHtmlState getHtmlState() + { + return _imageState; } } Added: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/LiteralColumnModel.java ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/model/impl/LiteralColumnModel.java Thu Aug 26 15:52:00 2004 @@ -0,0 +1,56 @@ +/* + * B E A S Y S T E M S + * Copyright 2002-2004 BEA Systems, Inc. + * + * 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 org.apache.beehive.netui.databinding.datagrid.model.impl; + +import org.apache.beehive.netui.tags.rendering.AbstractHtmlState; +import org.apache.beehive.netui.tags.rendering.SpanTag; +import org.apache.beehive.netui.tags.rendering.TagRenderingBase; + +public class LiteralColumnModel + extends AbstractHtmlColumnModel +{ + private String _value = null; + private SpanTag.State _state = null; + + public String getValue() {return _value;} + public void setValue(String value) {_value = value;} + + public void startCell() + { + _state = new SpanTag.State(); + } + + public void renderDataCell(StringBuffer buffer) + { + TagRenderingBase span = TagRenderingBase.Factory.getRendering(TagRenderingBase.SPAN_TAG, getHttpServletRequest()); + + String formatted = formatText(_value); + + StringBuilder sb = new StringBuilder(); + span.doStartTag(sb, _state); + sb.append(formatted); + span.doEndTag(sb); + buffer.append(sb.toString()); + } + + protected AbstractHtmlState getHtmlState() + { + return _state; + } +} \ No newline at end of file Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractColumn.java ============================================================================== --- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractColumn.java (original) +++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractColumn.java Thu Aug 26 15:52:00 2004 @@ -46,7 +46,6 @@ private Columns _parent = null; private DataGrid _dataGrid = null; - private String _value = null; private Boolean _filterable = null; private Boolean _sortable = null; private String _sortExpression = null; @@ -78,11 +77,6 @@ */ public void setHeaderText(String headerText) {_headerText = headerText;} - /** - * @netui:attribute required="true" rtexprvalue="true" - */ - public void setValue(String value) {_value = value;} - public void doTag() throws JspException, IOException { @@ -122,7 +116,6 @@ setColumnModel(cm); cm.startCell(); - cm.setValue(_value); cm.setHeaderText(_headerText); if(_filterable != null) @@ -217,7 +210,7 @@ protected abstract void setColumnModel(ColumnModel model); protected void applyAttributes() - throws JspException + throws JspException { } Added: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlColumn.java ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlColumn.java Thu Aug 26 15:52:00 2004 @@ -0,0 +1,274 @@ +/* + * B E A S Y S T E M S + * Copyright 2002-2004 BEA Systems, Inc. + * + * 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 org.apache.beehive.netui.tags.databinding.datagrid; + +import javax.servlet.jsp.JspException; + +import org.apache.beehive.netui.databinding.datagrid.model.impl.AbstractHtmlColumnModel; +import org.apache.beehive.netui.tags.IAttributeConsumer; +import org.apache.beehive.netui.util.Bundle; + +import java.util.ArrayList; +import java.util.Iterator; + +public abstract class AbstractHtmlColumn + extends AbstractColumn + implements IAttributeConsumer +{ + private String _onClick; + private String _onDblClick; + private String _onKeyDown; + private String _onKeyUp; + private String _onKeyPress; + private String _onMouseDown; + private String _onMouseUp; + private String _onMouseMove; + private String _onMouseOut; + private String _onMouseOver; + private String _style; + private String _styleClass; + private String _title; + + private ArrayList _attributeList; + + /** + * Sets the onClick javascript event. + * @param onClick - the onClick event. + * + * @jsptagref.attributedescription The onClick JavaScript event. + * @jsptagref.databindable false + * @jsptagref.attributesyntaxvalue <i>string_onClick</i> + * @netui:attribute required="false" rtexprvalue="true" description="The onClick JavaScript event." + * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event" + */ + public void setOnClick(String onClick) {_onClick = onClick;} + + /** + * Sets the onDblClick javascript event. + * @param onDblClick - the onDblClick event. + * + * @jsptagref.attributedescription The onDblClick JavaScript event. + * @jsptagref.databindable false + * @jsptagref.attributesyntaxvalue <i>string_onDblClick</i> + * @netui:attribute required="false" rtexprvalue="true" description="The onDblClick JavaScript event." + * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event" + */ + public void setOnDblClick(String onDblClick) {_onDblClick = onDblClick;} + + /** + * Sets the onKeyDown javascript event. + * @param onKeyDown - the onKeyDown event. + * + * @jsptagref.attributedescription The onKeyDown JavaScript event. + * @jsptagref.databindable false + * @jsptagref.attributesyntaxvalue <i>string_onKeyDown</i> + * @netui:attribute required="false" rtexprvalue="true" description="The onKeyDown JavaScript event." + * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event" + */ + public void setOnKeyDown(String onKeyDown) {_onKeyDown = onKeyDown;} + + /** + * Sets the onKeyUp javascript event. + * @param onKeyUp - the onKeyUp event. + * + * @jsptagref.attributedescription The onKeyUp JavaScript event. + * @jsptagref.databindable false + * @jsptagref.attributesyntaxvalue <i>string_onKeyUp</i> + * @netui:attribute required="false" rtexprvalue="true" description="The onKeyUp JavaScript event." + * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event" + */ + public void setOnKeyUp(String onKeyUp) {_onKeyUp = onKeyUp;} + + /** + * Sets the onKeyPress javascript event. + * @param onKeyPress - the onKeyPress event. + * + * @jsptagref.attributedescription The onKeyPress JavaScript event. + * @jsptagref.databindable false + * @jsptagref.attributesyntaxvalue <i>string_onKeyPress</i> + * @netui:attribute required="false" rtexprvalue="true" description="The onKeyPress JavaScript event." + * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event" + */ + public void setOnKeyPress(String onKeyPress) {_onKeyPress = onKeyPress;} + + /** + * Sets the onMouseDown javascript event. + * @param onMouseDown - the onMouseDown event. + * + * @jsptagref.attributedescription The onMouseDown JavaScript event. + * @jsptagref.databindable false + * @jsptagref.attributesyntaxvalue <i>string_onMouseDown</i> + * @netui:attribute required="false" rtexprvalue="true" description="The onMouseDown JavaScript event." + * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event" + */ + public void setOnMouseDown(String onMouseDown) {_onMouseDown = onMouseDown;} + + /** + * Sets the onMouseUp javascript event. + * @param onMouseUp - the onMouseUp event. + * + * @jsptagref.attributedescription The onMouseUp JavaScript event. + * @jsptagref.databindable false + * @jsptagref.attributesyntaxvalue <i>string_onMouseUp</i> + * @netui:attribute required="false" rtexprvalue="true" description="The onMouseUp JavaScript event." + * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event" + */ + public void setOnMouseUp(String onMouseUp) {_onMouseUp = onMouseUp;} + + /** + * Sets the onMouseMove javascript event. + * @param onMouseMove - the onMouseMove event. + * + * @jsptagref.attributedescription The onMouseMove JavaScript event. + * @jsptagref.databindable false + * @jsptagref.attributesyntaxvalue <i>string_onMouseMove</i> + * @netui:attribute required="false" rtexprvalue="true" description="The onMouseMove JavaScript event." + * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event" + */ + public void setOnMouseMove(String onMouseMove) {_onMouseMove = onMouseMove;} + + /** + * Sets the onMouseOut javascript event. + * @param onMouseOut - the onMouseOut event. + * + * @jsptagref.attributedescription The onMouseOut JavaScript event. + * @jsptagref.databindable false + * @jsptagref.attributesyntaxvalue <i>string_onMouseOut</i> + * @netui:attribute required="false" rtexprvalue="true" description="The onMouseOut JavaScript event." + * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event" + */ + public void setOnMouseOut(String onMouseOut) {_onMouseOut = onMouseOut;} + + /** + * Sets the onMouseOver javascript event. + * @param onMouseOver - the onMouseOver event. + * + * @jsptagref.attributedescription The onMouseOver JavaScript event. + * @jsptagref.databindable false + * @jsptagref.attributesyntaxvalue <i>string_onMouseOver</i> + * @netui:attribute required="false" rtexprvalue="true" description="The onMouseOver JavaScript event." + * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event" + */ + public void setOnMouseOver(String onMouseOver) {_onMouseOver = onMouseOver;} + + /** + * Sets the style of the rendered html tag. + * @param style - the html style. + * + * @jsptagref.attributedescription The style. + * @jsptagref.databindable false + * @jsptagref.attributesyntaxvalue <i>string_style</i> + * @netui:attribute required="false" rtexprvalue="true" description="The style." + * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.JspStyleProperty" category="format" + */ + public void setStyle(String style) {_style = style;} + + /** + * Sets the style class of the rendered html tag. + * @param styleClass - the html style class. + * + * @jsptagref.attributedescription The style class. + * @jsptagref.databindable false + * @jsptagref.attributesyntaxvalue <i>string_style_class</i> + * @netui:attribute required="false" rtexprvalue="true" description="The style class." + * @netui.tldx:attribute category="Format" + */ + public void setStyleClass(String styleClass) {_styleClass = styleClass;} + + /** + * Sets the value of the title attribute. + * @param title + * + * @jsptagref.attributedescription The title. + * @jsptagref.databindable false + * @jsptagref.attributesyntaxvalue <i>string_title</i> + * @netui:attribute required="false" rtexprvalue="true" description="The title. " + * @netui.tldx:attribute category="misc" + */ + public void setTitle(String title) {_title = title;} + + /** + * Base support for the <code>attribute</code> tag. This requires that the tag buffer their body and + * write attribute in the end tag. For the HTML tags it is not legal to set + * the <code>id</code> or <code>name</code> attributes. In addition, the base tag does + * not allow facets to be set. If the attribute is legal it will be added to the + * general expression map stored in the <code>AbstractHtmlState</code> of the tag. + * @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 be applied. This is optional. + */ + public void setAttribute(String name, String value, String facet) + { + if (facet != null) { + String s = Bundle.getString("Tags_AttributeFacetNotSupported", new Object[]{facet}); + throw new RuntimeException(s); + } + + if(_attributeList == null) + _attributeList = new ArrayList(); + + _attributeList.add(new AttributeStruct(name, value, facet)); + } + + protected void applyAttributes() + throws JspException + { + assert getColumnModel() != null; + assert getColumnModel() instanceof AbstractHtmlColumnModel; + AbstractHtmlColumnModel htmlColumn = (AbstractHtmlColumnModel)getColumnModel(); + + htmlColumn.setOnClick(_onClick); + htmlColumn.setOnDblClick(_onDblClick); + htmlColumn.setOnKeyDown(_onKeyDown); + htmlColumn.setOnKeyUp(_onKeyUp); + htmlColumn.setOnKeyPress(_onKeyPress); + htmlColumn.setOnMouseDown(_onMouseDown); + htmlColumn.setOnMouseUp(_onMouseUp); + htmlColumn.setOnMouseMove(_onMouseMove); + htmlColumn.setOnMouseOut(_onMouseOut); + htmlColumn.setOnMouseOver(_onMouseOver); + htmlColumn.setStyle(_style); + htmlColumn.setStyleClass(_styleClass); + htmlColumn.setTitle(_title); + + if(_attributeList != null) + { + Iterator iterator = _attributeList.iterator(); + while(iterator.hasNext()) + { + AttributeStruct struct = (AttributeStruct)iterator.next(); + htmlColumn.setAttribute(struct.name, struct.value, struct.facet); + } + } + } + + private static class AttributeStruct + { + String name; + String value; + String facet; + + AttributeStruct(String name, String value, String facet) + { + this.name = name; + this.value = value; + this.facet = facet; + } + } +} \ No newline at end of file Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AnchorColumn.java ============================================================================== --- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AnchorColumn.java (original) +++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AnchorColumn.java Thu Aug 26 15:52:00 2004 @@ -39,13 +39,14 @@ * renderer="workshop.netui.jspdesigner.tldx.AnchorColumnRenderer" */ public class AnchorColumn - extends AbstractColumn + extends AbstractHtmlColumn implements URLParams { private static final Logger _logger = Logger.getInstance(AnchorColumn.class); private AnchorColumnModel _column; + private String _value = null; private String _href = null; private String _scope = null; private String _action = null; @@ -65,6 +66,11 @@ public void setScope(String scope) {_scope = scope;} /** + * @netui:attribute required="true" rtexprvalue="true" + */ + public void setValue(String value) {_value = value;} + + /** * @netui:attribute required="false" * @netui.tldx:attribute category="general" reftype="netui-action-url" */ @@ -84,12 +90,15 @@ protected void applyAttributes() throws JspException { + super.applyAttributes(); + if(_action != null && _href != null) throw new JspException("Unable to create AnchorColumnModel. The 'action' and 'href' attributes can not both be set."); _column.setAction(_action); _column.setHref(_href); - _column.setScopeId(_scope); + _column.setScopeId(_scope); + _column.setValue(_value); } protected void setColumnModel(ColumnModel column) Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/ImageColumn.java ============================================================================== --- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/ImageColumn.java (original) +++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/ImageColumn.java Thu Aug 26 15:52:00 2004 @@ -22,6 +22,8 @@ import org.apache.beehive.netui.databinding.datagrid.model.ColumnModel; import org.apache.beehive.netui.util.logging.Logger; +import javax.servlet.jsp.JspException; + /** * * @netui:tag name="imageColumn" description="Renders a column of images in a NetUI data grid" body-content="scriptless" @@ -29,7 +31,7 @@ * @netui:attribute name="value" required="false" */ public class ImageColumn - extends AbstractColumn + extends AbstractHtmlColumn { private static final Logger logger = Logger.getInstance(ImageColumn.class); @@ -99,7 +101,10 @@ } protected void applyAttributes() + throws JspException { + super.applyAttributes(); + _column.setSrc(_src); _column.setBorder(_border); _column.setHeight(_height); Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/LiteralColumn.java ============================================================================== --- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/LiteralColumn.java (original) +++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/LiteralColumn.java Thu Aug 26 15:52:00 2004 @@ -19,8 +19,11 @@ package org.apache.beehive.netui.tags.databinding.datagrid; import org.apache.beehive.netui.databinding.datagrid.model.ColumnModel; +import org.apache.beehive.netui.databinding.datagrid.model.impl.LiteralColumnModel; import org.apache.beehive.netui.util.logging.Logger; +import javax.servlet.jsp.JspException; + /** * * @netui:tag name="literalColumn" description="Renders a column of data in a NetUI grid" body-content="scriptless" @@ -29,22 +32,40 @@ * netuiexpressioninfo="" */ public class LiteralColumn - extends AbstractColumn + extends AbstractHtmlColumn { private static final Logger logger = Logger.getInstance(LiteralColumn.class); + private String _value = null; + private LiteralColumnModel _column = null; + + /** + * @netui:attribute required="true" rtexprvalue="true" + */ + public void setValue(String value) {_value = value;} + public String getTagName() { - return "LiteralColumn"; + return "LiteralColumnModel"; + } + + protected void applyAttributes() + throws JspException + { + super.applyAttributes(); + + _column.setValue(_value); } protected void setColumnModel(ColumnModel column) { - // not used in this tag + assert column instanceof LiteralColumnModel; + + _column = (LiteralColumnModel)column; } protected ColumnModel createColumnModel() { - return new ColumnModel(); + return new LiteralColumnModel(); } } Added: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/onclick.jsp ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/misc/onclick.jsp Thu Aug 26 15:52:00 2004 @@ -0,0 +1,27 @@ +<%@ page language="java" contentType="text/html;charset=UTF-8"%> +<%@ taglib uri="beehive-netui-tags-html.tld" prefix="netui"%> +<%@ taglib uri="beehive-netui-tags-databinding.tld" prefix="netui-data"%> +<%@ taglib uri="beehive-netui-tags-template.tld" prefix="netui-template"%> +<netui-template:template templatePage="../site/template.jsp"> + <netui-template:setAttribute name="title" value="Basic Data Grid"/> + <netui-template:section name="body"> + <script language="javascript"> +function doAlert(node, index) +{ + alert("hello from item: " + index); +} + </script> + <p> + <%@ include file="../util/portfolioXmlBean.jsp" %> + <netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio"> + <netui-data:columns defaultSortable="true" > + <netui-data:literalColumn headerText="Symbol" value="${container.item.symbol}" onClick="javascript:alert(this)"/> + <netui-data:literalColumn headerText="Price" value="${container.item.price}"/> + <netui-data:anchorColumn headerText="Web" href="${container.item.web}" value="${container.item.name}" onMouseOver="doAlert(this, ${container.index})"> + <netui:parameter name="rowid" value="${container.index}"/> + <netui:parameter name="symbol" value="${container.item.symbol}"/> + </netui-data:anchorColumn> + </netui-data:columns> + </netui-data:dataGrid> + </netui-template:section> +</netui-template:template> \ No newline at end of file Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml Thu Aug 26 15:52:00 2004 @@ -2090,6 +2090,21 @@ </features> </test> <test> + <name>DataGridEmptyColumnsTag</name> + <description>DataGridEmptyColumnsTag</description> + <webapp>coreWeb</webapp> + <categories> + <category>bvt</category> + <category>drt</category> + <category>datagrid</category> + <category>databinding</category> + </categories> + <features> + <feature>Databinding</feature> + <feature>Data Grid</feature> + </features> + </test> + <test> <name>DataGridFooterTest</name> <description>DataGridFooterTest</description> <webapp>coreWeb</webapp> @@ -2111,6 +2126,21 @@ <category>bvt</category> <category>databinding</category> <category>datagrid</category> + </categories> + <features> + <feature>Databinding</feature> + <feature>Data Grid</feature> + </features> + </test> + <test> + <name>DataGridJavaScriptSmoke</name> + <description>DataGridJavaScriptSmoke</description> + <webapp>coreWeb</webapp> + <categories> + <category>bvt</category> + <category>drt</category> + <category>datagrid</category> + <category>databinding</category> </categories> <features> <feature>Databinding</feature> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridCaptionTest.xml ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridCaptionTest.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridCaptionTest.xml Thu Aug 26 15:52:00 2004 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>DataGridCaptionTest</ses:sessionName> <ses:tester>ekoneil</ses:tester> - <ses:startDate>19 Aug 2004, 11:43:28.866 AM MDT</ses:startDate> + <ses:startDate>26 Aug 2004, 12:09:46.111 AM MDT</ses:startDate> <ses:description>ekoneil</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fe2</ses:value> + <ses:value>-1221a246:fe99922436:-7fa6</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -116,41 +116,41 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> </tr> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> </tr> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -181,7 +181,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>19 Aug 2004, 11:43:28.956 AM MDT</ses:endDate> + <ses:endDate>26 Aug 2004, 12:09:46.181 AM MDT</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>1</ses:testCount> <ses:passedCount>0</ses:passedCount> Added: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridEmptyColumnsTag.xml ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridEmptyColumnsTag.xml Thu Aug 26 15:52:00 2004 @@ -0,0 +1,179 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> + <ses:sessionName>DataGridEmptyColumnsTag</ses:sessionName> + <ses:tester>ekoneil</ses:tester> + <ses:startDate>26 Aug 2004, 10:32:51.449 AM MDT</ses:startDate> + <ses:description>Simple test of having a data grid columns tag with no additional attributes.</ses:description> + <ses:tests> + <ses:test> + <ses:testNumber>1</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/databinding/datagrid/misc/emptyColumnsTag.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>273558799049B934A412473618387636</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</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=273558799049B934A412473618387636</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040614 Firefox/0.9</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>NetUI Data Grid Samples</title> + <link rel="stylesheet" href="/coreWeb/databinding/datagrid/site/css/default.css" type="text/css"/> + </head> + <base href="http://localhost:8080/coreWeb/databinding/datagrid/misc/emptyColumnsTag.jsp"> + <body> + <p> + <b>Basic Data Grid</b> + <table width="100%"> + <tr><td></td></tr> + <tr><td> + + <p> + + + + +<br/> +Page 1 of 1 +<table class="datagrid"> +<caption> + + + + +</caption> + + +<thead> +<tr class="datagrid-header"> + <th class="datagrid-header-cell">Symbol</th> + + + <th class="datagrid-header-cell">Price</th> + + + <th class="datagrid-header-cell">Web</th> + + + </tr> +</thead> + +<tr class="datagrid-even"> + <td class="datagrid-data-cell"><span>BEAS</span></td> + + <td class="datagrid-data-cell"><span>14.35</span></td> + + <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> + + </tr> +<tr class="datagrid-odd"> + <td class="datagrid-data-cell"><span>CSCO</span></td> + + <td class="datagrid-data-cell"><span>19.42</span></td> + + <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> + + </tr> +<tr class="datagrid-even"> + <td class="datagrid-data-cell"><span>GE</span></td> + + <td class="datagrid-data-cell"><span>59.42</span></td> + + <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> + + </tr> +<tr class="datagrid-odd"> + <td class="datagrid-data-cell"><span>RHAT</span></td> + + <td class="datagrid-data-cell"><span>18.2</span></td> + + <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> + + </tr> +<tr class="datagrid-even"> + <td class="datagrid-data-cell"><span>YHOO</span></td> + + <td class="datagrid-data-cell"><span>48.16</span></td> + + <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> + + </tr> + + +<tr class="datagrid-footer"> + + + <td colspan="4"><center>This is the grid's footer</center></td> + + +</tr></table> + +<br/> +<a href="/coreWeb/databinding/datagrid/misc/index.jsp">Reset</a> +<br/> + </p> + + </td></tr> + </p> + <table> + <tr><td><a href="/netuiDRT/databinding/datagrid/basic/index.jsp">Home</a></td></tr> + </table> + </p> + </body> +</html>]]></ses:responseBody> + </ses:response> + </ses:test> + </ses:tests> + <ses:endDate>26 Aug 2004, 10:32:56.856 AM MDT</ses:endDate> + <ses:testCount>1</ses:testCount> +</ses:recorderSession> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridFooterTest.xml ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridFooterTest.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridFooterTest.xml Thu Aug 26 15:52:00 2004 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>DataGridFooterTest</ses:sessionName> <ses:tester>ekoneil</ses:tester> - <ses:startDate>19 Aug 2004, 11:43:29.106 AM MDT</ses:startDate> + <ses:startDate>26 Aug 2004, 12:09:46.241 AM MDT</ses:startDate> <ses:description>ekoneil</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fe0</ses:value> + <ses:value>-1221a246:fe99922436:-7fa4</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -113,41 +113,41 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> </tr> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> </tr> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -181,7 +181,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>19 Aug 2004, 11:43:29.196 AM MDT</ses:endDate> + <ses:endDate>26 Aug 2004, 12:09:46.301 AM MDT</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>1</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridHeaderTest.xml ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridHeaderTest.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridHeaderTest.xml Thu Aug 26 15:52:00 2004 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>DataGridHeaderTest</ses:sessionName> <ses:tester>ekoneil</ses:tester> - <ses:startDate>19 Aug 2004, 11:43:29.296 AM MDT</ses:startDate> + <ses:startDate>26 Aug 2004, 12:09:46.371 AM MDT</ses:startDate> <ses:description>ekoneil</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fde</ses:value> + <ses:value>-1221a246:fe99922436:-7fa2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -121,41 +121,41 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> </tr> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> </tr> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -185,7 +185,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>19 Aug 2004, 11:43:29.376 AM MDT</ses:endDate> + <ses:endDate>26 Aug 2004, 12:09:46.401 AM MDT</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>1</ses:testCount> <ses:passedCount>0</ses:passedCount> Added: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridJavaScriptSmoke.xml ============================================================================== --- (empty file) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridJavaScriptSmoke.xml Thu Aug 26 15:52:00 2004 @@ -0,0 +1,175 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> + <ses:sessionName>DataGridJavaScriptSmoke</ses:sessionName> + <ses:tester>ekoneil</ses:tester> + <ses:startDate>26 Aug 2004, 10:30:57.715 AM MDT</ses:startDate> + <ses:description>Simple smoke test of using JavaScript on the data grid.</ses:description> + <ses:tests> + <ses:test> + <ses:testNumber>1</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/databinding/datagrid/misc/onclick.jsp</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>273558799049B934A412473618387636</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</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=273558799049B934A412473618387636</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040614 Firefox/0.9</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>NetUI Data Grid Samples</title> + <link rel="stylesheet" href="/coreWeb/databinding/datagrid/site/css/default.css" type="text/css"/> + </head> + <base href="http://localhost:8080/coreWeb/databinding/datagrid/misc/onclick.jsp"> + <body> + <p> + <b>Basic Data Grid</b> + <table width="100%"> + <tr><td></td></tr> + <tr><td> + + <script language="javascript"> +function doAlert(node, index) +{ + alert("hello from item: " + index); +} + </script> + <p> + + + + + Page 1 of 1 +<table class="datagrid"> +<caption> + + + +</caption> + + +<thead> +<tr class="datagrid-header"> + <th class="datagrid-header-cell">Symbol</th> + + + <th class="datagrid-header-cell">Price</th> + + + <th class="datagrid-header-cell">Web</th> + + + </tr> +</thead> + +<tr class="datagrid-even"> + <td class="datagrid-data-cell"><span onclick="javascript:alert(this)">BEAS</span></td> + + <td class="datagrid-data-cell"><span>14.35</span></td> + + <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS" onmouseover='doAlert(this, 1)'><span>BEA Systems</span></a></td> + + </tr> +<tr class="datagrid-odd"> + <td class="datagrid-data-cell"><span onclick="javascript:alert(this)">CSCO</span></td> + + <td class="datagrid-data-cell"><span>19.42</span></td> + + <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO" onmouseover='doAlert(this, 2)'><span>Cisco Systems</span></a></td> + + </tr> +<tr class="datagrid-even"> + <td class="datagrid-data-cell"><span onclick="javascript:alert(this)">GE</span></td> + + <td class="datagrid-data-cell"><span>59.42</span></td> + + <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE" onmouseover='doAlert(this, 3)'><span>General Electric</span></a></td> + + </tr> +<tr class="datagrid-odd"> + <td class="datagrid-data-cell"><span onclick="javascript:alert(this)">RHAT</span></td> + + <td class="datagrid-data-cell"><span>18.2</span></td> + + <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT" onmouseover='doAlert(this, 4)'><span>RedHat Systems</span></a></td> + + </tr> +<tr class="datagrid-even"> + <td class="datagrid-data-cell"><span onclick="javascript:alert(this)">YHOO</span></td> + + <td class="datagrid-data-cell"><span>48.16</span></td> + + <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO" onmouseover='doAlert(this, 5)'><span>Yahoo Inc</span></a></td> + + </tr> + +<tr class="datagrid-footer"> + + +</tr></table> + + + </td></tr> + </p> + <table> + <tr><td><a href="/netuiDRT/databinding/datagrid/basic/index.jsp">Home</a></td></tr> + </table> + </p> + </body> +</html>]]></ses:responseBody> + </ses:response> + </ses:test> + </ses:tests> + <ses:endDate>26 Aug 2004, 10:31:05.506 AM MDT</ses:endDate> + <ses:testCount>1</ses:testCount> +</ses:recorderSession> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridModelTest.xml ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridModelTest.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridModelTest.xml Thu Aug 26 15:52:00 2004 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>DataGridModelTest</ses:sessionName> <ses:tester>ekoneil</ses:tester> - <ses:startDate>19 Aug 2004, 11:43:29.456 AM MDT</ses:startDate> + <ses:startDate>26 Aug 2004, 12:09:46.451 AM MDT</ses:startDate> <ses:description>ekoneil</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fdc</ses:value> + <ses:value>-1221a246:fe99922436:-7fa0</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -144,41 +144,41 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> </tr> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> </tr> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -262,7 +262,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>19 Aug 2004, 11:43:29.546 AM MDT</ses:endDate> + <ses:endDate>26 Aug 2004, 12:09:46.531 AM MDT</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>1</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerBasic.xml ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerBasic.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerBasic.xml Thu Aug 26 15:52:00 2004 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>DataGridPagerBasic</ses:sessionName> <ses:tester>ekoneil</ses:tester> - <ses:startDate>19 Aug 2004, 11:43:29.697 AM MDT</ses:startDate> + <ses:startDate>26 Aug 2004, 12:09:46.591 AM MDT</ses:startDate> <ses:description>ekoneil</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fda</ses:value> + <ses:value>-1221a246:fe99922436:-7f9e</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -114,17 +114,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -172,7 +172,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -198,7 +198,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -210,7 +210,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fda</ses:value> + <ses:value>-1221a246:fe99922436:-7f9e</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -268,17 +268,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> @@ -326,7 +326,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -352,7 +352,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -364,7 +364,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fda</ses:value> + <ses:value>-1221a246:fe99922436:-7f9e</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -422,9 +422,9 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -472,7 +472,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -498,7 +498,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -510,7 +510,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fda</ses:value> + <ses:value>-1221a246:fe99922436:-7f9e</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -568,17 +568,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -626,7 +626,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -652,7 +652,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -664,7 +664,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fda</ses:value> + <ses:value>-1221a246:fe99922436:-7f9e</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -722,9 +722,9 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -772,7 +772,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -798,7 +798,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -810,7 +810,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fda</ses:value> + <ses:value>-1221a246:fe99922436:-7f9e</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -868,17 +868,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> @@ -926,7 +926,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -952,7 +952,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -964,7 +964,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fda</ses:value> + <ses:value>-1221a246:fe99922436:-7f9e</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1022,17 +1022,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -1080,7 +1080,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1106,7 +1106,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -1118,7 +1118,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fda</ses:value> + <ses:value>-1221a246:fe99922436:-7f9e</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1176,9 +1176,9 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -1226,7 +1226,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1252,7 +1252,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -1264,7 +1264,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fda</ses:value> + <ses:value>-1221a246:fe99922436:-7f9e</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1322,17 +1322,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -1363,7 +1363,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>19 Aug 2004, 11:43:30.127 AM MDT</ses:endDate> + <ses:endDate>26 Aug 2004, 12:09:46.842 AM MDT</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>9</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml Thu Aug 26 15:52:00 2004 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>DataGridPagerCustomSelect</ses:sessionName> <ses:tester>ekoneil</ses:tester> - <ses:startDate>19 Aug 2004, 11:43:30.348 AM MDT</ses:startDate> + <ses:startDate>26 Aug 2004, 12:09:46.982 AM MDT</ses:startDate> <ses:description>ekoneil</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fd0</ses:value> + <ses:value>-1221a246:fe99922436:-7f94</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -115,17 +115,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -265,7 +265,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -291,7 +291,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -303,7 +303,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fd0</ses:value> + <ses:value>-1221a246:fe99922436:-7f94</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -362,17 +362,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> @@ -512,7 +512,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -538,7 +538,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -550,7 +550,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fd0</ses:value> + <ses:value>-1221a246:fe99922436:-7f94</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -609,9 +609,9 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -751,7 +751,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -777,7 +777,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -789,7 +789,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fd0</ses:value> + <ses:value>-1221a246:fe99922436:-7f94</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -848,17 +848,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -998,7 +998,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1024,7 +1024,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -1036,7 +1036,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fd0</ses:value> + <ses:value>-1221a246:fe99922436:-7f94</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1095,17 +1095,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> @@ -1245,7 +1245,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1271,7 +1271,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -1283,7 +1283,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fd0</ses:value> + <ses:value>-1221a246:fe99922436:-7f94</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1342,9 +1342,9 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -1467,7 +1467,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>19 Aug 2004, 11:43:30.878 AM MDT</ses:endDate> + <ses:endDate>26 Aug 2004, 12:09:47.302 AM MDT</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>6</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerInCaption.xml ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerInCaption.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerInCaption.xml Thu Aug 26 15:52:00 2004 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>DataGridPagerInCaption</ses:sessionName> <ses:tester>ekoneil</ses:tester> - <ses:startDate>19 Aug 2004, 11:43:31.359 AM MDT</ses:startDate> + <ses:startDate>26 Aug 2004, 12:09:47.463 AM MDT</ses:startDate> <ses:description>ekoneil</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fc7</ses:value> + <ses:value>-1221a246:fe99922436:-7f8b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -118,17 +118,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -177,7 +177,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -203,7 +203,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -215,7 +215,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fc7</ses:value> + <ses:value>-1221a246:fe99922436:-7f8b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -277,17 +277,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> @@ -336,7 +336,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -362,7 +362,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -374,7 +374,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fc7</ses:value> + <ses:value>-1221a246:fe99922436:-7f8b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -436,9 +436,9 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -487,7 +487,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -513,7 +513,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -525,7 +525,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fc7</ses:value> + <ses:value>-1221a246:fe99922436:-7f8b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -587,17 +587,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -646,7 +646,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -672,7 +672,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -684,7 +684,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fc7</ses:value> + <ses:value>-1221a246:fe99922436:-7f8b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -746,9 +746,9 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -797,7 +797,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -823,7 +823,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -835,7 +835,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fc7</ses:value> + <ses:value>-1221a246:fe99922436:-7f8b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -897,17 +897,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> @@ -956,7 +956,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -982,7 +982,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -994,7 +994,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fc7</ses:value> + <ses:value>-1221a246:fe99922436:-7f8b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1056,17 +1056,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -1115,7 +1115,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1141,7 +1141,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -1153,7 +1153,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fc7</ses:value> + <ses:value>-1221a246:fe99922436:-7f8b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1215,9 +1215,9 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -1266,7 +1266,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1292,7 +1292,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -1304,7 +1304,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fc7</ses:value> + <ses:value>-1221a246:fe99922436:-7f8b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1366,17 +1366,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -1408,7 +1408,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>19 Aug 2004, 11:43:31.770 AM MDT</ses:endDate> + <ses:endDate>26 Aug 2004, 12:09:47.713 AM MDT</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>9</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerInFooter.xml ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerInFooter.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerInFooter.xml Thu Aug 26 15:52:00 2004 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>DataGridPagerInFooter</ses:sessionName> <ses:tester>ekoneil</ses:tester> - <ses:startDate>19 Aug 2004, 11:43:31.930 AM MDT</ses:startDate> + <ses:startDate>26 Aug 2004, 12:09:47.823 AM MDT</ses:startDate> <ses:description>ekoneil</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fbd</ses:value> + <ses:value>-1221a246:fe99922436:-7f81</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -115,17 +115,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -179,7 +179,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -205,7 +205,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -217,7 +217,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fbd</ses:value> + <ses:value>-1221a246:fe99922436:-7f81</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -276,17 +276,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> @@ -340,7 +340,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -366,7 +366,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -378,7 +378,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fbd</ses:value> + <ses:value>-1221a246:fe99922436:-7f81</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -437,9 +437,9 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -493,7 +493,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -519,7 +519,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -531,7 +531,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fbd</ses:value> + <ses:value>-1221a246:fe99922436:-7f81</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -590,17 +590,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -654,7 +654,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -680,7 +680,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -692,7 +692,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fbd</ses:value> + <ses:value>-1221a246:fe99922436:-7f81</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -751,9 +751,9 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -807,7 +807,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -833,7 +833,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -845,7 +845,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fbd</ses:value> + <ses:value>-1221a246:fe99922436:-7f81</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -904,17 +904,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> @@ -968,7 +968,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -994,7 +994,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -1006,7 +1006,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fbd</ses:value> + <ses:value>-1221a246:fe99922436:-7f81</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1065,17 +1065,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -1129,7 +1129,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1155,7 +1155,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -1167,7 +1167,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fbd</ses:value> + <ses:value>-1221a246:fe99922436:-7f81</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1226,9 +1226,9 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -1282,7 +1282,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>CAED24AD1D81195F088D68FDF9585D9C</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1308,7 +1308,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=CAED24AD1D81195F088D68FDF9585D9C; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -1320,7 +1320,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fbd</ses:value> + <ses:value>-1221a246:fe99922436:-7f81</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1379,17 +1379,17 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> @@ -1426,7 +1426,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>19 Aug 2004, 11:43:32.451 AM MDT</ses:endDate> + <ses:endDate>26 Aug 2004, 12:09:48.104 AM MDT</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>9</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridScriptletTagFile.xml ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridScriptletTagFile.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridScriptletTagFile.xml Thu Aug 26 15:52:00 2004 @@ -2,8 +2,8 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>DataGridScriptletTagFile</ses:sessionName> <ses:tester>ekoneil</ses:tester> - <ses:startDate>20 Aug 2004, 10:31:41.930 AM MDT</ses:startDate> - <ses:description>Test the use of a tag file that contains scriptlet in the body of a column in the data grid.</ses:description> + <ses:startDate>26 Aug 2004, 12:09:48.184 AM MDT</ses:startDate> + <ses:description>ekoneil</ses:description> <ses:tests> <ses:test> <ses:testNumber>1</ses:testNumber> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>1444EE76370C399E1270176C9A5FDABD</ses:value> + <ses:value>2167E077D4F8B27516227F939E72CE73</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=1444EE76370C399E1270176C9A5FDABD</ses:value> + <ses:value>$Version=0; JSESSIONID=2167E077D4F8B27516227F939E72CE73; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -55,6 +55,10 @@ <ses:value>300</ses:value> </ses:header> <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-1221a246:fe99922436:-7f77</ses:value> + </ses:header> + <ses:header> <ses:name>user-agent</ses:name> <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040614 Firefox/0.9</ses:value> </ses:header> @@ -125,43 +129,43 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> </tr> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> </tr> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> </tr> @@ -195,8 +199,14 @@ </body> </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>20 Aug 2004, 10:31:48.770 AM MDT</ses:endDate> + <ses:endDate>26 Aug 2004, 12:09:48.224 AM MDT</ses:endDate> + <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>1</ses:testCount> + <ses:passedCount>0</ses:passedCount> + <ses:failedCount>1</ses:failedCount> </ses:recorderSession> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridSmokeTest.xml ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridSmokeTest.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridSmokeTest.xml Thu Aug 26 15:52:00 2004 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>DataGridSmokeTest</ses:sessionName> <ses:tester>ekoneil</ses:tester> - <ses:startDate>19 Aug 2004, 11:43:26.873 AM MDT</ses:startDate> + <ses:startDate>26 Aug 2004, 12:09:44.629 AM MDT</ses:startDate> <ses:description>ekoneil</ses:description> <ses:tests> <ses:test> @@ -47,7 +47,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-f18affb:fe781ea1fa:-7fe4</ses:value> + <ses:value>-1221a246:fe99922436:-7fa8</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -103,41 +103,41 @@ </thead> <tr class="datagrid-even"> - <td class="datagrid-data-cell">BEAS</td> + <td class="datagrid-data-cell"><span>BEAS</span></td> - <td class="datagrid-data-cell">14.35</td> + <td class="datagrid-data-cell"><span>14.35</span></td> <td class="datagrid-data-cell"><a href="http://www.bea.com?rowid=1&symbol=BEAS"><span>BEA Systems</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">CSCO</td> + <td class="datagrid-data-cell"><span>CSCO</span></td> - <td class="datagrid-data-cell">19.42</td> + <td class="datagrid-data-cell"><span>19.42</span></td> <td class="datagrid-data-cell"><a href="http://www.cisco.com?rowid=2&symbol=CSCO"><span>Cisco Systems</span></a></td> </tr> <tr class="datagrid-even"> - <td class="datagrid-data-cell">GE</td> + <td class="datagrid-data-cell"><span>GE</span></td> - <td class="datagrid-data-cell">59.42</td> + <td class="datagrid-data-cell"><span>59.42</span></td> <td class="datagrid-data-cell"><a href="http://www.ge.com?rowid=3&symbol=GE"><span>General Electric</span></a></td> </tr> <tr class="datagrid-odd"> - <td class="datagrid-data-cell">RHAT</td> + <td class="datagrid-data-cell"><span>RHAT</span></td> - <td class="datagrid-data-cell">18.2</td> + <td class="datagrid-data-cell"><span>18.2</span></td> <td class="datagrid-data-cell"><a href="http://www.redhat.com?rowid=4&symbol=RHAT"><span>RedHat Systems</span></a></td> </tr> <tr class="datagrid-even"> - <td class="datagrid-data-cell">YHOO</td> + <td class="datagrid-data-cell"><span>YHOO</span></td> - <td class="datagrid-data-cell">48.16</td> + <td class="datagrid-data-cell"><span>48.16</span></td> <td class="datagrid-data-cell"><a href="http://www.yahoo.com?rowid=5&symbol=YHOO"><span>Yahoo Inc</span></a></td> @@ -167,7 +167,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>19 Aug 2004, 11:43:28.565 AM MDT</ses:endDate> + <ses:endDate>26 Aug 2004, 12:09:45.900 AM MDT</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>1</ses:testCount> <ses:passedCount>0</ses:passedCount>
