incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r431820 - in /incubator/adffaces/trunk/trinidad: trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/ trinidad-build/src/main/resources/META-INF/maven-faces-plugin/renderers/trinidad/ trinidad-impl/src/mai...
Date Wed, 16 Aug 2006 05:00:52 GMT
Author: awiner
Date: Tue Aug 15 22:00:51 2006
New Revision: 431820

URL: http://svn.apache.org/viewvc?rev=431820&view=rev
Log:
Check in heavily modified version of patch for ADFFACES-68: remove frameset border in afh:frameBorderLayout

Added:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/FrameRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/PdaFrameBorderLayoutRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameBorderLayoutRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameRenderer.java
Removed:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/pda/FrameBorderLayoutRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FrameBorderLayoutRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FrameRenderer.java
Modified:
    incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlFrameBorderLayout.xml
    incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/renderers/trinidad/Frame.xml
    incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/renderers/trinidad/FrameBorderLayout.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/PdaRenderKit.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/pda/PdaHtmlLookAndFeel.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLookAndFeel.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/faces-bean.properties
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/frame-minimalPPC-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/frameBorderLayout-minimalPPC-golden.xml

Modified: incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlFrameBorderLayout.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlFrameBorderLayout.xml?rev=431820&r1=431819&r2=431820&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlFrameBorderLayout.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlFrameBorderLayout.xml Tue Aug 15 22:00:51 2006
@@ -228,6 +228,39 @@
       </property-extension>
     </property>
     <property>
+      <description><![CDATA[The size of frame spacing to be rendered.]]>
+      </description>
+      <property-name>frameSpacing</property-name>
+      <property-class>int</property-class>
+      <property-extension>
+        <mfp:property-metadata>
+          <mfp:property-editor>UNSIGNED_INTEGER</mfp:property-editor>
+        </mfp:property-metadata>
+      </property-extension>
+    </property>
+    <property>
+      <description><![CDATA[The size for the border width to be rendered.]]>
+      </description>
+      <property-name>borderWidth</property-name>
+      <property-class>int</property-class>
+      <property-extension>
+        <mfp:property-metadata>
+          <mfp:property-editor>UNSIGNED_INTEGER</mfp:property-editor>
+        </mfp:property-metadata>
+      </property-extension>
+    </property>
+    <property>
+      <description><![CDATA[The size for the frame border width to be rendered.]]>
+      </description>
+      <property-name>frameBorderWidth</property-name>
+      <property-class>int</property-class>
+      <property-extension>
+        <mfp:property-metadata>
+          <mfp:property-editor>UNSIGNED_INTEGER</mfp:property-editor>
+        </mfp:property-metadata>
+      </property-extension>
+    </property>
+    <property>
       <description><![CDATA[the short description of the bean.  This text
          is commonly used by user agents to display tooltip help text.]]>
       </description>

Modified: incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/renderers/trinidad/Frame.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/renderers/trinidad/Frame.xml?rev=431820&r1=431819&r2=431820&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/renderers/trinidad/Frame.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/renderers/trinidad/Frame.xml Tue Aug 15 22:00:51 2006
@@ -21,7 +21,7 @@
     <renderer>
       <component-family>org.apache.myfaces.trinidad.Frame</component-family>
       <renderer-type>org.apache.myfaces.trinidad.Frame</renderer-type>
-      <renderer-class>org.apache.myfaces.trinidadinternal.uinode.UINodeRendererBase</renderer-class>
+      <renderer-class>org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FrameRenderer</renderer-class>
       <renderer-extension>
         <mfp:component-type>org.apache.myfaces.trinidad.HtmlFrame</mfp:component-type>
       </renderer-extension>

Modified: incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/renderers/trinidad/FrameBorderLayout.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/renderers/trinidad/FrameBorderLayout.xml?rev=431820&r1=431819&r2=431820&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/renderers/trinidad/FrameBorderLayout.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/renderers/trinidad/FrameBorderLayout.xml Tue Aug 15 22:00:51 2006
@@ -21,7 +21,7 @@
     <renderer>
       <component-family>org.apache.myfaces.trinidad.FrameBorderLayout</component-family>
       <renderer-type>org.apache.myfaces.trinidad.FrameBorderLayout</renderer-type>
-      <renderer-class>org.apache.myfaces.trinidadinternal.uinode.UINodeRendererBase</renderer-class>
+      <renderer-class>org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FrameBorderLayoutRenderer</renderer-class>
       <renderer-extension>
         <mfp:component-type>org.apache.myfaces.trinidad.HtmlFrameBorderLayout</mfp:component-type>
         <mfp:unsupported-agents>pda phone voice</mfp:unsupported-agents>

Added: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/FrameRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/FrameRenderer.java?rev=431820&view=auto
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/FrameRenderer.java (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/FrameRenderer.java Tue Aug 15 22:00:51 2006
@@ -0,0 +1,109 @@
+/*
+ * Copyright  2000-2006 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.myfaces.trinidadinternal.renderkit.core.pda;
+
+import java.io.IOException;
+
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+
+import org.apache.myfaces.trinidad.bean.FacesBean;
+import org.apache.myfaces.trinidad.bean.PropertyKey;
+import org.apache.myfaces.trinidad.logging.TrinidadLogger;
+import org.apache.myfaces.trinidad.component.html.HtmlFrame;
+import org.apache.myfaces.trinidad.component.html.HtmlFrameBorderLayout;
+
+import org.apache.myfaces.trinidadinternal.renderkit.RenderingContext;
+import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer;
+
+/**
+ * Renders a frame.
+ * <p>
+ * @version $Name:  $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/laf/base/xhtml/FrameRenderer.java#0 $) $Date: 10-nov-2005.18:53:54 $
+ * @author The Oracle ADF Faces Team
+ */
+public class FrameRenderer extends XhtmlRenderer
+{
+  public FrameRenderer()
+  {
+    this(HtmlFrame.TYPE);
+  }
+
+  protected FrameRenderer(FacesBean.Type type)
+  {
+    super(type);
+  }
+
+  @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+
+    _sourceKey = type.findKey("source");
+  }
+  
+  @Override
+  public boolean getRendersChildren()
+  {
+    return true;
+  }
+
+
+  @Override
+  protected final void encodeAll(
+    FacesContext        context,
+    RenderingContext arc,
+    UIComponent         component,
+    FacesBean           bean) throws IOException
+  {
+    UIComponent parent = component.getParent();
+
+    //
+    // complain if our parent isn't a FrameBorderLayout
+    //
+    if ((parent == null) ||
+        !HtmlFrameBorderLayout.COMPONENT_FAMILY.equals(parent.getFamily()))
+    {
+      _LOG.warning("Frames must appear inside FrameBorderLayouts");
+    }
+    else
+    {
+      ResponseWriter writer = context.getResponseWriter();
+  
+      writer.startElement("a", component);
+      renderId(context, component);
+      
+      String source = toUri(bean.getProperty(_sourceKey));
+      String shortDesc = getShortDesc(bean);
+
+      // =-=Adam Winer: OraLink is obviously not a good style class
+      // here - substitute something like trh|frame in a PDA css
+      renderStyleClass(context, arc, "OraLink");
+      renderEncodedActionURI(context, "href", source);
+      if (shortDesc != null)
+        writer.writeText(shortDesc, "shortDesc");
+      else
+        writer.writeText(source, null);
+
+      writer.endElement("a");
+    }
+  }
+
+  private PropertyKey _sourceKey;
+
+  private static final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(FrameRenderer.class);
+}

Added: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/PdaFrameBorderLayoutRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/PdaFrameBorderLayoutRenderer.java?rev=431820&view=auto
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/PdaFrameBorderLayoutRenderer.java (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/PdaFrameBorderLayoutRenderer.java Tue Aug 15 22:00:51 2006
@@ -0,0 +1,140 @@
+/*
+ * Copyright  2000-2006 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.myfaces.trinidadinternal.renderkit.core.pda;
+
+import java.io.IOException;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+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.html.HtmlFrameBorderLayout;
+import org.apache.myfaces.trinidad.logging.TrinidadLogger;
+
+import org.apache.myfaces.trinidadinternal.renderkit.RenderingContext;
+import org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer;
+import org.apache.myfaces.trinidadinternal.util.nls.LocaleUtils;
+
+/**
+ * @version $Name:  $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/laf/base/xhtml/FrameBorderLayoutRenderer.java#0 $) $Date: 10-nov-2005.18:53:53 $
+ * @author The Oracle ADF Faces Team
+ */
+public class PdaFrameBorderLayoutRenderer extends XhtmlRenderer
+{
+  public PdaFrameBorderLayoutRenderer()
+  {
+    this(HtmlFrameBorderLayout.TYPE);
+  }
+
+  protected PdaFrameBorderLayoutRenderer(FacesBean.Type type)
+  {
+    super(type);
+  }
+  
+  @Override
+  public boolean getRendersChildren()
+  {
+    return true;
+  }
+
+  @Override
+  protected void renderAllAttributes(
+      FacesContext        context,
+      RenderingContext arc,
+      FacesBean           bean) throws IOException
+  {
+    ResponseWriter writer = context.getResponseWriter();
+    
+    renderShortDescAttribute(context, arc, bean);
+    renderStyleAttributes(context, arc, bean);
+  }
+
+  @Override
+  protected final void encodeAll(
+    FacesContext        context,
+    RenderingContext arc,
+    UIComponent         component,
+    FacesBean           bean) throws IOException
+  {
+    ResponseWriter writer = context.getResponseWriter();
+
+    writer.startElement("div", component);
+    renderId(context, component);
+    renderAllAttributes(context, arc, bean);
+    
+    String leftName       = HtmlFrameBorderLayout.LEFT_FACET;
+    String innerLeftName  = HtmlFrameBorderLayout.INNER_LEFT_FACET;
+    String rightName      = HtmlFrameBorderLayout.RIGHT_FACET;
+    String innerRightName = HtmlFrameBorderLayout.INNER_RIGHT_FACET;
+
+    UIComponent center = getFacet(component, HtmlFrameBorderLayout.CENTER_FACET);
+    UIComponent top    = getFacet(component, HtmlFrameBorderLayout.TOP_FACET);
+    UIComponent bottom = getFacet(component, HtmlFrameBorderLayout.BOTTOM_FACET);
+    UIComponent left   = getFacet(component, leftName);
+    UIComponent right  = getFacet(component, rightName);
+    UIComponent innerLeft   = getFacet(component, innerLeftName);
+    UIComponent innerRight  = getFacet(component, innerRightName);
+
+    int dir = arc.getLocaleContext().getReadingDirection(); 
+    boolean r2l = (dir == LocaleUtils.DIRECTION_RIGHTTOLEFT);
+
+    if (left == null)
+    {
+      leftName = r2l ? HtmlFrameBorderLayout.END_FACET : HtmlFrameBorderLayout.START_FACET;
+      left     = getFacet(component, leftName);
+    }
+
+    if (right == null)
+    {
+      rightName = r2l ? HtmlFrameBorderLayout.START_FACET : HtmlFrameBorderLayout.END_FACET;
+      right     = getFacet(component, rightName);
+    }
+
+    if (innerLeft == null)
+    {
+      innerLeftName = r2l ? HtmlFrameBorderLayout.INNER_END_FACET : HtmlFrameBorderLayout.INNER_START_FACET;
+      innerLeft     = getFacet(component, innerLeftName);
+    }
+
+    if (innerRight == null)
+    {
+      innerRightName = r2l ? HtmlFrameBorderLayout.INNER_START_FACET : HtmlFrameBorderLayout.INNER_END_FACET;
+      innerRight     = getFacet(component, innerRightName);
+    }
+
+    _encodeFacet(context, top);
+    _encodeFacet(context, left);
+    _encodeFacet(context, innerLeft);
+    _encodeFacet(context, center);
+    _encodeFacet(context, innerRight);
+    _encodeFacet(context, right);
+    _encodeFacet(context, bottom);
+    
+    writer.endElement("div");
+  }
+
+  private void _encodeFacet(FacesContext context,
+                            UIComponent component) throws IOException
+  {
+    if (component != null)
+    {
+      encodeChild(context, component);
+      context.getResponseWriter().startElement("br", component);
+      context.getResponseWriter().endElement("br");
+    }
+  }
+}

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/PdaRenderKit.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/PdaRenderKit.java?rev=431820&r1=431819&r2=431820&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/PdaRenderKit.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/pda/PdaRenderKit.java Tue Aug 15 22:00:51 2006
@@ -28,6 +28,12 @@
     addRenderer("org.apache.myfaces.trinidad.Process",
     "org.apache.myfaces.trinidad.Train",
                 new TrainRenderer());
+    addRenderer("org.apache.myfaces.trinidad.FrameBorderLayout",
+                "org.apache.myfaces.trinidad.FrameBorderLayout",
+                new PdaFrameBorderLayoutRenderer());
+    addRenderer("org.apache.myfaces.trinidad.Frame",
+                "org.apache.myfaces.trinidad.Frame",
+                new FrameRenderer());
   }
 
   @Override

Added: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameBorderLayoutRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameBorderLayoutRenderer.java?rev=431820&view=auto
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameBorderLayoutRenderer.java (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameBorderLayoutRenderer.java Tue Aug 15 22:00:51 2006
@@ -0,0 +1,351 @@
+/*
+ * Copyright  2000-2006 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.myfaces.trinidadinternal.renderkit.core.xhtml;
+
+import java.io.IOException;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+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.html.HtmlFrameBorderLayout;
+import org.apache.myfaces.trinidad.logging.TrinidadLogger;
+
+import org.apache.myfaces.trinidadinternal.renderkit.RenderingContext;
+import org.apache.myfaces.trinidadinternal.util.nls.LocaleUtils;
+
+/**
+ * @version $Name:  $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/laf/base/xhtml/FrameBorderLayoutRenderer.java#0 $) $Date: 10-nov-2005.18:53:53 $
+ * @author The Oracle ADF Faces Team
+ */
+public class FrameBorderLayoutRenderer extends XhtmlRenderer
+{
+  public FrameBorderLayoutRenderer()
+  {
+    this(HtmlFrameBorderLayout.TYPE);
+  }
+
+  protected FrameBorderLayoutRenderer(FacesBean.Type type)
+  {
+    super(type);
+  }
+
+  @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+    
+    _onloadKey = type.findKey("onload");
+    _onunloadKey = type.findKey("onunload");
+    _frameSpacingKey = type.findKey("frameSpacing");
+    _borderWidthKey = type.findKey("borderWidth");
+    _frameBorderWidthKey = type.findKey("frameBorderWidth");
+  }
+  
+  @Override
+  public boolean getRendersChildren()
+  {
+    return true;
+  }
+
+
+  @Override
+  protected void renderAllAttributes(
+      FacesContext        context,
+      RenderingContext arc,
+      FacesBean           bean) throws IOException
+  {
+    ResponseWriter writer = context.getResponseWriter();
+    
+    renderShortDescAttribute(context, arc, bean);
+    renderStyleAttributes(context, arc, bean);
+
+    // Explicitly render rows to ensure onunload handler will fire
+    writer.writeAttribute(XhtmlConstants.ROWS_ATTRIBUTE, "100%,*", null);
+
+    if (supportsScripting(arc))
+    {
+      writer.writeAttribute("onload",
+                            bean.getProperty(_onloadKey),
+                            null);
+
+      /**
+       * =-= bts
+       * We can't chain the JavaScript because we have no way of
+       * making sure that Core.js has been included in the HEAD
+       * tag
+       */
+      // =-=AEW We no longer attempt to chain in _checkUnload() (contrary
+      // to the comment from bts, we were doing so).  Note that
+      // _checkUnload() only needs to be called from a modal window.
+      // But the only framesets we use on modal window are created
+      // by fred.jsp (and its ancestor, frameRedirect.jsp).  These
+      // use HTMLWebBean to create the frameset.
+      // We're still left with the possibility that some clients
+      // will have used FrameBorderLayoutRenderer as the top piece
+      // of a modal window, and went to the effort of adding
+      // a ScriptBean to the head section to load Core.js.
+      // We could help these people out quite a bit by modifying
+      // _checkUnload() so that firing on the BodyBean of one
+      // of the contained frames is sufficient (it should be), but let's
+      // be conservative for now about mucking around with our Javascript
+      writer.writeAttribute("onunload",
+                            bean.getProperty(_onunloadKey),
+                            null);
+    }
+  }
+
+  @Override
+  protected final void encodeAll(
+    FacesContext        context,
+    RenderingContext arc,
+    UIComponent         component,
+    FacesBean           bean) throws IOException
+  {
+    ResponseWriter writer = context.getResponseWriter();
+
+    writer.startElement("frameset", component);
+    renderId(context, component);
+
+    renderAllAttributes(context, arc, bean);
+    
+    String leftName       = HtmlFrameBorderLayout.LEFT_FACET;
+    String innerLeftName  = HtmlFrameBorderLayout.INNER_LEFT_FACET;
+    String rightName      = HtmlFrameBorderLayout.RIGHT_FACET;
+    String innerRightName = HtmlFrameBorderLayout.INNER_RIGHT_FACET;
+
+    UIComponent center = getFacet(component, HtmlFrameBorderLayout.CENTER_FACET);
+    UIComponent top    = getFacet(component, HtmlFrameBorderLayout.TOP_FACET);
+    UIComponent bottom = getFacet(component, HtmlFrameBorderLayout.BOTTOM_FACET);
+    UIComponent left   = getFacet(component, leftName);
+    UIComponent right  = getFacet(component, rightName);
+    UIComponent innerLeft   = getFacet(component, innerLeftName);
+    UIComponent innerRight  = getFacet(component, innerRightName);
+
+    int dir = arc.getLocaleContext().getReadingDirection(); 
+    boolean r2l = (dir == LocaleUtils.DIRECTION_RIGHTTOLEFT);
+
+    if (left == null)
+    {
+      leftName = r2l ? HtmlFrameBorderLayout.END_FACET : HtmlFrameBorderLayout.START_FACET;
+      left     = getFacet(component, leftName);
+    }
+
+    if (right == null)
+    {
+      rightName = r2l ? HtmlFrameBorderLayout.START_FACET : HtmlFrameBorderLayout.END_FACET;
+      right     = getFacet(component, rightName);
+    }
+
+    if (innerLeft == null)
+    {
+      innerLeftName = r2l ? HtmlFrameBorderLayout.INNER_END_FACET : HtmlFrameBorderLayout.INNER_START_FACET;
+      innerLeft     = getFacet(component, innerLeftName);
+    }
+
+    if (innerRight == null)
+    {
+      innerRightName = r2l ? HtmlFrameBorderLayout.INNER_START_FACET : HtmlFrameBorderLayout.INNER_END_FACET;
+      innerRight     = getFacet(component, innerRightName);
+    }
+
+    //sizes is set to be "top.height , * , bottom.height"
+    String sizes = _getSizeString(top,
+                                  null,
+                                  null,
+                                  bottom,
+                                  "height");
+
+    // if sizes=="*" then there is no need for a frameset since there is only
+    // the center frame
+    boolean renderTopBottomFrame = (sizes.length() > 1);
+
+    if (renderTopBottomFrame)
+    {
+      // this frameset contains the top and bottom children
+      writer.startElement("frameset", null);
+      if (!isInaccessibleMode(arc))
+      {
+        writer.writeAttribute(
+          "title",
+          arc.getTranslatedString(
+            "af_frameBorderLayout.HORIZONTAL_FRAMESET_LAYOUT_CONTAINER_TITLE"),
+          null);
+      }
+      writer.writeAttribute(XhtmlConstants.ROWS_ATTRIBUTE, sizes, null);
+    }
+
+    _renderFrameBorderAndSpacing(writer, bean);
+
+    _encodeFacet(context, top);
+
+    // sizes is set to be
+    // "left.width , innerLeft.width , * , innerRight.width , right.width"
+    sizes = _getSizeString(left,
+                           innerLeft,
+                           innerRight,
+                           right,
+                           "width");
+
+    // if sizes=="*" then there is no need for a frameset since there is only
+    // the center frame
+    boolean renderLeftRightFrame = (sizes.length() > 1);
+
+    if (renderLeftRightFrame)
+    {
+      // this frameset renders the left, center and right children
+      writer.startElement("frameset", null);
+      if (!isInaccessibleMode(arc))
+      {
+        writer.writeAttribute(
+          "title",
+          arc.getTranslatedString(
+            "af_frameBorderLayout.VERTICAL_FRAMESET_LAYOUT_CONTAINER_TITLE"),
+          null);
+      }
+      writer.writeAttribute(XhtmlConstants.COLS_ATTRIBUTE, sizes, null);
+    }
+
+    _renderFrameBorderAndSpacing(writer, bean);
+
+    _encodeFacet(context, left);
+    _encodeFacet(context, innerLeft);
+    _encodeFacet(context, center);
+    _encodeFacet(context, innerRight);
+    _encodeFacet(context, right);
+
+    if (renderLeftRightFrame)
+    {
+      // end the left-center-right frameset
+      writer.endElement("frameset");
+    }
+
+    _encodeFacet(context, bottom);
+
+    if (renderTopBottomFrame)
+    {
+      // end the top-bottom frameset
+      writer.endElement("frameset");
+    }
+
+    writer.startElement("noframes", null);
+    UIComponent alternateContent = getFacet(component,
+                                 HtmlFrameBorderLayout.ALTERNATE_CONTENT_FACET);
+    if (alternateContent != null)
+      encodeChild(context, alternateContent);
+    writer.endElement("noframes");
+
+    writer.endElement("frameset");
+  }
+
+  private String _getSizeString(
+    UIComponent outer1,
+    UIComponent inner1,
+    UIComponent inner2,
+    UIComponent outer2,
+    String attr)
+  {
+    StringBuffer buf = new StringBuffer(17);
+
+    if (outer1 != null)
+      _getPropertyValue(outer1, attr, buf).append(',');
+
+    if (inner1 != null)
+      _getPropertyValue(inner1, attr, buf).append(',');
+
+    buf.append('*');
+
+    if (inner2 != null)
+      _getPropertyValue(inner2, attr, buf.append(','));
+
+    if (outer2 != null)
+      _getPropertyValue(outer2, attr, buf.append(','));
+
+    return buf.toString();
+  }
+
+  private StringBuffer _getPropertyValue(UIComponent frame,
+                                         String attr,
+                                         StringBuffer result)
+  {
+    String val = frame.getAttributes().get(attr).toString();
+
+    if ((val==null))
+    {
+      if (_LOG.isWarning())
+        _LOG.warning("frame:" + frame.getId()
+                     + " is missing attribute:" + attr);
+      val="0";
+    }
+    result.append(val);
+    return result;
+  }
+
+  private void _encodeFacet(FacesContext context,
+                            UIComponent component) throws IOException
+  {
+    if (component != null)
+    {
+      encodeChild(context, component);
+    }
+  }
+
+  private void _renderFrameBorderAndSpacing(ResponseWriter writer,
+                                            FacesBean bean) throws IOException
+  {
+    writer.writeAttribute("framespacing", _getFrameSpacing(bean), "frameSpacing");
+    writer.writeAttribute("border", _getBorderWidth(bean), "borderWidth");
+    writer.writeAttribute("frameborder", _getFrameBorderWidth(bean), "frameBorderWidth");
+  }
+  
+  private Object _getFrameSpacing(FacesBean bean)
+  {
+    Object value = bean.getProperty(_frameSpacingKey);
+    if (value == null)
+      value = _frameSpacingKey.getDefault();
+
+    return value;
+  }
+
+  private Object _getBorderWidth(FacesBean bean)
+  {
+    Object value = bean.getProperty(_borderWidthKey);
+    if (value == null)
+      value = _borderWidthKey.getDefault();
+
+    return value;
+  }
+
+
+  private Object _getFrameBorderWidth(FacesBean bean)
+  {
+    Object value = bean.getProperty(_frameBorderWidthKey);
+    if (value == null)
+      value = _frameBorderWidthKey.getDefault();
+
+    return value;
+  }
+
+
+  private PropertyKey _onloadKey;
+  private PropertyKey _onunloadKey;
+  private PropertyKey _frameSpacingKey;
+  private PropertyKey _borderWidthKey;
+  private PropertyKey _frameBorderWidthKey;
+
+  private static final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(FrameBorderLayoutRenderer.class);
+}

Added: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameRenderer.java?rev=431820&view=auto
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameRenderer.java (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameRenderer.java Tue Aug 15 22:00:51 2006
@@ -0,0 +1,166 @@
+/*
+ * Copyright  2000-2006 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.myfaces.trinidadinternal.renderkit.core.xhtml;
+
+import java.io.IOException;
+
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+
+import org.apache.myfaces.trinidad.bean.FacesBean;
+import org.apache.myfaces.trinidad.bean.PropertyKey;
+import org.apache.myfaces.trinidad.logging.TrinidadLogger;
+import org.apache.myfaces.trinidad.component.html.HtmlFrame;
+import org.apache.myfaces.trinidad.component.html.HtmlFrameBorderLayout;
+
+import org.apache.myfaces.trinidadinternal.renderkit.RenderingContext;
+
+/**
+ * Renders a frame.
+ * <p>
+ * @version $Name:  $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/laf/base/xhtml/FrameRenderer.java#0 $) $Date: 10-nov-2005.18:53:54 $
+ * @author The Oracle ADF Faces Team
+ */
+public class FrameRenderer extends XhtmlRenderer
+{
+  public FrameRenderer()
+  {
+    this(HtmlFrame.TYPE);
+  }
+
+  protected FrameRenderer(FacesBean.Type type)
+  {
+    super(type);
+  }
+
+  @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+
+    _marginWidthKey = type.findKey("marginWidth");
+    _marginHeightKey = type.findKey("marginHeight");
+    _sourceKey = type.findKey("source");
+    _longDescUrlKey = type.findKey("longDescURL");
+    _scrollingKey = type.findKey("scrolling");
+  }
+  
+  @Override
+  public boolean getRendersChildren()
+  {
+    return true;
+  }
+
+  protected void renderAllAttributes(
+    FacesContext        context,
+    RenderingContext arc,
+    FacesBean           bean) throws IOException
+  {
+    ResponseWriter writer = context.getResponseWriter();
+
+    renderShortDescAttribute(context, arc, bean);
+    renderStyleAttributes(context, arc, bean);
+    
+    writer.writeAttribute("frameborder", "0", null);
+    writer.writeAttribute("marginwidth", 
+                          getMarginWidth(bean),
+                          "marginWidth");
+    writer.writeAttribute("marginheight",
+                          getMarginHeight(bean),
+                          "marginHeight");
+    writer.writeAttribute("noresize", Boolean.TRUE, null);
+
+    String source = toUri(bean.getProperty(_sourceKey));
+
+    renderEncodedActionURI(context, "src", source);
+
+    String longDesc = toUri(bean.getProperty(_longDescUrlKey));
+    renderEncodedActionURI(context, "longdesc", longDesc);
+
+    writer.writeAttribute("scrolling",
+                          bean.getProperty(_scrollingKey),
+                          "scrolling");
+  }
+
+  protected Object getMarginWidth(FacesBean bean)
+  {
+    Object value = bean.getProperty(_marginWidthKey);
+    if (value == null)
+      value = _marginWidthKey.getDefault();
+    return value;
+  }
+
+  protected Object getMarginHeight(FacesBean bean)
+  {
+    Object value = bean.getProperty(_marginHeightKey);
+    if (value == null)
+      value = _marginHeightKey.getDefault();
+    return value;
+  }
+
+  /**
+   * Renders the client ID as both "id" and "name"
+   */
+  @Override
+  protected void renderId(
+    FacesContext context,
+    UIComponent  component) throws IOException
+  {
+    if (shouldRenderId(context, component))
+    {
+      String clientId = getClientId(context, component);
+      context.getResponseWriter().writeAttribute("id", clientId, "id");
+      context.getResponseWriter().writeAttribute("name", clientId, "id");
+    }
+  }
+
+  @Override
+  protected final void encodeAll(
+    FacesContext        context,
+    RenderingContext arc,
+    UIComponent         component,
+    FacesBean           bean) throws IOException
+  {
+    UIComponent parent = component.getParent();
+
+    //
+    // complain if our parent isn't a FrameBorderLayout
+    //
+    if ((parent == null) ||
+        !HtmlFrameBorderLayout.COMPONENT_FAMILY.equals(parent.getFamily()))
+    {
+      _LOG.warning("Frames must appear inside FrameBorderLayouts");
+    }
+    else
+    {
+      ResponseWriter writer = context.getResponseWriter();
+  
+      writer.startElement("frame", component);
+      renderId(context, component);
+      renderAllAttributes(context, arc, bean);
+      writer.endElement("frame");
+    }
+  }
+
+  private PropertyKey _marginWidthKey;
+  private PropertyKey _marginHeightKey;
+  private PropertyKey _sourceKey;
+  private PropertyKey _longDescUrlKey;
+  private PropertyKey _scrollingKey;
+
+  private static final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(FrameRenderer.class);
+}

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/pda/PdaHtmlLookAndFeel.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/pda/PdaHtmlLookAndFeel.java?rev=431820&r1=431819&r2=431820&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/pda/PdaHtmlLookAndFeel.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/pda/PdaHtmlLookAndFeel.java Tue Aug 15 22:00:51 2006
@@ -80,7 +80,6 @@
     CONTENT_FOOTER_NAME,
     DATE_BUTTON_NAME,
     DATE_FIELD_NAME,
-    FRAME_BORDER_LAYOUT_NAME,
     GLOBAL_BUTTON_NAME,
     GLOBAL_BUTTON_BAR_NAME,
     GLOBAL_HEADER_NAME,

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLookAndFeel.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLookAndFeel.java?rev=431820&r1=431819&r2=431820&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLookAndFeel.java (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLookAndFeel.java Tue Aug 15 22:00:51 2006
@@ -99,8 +99,6 @@
     FLOW_LAYOUT_NAME,
     FORM_VALUE_NAME,
     GLOBAL_BUTTON_BAR_NAME,
-    FRAME_BORDER_LAYOUT_NAME,
-    FRAME_NAME,
     HTML_NAME,
     ICON_NAME,
     ICON_KEY_NAME,

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/faces-bean.properties
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/faces-bean.properties?rev=431820&r1=431819&r2=431820&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/faces-bean.properties (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/resources/META-INF/faces-bean.properties Tue Aug 15 22:00:51 2006
@@ -30,6 +30,8 @@
 org.apache.myfaces.trinidad.component.html.HtmlHtml=org.apache.myfaces.trinidadinternal.bean.UIXFacesBeanImpl
 org.apache.myfaces.trinidad.component.html.HtmlHead=org.apache.myfaces.trinidadinternal.bean.UIXFacesBeanImpl
 org.apache.myfaces.trinidad.component.html.HtmlBody=org.apache.myfaces.trinidadinternal.bean.UIXFacesBeanImpl
+org.apache.myfaces.trinidad.component.html.HtmlFrame=org.apache.myfaces.trinidadinternal.bean.UIXFacesBeanImpl
+org.apache.myfaces.trinidad.component.html.HtmlFrameBorderLayout=org.apache.myfaces.trinidadinternal.bean.UIXFacesBeanImpl
 org.apache.myfaces.trinidad.component.core.CoreStyleSheet=org.apache.myfaces.trinidadinternal.bean.UIXFacesBeanImpl
 org.apache.myfaces.trinidad.component.UIXDocument=org.apache.myfaces.trinidadinternal.bean.UIXFacesBeanImpl
 org.apache.myfaces.trinidad.component.UIXMessage|org.apache.myfaces.trinidad.Message=org.apache.myfaces.trinidadinternal.bean.UIXFacesBeanImpl

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/frame-minimalPPC-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/frame-minimalPPC-golden.xml?rev=431820&r1=431819&r2=431820&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/frame-minimalPPC-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/frame-minimalPPC-golden.xml Tue Aug 15 22:00:51 2006
@@ -1,468 +1,520 @@
-<results>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    
-  </noframes>
-<!--AttributeTest[longDescURL,http://bali.us.oracle.com]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    
-  </noframes>
-<!--AttributeTest[marginHeight,50]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    
-  </noframes>
-<!--AttributeTest[marginWidth,50]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    
-  </noframes>
-<!--AttributeTest[name,myName]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    
-  </noframes>
-<!--AttributeTest[scrolling,yes]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    
-  </noframes>
-<!--AttributeTest[scrolling,no]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    
-  </noframes>
-<!--AttributeTest[scrolling,auto]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    
-  </noframes>
-<!--AttributeTest[inlineStyle,background-color:blue]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    
-  </noframes>
-<!--AttributeTest[shortDesc,myShortDesc]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    
-  </noframes>
-<!--AttributeTest[styleClass,myStyle]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    
-  </noframes>
-<!--AttributeTest[height,30pt]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    
-  </noframes>
-<!--AttributeTest[width,30%]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    
-  </noframes>
-</results>
+<results>
+  <div
+       id="mainId"
+      >
+    
+    <a
+         class="OraLink"
+         id="topId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="bottomId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="centerId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[longDescURL,http://bali.us.oracle.com]-->
+
+  <div
+       id="mainId"
+      >
+    
+    <a
+         class="OraLink"
+         id="topId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="bottomId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="centerId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[marginHeight,50]-->
+
+  <div
+       id="mainId"
+      >
+    
+    <a
+         class="OraLink"
+         id="topId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="bottomId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="centerId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[marginWidth,50]-->
+
+  <div
+       id="mainId"
+      >
+    
+    <a
+         class="OraLink"
+         id="topId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="bottomId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="centerId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[name,myName]-->
+
+  <div
+       id="mainId"
+      >
+    
+    <a
+         class="OraLink"
+         id="topId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="bottomId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="centerId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[scrolling,yes]-->
+
+  <div
+       id="mainId"
+      >
+    
+    <a
+         class="OraLink"
+         id="topId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="bottomId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="centerId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[scrolling,no]-->
+
+  <div
+       id="mainId"
+      >
+    
+    <a
+         class="OraLink"
+         id="topId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="bottomId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="centerId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[scrolling,auto]-->
+
+  <div
+       id="mainId"
+      >
+    
+    <a
+         class="OraLink"
+         id="topId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="bottomId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="centerId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[inlineStyle,background-color:blue]-->
+
+  <div
+       id="mainId"
+      >
+    
+    <a
+         class="OraLink"
+         id="topId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="bottomId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="centerId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[shortDesc,myShortDesc]-->
+
+  <div
+       id="mainId"
+      >
+    
+    <a
+         class="OraLink"
+         id="topId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="bottomId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="centerId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      myShortDesc
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[styleClass,myStyle]-->
+
+  <div
+       id="mainId"
+      >
+    
+    <a
+         class="OraLink"
+         id="topId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="bottomId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="centerId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[height,30pt]-->
+
+  <div
+       id="mainId"
+      >
+    
+    <a
+         class="OraLink"
+         id="topId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="bottomId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="centerId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[width,30%]-->
+
+  <div
+       id="mainId"
+      >
+    
+    <a
+         class="OraLink"
+         id="topId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="bottomId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         id="centerId"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+</results>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/frameBorderLayout-minimalPPC-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/frameBorderLayout-minimalPPC-golden.xml?rev=431820&r1=431819&r2=431820&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/frameBorderLayout-minimalPPC-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/frameBorderLayout-minimalPPC-golden.xml Tue Aug 15 22:00:51 2006
@@ -1,130 +1,608 @@
-<results>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    no frames
-  </noframes>
-<!--AttributeTest[id,myFrameBorderId]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    no frames
-  </noframes>
-<!--AttributeTest[inlineStyle,border:dashed]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    no frames
-  </noframes>
-<!--AttributeTest[shortDesc,myShortDesc]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    no frames
-  </noframes>
-<!--AttributeTest[styleClass,myStyle]-->
-
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <a
-       class="OraLink"
-       href="uri-attr:encoded-action-url:http://www.oracle.com"
-      >
-    http://www.oracle.com
-  </a>
-  <br
-      >
-    
-  </br>
-  <noframes
-      >
-    no frames
-  </noframes>
-</results>
+<results>
+  <div
+       id="mainId"
+      >
+    
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[id,myFrameBorderId]-->
+
+  <div
+       id="myFrameBorderId"
+      >
+    
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[inlineStyle,border:dashed]-->
+
+  <div
+       id="mainId"
+       style="border:dashed"
+      >
+    
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[shortDesc,myShortDesc]-->
+
+  <div
+       id="mainId"
+       title="myShortDesc"
+      >
+    
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+<!--AttributeTest[styleClass,myStyle]-->
+
+  <div
+       class="myStyle"
+       id="mainId"
+      >
+    
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+    <div
+        >
+      
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+      <a
+           class="OraLink"
+           href="uri-attr:encoded-action-url:http://www.oracle.com"
+          >
+        http://www.oracle.com
+      </a>
+      <br
+          >
+        
+      </br>
+    </div>
+    <br
+        >
+      
+    </br>
+    <a
+         class="OraLink"
+         href="uri-attr:encoded-action-url:http://www.oracle.com"
+        >
+      http://www.oracle.com
+    </a>
+    <br
+        >
+      
+    </br>
+  </div>
+</results>



Mime
View raw message