You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sl...@apache.org on 2007/09/17 22:16:37 UTC

svn commit: r576576 [1/3] - in /myfaces/trinidad/trunk/trinidad: trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/ trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ trinidad-impl...

Author: slessard
Date: Mon Sep 17 13:16:35 2007
New Revision: 576576

URL: http://svn.apache.org/viewvc?rev=576576&view=rev
Log:
TRINIDAD-717 Added facets "ready" and "busy" to statusIndicator component.

Added:
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimal-golden.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalIE-golden.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalIERtl-golden.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalInacc-golden.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalSaf-golden.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalScrRdr-golden.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/statusIndicator-facet.xml
Modified:
    myfaces/trinidad/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreStatusIndicator.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinSelectors.java
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/StatusIndicatorRenderer.java
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/base-desktop.xss
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimal-golden.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimalIE-golden.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimalIERtl-golden.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimalInacc-golden.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimalPPC-golden.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimalSaf-golden.xml
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimalScrRdr-golden.xml

Modified: myfaces/trinidad/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreStatusIndicator.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreStatusIndicator.xml?rev=576576&r1=576575&r2=576576&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreStatusIndicator.xml (original)
+++ myfaces/trinidad/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreStatusIndicator.xml Mon Sep 17 13:16:35 2007
@@ -1,58 +1,71 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-	   
--->
-<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
-              xmlns:tr="http://myfaces.apache.org/trinidad"
-              xmlns:xi="http://www.w3.org/2001/XInclude"
-              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
-              xmlns:xhtml="http://www.w3.org/1999/xhtml">
-  <component>
-    <description><![CDATA[The statusIndicator component shows whether the page is busy processing or is ready.]]></description>
-    <icon>
-      <small-icon>/org/apache/myfaces/trinidad/metadata/icons/statusIndicator.png</small-icon>
-    </icon>
-    <component-type>org.apache.myfaces.trinidad.CoreStatusIndicator</component-type>
-    <component-class>org.apache.myfaces.trinidad.component.core.output.CoreStatusIndicator</component-class>
-
-    <xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
-    <xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
-
-
-    <component-extension>
-      <mfp:component-supertype>org.apache.myfaces.trinidad.Object</mfp:component-supertype>
-      <mfp:renderer-type>org.apache.myfaces.trinidad.StatusIndicator</mfp:renderer-type>
-      <mfp:tag-name>tr:statusIndicator</mfp:tag-name>
-      <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.core.output.CoreStatusIndicatorTag</mfp:tag-class>
-      <mfp:long-description><![CDATA[<html:p>
-            The The statusIndicator component shows whether the page is
-busy processing or is ready.
-          </html:p>]]>
-      </mfp:long-description>
-      <mfp:example>
-        <mfp:source-code>&lt;tr:statusIndicator/&gt;</mfp:source-code>
-      </mfp:example>
-      <mfp:author>Adam Winer</mfp:author>
-      <mfp:component-metadata>
-        <mfp:accepts-child-components>false</mfp:accepts-child-components>
-        <mfp:group>${md:getTranslatedString("PALETTE_OUTPUT")}</mfp:group>
-      </mfp:component-metadata>
-    </component-extension>
-  </component>
-</faces-config>
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:tr="http://myfaces.apache.org/trinidad"
+              xmlns:xi="http://www.w3.org/2001/XInclude"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:xhtml="http://www.w3.org/1999/xhtml">
+  <component>
+    <description><![CDATA[The statusIndicator component shows whether the page is busy processing or is ready.]]></description>
+    <icon>
+      <small-icon>/org/apache/myfaces/trinidad/metadata/icons/statusIndicator.png</small-icon>
+    </icon>
+    <component-type>org.apache.myfaces.trinidad.CoreStatusIndicator</component-type>
+    <component-class>org.apache.myfaces.trinidad.component.core.output.CoreStatusIndicator</component-class>
+
+    <facet>
+      <description><![CDATA[Content to be rendered when the page is ready.]]></description>
+      <facet-name>ready</facet-name>
+    </facet>
+    <facet>
+      <description><![CDATA[Content to be rendered when the page is busy processing.]]></description>
+      <facet-name>busy</facet-name>
+    </facet>
+    
+    <xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
+    <xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
+
+
+    <component-extension>
+      <mfp:component-supertype>org.apache.myfaces.trinidad.Object</mfp:component-supertype>
+      <mfp:renderer-type>org.apache.myfaces.trinidad.StatusIndicator</mfp:renderer-type>
+      <mfp:tag-name>tr:statusIndicator</mfp:tag-name>
+      <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.core.output.CoreStatusIndicatorTag</mfp:tag-class>
+      <mfp:long-description><![CDATA[<html:p>
+            The The statusIndicator component shows whether the page is
+busy processing or is ready.
+          </html:p>]]>
+      </mfp:long-description>
+      <mfp:example>
+        <mfp:source-code>
+          &lt;tr:statusIndicator&gt;
+            &lt;tr:outputText value=&quot;Loading, please wait...&quot;&gt;
+          &lt;/tr:statusIndicator&gt;
+        </mfp:source-code>
+      </mfp:example>
+      <mfp:author>Adam Winer</mfp:author>
+      <mfp:component-metadata>
+        <mfp:accepts-child-components>false</mfp:accepts-child-components>
+        <mfp:group>${md:getTranslatedString("PALETTE_OUTPUT")}</mfp:group>
+      </mfp:component-metadata>
+    </component-extension>
+  </component>
+</faces-config>

Modified: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinSelectors.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinSelectors.java?rev=576576&r1=576575&r2=576576&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinSelectors.java (original)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SkinSelectors.java Mon Sep 17 13:16:35 2007
@@ -1236,6 +1236,10 @@
    //                                                                         //
    public static final String AF_STATUS_INDICATOR_STYLE =
      "af|statusIndicator";
+   public static final String AF_STATUS_INDICATOR_BUSY_STYLE =
+     "af|statusIndicator::busy";
+   public static final String AF_STATUS_INDICATOR_READY_STYLE =
+     "af|statusIndicator::ready";
 
    // ================================ Icons ================================ //
    public static final String AF_STATUS_INDICATOR_BUSY_ICON =

Modified: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/StatusIndicatorRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/StatusIndicatorRenderer.java?rev=576576&r1=576575&r2=576576&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/StatusIndicatorRenderer.java (original)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/StatusIndicatorRenderer.java Mon Sep 17 13:16:35 2007
@@ -19,7 +19,7 @@
 package org.apache.myfaces.trinidadinternal.renderkit.core.xhtml;
 
 import java.io.IOException;
-
+import java.util.Collections;
 import java.util.Map;
 
 import javax.faces.component.UIComponent;
@@ -27,11 +27,7 @@
 import javax.faces.context.ResponseWriter;
 
 import org.apache.myfaces.trinidad.bean.FacesBean;
-import org.apache.myfaces.trinidad.bean.PropertyKey;
 import org.apache.myfaces.trinidad.component.core.output.CoreStatusIndicator;
-import org.apache.myfaces.trinidad.logging.TrinidadLogger;
-import org.apache.myfaces.trinidad.util.ArrayMap;
-
 import org.apache.myfaces.trinidad.context.RenderingContext;
 import org.apache.myfaces.trinidad.skin.Icon;
 
@@ -44,77 +40,104 @@
 
   @Override
   protected void encodeBegin(
-    FacesContext        context,
-    RenderingContext    rc,
-    UIComponent         comp,
-    FacesBean           bean) throws IOException
+    FacesContext     context,
+    RenderingContext rc,
+    UIComponent      comp,
+    FacesBean        bean) throws IOException
   {
-    Icon busyIcon = rc.getIcon(SkinSelectors.AF_STATUS_INDICATOR_BUSY_ICON);
-    Icon readyIcon = rc.getIcon(SkinSelectors.AF_STATUS_INDICATOR_READY_ICON);
-
-    if (busyIcon == null || readyIcon == null)
-    {
-      _LOG.warning("STATUS_INDICATOR_MISSING_ICONS");
-      return;
-    }
-
     ResponseWriter rw = context.getResponseWriter();
 
-    rw.startElement("span", comp);
+    String clientId = getClientId(context, comp);
+    
+    rw.startElement(XhtmlConstants.SPAN_ELEMENT, comp);
     renderId(context, comp);
     renderAllAttributes(context, rc, bean);
-    String clientId = getClientId(context, comp);
-
-    Map<String, Object> attrs = new ArrayMap<String, Object>(3);
-
-    attrs.put(Icon.ID_KEY, clientId + "::ready");
-    attrs.put(Icon.SHORT_DESC_KEY,
-              rc.getTranslatedString("af_statusIndicator.READY"));
-    readyIcon.renderIcon(context, rc, attrs);
-
-    attrs.put(Icon.INLINE_STYLE_KEY, "display:none");
-    attrs.put(Icon.ID_KEY, clientId + "::busy");
-    attrs.put(Icon.SHORT_DESC_KEY,
-              rc.getTranslatedString("af_statusIndicator.BUSY"));
-    busyIcon.renderIcon(context, rc, attrs);
-      
+    rw.startElement(XhtmlConstants.SPAN_ELEMENT, null);
+    rw.writeAttribute(XhtmlConstants.ID_ATTRIBUTE, clientId + "::ready", null);
+    renderReadyContent(context, rc, comp, bean);
+    rw.endElement(XhtmlConstants.SPAN_ELEMENT);
     
-    rw.startElement("script", null);
+    rw.startElement(XhtmlConstants.SPAN_ELEMENT, null);
+    rw.writeAttribute(XhtmlConstants.ID_ATTRIBUTE, clientId + "::busy", null);
+    rw.writeAttribute(XhtmlConstants.STYLE_ATTRIBUTE, "display:none", null);
+    renderBusyContent(context, rc, comp, bean);
+    rw.endElement(XhtmlConstants.SPAN_ELEMENT);
+      
+    rw.startElement(XhtmlConstants.SCRIPT_ELEMENT, null);
     renderScriptTypeAttribute(context, rc);
+    rw.writeText("TrStatusIndicator._register(\"" + clientId + "\");", null);
+    rw.endElement(XhtmlConstants.SCRIPT_ELEMENT);
 
-    rw.writeText("TrStatusIndicator._register(\"", null);
-    rw.writeText(clientId, null);
-    rw.writeText("\");", null);
-    
-    rw.endElement("script");
-
-    rw.endElement("span");
+    rw.endElement(XhtmlConstants.SPAN_ELEMENT);
   }
 
+  @Override
   protected String getDefaultStyleClass(FacesBean bean)
   {
     return SkinSelectors.AF_STATUS_INDICATOR_STYLE;
   }
-
-  private Map<String, Object> _getNodeAttributeMap(
-    FacesContext        context,
-    UIComponent         comp,
-    FacesBean           bean,
-    boolean             embed)
+  
+  protected void renderBusyContent(
+    FacesContext     context,
+    RenderingContext rc,
+    UIComponent      comp,
+    FacesBean        bean) throws IOException
   {
-    Map<String, Object> attrs = null;
-    attrs = new ArrayMap<String, Object>(1);
-
-    attrs.put(Icon.STYLE_CLASS_KEY, getStyleClass(bean));
-    attrs.put(Icon.ID_KEY, getClientId(context, comp));
-
-    return attrs;
+    renderDefaultContent(context, 
+                         rc, 
+                         comp,
+                         SkinSelectors.AF_STATUS_INDICATOR_BUSY_ICON,
+                         "af_statusIndicator.BUSY",
+                         "busy",
+                         SkinSelectors.AF_STATUS_INDICATOR_BUSY_STYLE);
   }
+  
+  protected void renderReadyContent(
+    FacesContext     context,
+    RenderingContext rc,
+    UIComponent      comp,
+    FacesBean        bean) throws IOException
+  {
+    renderDefaultContent(context, 
+                         rc, 
+                         comp,
+                         SkinSelectors.AF_STATUS_INDICATOR_READY_ICON,
+                         "af_statusIndicator.READY",
+                         "ready",
+                         SkinSelectors.AF_STATUS_INDICATOR_READY_STYLE);
+  }
+  
+  private void renderDefaultContent(
+    FacesContext     context,
+    RenderingContext rc,
+    UIComponent      comp,
+    String           iconName,
+    String           iconDesc,
+    String           facetName,
+    String           facetStyleClass) throws IOException
+  {
 
-  private PropertyKey _nameKey;
-
-  private static String _ICON_NAME_PREFIX = "AF";
-  private static String _ICON_NAME_SUFFIX = "Icon";
+    ResponseWriter rw = context.getResponseWriter();
 
-  private static final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(StatusIndicatorRenderer.class);
+    // Render the icon
+    Icon icon = rc.getIcon(iconName);
+    if (icon != null && !icon.isNull())
+    {
+      Map<String, String> attrs = 
+        Collections.singletonMap(Icon.SHORT_DESC_KEY, 
+                                 rc.getTranslatedString(iconDesc));
+      
+      icon.renderIcon(context, rc, attrs);
+    }
+    
+    // Render the facet
+    UIComponent facet = getFacet(comp, facetName);
+    if (facet != null)
+    {
+      rw.startElement(XhtmlConstants.SPAN_ELEMENT, null);
+      renderStyleClass(context, rc, facetStyleClass);
+      encodeChild(context, facet);
+      rw.endElement(XhtmlConstants.SPAN_ELEMENT);
+    }
+  }
 }

Modified: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/base-desktop.xss
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/base-desktop.xss?rev=576576&r1=576575&r2=576576&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/base-desktop.xss (original)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/adf/styles/base-desktop.xss Mon Sep 17 13:16:35 2007
@@ -3066,6 +3066,10 @@
 
   <style selector="af|statusIndicator"/>
 
+  <style selector="af|statusIndicator::busy"/>
+
+  <style selector="af|statusIndicator::ready"/>
+
   <!-- 
     Private ContentFooter Styles:  Not sure whether any of these
     styles need to be exposed, but if so, they need to be renamed

Added: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimal-golden.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimal-golden.xml?rev=576576&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimal-golden.xml (added)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimal-golden.xml Mon Sep 17 13:16:35 2007
@@ -0,0 +1,54 @@
+<results>
+      <span
+           class="af_statusIndicator"
+           id="mainId"
+          >
+        
+        <span
+             id="mainId::ready"
+            >
+          
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_ready"
+              >
+            The page is ready
+          </span>
+        </span>
+        <span
+             id="mainId::busy"
+             style="display:none"
+            >
+          
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_busy"
+              >
+            The page is busy
+          </span>
+        </span>
+        <script
+             type="text/javascript"
+            >
+          TrStatusIndicator._register("mainId");
+        </script>
+      </span>
+</results>

Added: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalIE-golden.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalIE-golden.xml?rev=576576&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalIE-golden.xml (added)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalIE-golden.xml Mon Sep 17 13:16:35 2007
@@ -0,0 +1,52 @@
+<results>
+      <span
+           class="af_statusIndicator"
+           id="mainId"
+          >
+        
+        <span
+             id="mainId::ready"
+            >
+          
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_ready"
+              >
+            The page is ready
+          </span>
+        </span>
+        <span
+             id="mainId::busy"
+             style="display:none"
+            >
+          
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_busy"
+              >
+            The page is busy
+          </span>
+        </span>
+        <script
+             type="text/javascript"
+            >
+          TrStatusIndicator._register("mainId");
+        </script>
+      </span>
+</results>

Added: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalIERtl-golden.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalIERtl-golden.xml?rev=576576&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalIERtl-golden.xml (added)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalIERtl-golden.xml Mon Sep 17 13:16:35 2007
@@ -0,0 +1,52 @@
+<results>
+      <span
+           class="af_statusIndicator"
+           id="mainId"
+          >
+        
+        <span
+             id="mainId::ready"
+            >
+          
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_ready"
+              >
+            The page is ready
+          </span>
+        </span>
+        <span
+             id="mainId::busy"
+             style="display:none"
+            >
+          
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_busy"
+              >
+            The page is busy
+          </span>
+        </span>
+        <script
+             type="text/javascript"
+            >
+          TrStatusIndicator._register("mainId");
+        </script>
+      </span>
+</results>

Added: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalInacc-golden.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalInacc-golden.xml?rev=576576&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalInacc-golden.xml (added)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalInacc-golden.xml Mon Sep 17 13:16:35 2007
@@ -0,0 +1,51 @@
+<results>
+      <span
+           class="af_statusIndicator"
+           id="mainId"
+          >
+        
+        <span
+             id="mainId::ready"
+            >
+          
+          <img
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_ready"
+              >
+            The page is ready
+          </span>
+        </span>
+        <span
+             id="mainId::busy"
+             style="display:none"
+            >
+          
+          <img
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_busy"
+              >
+            The page is busy
+          </span>
+        </span>
+        <script
+            >
+          TrStatusIndicator._register("mainId");
+        </script>
+      </span>
+</results>

Added: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalPPC-golden.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalPPC-golden.xml?rev=576576&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalPPC-golden.xml (added)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalPPC-golden.xml Mon Sep 17 13:16:35 2007
@@ -0,0 +1,54 @@
+<results>
+      <span
+           class="af_statusIndicator"
+           id="mainId"
+          >
+        
+        <span
+             id="mainId::ready"
+            >
+          
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_ready"
+              >
+            The page is ready
+          </span>
+        </span>
+        <span
+             id="mainId::busy"
+             style="display:none"
+            >
+          
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_busy"
+              >
+            The page is busy
+          </span>
+        </span>
+        <script
+             type="text/javascript"
+            >
+          TrStatusIndicator._register("mainId");
+        </script>
+      </span>
+</results>

Added: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalSaf-golden.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalSaf-golden.xml?rev=576576&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalSaf-golden.xml (added)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalSaf-golden.xml Mon Sep 17 13:16:35 2007
@@ -0,0 +1,54 @@
+<results>
+      <span
+           class="af_statusIndicator"
+           id="mainId"
+          >
+        
+        <span
+             id="mainId::ready"
+            >
+          
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_ready"
+              >
+            The page is ready
+          </span>
+        </span>
+        <span
+             id="mainId::busy"
+             style="display:none"
+            >
+          
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_busy"
+              >
+            The page is busy
+          </span>
+        </span>
+        <script
+             type="text/javascript"
+            >
+          TrStatusIndicator._register("mainId");
+        </script>
+      </span>
+</results>

Added: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalScrRdr-golden.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalScrRdr-golden.xml?rev=576576&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalScrRdr-golden.xml (added)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-facet-minimalScrRdr-golden.xml Mon Sep 17 13:16:35 2007
@@ -0,0 +1,54 @@
+<results>
+      <span
+           class="af_statusIndicator"
+           id="mainId"
+          >
+        
+        <span
+             id="mainId::ready"
+            >
+          
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_ready"
+              >
+            The page is ready
+          </span>
+        </span>
+        <span
+             id="mainId::busy"
+             style="display:none"
+            >
+          
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+          <span
+               class="af_statusIndicator_busy"
+              >
+            The page is busy
+          </span>
+        </span>
+        <script
+             type="text/javascript"
+            >
+          TrStatusIndicator._register("mainId");
+        </script>
+      </span>
+</results>

Modified: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimal-golden.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimal-golden.xml?rev=576576&r1=576575&r2=576576&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimal-golden.xml (original)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimal-golden.xml Mon Sep 17 13:16:35 2007
@@ -4,29 +4,37 @@
            id="mainId"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -40,29 +48,37 @@
            id="test-id"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="test-id::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="test-id::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -77,29 +93,37 @@
            style="test-inlineStyle"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -115,29 +139,37 @@
            id="mainId"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -152,29 +184,37 @@
            title="test-shortDesc"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -188,29 +228,37 @@
            id="mainId"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -225,29 +273,37 @@
            onclick="test-onclick"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -262,29 +318,37 @@
            ondblclick="test-ondblclick"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -299,29 +363,37 @@
            onkeydown="test-onkeydown"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -336,29 +408,37 @@
            onkeypress="test-onkeypress"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -373,29 +453,37 @@
            onkeyup="test-onkeyup"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -410,29 +498,37 @@
            onmousedown="test-onmousedown"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -447,29 +543,37 @@
            onmousemove="test-onmousemove"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -484,29 +588,37 @@
            onmouseout="test-onmouseout"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -521,29 +633,37 @@
            onmouseover="test-onmouseover"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -558,29 +678,37 @@
            onmouseup="test-onmouseup"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             title="Page is ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               title="Page is ready"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             title="Page is busy processing"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               title="Page is busy processing"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >

Modified: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimalIE-golden.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimalIE-golden.xml?rev=576576&r1=576575&r2=576576&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimalIE-golden.xml (original)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/statusIndicator-minimalIE-golden.xml Mon Sep 17 13:16:35 2007
@@ -4,27 +4,35 @@
            id="mainId"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -38,27 +46,35 @@
            id="test-id"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="test-id::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="test-id::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -73,27 +89,35 @@
            style="test-inlineStyle"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -109,27 +133,35 @@
            id="mainId"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -144,27 +176,35 @@
            title="test-shortDesc"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -178,27 +218,35 @@
            id="mainId"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -213,27 +261,35 @@
            onclick="test-onclick"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -248,27 +304,35 @@
            ondblclick="test-ondblclick"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -283,27 +347,35 @@
            onkeydown="test-onkeydown"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -318,27 +390,35 @@
            onkeypress="test-onkeypress"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -353,27 +433,35 @@
            onkeyup="test-onkeyup"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -388,27 +476,35 @@
            onmousedown="test-onmousedown"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -423,27 +519,35 @@
            onmousemove="test-onmousemove"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -458,27 +562,35 @@
            onmouseout="test-onmouseout"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -493,27 +605,35 @@
            onmouseover="test-onmouseover"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >
@@ -528,27 +648,35 @@
            onmouseup="test-onmouseup"
           >
         
-        <img
-             alt="Page is ready"
-             border="0"
-             height="16"
+        <span
              id="mainId::ready"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
             >
           
-        </img>
-        <img
-             alt="Page is busy processing"
-             border="0"
-             height="16"
+          <img
+               alt="Page is ready"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/siready.gif"
+              >
+            
+          </img>
+        </span>
+        <span
              id="mainId::busy"
              style="display:none"
-             width="16"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
             >
           
-        </img>
+          <img
+               alt="Page is busy processing"
+               border="0"
+               height="16"
+               width="16"
+               src="uri-attr:encoded-resource-url:/test-context-path/adf/images/sibusy.gif"
+              >
+            
+          </img>
+        </span>
         <script
              type="text/javascript"
             >