Author: dolander Date: Tue Jan 18 13:42:03 2005 New Revision: 125550 URL: http://svn.apache.org/viewcvs?view=rev&rev=125550 Log: Change ScopeId to IdScope to match the TargetScope naming convention Changes: ScriptContainer (and HTML) attribute scopeId -> idScope ScriptContainer attribute generateScopeId ->generateIdScope JavaScript method lookupScopeId -> lookupIdScope
I change the comments in the generated JavaScript, but did not change the name of the legacy getScopeId method. Updated all of the tests results, but did not actually update the appearence of the word scopeId inside the tests pages. Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractClassicTag.java incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractSimpleTag.java incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j161/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j162/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/label/base/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/label/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/lookupScope/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nesting/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nonCtrlsNested/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/span/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/tree/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsScriptScopeId/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34998.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtLabelBase.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtScScopeId.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanelTree.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapAnchorLink.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapLabel.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapLookupScope.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNesting.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrls.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrlsNested.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapScopeId.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapSpan.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTree.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTreeNoHtml.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTreeNoHtml2.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J161.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J162.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J163.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractClassicTag.java Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractClassicTag.java?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractClassicTag.java&r1=125549&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractClassicTag.java&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractClassicTag.java (original) +++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractClassicTag.java Tue Jan 18 13:42:03 2005 @@ -288,7 +288,7 @@ Tag tag = this; while (tag != null) { if (tag instanceof ScriptContainer) { - String sid = ((ScriptContainer) tag).getScopeId(); + String sid = ((ScriptContainer) tag).getIdScope(); if (sid != null) { tagId = sid + "." + tagId; } Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractSimpleTag.java Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractSimpleTag.java?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractSimpleTag.java&r1=125549&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractSimpleTag.java&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractSimpleTag.java (original) +++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractSimpleTag.java Tue Jan 18 13:42:03 2005 @@ -241,7 +241,7 @@ JspTag tag = this; while (tag != null) { if (tag instanceof ScriptContainer) { - String sid = ((ScriptContainer) tag).getScopeId(); + String sid = ((ScriptContainer) tag).getIdScope(); if (sid != null) { tagId = sid + "." + tagId; } Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java&r1=125549&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java (original) +++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java Tue Jan 18 13:42:03 2005 @@ -143,7 +143,7 @@ /** * Set the target "scope" for the anchor's action. Multiple active page flows may exist concurrently within named * scopes. This attribute selects which named scope to use. If omitted, the default scope is assumed. - * @param scopeID - the name of the target scope in which the associated action's page flow resides. + * @param targetScope - the name of the target scope in which the associated action's page flow resides. * @jsptagref.attributedescription The target scope in which the associated action's page flow resides. * @jsptagref.databindable true * @jsptagref.attributesyntaxvalue <i>string_targetScope</i> @@ -151,9 +151,9 @@ * description="The target scope in which the associated action's page flow resides" * @netui.tldx:attribute category="general" */ - public void setTargetScope(String scopeID) + public void setTargetScope(String targetScope) { - _targetScope = scopeID; + _targetScope = targetScope; } /** Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java&r1=125549&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java (original) +++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java Tue Jan 18 13:42:03 2005 @@ -134,7 +134,7 @@ /** * Set the target "scope" for the button's action. Multiple active page flows may exist concurrently within named * scopes. This attribute selects which named scope to use. If omitted, the default scope is assumed. - * @param scopeID - the name of the target scope in which the associated action's page flow resides. + * @param targetScope - the name of the target scope in which the associated action's page flow resides. * @jsptagref.attributedescription The target scope in which the associated action's page flow resides. * @jsptagref.databindable true * @jsptagref.attributesyntaxvalue <i>string_targetScope</i> @@ -142,9 +142,9 @@ * description="The target scope in which the associated action's page flow resides" * @netui.tldx:attribute category="general" */ - public void setTargetScope(String scopeID) + public void setTargetScope(String targetScope) { - _targetScope = scopeID; + _targetScope = targetScope; } /** Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java&r1=125549&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java (original) +++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java Tue Jan 18 13:42:03 2005 @@ -409,7 +409,7 @@ /** * Set the target "scope" for the form's action. Multiple active page flows may exist concurrently within named * scopes. This attribute selects which named scope to use. If omitted, the default scope is assumed. - * @param scopeID - the name of the target scope in which the associated action's page flow resides. + * @param targetScope - the name of the target scope in which the associated action's page flow resides. * @jsptagref.attributedescription The target scope in which the associated action's page flow resides. * @jsptagref.databindable true * @jsptagref.attributesyntaxvalue <i>string_targetScope</i> @@ -417,9 +417,9 @@ * description="The target scope in which the associated action's page flow resides" * @netui.tldx:attribute category="general" */ - public void setTargetScope(String scopeID) + public void setTargetScope(String targetScope) { - _targetScope = scopeID; + _targetScope = targetScope; } /** @@ -746,14 +746,14 @@ } // Add a scope-ID hidden input, if there's one on this tag, or one in the request. - String scopeID = _targetScope != null + String targetScope = _targetScope != null ? _targetScope : request.getParameter(ScopedServletUtils.SCOPE_ID_PARAM); - if (scopeID != null) { + if (targetScope != null) { if (_params == null) { _params = new HashMap(); } - _params.put(ScopedServletUtils.SCOPE_ID_PARAM, scopeID); + _params.put(ScopedServletUtils.SCOPE_ID_PARAM, targetScope); // If there's one on the URL, we're replacing it with a hidden param. if (actionUrl != null) { actionUrl.removeParameter(ScopedServletUtils.SCOPE_ID_PARAM); Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java&r1=125549&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java (original) +++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java Tue Jan 18 13:42:03 2005 @@ -56,10 +56,10 @@ * else * return netui_names[portletId__id]; } * - * function getScopeId(tag) { + * function getIdScope(tag) { * if (tag == null) return ""; * if (tag.scopeId != null) return tag.scopeId; - * return getScopeId(tag.parentElement); } + * return getIdScope(tag.parentElement); } * * results.append("\nfunction getNetuiTagName(id) {\n"); * results.append("\treturn "); @@ -67,7 +67,7 @@ * results.append("[id]; }\n\n"); * * results.append("\nfunction getNetuiTagName(id, tag) {\n"); - * results.append("\tvar scopeId = getScopeId(tag);\n"); + * results.append("\tvar scopeId = getIdScope(tag);\n"); * results.append("\tif (scopeId == \"\")\n"); * results.append("\t\treturn "); * results.append(NAMES_OBJECT); @@ -76,10 +76,10 @@ * results.append(NAMES_OBJECT); * results.append("[portletId + \"__\" + id]; }\n\n"); * - * results.append("\nfunction getScopeId(tag) {\n"); + * results.append("\nfunction getIdScope(tag) {\n"); * results.append("\tif (tag == null) return \"\";\n"); * results.append("\tif (tag.scopeId != null) return tag.scopeId;\n"); - * results.append("\treturn getScopeId(tag.parentElement);\n}\n\n"); + * results.append("\treturn getIdScope(tag.parentElement);\n}\n\n"); * </pre> * @netui:tag name="html" description="Generates the html element and performs error handling within its body." * @netui.tldx:tag bodycontentpref="empty" renderer="workshop.netui.jspdesigner.tldx.HtmlRenderer" @@ -223,9 +223,9 @@ // write out the html... _state.lang = currentLocale.getLanguage(); - String scopeId = getRealScopelId(); - if (scopeId != null) { - _state.registerAttribute(AbstractHtmlState.ATTR_GENERAL, "netui:scopeId", scopeId); + String idScope = getRealIdScope(); + if (idScope != null) { + _state.registerAttribute(AbstractHtmlState.ATTR_GENERAL, "netui:idScope", idScope); } _writer = new WriteRenderAppender(pageContext); @@ -259,7 +259,7 @@ ErrorHandling.reportCollectedErrors(pageContext, this); // @todo: this should also be written out by the body tag if it is present - if (getScopeId() != null) { + if (getIdScope() != null) { _writer.append("</div>"); } Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java&r1=125549&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java (original) +++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptContainer.java Tue Jan 18 13:42:03 2005 @@ -66,7 +66,7 @@ public class ScriptContainer extends AbstractClassicTag implements IScriptReporter { - private String _scopeId = null; + private String _idScope = null; private ArrayList _funcBlocks; private ArrayList _codeBlocks; private HashMap _initNames; @@ -236,24 +236,24 @@ /////////////////////////// Attributes //////////////////////////// /** - * Set the scopeId associated with the code methods + * Set the idScope associated with the code methods * @jsptagref.attributedescription The id that is associated with the script methods. * @jsptagref.databindable false * @jsptagref.attributesyntaxvalue <i>string_scopeId</i> * @netui:attribute required="false" rtexprvalue="true" * description="The id that is associated with the script methods." */ - public void setScopeId(String scopeId) + public void setIdScope(String idScope) { - _scopeId = scopeId; + _idScope = idScope; } /** * return the scopeId associated with the ScriptContainer */ - public String getScopeId() + public String getIdScope() { - return _scopeId; + return _idScope; } @@ -266,7 +266,7 @@ * @netui:attribute required="false" rtexprvalue="true" * description="Automatically generate a ScopeId." */ - public void setGenerateScopeId(boolean genScopeValue) + public void setGenerateIdScope(boolean genScopeValue) { _genScope = genScopeValue; } @@ -296,12 +296,12 @@ public int doStartTag() throws JspException { - String scope = getRealScopelId(); + String scope = getRealIdScope(); // if there is a scopeId, then we need to create a div to contains everything - if (_scopeId != null) { + if (_idScope != null) { write("<div"); - write(" netui:scopeId=\""); + write(" netui:idScope=\""); write(scope); write("\" "); write(">"); @@ -325,7 +325,7 @@ WriteRenderAppender writer = new WriteRenderAppender(pageContext); // if we wrote out the scopeId then we end it. - if (_scopeId != null) { + if (_idScope != null) { writer.append("</div>"); } @@ -340,18 +340,18 @@ * This method will return the real scope id for the script container. It * @return */ - protected String getRealScopelId() + protected String getRealIdScope() { - // default to the set scopeId. - String scopeId = _scopeId; + // default to the set idScope. + String idScope = _idScope; - // if there isn't a set scopeId and generate scope is on, generate the scope id. - if (_scopeId == null && _genScope) { + // if there isn't a set idScope and generate scope is on, generate the scope id. + if (_idScope == null && _genScope) { int id = getNextId((HttpServletRequest) pageContext.getRequest()); - scopeId = "n" + Integer.toString(id); - _scopeId = scopeId; + idScope = "n" + Integer.toString(id); + _idScope = idScope; } - return scopeId; + return idScope; } /** @@ -449,7 +449,7 @@ // if we are writing out legacy JavaScript support output the idMap if (TagConfig.isLegacyJavaScript()) { - val = processIdMap(_idMap, "idMappingEntry", _scopeId); + val = processIdMap(_idMap, "idMappingEntry", _idScope); if (val != null) { jsu.writeIdMap(this, "idMappingTable", val); writeLegacy = true; @@ -458,10 +458,10 @@ // if we are writing out default JavaScript support we create the name map if (TagConfig.isDefaultJavaScript()) { - String scopeId = getJavaScriptId(); - if (scopeId.equals("")) - scopeId = null; - val = processIdMap(_idToNameMap, "tagIdNameMappingEntry", scopeId); + String idScope = getJavaScriptId(); + if (idScope.equals("")) + idScope = null; + val = processIdMap(_idToNameMap, "tagIdNameMappingEntry", idScope); if (val != null) { jsu.writeIdMap(this, "tagIdNameMappingTable", val); writeName = true; @@ -511,21 +511,21 @@ private String getJavaScriptId() { - String scopeId = ""; + String idScope = ""; Tag tag = this; while (tag != null) { if (tag instanceof ScriptContainer) { - String sid = ((ScriptContainer) tag).getScopeId(); + String sid = ((ScriptContainer) tag).getIdScope(); if (sid != null) { - scopeId = sid + "_" + scopeId; + idScope = sid + "_" + idScope; } } tag = tag.getParent(); } - return scopeId; + return idScope; } - private String processIdMap(HashMap map, String mapEntry, String scopeId) + private String processIdMap(HashMap map, String mapEntry, String idScope) { // if no map or empty then return if (map == null || map.size() == 0) @@ -536,8 +536,8 @@ while (ids.hasNext()) { Object id = ids.next(); Object value = map.get(id); - if (scopeId != null) - id = scopeId + "__" + id; + if (idScope != null) + id = idScope + "__" + id; String entry = JavaScriptUtils.getString(mapEntry, new Object[]{id, value}); results.append(entry); } @@ -553,7 +553,7 @@ { super.localRelease(); - _scopeId = null; + _idScope = null; _runAtClient = false; _writeScript = false; _writeInitScript = false; Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties&r1=125549&p2=incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties (original) +++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/javaScript.properties Tue Jan 18 13:42:03 2005 @@ -80,15 +80,15 @@ # simple method to return the real id for the a scoped tagId getNetuiTagNameAdvanced=\ // method which will return a real id for a tagId,\n\ -// the tag parameter will be used to find the scopeId for\n\ +// the tag parameter will be used to find the idScope for\n\ // containers that may scope their ids\n\ function getNetuiTagName(id, tag)\n\ {\n\ -\ var scopeId = getScopeId(tag);\n\ -\ if (scopeId == \"\")\n\ +\ var idScope = getScopeId(tag);\n\ +\ if (idScope == \"\")\n\ \ return netui_names[id];\n\ \ else\n\ -\ return netui_names[scopeId + "__" + id];\n\ +\ return netui_names[idScope + "__" + id];\n\ }\n #method map the TagId to the real ID @@ -96,8 +96,8 @@ // lookup by tagId to "real id"\n\ function lookupIdByTagId(id, tag)\n\ {\n\ -\ var scopeId = lookupScopeId(tag,".");\n\ -\ return (scopeId == "") ? id : scopeId + id;\n\ +\ var idScope = lookupIdScope(tag,".");\n\ +\ return (idScope == "") ? id : idScope + id;\n\ }\n #method to do lookup in netui_tagIdNameMap @@ -105,22 +105,22 @@ // lookup by tagId to "real name"\n\ function lookupNameByTagId(id, tag)\n\ {\n\ -\ var scopeId = lookupScopeId(tag,"_");\n\ -\ if (scopeId == \"\")\n\ +\ var idScope = lookupIdScope(tag,"_");\n\ +\ if (idScope == \"\")\n\ \ return netui_tagIdNameMap[id];\n\ \ else\n\ -\ return netui_tagIdNameMap[scopeId + "__" + id];\n\ +\ return netui_tagIdNameMap[idScope + "__" + id];\n\ }\n # method to find the scope id getScopeId=\ -// This method will walk the hierarchy from the pass element looking for a scopeId.\n\ -// The first scopeId found will be returned or the empty string if a scopeId is not found.\n\ +// This method will walk the hierarchy from the pass element looking for a idScope.\n\ +// The first idScope found will be returned or the empty string if a idScope is not found.\n\ function getScopeId(tag)\n\ {\n\ \ if (tag == null || tag.getAttribute == null)\n\ \ return "";\n\ -\ var attrVal = tag.getAttribute("netui:scopeId");\n\ +\ var attrVal = tag.getAttribute("netui:idScope");\n\ \ if (attrVal != null)\n\ \ return attrVal;\n\ \ return getScopeId(tag.parentNode);\n\ @@ -128,11 +128,11 @@ lookupScopeId=\ //Non-Legacy lookup method creating a fully qualified scope id\n\ -function lookupScopeId(tag,sep)\n\ +function lookupIdScope(tag,sep)\n\ {\n\ \ var val = "";\n\ \ while (tag != null && tag.getAttribute != null) {\n\ -\ var attrVal = tag.getAttribute("netui:scopeId");\n\ +\ var attrVal = tag.getAttribute("netui:idScope");\n\ \ if (attrVal != null)\n\ \ val = attrVal + sep + val;\n\ \ tag = tag.parentNode;\n\ Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j161/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j161/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j161/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j161/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j161/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j161/index.jsp Tue Jan 18 13:42:03 2005 @@ -7,7 +7,7 @@ </head> <netui:body> <netui:span value="${pageFlow.action}" /> - <netui:scriptContainer scopeId="one" > + <netui:scriptContainer idScope="one" > <netui:form action="post"> Form Submit Anchor JS Output Test <br/> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j162/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j162/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j162/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j162/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j162/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j162/index.jsp Tue Jan 18 13:42:03 2005 @@ -9,7 +9,7 @@ with just a linkName and tagId attribute will output the lookup JavaScript. </p> - <netui:scriptContainer scopeId="one" > + <netui:scriptContainer idScope="one" > <a id="one.top"></a> <h4>Anchor Fragment Identifier Test</h4> <netui:anchor tagId="linkBottom" linkName="bottom">Bottom</netui:anchor> @@ -25,10 +25,10 @@ var p = document.getElementById("javaOut"); var val = "<b>Document Access</b><br>"; var anchorTag = document.getElementById(lookupIdByTagId("linkBottom",p)); - val = val + "LinkBottom Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "LinkBottom Scope Id: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "LinkBottom ID: <b>" + lookupIdByTagId("linkBottom",anchorTag) + "</b><br/>"; anchorTag = document.getElementById(lookupIdByTagId("linkTop",p)); - val = val + "LinkTop Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "LinkTop Scope Id: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "LinkTop ID: <b>" + lookupIdByTagId("linkTop",anchorTag) + "</b><br/>"; p.innerHTML = val; Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/bugs/j163/index.jsp Tue Jan 18 13:42:03 2005 @@ -17,7 +17,7 @@ not added to the name table. The reason for this, is that the name written for backward compatbility with old browsers. </p> - <netui:scriptContainer scopeId="one" > + <netui:scriptContainer idScope="one" > <netui:anchor tagId="top"/> <h4>Anchor Fragment Identifier Test</h4> <netui:anchor linkName="bottom">Bottom</netui:anchor> @@ -33,7 +33,7 @@ var p = document.getElementById("javaOut"); var val = "<b>Document Access</b><br>"; var anchorTag = document.getElementById(lookupIdByTagId("top",p)); - val = val + "Anchor Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Anchor Scope Id: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "Anchor ID: <b>" + lookupIdByTagId("top",anchorTag) + "</b><br/>"; p.innerHTML = val; </script> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/label/base/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/label/base/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/label/base/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/label/base/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/label/base/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/label/base/index.jsp Tue Jan 18 13:42:03 2005 @@ -1,7 +1,7 @@ <%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%> -<netui:html generateScopeId="true"> +<netui:html generateIdScope="true"> <head> <netui:base/> </head> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/coretags/sc/scopeid/index.jsp Tue Jan 18 13:42:03 2005 @@ -4,7 +4,7 @@ <%@ taglib prefix="netui-template" uri="http://beehive.apache.org/netui/tags-template-1.0"%> -<netui:html scopeId="html"> +<netui:html idScope="html"> <head> <netui:base/> </head> @@ -12,7 +12,7 @@ <p style="color:green">Test of the ScriptContainer tag with a scopeId set on it. </p> - <netui:scriptContainer scopeId="scopeOne"> + <netui:scriptContainer idScope="scopeOne"> <span id="scopeOneSpan" /> <netui:form tagId="form" action="post" focus="b1"> <table> @@ -31,7 +31,7 @@ </netui:form> </netui:scriptContainer> <hr> - <netui:scriptContainer scopeId="Results"> + <netui:scriptContainer idScope="Results"> Post Value: <netui:span tagId="postValue" value="${pageFlow.text}"/><br> Method: <netui:span tagId="method" value="${pageFlow.method}"/> </netui:scriptContainer> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/anchorLink/index.jsp Tue Jan 18 13:42:03 2005 @@ -21,7 +21,7 @@ of the page, two link go to the real top and the test top. </p> <div style="border: thin solid;height: 100px;"></div> - <netui:scriptContainer scopeId="one" > + <netui:scriptContainer idScope="one" > <netui:anchor tagId="top"/> <h4>Fragment Identifiers and Scoped Ids</h4> <netui:anchor linkName="bottom">Bottom</netui:anchor> @@ -38,10 +38,10 @@ var p = document.getElementById("javaOut"); var val = "<b>Document Access</b><br>"; var anchorTag = document.getElementById(lookupIdByTagId("top",p)); - val = val + "Test Top ScopeId: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Test Top ScopeId: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "Test Top ID: <b>" + lookupIdByTagId("top",anchorTag) + "</b><br/>"; anchorTag = document.getElementById(lookupIdByTagId("top")); - val = val + "Real Top Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Real Top Scope Id: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "Real Top ID: <b>" + lookupIdByTagId("top") + "</b><br/>"; p.innerHTML = val; </script> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp Tue Jan 18 13:42:03 2005 @@ -4,7 +4,7 @@ <%@ taglib prefix="netui-template" uri="http://beehive.apache.org/netui/tags-template-1.0"%> -<netui:html generateScopeId="true"> +<netui:html generateIdScope="true"> <head> <netui:base/> </head> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp Tue Jan 18 13:42:03 2005 @@ -4,7 +4,7 @@ <%@ taglib prefix="netui-template" uri="http://beehive.apache.org/netui/tags-template-1.0"%> -<netui:html generateScopeId="true"> +<netui:html generateIdScope="true"> <head> <netui:base/> </head> @@ -14,7 +14,7 @@ perform a search using the built in methods to find a checkbox. The result should never be null. </p> - <netui:scriptContainer generateScopeId="true"> + <netui:scriptContainer generateIdScope="true"> <netui:form action="postForm"> <span id="scopeOneSpan" /> <table> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%> <%@ taglib prefix="netui-data" uri="http://beehive.apache.org/netui/tags-databinding-1.0"%> <%@ taglib prefix="netui-template" uri="http://beehive.apache.org/netui/tags-template-1.0"%> -<netui:html generateScopeId="true"> +<netui:html generateIdScope="true"> <head> <netui:base/> </head> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/label/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/label/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/label/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/label/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/label/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/label/index.jsp Tue Jan 18 13:42:03 2005 @@ -1,7 +1,7 @@ <%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%> -<netui:html generateScopeId="true"> +<netui:html generateIdScope="true"> <head> <netui:base/> </head> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/lookupScope/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/lookupScope/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/lookupScope/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/lookupScope/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/lookupScope/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/lookupScope/index.jsp Tue Jan 18 13:42:03 2005 @@ -1,15 +1,15 @@ <%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%> -<netui:html scopeId="html"> +<netui:html idScope="html"> <head> <netui:base/> </head> <netui:body> <p style="color: green"> </p> - <netui:scriptContainer scopeId="scope1"> - <netui:scriptContainer scopeId="scope2"> + <netui:scriptContainer idScope="scope1"> + <netui:scriptContainer idScope="scope2"> <span id="scopeOneSpan" /> <netui:span tagId="span" value="span[1] inside scopeOneSpan" /> </netui:scriptContainer> @@ -25,7 +25,7 @@ var s1 = document.getElementById("scopeOneSpan"); var val = "<b>Document Access</b><br>"; - val = val + "<b>ScopeId</b>: " + lookupScopeId(s1,".") + "<br>"; + val = val + "<b>ScopeId</b>: " + lookupIdScope(s1,".") + "<br>"; val = val + "Span by name is null: <b>" + (document.getElementById(lookupIdByTagId("span",s1)) == null) + "</b><br>"; Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nesting/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nesting/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nesting/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nesting/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nesting/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nesting/index.jsp Tue Jan 18 13:42:03 2005 @@ -13,8 +13,8 @@ generateScopeId = 'true' so that we create a unique id. This will not work in the legacy lookups. </p> - <netui:scriptContainer generateScopeId="true"> - <netui:scriptContainer scopeId="scope"> + <netui:scriptContainer generateIdScope="true"> + <netui:scriptContainer idScope="scope"> <span id="scopeOneSpan" /> <netui:textBox tagId="textBox" dataSource="pageFlow.textOne"/> <netui:span tagId="span" value="span[1] inside scopeOneSpan"> @@ -23,8 +23,8 @@ </span> </netui:scriptContainer> </netui:scriptContainer> - <netui:scriptContainer generateScopeId="true"> - <netui:scriptContainer scopeId="scope"> + <netui:scriptContainer generateIdScope="true"> + <netui:scriptContainer idScope="scope"> <span id="scopeTwoSpan" /> <netui:textBox tagId="textBox" dataSource="pageFlow.textTwo"/> <netui:span tagId="span" value="span[2] inside scopeTwoSpan"> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nonCtrlsNested/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nonCtrlsNested/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nonCtrlsNested/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nonCtrlsNested/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nonCtrlsNested/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/nonCtrlsNested/index.jsp Tue Jan 18 13:42:03 2005 @@ -1,7 +1,7 @@ <%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%> -<netui:html scopeId="html"> +<netui:html idScope="html"> <head> <netui:base/> </head> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/span/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/span/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/span/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/span/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/span/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/span/index.jsp Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%> <%@ taglib prefix="netui-data" uri="http://beehive.apache.org/netui/tags-databinding-1.0"%> <%@ taglib prefix="netui-template" uri="http://beehive.apache.org/netui/tags-template-1.0"%> -<netui:html generateScopeId="true"> +<netui:html generateIdScope="true"> <head> <netui:base/> </head> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/tree/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/tree/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/tree/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/tree/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/tree/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/tree/index.jsp Tue Jan 18 13:42:03 2005 @@ -1,7 +1,7 @@ <%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%> -<netui:html generateScopeId="true"> +<netui:html generateIdScope="true"> <head> <netui:base/> </head> Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsScriptScopeId/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsScriptScopeId/index.jsp?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsScriptScopeId/index.jsp&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsScriptScopeId/index.jsp&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsScriptScopeId/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/javascript/jsScriptScopeId/index.jsp Tue Jan 18 13:42:03 2005 @@ -11,7 +11,7 @@ </head> <body> <table border='1' cellspacing="0" cellpadding="5"><tr><td> - <netui:scriptContainer scopeId="one" > + <netui:scriptContainer idScope="one" > <netui:form action="submit" focus="firstName"> <h4>Form One</h4> <table class="tablebody"> @@ -52,7 +52,7 @@ </netui:form> </netui:scriptContainer> </td><td> - <netui:scriptContainer scopeId="two" > + <netui:scriptContainer idScope="two" > <netui:form action="submit"> <h4>Form Two</h4> <netui:parameter name="scope" value="two"></netui:parameter> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34263.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>B34263</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 08:58:51.646 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:00:20.479 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7f38</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7f30</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -165,24 +165,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -191,26 +191,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -229,7 +229,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 08:58:52.287 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:00:21.320 PM MST</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/B34998.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34998.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34998.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34998.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34998.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B34998.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>B34998</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 08:58:53.268 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:00:22.952 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7f32</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7f29</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -128,24 +128,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -154,26 +154,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -213,7 +213,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -247,7 +247,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -263,7 +263,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7f32</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7f29</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -307,7 +307,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 08:58:54.680 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:00:24.444 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>2</ses:testCount> <ses:passedCount>1</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/B39820.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>B39820</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 08:59:13.638 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:00:46.005 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7efc</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ef2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -154,24 +154,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -180,26 +180,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -243,7 +243,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -277,7 +277,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -293,7 +293,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7efc</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ef2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -343,7 +343,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -365,7 +365,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -381,7 +381,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7efc</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ef2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -479,24 +479,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -505,26 +505,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -568,7 +568,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -602,7 +602,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -618,7 +618,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7efc</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ef2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -668,7 +668,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -690,7 +690,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -706,7 +706,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7efc</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ef2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -804,24 +804,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -830,26 +830,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -893,7 +893,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -927,7 +927,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -943,7 +943,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7efc</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ef2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -993,7 +993,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1015,7 +1015,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1031,7 +1031,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7efc</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ef2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1129,24 +1129,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1155,26 +1155,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1218,7 +1218,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1268,7 +1268,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7efc</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ef2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1318,7 +1318,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1340,7 +1340,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1356,7 +1356,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7efc</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ef2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1454,24 +1454,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1480,26 +1480,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1543,7 +1543,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1577,7 +1577,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1593,7 +1593,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7efc</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ef2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1643,7 +1643,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1665,7 +1665,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1681,7 +1681,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7efc</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ef2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1779,24 +1779,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1805,26 +1805,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1868,7 +1868,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1902,7 +1902,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1918,7 +1918,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7efc</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ef2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1956,7 +1956,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 08:59:15.480 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:00:48.388 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>12</ses:testCount> <ses:passedCount>6</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ButtonSubmitTagId.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>ButtonSubmitTagId</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 08:59:53.495 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:01:33.852 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7e63</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7e53</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -131,24 +131,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -157,26 +157,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -216,7 +216,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -250,7 +250,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -266,7 +266,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7e63</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7e53</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -341,24 +341,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -367,26 +367,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -430,7 +430,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -464,7 +464,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -480,7 +480,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7e63</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7e53</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -555,24 +555,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -581,26 +581,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -619,7 +619,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 08:59:54.396 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:01:34.513 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>3</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtAreaBase.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>CtAreaBase</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:23:14.399 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:01:59.148 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>8343DFB9B7F0A40594699F8002D08345</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=8343DFB9B7F0A40594699F8002D08345; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>7b00b994:1016ce04b4a:-7e1e</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7e0b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -104,24 +104,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -130,16 +130,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -170,7 +170,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>8343DFB9B7F0A40594699F8002D08345</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -200,7 +200,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=8343DFB9B7F0A40594699F8002D08345; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -212,7 +212,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>7b00b994:1016ce04b4a:-7e1e</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7e0b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -260,24 +260,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -286,16 +286,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -326,7 +326,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>8343DFB9B7F0A40594699F8002D08345</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -356,7 +356,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=8343DFB9B7F0A40594699F8002D08345; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -368,7 +368,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>7b00b994:1016ce04b4a:-7e1e</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7e0b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -416,24 +416,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -442,16 +442,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -470,7 +470,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:23:15.100 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:02:00.660 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>3</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtButtonId.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>CtButtonId</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:00:20.414 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:02:05.356 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7e0f</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7dfc</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -119,24 +119,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -145,26 +145,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -200,7 +200,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -234,7 +234,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -246,7 +246,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7e0f</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7dfc</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -309,24 +309,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -335,26 +335,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -394,7 +394,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -428,7 +428,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -440,7 +440,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7e0f</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7dfc</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -503,24 +503,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -529,26 +529,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -567,7 +567,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:00:21.075 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:02:06.057 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>3</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtImageButtonId.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>CtImageButtonId</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:00:35.916 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:02:23.602 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7de2</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7dcd</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -119,24 +119,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -145,26 +145,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -200,7 +200,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -234,7 +234,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -246,7 +246,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7de2</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7dcd</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -309,24 +309,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -335,26 +335,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -373,7 +373,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:00:36.567 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:02:24.614 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>2</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtLabelBase.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtLabelBase.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtLabelBase.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtLabelBase.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtLabelBase.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtLabelBase.xml Tue Jan 18 13:42:03 2005 @@ -2,8 +2,8 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>CtLabelBase</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>15 Jan 2005, 12:12:25.578 PM MST</ses:startDate> - <ses:description>Verify the base behavior of the Label and the for attribute.</ses:description> + <ses:startDate>18 Jan 2005, 02:02:24.644 PM MST</ses:startDate> + <ses:description>Daryl</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>273D63806F6974B80F6A83B373747F50</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=273D63806F6974B80F6A83B373747F50</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>-2d3748ef:101879ef4ed:-7dca</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -65,7 +69,7 @@ <ses:reason/> <ses:responseBody><!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="en" netui:scopeId="n0"> +<html lang="en" netui:idScope="n0"> <head> <base href="http://localhost:8080/coreWeb/coretags/label/base/index.jsp"> @@ -153,24 +157,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -179,26 +183,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -212,8 +216,14 @@ </div> </html></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>15 Jan 2005, 12:12:41.250 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:02:25.325 PM MST</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/CtScScopeId.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtScScopeId.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtScScopeId.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtScScopeId.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtScScopeId.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtScScopeId.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>CtScScopeId</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:00:36.597 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:02:25.345 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7ddf</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7dc8</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -69,7 +69,7 @@ <ses:reason/> <ses:responseBody><!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="en" netui:scopeId="html"> +<html lang="en" netui:idScope="html"> <head> <base href="http://localhost:8080/coreWeb/coretags/sc/scopeid/index.jsp"> @@ -78,7 +78,7 @@ <p style="color:green">Test of the ScriptContainer tag with a scopeId set on it. </p> - <div netui:scopeId="scopeOne" > + <div netui:idScope="scopeOne" > <span id="scopeOneSpan" /> <form name="bean" id="html.scopeOne.form" action="/coreWeb/coretags/sc/scopeid/post.do" method="post"> <table> @@ -128,24 +128,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -154,26 +154,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -185,7 +185,7 @@ <hr> - <div netui:scopeId="Results" > + <div netui:idScope="Results" > Post Value: <span id="html.Results.postValue"></span><br> Method: <span id="html.Results.method"></span> </div> @@ -241,7 +241,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:00:37.558 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:02:26.586 PM MST</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/DataGridPagerCustomSelect.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridPagerCustomSelect.xml Tue Jan 18 13:42:03 2005 @@ -2,8 +2,8 @@ <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>17 Jan 2005, 10:02:59.541 AM MST</ses:startDate> - <ses:description>Test of custom select</ses:description> + <ses:startDate>18 Jan 2005, 02:02:46.304 PM MST</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>0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>-2d3748ef:101879ef4ed:-7d93</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -186,24 +190,24 @@ var netui_names = new Object(); netui_names.pageForm="pageForm" // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -219,16 +223,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -244,11 +248,11 @@ // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } --> @@ -279,6 +283,9 @@ </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> <ses:test> <ses:testNumber>2</ses:testNumber> @@ -298,7 +305,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -324,7 +331,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -335,8 +342,8 @@ <ses:value>300</ses:value> </ses:header> <ses:header> - <ses:name>referer</ses:name> - <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/pager/customselect/Controller.jpf</ses:value> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-2d3748ef:101879ef4ed:-7d93</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -461,24 +468,24 @@ var netui_names = new Object(); netui_names.pageForm="pageForm" // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -494,16 +501,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -519,11 +526,11 @@ // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } --> @@ -554,6 +561,9 @@ </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> <ses:test> <ses:testNumber>3</ses:testNumber> @@ -573,7 +583,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -599,7 +609,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -610,8 +620,8 @@ <ses:value>300</ses:value> </ses:header> <ses:header> - <ses:name>referer</ses:name> - <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/pager/customselect/doPage.do?netui_row=portfolio%7E4</ses:value> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-2d3748ef:101879ef4ed:-7d93</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -745,24 +755,24 @@ var netui_names = new Object(); netui_names.pageForm="pageForm" // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -778,16 +788,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -803,11 +813,11 @@ // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } --> @@ -838,6 +848,9 @@ </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> <ses:test> <ses:testNumber>4</ses:testNumber> @@ -857,7 +870,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -883,7 +896,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -894,8 +907,8 @@ <ses:value>300</ses:value> </ses:header> <ses:header> - <ses:name>referer</ses:name> - <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/pager/customselect/doPage.do?netui_row=portfolio%7E2</ses:value> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-2d3748ef:101879ef4ed:-7d93</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1020,24 +1033,24 @@ var netui_names = new Object(); netui_names.pageForm="pageForm" // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1053,16 +1066,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1078,11 +1091,11 @@ // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } --> @@ -1113,6 +1126,9 @@ </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> <ses:test> <ses:testNumber>5</ses:testNumber> @@ -1132,7 +1148,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1158,7 +1174,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -1169,8 +1185,8 @@ <ses:value>300</ses:value> </ses:header> <ses:header> - <ses:name>referer</ses:name> - <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/pager/customselect/begin.do?netui_row=portfolio%7E4</ses:value> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-2d3748ef:101879ef4ed:-7d93</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1304,24 +1320,24 @@ var netui_names = new Object(); netui_names.pageForm="pageForm" // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1337,16 +1353,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1362,11 +1378,11 @@ // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } --> @@ -1397,6 +1413,9 @@ </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> <ses:test> <ses:testNumber>6</ses:testNumber> @@ -1416,7 +1435,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1442,7 +1461,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -1453,8 +1472,8 @@ <ses:value>300</ses:value> </ses:header> <ses:header> - <ses:name>referer</ses:name> - <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/pager/customselect/begin.do?netui_row=</ses:value> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-2d3748ef:101879ef4ed:-7d93</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1588,24 +1607,24 @@ var netui_names = new Object(); netui_names.pageForm="pageForm" // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1621,16 +1640,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1646,11 +1665,11 @@ // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } --> @@ -1681,6 +1700,9 @@ </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> <ses:test> <ses:testNumber>7</ses:testNumber> @@ -1700,7 +1722,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1726,7 +1748,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -1737,8 +1759,8 @@ <ses:value>300</ses:value> </ses:header> <ses:header> - <ses:name>referer</ses:name> - <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/pager/customselect/begin.do?netui_row=portfolio%7E2</ses:value> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-2d3748ef:101879ef4ed:-7d93</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1863,24 +1885,24 @@ var netui_names = new Object(); netui_names.pageForm="pageForm" // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1896,16 +1918,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1921,11 +1943,11 @@ // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } --> @@ -1956,6 +1978,9 @@ </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> <ses:test> <ses:testNumber>8</ses:testNumber> @@ -1975,7 +2000,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -2001,7 +2026,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -2012,8 +2037,8 @@ <ses:value>300</ses:value> </ses:header> <ses:header> - <ses:name>referer</ses:name> - <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/pager/customselect/begin.do?netui_row=portfolio%7E4</ses:value> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-2d3748ef:101879ef4ed:-7d93</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -2147,24 +2172,24 @@ var netui_names = new Object(); netui_names.pageForm="pageForm" // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -2180,16 +2205,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -2205,11 +2230,11 @@ // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } --> @@ -2240,6 +2265,9 @@ </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> <ses:test> <ses:testNumber>9</ses:testNumber> @@ -2259,7 +2287,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -2285,7 +2313,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=0FD99B9BD07B6A1308FE5AEAB81331E1</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -2296,8 +2324,8 @@ <ses:value>300</ses:value> </ses:header> <ses:header> - <ses:name>referer</ses:name> - <ses:value>http://localhost:8080/coreWeb/databinding/datagrid/pager/customselect/begin.do?netui_row=</ses:value> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-2d3748ef:101879ef4ed:-7d93</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -2422,24 +2450,24 @@ var netui_names = new Object(); netui_names.pageForm="pageForm" // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -2455,16 +2483,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -2480,11 +2508,11 @@ // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } --> @@ -2515,8 +2543,14 @@ </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>17 Jan 2005, 10:03:29.284 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:02:48.507 PM MST</ses:endDate> + <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>9</ses:testCount> + <ses:passedCount>0</ses:passedCount> + <ses:failedCount>9</ses:failedCount> </ses:recorderSession> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanel.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>DivPanel</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>11 Jan 2005, 08:32:26.511 PM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:03:09.216 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>09C12B199EB2209376745BA19999C60E</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>28d51955:10164f76030:-7d59</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7d27</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -169,24 +169,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -203,7 +203,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>11 Jan 2005, 08:32:27.112 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:09.897 PM MST</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/DivPanelTree.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanelTree.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanelTree.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanelTree.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanelTree.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DivPanelTree.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>DivPanelTree</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>11 Jan 2005, 08:32:27.132 PM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:03:09.927 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>09C12B199EB2209376745BA19999C60E</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>28d51955:10164f76030:-7d57</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7d25</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -237,24 +237,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -271,7 +271,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>11 Jan 2005, 08:32:28.163 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:11.169 PM MST</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/IdMapAnchorLink.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapAnchorLink.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapAnchorLink.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapAnchorLink.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapAnchorLink.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapAnchorLink.xml Tue Jan 18 13:42:03 2005 @@ -2,8 +2,8 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapAnchorLink</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>15 Jan 2005, 11:05:02.343 PM MST</ses:startDate> - <ses:description>Verify that Anchor LinkName property is scoped properly.</ses:description> + <ses:startDate>18 Jan 2005, 02:03:42.714 PM MST</ses:startDate> + <ses:description>Daryl</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>5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>-2d3748ef:101879ef4ed:-7cb3</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -87,7 +91,7 @@ of the page, two link go to the real top and the test top. </p> <div style="border: thin solid;height: 100px;"></div> - <div netui:scopeId="one" > + <div netui:idScope="one" > <a id="one.top" name="one.top"></a> <h4>Fragment Identifiers and Scoped Ids</h4> <a href="#one.bottom">Bottom</a> @@ -108,16 +112,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -134,16 +138,19 @@ var p = document.getElementById("javaOut"); var val = "<b>Document Access</b><br>"; var anchorTag = document.getElementById(lookupIdByTagId("top",p)); - val = val + "Test Top ScopeId: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Test Top ScopeId: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "Test Top ID: <b>" + lookupIdByTagId("top",anchorTag) + "</b><br/>"; anchorTag = document.getElementById(lookupIdByTagId("top")); - val = val + "Real Top Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Real Top Scope Id: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "Real Top ID: <b>" + lookupIdByTagId("top") + "</b><br/>"; p.innerHTML = val; </script> </html></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> <ses:test> <ses:testNumber>2</ses:testNumber> @@ -158,7 +165,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -188,7 +195,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -199,6 +206,10 @@ <ses:value>300</ses:value> </ses:header> <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-2d3748ef:101879ef4ed:-7cb3</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -231,7 +242,7 @@ of the page, two link go to the real top and the test top. </p> <div style="border: thin solid;height: 100px;"></div> - <div netui:scopeId="one" > + <div netui:idScope="one" > <a id="one.top" name="one.top"></a> <h4>Fragment Identifiers and Scoped Ids</h4> <a href="#one.bottom">Bottom</a> @@ -252,16 +263,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -278,18 +289,24 @@ var p = document.getElementById("javaOut"); var val = "<b>Document Access</b><br>"; var anchorTag = document.getElementById(lookupIdByTagId("top",p)); - val = val + "Test Top ScopeId: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Test Top ScopeId: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "Test Top ID: <b>" + lookupIdByTagId("top",anchorTag) + "</b><br/>"; anchorTag = document.getElementById(lookupIdByTagId("top")); - val = val + "Real Top Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Real Top Scope Id: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "Real Top ID: <b>" + lookupIdByTagId("top") + "</b><br/>"; p.innerHTML = val; </script> </html></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>15 Jan 2005, 11:05:16.656 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:42.744 PM MST</ses:endDate> + <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>2</ses:testCount> + <ses:passedCount>0</ses:passedCount> + <ses:failedCount>2</ses:failedCount> </ses:recorderSession> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapForm</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:01:48.130 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:03:42.764 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7ce6</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7cb0</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -69,7 +69,7 @@ <ses:reason/> <ses:responseBody><!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="en" netui:scopeId="n0"> +<html lang="en" netui:idScope="n0"> <head> <base href="http://localhost:8080/coreWeb/idmap/form/index.jsp"> @@ -134,24 +134,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -160,26 +160,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -234,7 +234,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:01:48.801 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:42.784 PM MST</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/IdMapFormNoHtml.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapFormNoHtml</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:01:48.821 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:03:42.814 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7ce4</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7cae</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -103,24 +103,24 @@ var netui_names = new Object(); netui_names.form="form" // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -136,16 +136,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -161,11 +161,11 @@ // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } --> @@ -226,7 +226,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:01:49.842 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:42.834 PM MST</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/IdMapGenScopeId.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapGenScopeId</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:01:49.862 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:03:42.854 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7ce2</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7cac</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -69,7 +69,7 @@ <ses:reason/> <ses:responseBody><!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="en" netui:scopeId="n0"> +<html lang="en" netui:idScope="n0"> <head> <base href="http://localhost:8080/coreWeb/idmap/genScopeId/index.jsp"> @@ -80,7 +80,7 @@ perform a search using the built in methods to find a checkbox. The result should never be null. </p> - <div netui:scopeId="n1" > + <div netui:idScope="n1" > <form name="bean" action="/coreWeb/idmap/genScopeId/postForm.do" method="post"> <span id="scopeOneSpan" /> <table> @@ -130,24 +130,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -156,26 +156,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -240,7 +240,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:01:50.513 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:42.874 PM MST</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/IdMapHtmlScopeId.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapHtmlScopeId</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:01:50.533 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:03:42.904 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7ce0</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7caa</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -69,7 +69,7 @@ <ses:reason/> <ses:responseBody><!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="en" netui:scopeId="n0"> +<html lang="en" netui:idScope="n0"> <head> <base href="http://localhost:8080/coreWeb/idmap/htmlScopeId/index.jsp"> @@ -136,24 +136,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -162,26 +162,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -235,7 +235,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:01:51.194 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:42.924 PM MST</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/IdMapId.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapId</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:01:51.224 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:03:42.944 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7cde</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ca8</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -167,24 +167,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -193,26 +193,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -328,7 +328,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7cde</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7ca8</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -485,24 +485,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -511,26 +511,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -601,7 +601,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:01:52.346 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:42.984 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>2</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapLabel.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapLabel.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapLabel.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapLabel.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapLabel.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapLabel.xml Tue Jan 18 13:42:03 2005 @@ -2,8 +2,8 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapLabel</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>15 Jan 2005, 12:13:06.968 PM MST</ses:startDate> - <ses:description>Verify the tagId on the Label</ses:description> + <ses:startDate>18 Jan 2005, 02:03:43.014 PM MST</ses:startDate> + <ses:description>Daryl</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>273D63806F6974B80F6A83B373747F50</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=273D63806F6974B80F6A83B373747F50</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>-2d3748ef:101879ef4ed:-7ca5</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -65,7 +69,7 @@ <ses:reason/> <ses:responseBody><!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="en" netui:scopeId="n0"> +<html lang="en" netui:idScope="n0"> <head> <base href="http://localhost:8080/coreWeb/idmap/label/index.jsp"> @@ -130,24 +134,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -156,26 +160,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -208,8 +212,14 @@ </div> </html></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>15 Jan 2005, 12:13:16.531 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:43.034 PM MST</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/IdMapLookupScope.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapLookupScope.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapLookupScope.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapLookupScope.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapLookupScope.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapLookupScope.xml Tue Jan 18 13:42:03 2005 @@ -1,71 +1,75 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> - <ses:sessionName>IdMapLookupScope</ses:sessionName> - <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 02:37:40.627 PM MST</ses:startDate> - <ses:description>Test of the lookupScopeId method in JavaScript.</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/idmap/lookupScope/Controller.jpf</ses:uri> - <ses:method>GET</ses:method> - <ses:parameters/> - <ses:cookies> - <ses:cookie> - <ses:name>JSESSIONID</ses:name> - <ses:value>6C2841E45F1ACA2E1523E041BF3BD4F2</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=6C2841E45F1ACA2E1523E041BF3BD4F2</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.5) Gecko/20041107 Firefox/1.0</ses:value> - </ses:header> - </ses:headers> - </ses:request> - <ses:response> - <ses:statusCode>200</ses:statusCode> - <ses:reason/> +<?xml version="1.0" encoding="UTF-8"?> +<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> + <ses:sessionName>IdMapLookupScope</ses:sessionName> + <ses:tester>Daryl</ses:tester> + <ses:startDate>18 Jan 2005, 02:03:43.064 PM MST</ses:startDate> + <ses:description>Daryl</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/idmap/lookupScope/Controller.jpf</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</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>testrecorder.playback.testid</ses:name> + <ses:value>-2d3748ef:101879ef4ed:-7ca3</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.5) Gecko/20041107 Firefox/1.0</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> <ses:responseBody><!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="en" netui:scopeId="html"> +<html lang="en" netui:idScope="html"> <head> <base href="http://localhost:8080/coreWeb/idmap/lookupScope/index.jsp"> @@ -73,8 +77,8 @@ <body> <p style="color: green"> </p> - <div netui:scopeId="scope1" > - <div netui:scopeId="scope2" > + <div netui:idScope="scope1" > + <div netui:idScope="scope2" > <span id="scopeOneSpan" /> <span id="html.scope1.scope2.span">span[1] inside scopeOneSpan</span> </div> @@ -96,24 +100,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -122,16 +126,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -154,7 +158,7 @@ var s1 = document.getElementById("scopeOneSpan"); var val = "<b>Document Access</b><br>"; - val = val + "<b>ScopeId</b>: " + lookupScopeId(s1,".") + "<br>"; + val = val + "<b>ScopeId</b>: " + lookupIdScope(s1,".") + "<br>"; val = val + "Span by name is null: <b>" + (document.getElementById(lookupIdByTagId("span",s1)) == null) + "</b><br>"; @@ -174,10 +178,16 @@ </script> </div> -</html></ses:responseBody> - </ses:response> - </ses:test> - </ses:tests> - <ses:endDate>13 Jan 2005, 02:37:51.944 PM MST</ses:endDate> - <ses:testCount>1</ses:testCount> +</html></ses:responseBody> + </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> + </ses:test> + </ses:tests> + <ses:endDate>18 Jan 2005, 02:03:43.074 PM MST</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/IdMapNesting.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNesting.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNesting.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNesting.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNesting.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNesting.xml Tue Jan 18 13:42:03 2005 @@ -2,8 +2,8 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapNesting</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 02:03:57.739 PM MST</ses:startDate> - <ses:description>Test of multiple levels of nesting with matching tagId and scope Id values.</ses:description> + <ses:startDate>18 Jan 2005, 02:03:43.104 PM MST</ses:startDate> + <ses:description>Daryl</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>FD220D00F97EF9842E38205385D3192F</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=FD220D00F97EF9842E38205385D3192F</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>-2d3748ef:101879ef4ed:-7ca1</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -78,8 +82,8 @@ generateScopeId = 'true' so that we create a unique id. This will not work in the legacy lookups. </p> - <div netui:scopeId="n0" > - <div netui:scopeId="scope" > + <div netui:idScope="n0" > + <div netui:idScope="scope" > <span id="scopeOneSpan" /> <input type="text" name="{pageFlow.textOne}" id="n0.scope.textBox"> <span id="n0.scope.span" spanId="[1]">span[1] inside scopeOneSpan</span> @@ -111,24 +115,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -137,26 +141,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -168,8 +172,8 @@ </div> - <div netui:scopeId="n1" > - <div netui:scopeId="scope" > + <div netui:idScope="n1" > + <div netui:idScope="scope" > <span id="scopeTwoSpan" /> <input type="text" name="{pageFlow.textTwo}" id="n1.scope.textBox"> <span id="n1.scope.span" spanId="[1]">span[2] inside scopeTwoSpan</span> @@ -275,8 +279,14 @@ </html></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 02:04:03.637 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:43.124 PM MST</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/IdMapNonCtrls.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrls.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrls.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrls.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrls.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrls.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapNonCtrls</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>14 Jan 2005, 08:54:40.684 PM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:03:43.144 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>228B8B3835EBC169DDDADFAEF28089AE</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=228B8B3835EBC169DDDADFAEF28089AE; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>38ada972:101747830e7:-7cd7</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c9f</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -117,24 +117,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -143,16 +143,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -207,7 +207,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>14 Jan 2005, 08:54:42.076 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:43.164 PM MST</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/IdMapNonCtrlsNested.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrlsNested.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrlsNested.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrlsNested.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrlsNested.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapNonCtrlsNested.xml Tue Jan 18 13:42:03 2005 @@ -2,8 +2,8 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapNonCtrlsNested</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>14 Jan 2005, 08:29:08.371 PM MST</ses:startDate> - <ses:description>Test of the non-Ctrls in a nested situation</ses:description> + <ses:startDate>18 Jan 2005, 02:03:43.184 PM MST</ses:startDate> + <ses:description>Daryl</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>7DB5F879C1CD105FAFBD91CC2AEF8767</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=7DB5F879C1CD105FAFBD91CC2AEF8767</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>-2d3748ef:101879ef4ed:-7c9d</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -65,7 +69,7 @@ <ses:reason/> <ses:responseBody><!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="en" netui:scopeId="html"> +<html lang="en" netui:idScope="html"> <head> <base href="http://localhost:8080/coreWeb/idmap/nonCtrlsNested/index.jsp"> @@ -114,24 +118,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -140,16 +144,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -200,8 +204,14 @@ </div> </html></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>14 Jan 2005, 08:29:21.570 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:43.204 PM MST</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/IdMapScopeId.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapScopeId.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapScopeId.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapScopeId.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapScopeId.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapScopeId.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapScopeId</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:01:53.047 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:03:43.224 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7cd9</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c9b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -164,24 +164,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -190,26 +190,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -241,7 +241,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:01:53.718 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:43.244 PM MST</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/IdMapSpan.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapSpan.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapSpan.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapSpan.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapSpan.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapSpan.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapSpan</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:01:53.738 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:03:43.274 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7cd7</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c99</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -69,7 +69,7 @@ <ses:reason/> <ses:responseBody><!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html lang="en" netui:scopeId="n0"> +<html lang="en" netui:idScope="n0"> <head> <base href="http://localhost:8080/coreWeb/idmap/span/index.jsp"> @@ -106,24 +106,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -132,16 +132,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -195,7 +195,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:01:54.729 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:43.845 PM MST</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/IdMapTree.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTree.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTree.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTree.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTree.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTree.xml Tue Jan 18 13:42:03 2005 @@ -2,8 +2,8 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapTree</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>14 Jan 2005, 06:43:11.911 PM MST</ses:startDate> - <ses:description>Verify tagId support in a tree.</ses:description> + <ses:startDate>18 Jan 2005, 02:03:43.865 PM MST</ses:startDate> + <ses:description>Daryl</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>88588224A7922AA02FB2FD4D29C8CB2E</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=88588224A7922AA02FB2FD4D29C8CB2E</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>-2d3748ef:101879ef4ed:-7c97</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -65,7 +69,7 @@ <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" netui:scopeId="n0"> +<html lang="en" netui:idScope="n0"> <head> <base href="http://localhost:8080/coreWeb/idmap/tree/index.jsp"> @@ -102,16 +106,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -138,8 +142,14 @@ </div> </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>14 Jan 2005, 06:43:23.197 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:43.885 PM MST</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/IdMapTreeNoHtml.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTreeNoHtml.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTreeNoHtml.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTreeNoHtml.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTreeNoHtml.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTreeNoHtml.xml Tue Jan 18 13:42:03 2005 @@ -2,8 +2,8 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapTreeNoHtml</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>14 Jan 2005, 06:44:07.561 PM MST</ses:startDate> - <ses:description>Verify Tree tagId support outside of a ScriptContainer</ses:description> + <ses:startDate>18 Jan 2005, 02:03:43.905 PM MST</ses:startDate> + <ses:description>Daryl</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>88588224A7922AA02FB2FD4D29C8CB2E</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=88588224A7922AA02FB2FD4D29C8CB2E</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>-2d3748ef:101879ef4ed:-7c95</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -88,16 +92,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -128,8 +132,14 @@ </script> </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>14 Jan 2005, 06:44:15.342 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:43.925 PM MST</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/IdMapTreeNoHtml2.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTreeNoHtml2.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTreeNoHtml2.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTreeNoHtml2.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTreeNoHtml2.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapTreeNoHtml2.xml Tue Jan 18 13:42:03 2005 @@ -2,8 +2,8 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapTreeNoHtml2</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>14 Jan 2005, 06:45:07.737 PM MST</ses:startDate> - <ses:description>Verify Tree tagId without a ScriptContainer</ses:description> + <ses:startDate>18 Jan 2005, 02:03:43.955 PM MST</ses:startDate> + <ses:description>Daryl</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>88588224A7922AA02FB2FD4D29C8CB2E</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=88588224A7922AA02FB2FD4D29C8CB2E</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>-2d3748ef:101879ef4ed:-7c93</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -83,16 +87,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -127,8 +131,14 @@ </script> </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>14 Jan 2005, 06:45:17.792 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:43.975 PM MST</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/J161.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J161.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J161.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J161.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J161.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J161.xml Tue Jan 18 13:42:03 2005 @@ -2,8 +2,8 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>J161</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>16 Jan 2005, 06:53:18.828 PM MST</ses:startDate> - <ses:description>Verify Jira Bug 161</ses:description> + <ses:startDate>18 Jan 2005, 02:03:46.889 PM MST</ses:startDate> + <ses:description>Daryl</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>07CDCA30AF1C1A0D0D107C5AA6393873</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=07CDCA30AF1C1A0D0D107C5AA6393873</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>-2d3748ef:101879ef4ed:-7c87</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -72,7 +76,7 @@ </head> <body> <span>begin</span> - <div netui:scopeId="one" > + <div netui:idScope="one" > <form name="bean" id="Netui_Form_0" action="/coreWeb/bugs/j161/post.do" method="post"> Form Submit Anchor JS Output Test <br/> @@ -116,24 +120,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -142,16 +146,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -180,6 +184,9 @@ </html></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> <ses:test> <ses:testNumber>2</ses:testNumber> @@ -203,7 +210,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>07CDCA30AF1C1A0D0D107C5AA6393873</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -241,7 +248,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=07CDCA30AF1C1A0D0D107C5AA6393873</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -252,6 +259,10 @@ <ses:value>300</ses:value> </ses:header> <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-2d3748ef:101879ef4ed:-7c87</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -269,7 +280,7 @@ </head> <body> <span>post</span> - <div netui:scopeId="one" > + <div netui:idScope="one" > <form name="bean" id="Netui_Form_0" action="/coreWeb/bugs/j161/post.do" method="post"> Form Submit Anchor JS Output Test <br/> @@ -313,24 +324,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -339,16 +350,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -377,8 +388,14 @@ </html></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>16 Jan 2005, 06:53:29.390 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:47.951 PM MST</ses:endDate> + <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>2</ses:testCount> + <ses:passedCount>0</ses:passedCount> + <ses:failedCount>2</ses:failedCount> </ses:recorderSession> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J162.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J162.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J162.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J162.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J162.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J162.xml Tue Jan 18 13:42:03 2005 @@ -2,8 +2,8 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>J162</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>16 Jan 2005, 06:53:48.734 PM MST</ses:startDate> - <ses:description>Verify Jira bug 162</ses:description> + <ses:startDate>18 Jan 2005, 02:03:47.971 PM MST</ses:startDate> + <ses:description>Daryl</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>07CDCA30AF1C1A0D0D107C5AA6393873</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=07CDCA30AF1C1A0D0D107C5AA6393873</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>-2d3748ef:101879ef4ed:-7c84</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -75,7 +79,7 @@ with just a linkName and tagId attribute will output the lookup JavaScript. </p> - <div netui:scopeId="one" > + <div netui:idScope="one" > <a id="one.top"></a> <h4>Anchor Fragment Identifier Test</h4> <a id="one.linkBottom" href="#one.bottom">Bottom</a> @@ -95,16 +99,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -121,10 +125,10 @@ var p = document.getElementById("javaOut"); var val = "<b>Document Access</b><br>"; var anchorTag = document.getElementById(lookupIdByTagId("linkBottom",p)); - val = val + "LinkBottom Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "LinkBottom Scope Id: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "LinkBottom ID: <b>" + lookupIdByTagId("linkBottom",anchorTag) + "</b><br/>"; anchorTag = document.getElementById(lookupIdByTagId("linkTop",p)); - val = val + "LinkTop Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "LinkTop Scope Id: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "LinkTop ID: <b>" + lookupIdByTagId("linkTop",anchorTag) + "</b><br/>"; p.innerHTML = val; @@ -132,6 +136,9 @@ </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> <ses:test> <ses:testNumber>2</ses:testNumber> @@ -146,7 +153,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>07CDCA30AF1C1A0D0D107C5AA6393873</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -176,7 +183,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=07CDCA30AF1C1A0D0D107C5AA6393873</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -187,6 +194,10 @@ <ses:value>300</ses:value> </ses:header> <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-2d3748ef:101879ef4ed:-7c84</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -207,7 +218,7 @@ with just a linkName and tagId attribute will output the lookup JavaScript. </p> - <div netui:scopeId="one" > + <div netui:idScope="one" > <a id="one.top"></a> <h4>Anchor Fragment Identifier Test</h4> <a id="one.linkBottom" href="#one.bottom">Bottom</a> @@ -227,16 +238,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -253,10 +264,10 @@ var p = document.getElementById("javaOut"); var val = "<b>Document Access</b><br>"; var anchorTag = document.getElementById(lookupIdByTagId("linkBottom",p)); - val = val + "LinkBottom Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "LinkBottom Scope Id: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "LinkBottom ID: <b>" + lookupIdByTagId("linkBottom",anchorTag) + "</b><br/>"; anchorTag = document.getElementById(lookupIdByTagId("linkTop",p)); - val = val + "LinkTop Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "LinkTop Scope Id: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "LinkTop ID: <b>" + lookupIdByTagId("linkTop",anchorTag) + "</b><br/>"; p.innerHTML = val; @@ -264,8 +275,14 @@ </html>]]></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>16 Jan 2005, 06:53:58.671 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:48.542 PM MST</ses:endDate> + <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>2</ses:testCount> + <ses:passedCount>0</ses:passedCount> + <ses:failedCount>2</ses:failedCount> </ses:recorderSession> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J163.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J163.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J163.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J163.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J163.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J163.xml Tue Jan 18 13:42:03 2005 @@ -2,8 +2,8 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>J163</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>15 Jan 2005, 11:04:10.609 PM MST</ses:startDate> - <ses:description>Verify the tagId (only) will generate the lookup methods</ses:description> + <ses:startDate>18 Jan 2005, 02:03:48.572 PM MST</ses:startDate> + <ses:description>Daryl</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>5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>-2d3748ef:101879ef4ed:-7c81</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -83,7 +87,7 @@ not added to the name table. The reason for this, is that the name written for backward compatbility with old browsers. </p> - <div netui:scopeId="one" > + <div netui:idScope="one" > <a id="one.top" name="one.top"></a> <h4>Anchor Fragment Identifier Test</h4> <a href="#one.bottom">Bottom</a> @@ -103,16 +107,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -129,13 +133,16 @@ var p = document.getElementById("javaOut"); var val = "<b>Document Access</b><br>"; var anchorTag = document.getElementById(lookupIdByTagId("top",p)); - val = val + "Anchor Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Anchor Scope Id: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "Anchor ID: <b>" + lookupIdByTagId("top",anchorTag) + "</b><br/>"; p.innerHTML = val; </script> </html></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> <ses:test> <ses:testNumber>2</ses:testNumber> @@ -150,7 +157,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -180,7 +187,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=5A2AEA66A01758865EB6CD1B56B6CDAA</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -191,6 +198,10 @@ <ses:value>300</ses:value> </ses:header> <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>-2d3748ef:101879ef4ed:-7c81</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.5) Gecko/20041107 Firefox/1.0</ses:value> </ses:header> @@ -219,7 +230,7 @@ not added to the name table. The reason for this, is that the name written for backward compatbility with old browsers. </p> - <div netui:scopeId="one" > + <div netui:idScope="one" > <a id="one.top" name="one.top"></a> <h4>Anchor Fragment Identifier Test</h4> <a href="#one.bottom">Bottom</a> @@ -239,16 +250,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -265,15 +276,21 @@ var p = document.getElementById("javaOut"); var val = "<b>Document Access</b><br>"; var anchorTag = document.getElementById(lookupIdByTagId("top",p)); - val = val + "Anchor Scope Id: <b>" + lookupScopeId(anchorTag,".") + "</b><br/>"; + val = val + "Anchor Scope Id: <b>" + lookupIdScope(anchorTag,".") + "</b><br/>"; val = val + "Anchor ID: <b>" + lookupIdByTagId("top",anchorTag) + "</b><br/>"; p.innerHTML = val; </script> </html></ses:responseBody> </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>15 Jan 2005, 11:04:25.765 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:03:49.153 PM MST</ses:endDate> + <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>2</ses:testCount> + <ses:passedCount>0</ses:passedCount> + <ses:failedCount>2</ses:failedCount> </ses:recorderSession> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScript.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>JsAllScript</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:02:05.655 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:03:58.946 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cb7</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c64</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -169,24 +169,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -195,26 +195,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -259,7 +259,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -293,7 +293,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -309,7 +309,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cb7</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c64</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -363,7 +363,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -385,7 +385,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -401,7 +401,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cb7</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c64</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -514,24 +514,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -540,26 +540,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -604,7 +604,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -638,7 +638,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -654,7 +654,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cb7</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c64</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -708,7 +708,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -730,7 +730,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -746,7 +746,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cb7</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c64</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -859,24 +859,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -885,26 +885,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -949,7 +949,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -983,7 +983,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -999,7 +999,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cb7</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c64</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1053,7 +1053,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1075,7 +1075,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1091,7 +1091,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cb7</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c64</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1204,24 +1204,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1230,26 +1230,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1294,7 +1294,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1328,7 +1328,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1344,7 +1344,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cb7</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c64</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1398,7 +1398,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1420,7 +1420,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1436,7 +1436,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cb7</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c64</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1549,24 +1549,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1575,26 +1575,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1643,7 +1643,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1677,7 +1677,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1693,7 +1693,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cb7</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c64</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1747,7 +1747,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1769,7 +1769,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1785,7 +1785,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cb7</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c64</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1898,24 +1898,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1924,26 +1924,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1963,7 +1963,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:02:07.017 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:04:00.288 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>11</ses:testCount> <ses:passedCount>5</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsAllScriptHtml.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>JsAllScriptHtml</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:02:07.057 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:04:00.338 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cab</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c58</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -173,24 +173,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -199,26 +199,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -262,7 +262,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -296,7 +296,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -312,7 +312,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cab</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c58</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -370,7 +370,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -392,7 +392,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -408,7 +408,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cab</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c58</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -525,24 +525,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -551,26 +551,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -614,7 +614,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -648,7 +648,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -664,7 +664,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cab</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c58</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -722,7 +722,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -744,7 +744,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -760,7 +760,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cab</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c58</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -877,24 +877,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -903,26 +903,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -966,7 +966,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1000,7 +1000,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1016,7 +1016,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cab</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c58</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -1074,7 +1074,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1096,7 +1096,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1112,7 +1112,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cab</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c58</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -1229,24 +1229,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1255,26 +1255,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1318,7 +1318,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1352,7 +1352,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1368,7 +1368,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cab</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c58</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -1426,7 +1426,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1448,7 +1448,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1464,7 +1464,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cab</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c58</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -1581,24 +1581,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1607,26 +1607,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1674,7 +1674,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1708,7 +1708,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1724,7 +1724,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cab</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c58</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -1782,7 +1782,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1804,7 +1804,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -1820,7 +1820,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7cab</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c58</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -1937,24 +1937,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1963,26 +1963,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -2001,7 +2001,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:02:08.830 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:04:02.581 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>11</ses:testCount> <ses:passedCount>5</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsFind.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>JsFind</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:02:08.860 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:04:02.622 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c9f</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c4c</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -131,24 +131,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -157,26 +157,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -216,7 +216,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -250,7 +250,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -266,7 +266,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c9f</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c4c</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -341,24 +341,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -367,26 +367,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -426,7 +426,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -460,7 +460,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -476,7 +476,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c9f</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c4c</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -551,24 +551,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -577,26 +577,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -636,7 +636,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -670,7 +670,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -686,7 +686,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c9f</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c4c</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -761,24 +761,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -787,26 +787,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -825,7 +825,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:02:09.541 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:04:03.333 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>4</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JsNoContainers.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>JsNoContainers</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:02:11.243 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:04:05.055 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c96</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c43</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -96,24 +96,24 @@ var netui_names = new Object(); netui_names.lastName="{actionForm.lastName}" // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -129,16 +129,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -154,11 +154,11 @@ // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } --> @@ -262,7 +262,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:02:11.884 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:04:05.716 PM MST</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/MockPortal.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/MockPortal.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>MockPortal</ses:sessionName> <ses:tester>rich</ses:tester> - <ses:startDate>13 Jan 2005, 09:02:25.003 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:04:21.308 PM MST</ses:startDate> <ses:description>rich</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7c62</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c0f</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -134,24 +134,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -160,26 +160,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -252,24 +252,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -278,26 +278,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -349,7 +349,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -383,7 +383,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -395,7 +395,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c62</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c0f</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -546,7 +546,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -580,7 +580,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -592,7 +592,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c62</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c0f</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -714,7 +714,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -740,7 +740,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -752,7 +752,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c62</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c0f</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -830,24 +830,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -856,26 +856,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -956,7 +956,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7c62</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c0f</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1115,7 +1115,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7c62</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c0f</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1263,24 +1263,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1289,26 +1289,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1356,7 +1356,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -1382,7 +1382,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -1394,7 +1394,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c62</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c0f</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -1472,24 +1472,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1498,26 +1498,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1602,7 +1602,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:02:27.857 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:04:24.582 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>7</ses:testCount> <ses:passedCount>3</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/OnTest.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>OnTest</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:02:45.893 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:04:44.330 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c0a</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7bb7</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -262,24 +262,24 @@ var netui_names = new Object(); netui_names.Godzilla="Godzilla" // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -295,16 +295,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -364,7 +364,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:02:46.574 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:04:45.432 PM MST</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/RewriteNameVar.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteNameVar.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>RewriteNameVar</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>11 Jan 2005, 08:36:29.601 PM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:07:11.628 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>09C12B199EB2209376745BA19999C60E</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>28d51955:10164f76030:-79eb</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7996</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -109,24 +109,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -143,7 +143,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>11 Jan 2005, 08:36:30.151 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:07:12.329 PM MST</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/RewriteTags.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RewriteTags.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>RewriteTags</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>11 Jan 2005, 08:36:30.181 PM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:07:12.359 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>09C12B199EB2209376745BA19999C60E</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>28d51955:10164f76030:-79e9</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7994</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -108,24 +108,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -142,7 +142,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>11 Jan 2005, 08:36:30.782 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:07:13.110 PM MST</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/RtexpTagId.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RtexpTagId.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>RtexpTagId</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:05:30.430 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:07:36.102 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7967</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-790d</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -135,24 +135,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -161,26 +161,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -220,7 +220,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -254,7 +254,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -270,7 +270,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7967</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-790d</ses:value> </ses:header> <ses:header> <ses:name>testrecorder.playback.testnumber</ses:name> @@ -349,24 +349,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -375,26 +375,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -413,7 +413,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:05:31.100 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:07:36.713 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>2</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagIds.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>TagIds</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:06:13.431 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:08:20.545 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-78f8</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-789b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -157,24 +157,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -183,26 +183,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -221,7 +221,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:06:14.052 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:08:21.206 PM MST</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/TagSizeBinding.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/TagSizeBinding.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>TagSizeBinding</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:06:15.094 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:08:21.847 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-78f4</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7897</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -111,7 +111,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -133,7 +133,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -149,7 +149,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-78f4</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7897</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -201,7 +201,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -223,7 +223,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -239,7 +239,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-78f4</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7897</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -314,24 +314,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -340,16 +340,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -396,7 +396,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -430,7 +430,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -446,7 +446,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-78f4</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7897</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -518,7 +518,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -552,7 +552,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -568,7 +568,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-78f4</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7897</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -611,7 +611,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:06:17.908 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:08:24.701 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>5</ses:testCount> <ses:passedCount>4</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlAnchor.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>XhtmlAnchor</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>15 Jan 2005, 11:22:31.343 PM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:09:27.199 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>3E6EAA4BC854E1D46BA06057159FD5A5</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=3E6EAA4BC854E1D46BA06057159FD5A5; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -48,7 +48,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>12660629:1017a234d87:-780d</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-77ca</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -113,7 +113,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>3E6EAA4BC854E1D46BA06057159FD5A5</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -135,7 +135,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=3E6EAA4BC854E1D46BA06057159FD5A5; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -143,7 +143,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>12660629:1017a234d87:-780d</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-77ca</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -191,16 +191,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -231,7 +231,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>3E6EAA4BC854E1D46BA06057159FD5A5</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -253,7 +253,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=3E6EAA4BC854E1D46BA06057159FD5A5; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -261,7 +261,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>12660629:1017a234d87:-780d</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-77ca</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -314,7 +314,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>15 Jan 2005, 11:22:33.750 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:09:29.021 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>3</ses:testCount> <ses:passedCount>2</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/XhtmlFormLabel.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>XhtmlFormLabel</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>15 Jan 2005, 11:59:32.062 PM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:09:30.493 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-761cb9ae:1017a4606a0:-7801</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-77c0</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -146,24 +146,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -172,26 +172,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -206,7 +206,7 @@ </html></ses:responseBody> </ses:response> <ses:testResults> - <ses:testStatus>pass</ses:testStatus> + <ses:testStatus>fail</ses:testStatus> </ses:testResults> </ses:test> <ses:test> @@ -235,7 +235,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>B1C63D7F7CE77AAF9DD16DFB1A0E6D3A</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -269,7 +269,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=B1C63D7F7CE77AAF9DD16DFB1A0E6D3A; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -285,7 +285,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-761cb9ae:1017a4606a0:-7801</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-77c0</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -340,11 +340,11 @@ </html>]]></ses:responseBody> </ses:response> <ses:testResults> - <ses:testStatus>fail</ses:testStatus> + <ses:testStatus>pass</ses:testStatus> </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>15 Jan 2005, 11:59:34.109 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:09:32.186 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>2</ses:testCount> <ses:passedCount>1</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr180865.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>Cr180865</ses:sessionName> <ses:tester>null</ses:tester> - <ses:startDate>11 Jan 2005, 08:31:22.539 PM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:01:54.862 PM MST</ses:startDate> <ses:description>null</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>09C12B199EB2209376745BA19999C60E</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>28d51955:10164f76030:-7e2b</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7e19</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -165,24 +165,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -215,7 +215,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>09C12B199EB2209376745BA19999C60E</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -237,7 +237,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -253,7 +253,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>28d51955:10164f76030:-7e2b</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7e19</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -362,24 +362,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -412,7 +412,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>09C12B199EB2209376745BA19999C60E</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -434,7 +434,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -450,7 +450,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>28d51955:10164f76030:-7e2b</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7e19</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -559,24 +559,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -609,7 +609,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>09C12B199EB2209376745BA19999C60E</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -631,7 +631,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=09C12B199EB2209376745BA19999C60E; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -647,7 +647,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>28d51955:10164f76030:-7e2b</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7e19</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -756,24 +756,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -789,7 +789,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>11 Jan 2005, 08:31:23.480 PM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:01:55.563 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>4</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/cr183774.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>Cr183774</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:00:12.522 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:01:55.593 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -48,7 +48,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7e26</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7e14</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -104,24 +104,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -130,26 +130,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -167,7 +167,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:00:13.133 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:01:56.644 PM MST</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/jsScriptScopeId.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsScriptScopeId.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>jsScriptScopeId</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:02:13.016 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:04:07.018 PM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -40,7 +40,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c8e</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c3b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -80,7 +80,7 @@ </head> <body> <table border='1' cellspacing="0" cellpadding="5"><tr><td> - <div netui:scopeId="one" > + <div netui:idScope="one" > <form name="nameBean" id="Netui_Form_0" action="/coreWeb/javascript/jsScriptScopeId/submit.do" method="post"> <input type="hidden" name="scope" value="one"> <h4>Form One</h4> @@ -171,24 +171,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -197,26 +197,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -228,7 +228,7 @@ </td><td> - <div netui:scopeId="two" > + <div netui:idScope="two" > <form name="nameBean" id="Netui_Form_1" action="/coreWeb/javascript/jsScriptScopeId/submit.do" method="post"> <input type="hidden" name="scope" value="two"> <h4>Form Two</h4> @@ -338,7 +338,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -372,7 +372,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -388,7 +388,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c8e</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c3b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -443,7 +443,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -465,7 +465,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -481,7 +481,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c8e</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c3b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -505,7 +505,7 @@ </head> <body> <table border='1' cellspacing="0" cellpadding="5"><tr><td> - <div netui:scopeId="one" > + <div netui:idScope="one" > <form name="nameBean" id="Netui_Form_0" action="/coreWeb/javascript/jsScriptScopeId/submit.do" method="post"> <input type="hidden" name="scope" value="one"> <h4>Form One</h4> @@ -596,24 +596,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -622,26 +622,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -653,7 +653,7 @@ </td><td> - <div netui:scopeId="two" > + <div netui:idScope="two" > <form name="nameBean" id="Netui_Form_1" action="/coreWeb/javascript/jsScriptScopeId/submit.do" method="post"> <input type="hidden" name="scope" value="two"> <h4>Form Two</h4> @@ -759,7 +759,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -793,7 +793,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -809,7 +809,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c8e</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c3b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -864,7 +864,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -886,7 +886,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>cookie2</ses:name> @@ -902,7 +902,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>1db1d115:1016ccb50cb:-7c8e</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c3b</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -926,7 +926,7 @@ </head> <body> <table border='1' cellspacing="0" cellpadding="5"><tr><td> - <div netui:scopeId="one" > + <div netui:idScope="one" > <form name="nameBean" id="Netui_Form_0" action="/coreWeb/javascript/jsScriptScopeId/submit.do" method="post"> <input type="hidden" name="scope" value="one"> <h4>Form One</h4> @@ -1017,24 +1017,24 @@ } // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -1043,26 +1043,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -1074,7 +1074,7 @@ </td><td> - <div netui:scopeId="two" > + <div netui:idScope="two" > <form name="nameBean" id="Netui_Form_1" action="/coreWeb/javascript/jsScriptScopeId/submit.do" method="post"> <input type="hidden" name="scope" value="two"> <h4>Form Two</h4> @@ -1151,7 +1151,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:02:14.287 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:04:08.840 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>5</ses:testCount> <ses:passedCount>2</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsid.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>jsid</ses:sessionName> <ses:tester>daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:02:09.571 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:04:03.373 PM MST</ses:startDate> <ses:description>daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7c9a</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c47</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -124,24 +124,24 @@ // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -150,26 +150,26 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -208,7 +208,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:02:10.572 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:04:04.034 PM MST</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/jsidnohtml.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml?view=diff&rev=125550&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml&r1=125549&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml&r2=125550 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/jsidnohtml.xml Tue Jan 18 13:42:03 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>jsidnohtml</ses:sessionName> <ses:tester>daryl</ses:tester> - <ses:startDate>13 Jan 2005, 09:02:10.592 AM MST</ses:startDate> + <ses:startDate>18 Jan 2005, 02:04:04.064 PM MST</ses:startDate> <ses:description>daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>919809676555E106B8773D06B639EEE3</ses:value> + <ses:value>28450F5D07B618F4D1499E3C239BA603</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=919809676555E106B8773D06B639EEE3; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=28450F5D07B618F4D1499E3C239BA603; $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>1db1d115:1016ccb50cb:-7c98</ses:value> + <ses:value>-2d3748ef:101879ef4ed:-7c45</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -87,24 +87,24 @@ var netui_names = new Object(); netui_names.t1="{actionForm.text1}" // method which will return a real id for a tagId, -// the tag parameter will be used to find the scopeId for +// the tag parameter will be used to find the idScope for // containers that may scope their ids function getNetuiTagName(id, tag) { - var scopeId = getScopeId(tag); - if (scopeId == "") + var idScope = getScopeId(tag); + if (idScope == "") return netui_names[id]; else - return netui_names[scopeId + "__" + id]; + return netui_names[idScope + "__" + id]; } -// This method will walk the hierarchy from the pass element looking for a scopeId. -// The first scopeId found will be returned or the empty string if a scopeId is not found. +// This method will walk the hierarchy from the pass element looking for a idScope. +// The first idScope found will be returned or the empty string if a idScope is not found. function getScopeId(tag) { if (tag == null || tag.getAttribute == null) return ""; - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) return attrVal; return getScopeId(tag.parentNode); @@ -120,16 +120,16 @@ // lookup by tagId to "real id" function lookupIdByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"."); - return (scopeId == "") ? id : scopeId + id; + var idScope = lookupIdScope(tag,"."); + return (idScope == "") ? id : idScope + id; } //Non-Legacy lookup method creating a fully qualified scope id -function lookupScopeId(tag,sep) +function lookupIdScope(tag,sep) { var val = ""; while (tag != null && tag.getAttribute != null) { - var attrVal = tag.getAttribute("netui:scopeId"); + var attrVal = tag.getAttribute("netui:idScope"); if (attrVal != null) val = attrVal + sep + val; tag = tag.parentNode; @@ -145,11 +145,11 @@ // lookup by tagId to "real name" function lookupNameByTagId(id, tag) { - var scopeId = lookupScopeId(tag,"_"); - if (scopeId == "") + var idScope = lookupIdScope(tag,"_"); + if (idScope == "") return netui_tagIdNameMap[id]; else - return netui_tagIdNameMap[scopeId + "__" + id]; + return netui_tagIdNameMap[idScope + "__" + id]; } --> @@ -255,7 +255,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>13 Jan 2005, 09:02:11.213 AM MST</ses:endDate> + <ses:endDate>18 Jan 2005, 02:04:05.035 PM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>1</ses:testCount> <ses:passedCount>0</ses:passedCount>
