Author: ekoneil
Date: Tue Apr 26 11:07:51 2005
New Revision: 164851

URL: http://svn.apache.org/viewcvs?rev=164851&view=rev
Log:
NetUI bug fixes:

BEEHIVE-560      data grid cell tags need to support the HTML i18n attributes

  Implemented the IHtmlCore, IHtmlEvents, and IHtmlI18n interfaces on the cell 
tags.  Also implemented HTML i18n support on other data grid HTML elements 
which were missing this support.

BEEHIVE-559      data grid needs to support setting HTML attributes on the 
<table> element

  Implemented the HTML <table> attributes correctly on the <dataGrid> tag

Also added tests for tagId generation on the <th> and <td> elements.

BB: self
DRT: NetUI pass
BVT: NetUI pass


Added:
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-td.jsp
   (with props)
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-th.jsp
   (with props)
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/scriptcontainer-td.jsp
   (with props)
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/scriptcontainer-th.jsp
   (with props)
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/td-tagid.jsp
   (with props)
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/th-tagid.jsp
   (with props)
Modified:
    
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java
    
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AnchorCell.java
    
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java
    
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java
    
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/ImageCell.java
    
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/SpanCell.java
    
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Content.java
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/index.jsp
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-imagecell.jsp
    
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/DataGridTagIdMonster.xml

Modified: 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java?rev=164851&r1=164850&r2=164851&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java
 Tue Apr 26 11:07:51 2005
@@ -439,9 +439,9 @@
     }
 
     /**
-     * Set the name of the tagId for the Anchor.
+     * Set the name of the tagId for the td.
      *
-     * @param tagId - the the name of the tagId for the anchor.
+     * @param tagId - the the name of the tagId for the td.
      * @jsptagref.attributedescription The tagId.
      * @jsptagref.databindable false
      * @jsptagref.attributesyntaxvalue <i>string_tagId</i>
@@ -449,9 +449,9 @@
      * description="String value. Sets the id (or name) attribute of the 
rendered HTML tag. "
      * @netui.tldx:attribute category="general"
      */
-    public void setAnchorTagId(String tagId)
+    public void setCellTagId(String tagId)
         throws JspException {
-        _cellState.id = setRequiredValueAttribute(tagId, "tagId");
+        applyTagId(_cellState, tagId);
     }
 
     /**

Modified: 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AnchorCell.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AnchorCell.java?rev=164851&r1=164850&r2=164851&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AnchorCell.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AnchorCell.java
 Tue Apr 26 11:07:51 2005
@@ -30,6 +30,9 @@
 import org.apache.beehive.netui.tags.rendering.AbstractHtmlState;
 import org.apache.beehive.netui.tags.rendering.AbstractRenderAppender;
 import org.apache.beehive.netui.tags.rendering.AnchorTag;
+import org.apache.beehive.netui.tags.IHtmlI18n;
+import org.apache.beehive.netui.tags.IHtmlEvents;
+import org.apache.beehive.netui.tags.IHtmlCore;
 import org.apache.beehive.netui.util.ParamHelper;
 import org.apache.beehive.netui.util.Bundle;
 
@@ -42,7 +45,7 @@
  */
 public class AnchorCell
     extends AbstractHtmlTableCell
-    implements IFormattable, IUrlParams {
+    implements IFormattable, IUrlParams, IHtmlCore, IHtmlEvents, IHtmlI18n {
 
     private static final AnchorCellDecorator DECORATOR = new 
AnchorCellDecorator();
     private static final String REQUIRED_ATTR = "href, action, linkName";
@@ -252,7 +255,7 @@
      * description="The character set."
      * @netui.tldx:attribute category="misc"
      */
-    public void setCharSet(String charSet) {
+    public void setCharset(String charSet) {
         _anchorState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.CHARSET, charSet);
     }
 
@@ -385,6 +388,107 @@
     public void setAction(String action)
         throws JspException {
         _anchorCellModel.setAction(setRequiredValueAttribute(action, 
"action"));
+    }
+
+    /**
+     * Sets the lang attribute for the HTML element.
+     * @param lang
+     * @jsptagref.attributedescription The lang.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_lang</i>
+     * @netui:attribute required="false" rtexprvalue="true"
+     * description="The lang."
+     * @netui.tldx:attribute category="internationalization"
+     */
+    public void setLang(String lang)
+    {
+        _anchorState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.LANG, lang);
+    }
+
+    /**
+     * Sets the lang attribute for the HTML element.
+     * @param dir
+     * @jsptagref.attributedescription The dir.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_dir</i>
+     * @netui:attribute required="false" rtexprvalue="true"
+     * description="The dir."
+     * @netui.tldx:attribute category="internationalization"
+     */
+    public void setDir(String dir)
+    {
+        _anchorState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.DIR, dir);
+    }
+
+    /**
+     * Sets the accessKey attribute value.  This should key value of the
+     * keyboard navigation key.  It is recommended not to use the following
+     * values because there are often used by browsers <code>A, C, E, F, G,
+     * H, V, left arrow, and right arrow</code>.
+     * @param accessKey - the accessKey value.
+     * @jsptagref.attributedescription The keyboard navigation key for the 
element.
+     * The following values are not recommended because they
+     * are often used by browsers: <code>A, C, E, F, G,
+     * H, V, left arrow, and right arrow</code>
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_accessKey</i>
+     * @netui:attribute required="false" rtexprvalue="true"  type="char"
+     * description=" The keyboard navigation key for the element.
+     * The following values are not recommended because they
+     * are often used by browsers: A, C, E, F, G,
+     * H, V, left arrow, and right arrow."
+     * @netui.tldx:attribute category="misc"
+     */
+    public void setAccessKey(char accessKey) {
+        if (accessKey == 0x00)
+            return;
+        _anchorState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.ACCESSKEY, Character.toString(accessKey));
+    }
+
+    /**
+     * Sets the tabIndex of the rendered html tag.
+     * @param tabindex - the tab index.
+     * @jsptagref.attributedescription The tabIndex of the rendered HTML tag.  
This attribute determines the position of the
+     * rendered HTML tag in the sequence of tags that the user may advance 
through by pressing the TAB key.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_tabIndex</i>
+     * @netui:attribute required="false"  rtexprvalue="true" type="int"
+     * description="The tabIndex of the rendered HTML tag.  This attribute 
determines the position of the
+     * rendered HTML tag in the sequence of tags that the user may advance 
through by pressing the TAB key."
+     * @netui.tldx:attribute category="misc"
+     */
+    public void setTabindex(int tabindex) {
+        _anchorState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.TABINDEX, Integer.toString(tabindex));
+    }
+
+    /**
+     * Sets the onBlur javascript event.
+     * @param onblur - the onBlur event.
+     * @jsptagref.attributedescription The onBlur JavaScript event.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_onBlur</i>
+     * @netui:attribute required="false" rtexprvalue="true"
+     * description="The onBlur JavaScript event."
+     * @netui.tldx:attribute 
propertyclass="workshop.jspdesigner.properties.EventPropertyClass" 
category="event"
+     */
+    public void setOnBlur(String onblur)
+    {
+        _anchorState.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, 
HtmlConstants.ONBLUR, onblur);
+    }
+
+    /**
+     * Sets the onFocus javascript event.
+     * @param onfocus - the onFocus event.
+     * @jsptagref.attributedescription The onFocus JavaScript event.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_onFocus</i>
+     * @netui:attribute required="false" rtexprvalue="true"
+     * description="The onFocus JavaScript event."
+     * @netui.tldx:attribute 
propertyclass="workshop.jspdesigner.properties.EventPropertyClass" 
category="event"
+     */
+    public void setOnFocus(String onfocus)
+    {
+        _anchorState.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, 
HtmlConstants.ONFOCUS, onfocus);
     }
 
     /**

Modified: 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java?rev=164851&r1=164850&r2=164851&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java
 Tue Apr 26 11:07:51 2005
@@ -40,11 +40,15 @@
 import org.apache.beehive.netui.script.common.IDataAccessProvider;
 import org.apache.beehive.netui.script.common.DataAccessProviderStack;
 import org.apache.beehive.netui.tags.ExpressionHandling;
-import org.apache.beehive.netui.tags.AbstractSimpleTag;
 import org.apache.beehive.netui.tags.IBehaviorConsumer;
+import org.apache.beehive.netui.tags.IHtmlI18n;
+import org.apache.beehive.netui.tags.IHtmlEvents;
+import org.apache.beehive.netui.tags.IHtmlCore;
+import org.apache.beehive.netui.tags.html.HtmlConstants;
 import org.apache.beehive.netui.tags.rendering.AbstractRenderAppender;
 import org.apache.beehive.netui.tags.rendering.StringBuilderRenderAppender;
 import org.apache.beehive.netui.tags.rendering.TableTag;
+import org.apache.beehive.netui.tags.rendering.AbstractHtmlState;
 import org.apache.beehive.netui.util.iterator.IteratorFactory;
 import org.apache.beehive.netui.util.Bundle;
 
@@ -55,7 +59,7 @@
  */
 public class DataGrid
     extends AbstractDataGridHtmlTag
-    implements IDataAccessProvider, IBehaviorConsumer {
+    implements IDataAccessProvider, IBehaviorConsumer, IHtmlCore, IHtmlEvents, 
IHtmlI18n {
 
     private static final String FACET_RESOURCE = "resource";
 
@@ -67,7 +71,7 @@
     private String _resourceBundlePath = null;
     private DataGridConfig _dataGridConfig = null;
     private DataGridTagModel _dataGridTagModel = null;
-    private TableTag.State _tableTag = new TableTag.State();
+    private TableTag.State _tableState = new TableTag.State();
 
     public String getTagName() {
         return "DataGrid";
@@ -145,6 +149,320 @@
     }
 
     /**
+     * Sets the onClick javascript event.
+     *
+     * @param onClick - the onClick event.
+     * @jsptagref.attributedescription The onClick JavaScript event.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_onClick</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
onClick JavaScript event."
+     * @netui.tldx:attribute 
propertyclass="workshop.jspdesigner.properties.EventPropertyClass" 
category="event"
+     */
+    public void setOnClick(String onClick) {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, 
HtmlConstants.ONCLICK, onClick);
+    }
+
+    /**
+     * Sets the onDblClick javascript event.
+     *
+     * @param onDblClick - the onDblClick event.
+     * @jsptagref.attributedescription The onDblClick JavaScript event.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_onDblClick</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
onDblClick JavaScript event."
+     * @netui.tldx:attribute 
propertyclass="workshop.jspdesigner.properties.EventPropertyClass" 
category="event"
+     */
+    public void setOnDblClick(String onDblClick) {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, 
HtmlConstants.ONDBLCLICK, onDblClick);
+    }
+
+    /**
+     * Sets the onKeyDown javascript event.
+     *
+     * @param onKeyDown - the onKeyDown event.
+     * @jsptagref.attributedescription The onKeyDown JavaScript event.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_onKeyDown</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
onKeyDown JavaScript event."
+     * @netui.tldx:attribute 
propertyclass="workshop.jspdesigner.properties.EventPropertyClass" 
category="event"
+     */
+    public void setOnKeyDown(String onKeyDown) {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, 
HtmlConstants.ONKEYDOWN, onKeyDown);
+    }
+
+    /**
+     * Sets the onKeyUp javascript event.
+     *
+     * @param onKeyUp - the onKeyUp event.
+     * @jsptagref.attributedescription The onKeyUp JavaScript event.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_onKeyUp</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
onKeyUp JavaScript event."
+     * @netui.tldx:attribute 
propertyclass="workshop.jspdesigner.properties.EventPropertyClass" 
category="event"
+     */
+    public void setOnKeyUp(String onKeyUp) {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, 
HtmlConstants.ONKEYUP, onKeyUp);
+    }
+
+    /**
+     * Sets the onKeyPress javascript event.
+     *
+     * @param onKeyPress - the onKeyPress event.
+     * @jsptagref.attributedescription The onKeyPress JavaScript event.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_onKeyPress</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
onKeyPress JavaScript event."
+     * @netui.tldx:attribute 
propertyclass="workshop.jspdesigner.properties.EventPropertyClass" 
category="event"
+     */
+    public void setOnKeyPress(String onKeyPress) {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, 
HtmlConstants.ONKEYPRESS, onKeyPress);
+    }
+
+    /**
+     * Sets the onMouseDown javascript event.
+     *
+     * @param onMouseDown - the onMouseDown event.
+     * @jsptagref.attributedescription The onMouseDown JavaScript event.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_onMouseDown</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
onMouseDown JavaScript event."
+     * @netui.tldx:attribute 
propertyclass="workshop.jspdesigner.properties.EventPropertyClass" 
category="event"
+     */
+    public void setOnMouseDown(String onMouseDown) {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, 
HtmlConstants.ONMOUSEDOWN, onMouseDown);
+    }
+
+    /**
+     * Sets the onMouseUp javascript event.
+     *
+     * @param onMouseUp - the onMouseUp event.
+     * @jsptagref.attributedescription The onMouseUp JavaScript event.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_onMouseUp</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
onMouseUp JavaScript event."
+     * @netui.tldx:attribute 
propertyclass="workshop.jspdesigner.properties.EventPropertyClass" 
category="event"
+     */
+    public void setOnMouseUp(String onMouseUp) {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, 
HtmlConstants.ONMOUSEUP, onMouseUp);
+    }
+
+    /**
+     * Sets the onMouseMove javascript event.
+     *
+     * @param onMouseMove - the onMouseMove event.
+     * @jsptagref.attributedescription The onMouseMove JavaScript event.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_onMouseMove</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
onMouseMove JavaScript event."
+     * @netui.tldx:attribute 
propertyclass="workshop.jspdesigner.properties.EventPropertyClass" 
category="event"
+     */
+    public void setOnMouseMove(String onMouseMove) {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, 
HtmlConstants.ONMOUSEMOVE, onMouseMove);
+    }
+
+    /**
+     * Sets the onMouseOut javascript event.
+     *
+     * @param onMouseOut - the onMouseOut event.
+     * @jsptagref.attributedescription The onMouseOut JavaScript event.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_onMouseOut</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
onMouseOut JavaScript event."
+     * @netui.tldx:attribute 
propertyclass="workshop.jspdesigner.properties.EventPropertyClass" 
category="event"
+     */
+    public void setOnMouseOut(String onMouseOut) {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, 
HtmlConstants.ONMOUSEOUT, onMouseOut);
+    }
+
+    /**
+     * Sets the onMouseOver javascript event.
+     *
+     * @param onMouseOver - the onMouseOver event.
+     * @jsptagref.attributedescription The onMouseOver JavaScript event.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_onMouseOver</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
onMouseOver JavaScript event."
+     * @netui.tldx:attribute 
propertyclass="workshop.jspdesigner.properties.EventPropertyClass" 
category="event"
+     */
+    public void setOnMouseOver(String onMouseOver) {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, 
HtmlConstants.ONMOUSEOVER, onMouseOver);
+    }
+
+    /**
+     * Sets the style of the rendered html tag.
+     *
+     * @param style - the html style.
+     * @jsptagref.attributedescription The style.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_style</i>
+     * @netui:attribute required="false"  rtexprvalue="true" description="The 
style."
+     * @netui.tldx:attribute 
propertyclass="workshop.jspdesigner.properties.JspStyleProperty" 
category="format"
+     */
+    public void setStyle(String style) {
+        if("".equals(style)) return;
+
+        _tableState.style = style;
+    }
+
+    /**
+     * Sets the style class of the rendered html tag.
+     *
+     * @param styleClass - the html style class.
+     * @jsptagref.attributedescription The style class.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_style_class</i>
+     * @netui:attribute required="false"  rtexprvalue="true" description="The 
style class."
+     * @netui.tldx:attribute category="Format"
+     */
+    public void setStyleClass(String styleClass) {
+        if("".equals(styleClass)) return;
+
+        _tableState.styleClass = styleClass;
+    }
+
+    /**
+     * Sets the value of the title attribute.
+     *
+     * @param title
+     * @jsptagref.attributedescription The title.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_title</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
title. "
+     * @netui.tldx:attribute category="misc"
+     */
+    public void setTitle(String title) {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.TITLE, title);
+    }
+
+    /**
+     * Sets the lang attribute for the HTML element.
+     * @param lang
+     * @jsptagref.attributedescription The lang.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_lang</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
lang."
+     * @netui.tldx:attribute
+     */
+    public void setLang(String lang)
+    {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.LANG, lang);
+    }
+
+    /**
+     * Sets the lang attribute for the HTML element.
+     * @param dir
+     * @jsptagref.attributedescription The dir.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_dir</i>
+     * @netui:attribute required="false" rtexprvalue="true"
+     * description="The dir."
+     * @netui.tldx:attribute category="internationalization"
+     */
+    public void setDir(String dir)
+    {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.DIR, dir);
+    }
+
+    /**
+     * Sets the summary attribute for the generated HTML table.
+     * @param summary
+     * @jsptagref.attributedescription The summary.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_summary</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
summary."
+     * @netui.tldx:attribute
+     */
+    public void setSummary(String summary)
+    {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.SUMMARY, summary);
+    }
+
+    /**
+     * Sets the width attribute for the generated HTML table.
+     * @param width
+     * @jsptagref.attributedescription The width.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_width</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
width."
+     * @netui.tldx:attribute
+     */
+    public void setWidth(String width)
+    {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.WIDTH, width);
+    }
+
+    /**
+     * Sets the border attribute for the generated HTML table.
+     * @param border
+     * @jsptagref.attributedescription The border.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_dir</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
border."
+     * @netui.tldx:attribute
+     */
+    public void setBorder(String border)
+    {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.BORDER, border);
+    }
+
+    /**
+     * Sets the frame attribute for the generated HTML table.
+     * @param frame
+     * @jsptagref.attributedescription The frame.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_frame</i>
+     * @netui:attribute required="false" rtexprvalue="true"
+     * description="The frame."
+     * @netui.tldx:attribute category="internationalization"
+     */
+    public void setFrame(String frame)
+    {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.FRAME, frame);
+    }
+
+    /**
+     * Sets the lang attribute for the HTML element.
+     * @param rules
+     * @jsptagref.attributedescription The rules.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_rules</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
rules."
+     * @netui.tldx:attribute
+     */
+    public void setRules(String rules)
+    {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.RULES, rules);
+    }
+
+    /**
+     * Sets the lang attribute for the HTML element.
+     * @param cellspacing
+     * @jsptagref.attributedescription The cellspacing.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_cellspacing</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
cellspacing."
+     * @netui.tldx:attribute
+     */
+    public void setCellspacing(String cellspacing)
+    {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.CELLSPACING, cellspacing);
+    }
+
+    /**
+     * Sets the lang attribute for the HTML element.
+     * @param cellpadding
+     * @jsptagref.attributedescription The cellpadding.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_cellpadding</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
cellpadding."
+     * @netui.tldx:attribute
+     */
+    public void setCellpadding(String cellpadding)
+    {
+        _tableState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.CELLPADDING, cellpadding);
+    }
+
+    /**
      * Set the name of the tagId for the table tag.
      *
      * @param tagId - the the name of the tagId for the table tag.
@@ -157,7 +475,7 @@
      */
     public void setTagId(String tagId)
         throws JspException {
-        applyTagId(_tableTag, tagId);
+        applyTagId(_tableState, tagId);
     }
 
     /**
@@ -216,8 +534,8 @@
         if(fragment != null) {
             String javascript = null;
             /* render any JavaScript needed to support framework features */
-            if (_tableTag.id != null) {
-                javascript = renderNameAndId(request, _tableTag, null);
+            if (_tableState.id != null) {
+                javascript = renderNameAndId(request, _tableState, null);
             }
 
             boolean addedDataAccessProvider = false;
@@ -249,8 +567,8 @@
                 if(!_dataGridTagModel.isDisableDefaultPagerRendering())
                     _dataGridTagModel.renderPager(appender);
 
-                _tableTag.styleClass = styleModel.getTableClass();
-                tableRenderer.openTable(_tableTag, appender);
+                _tableState.styleClass = styleModel.getTableClass();
+                tableRenderer.openTable(_tableState, appender);
 
                 /* render the caption */
                 
_dataGridTagModel.changeRenderState(DataGridTagModel.RENDER_STATE_CAPTION);
@@ -308,7 +626,7 @@
 
                 if(javascript != null)
                     appender.append(javascript);
-                
+
                 
_dataGridTagModel.changeRenderState(DataGridTagModel.RENDER_STATE_END);
 
                 write(builder.toString());

Modified: 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java?rev=164851&r1=164850&r2=164851&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java
 Tue Apr 26 11:07:51 2005
@@ -50,8 +50,8 @@
  * @netui.tldx:tag whitespace="indent"
  */
 public class HeaderCell
-        extends AbstractCell
-        implements IFormattable, IBehaviorConsumer, IAttributeConsumer {
+    extends AbstractCell
+    implements IFormattable, IBehaviorConsumer, IAttributeConsumer {
 
     private static final String TAG_NAME = "HeaderCell";
     private static final String ATTRIBUTE_HEADER_NAME = "header";
@@ -526,9 +526,9 @@
      * description="String value. Sets the id (or name) attribute of the 
rendered HTML tag. "
      * @netui.tldx:attribute category="general"
      */
-    public void setTagId(String tagId)
+    public void setCellTagId(String tagId)
         throws JspException {
-        applyIndexedTagId(_cellState, tagId);
+        applyTagId(_cellState, tagId);
     }
 
 

Modified: 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/ImageCell.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/ImageCell.java?rev=164851&r1=164850&r2=164851&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/ImageCell.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/ImageCell.java
 Tue Apr 26 11:07:51 2005
@@ -28,6 +28,9 @@
 import org.apache.beehive.netui.tags.rendering.AbstractRenderAppender;
 import org.apache.beehive.netui.tags.rendering.ImageTag;
 import org.apache.beehive.netui.tags.html.HtmlConstants;
+import org.apache.beehive.netui.tags.IHtmlEvents;
+import org.apache.beehive.netui.tags.IHtmlCore;
+import org.apache.beehive.netui.tags.IHtmlI18n;
 
 /**
  * @jsptagref.tagdescription Renders a column of images in a data grid.
@@ -35,7 +38,8 @@
  * @netui.tldx:tag 
renderer="workshop.netui.jspdesigner.tldx.ImageColumnRenderer" 
whitespace="indent"
  */
 public class ImageCell
-        extends AbstractHtmlTableCell {
+    extends AbstractHtmlTableCell
+    implements IHtmlCore, IHtmlEvents, IHtmlI18n {
 
     private static final ImageCellDecorator DECORATOR = new 
ImageCellDecorator();
     private static final String IMAGE_FACET_NAME = "image";
@@ -234,6 +238,36 @@
     }
 
     /**
+     * Sets the lang attribute for the HTML element.
+     * @param lang
+     * @jsptagref.attributedescription The lang.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_lang</i>
+     * @netui:attribute required="false" rtexprvalue="true"
+     * description="The lang."
+     * @netui.tldx:attribute category="internationalization"
+     */
+    public void setLang(String lang)
+    {
+        _imageState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.LANG, lang);
+    }
+
+    /**
+     * Sets the lang attribute for the HTML element.
+     * @param dir
+     * @jsptagref.attributedescription The dir.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_dir</i>
+     * @netui:attribute required="false" rtexprvalue="true"
+     * description="The dir."
+     * @netui.tldx:attribute category="internationalization"
+     */
+    public void setDir(String dir)
+    {
+        _imageState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.DIR, dir);
+    }
+
+    /**
      * @jsptagref.attributedescription The source of the image to display.
      * @jsptagref.databindable Read Only
      * @jsptagref.attributesyntaxvalue <i>literal_or_expression_src</i>
@@ -305,6 +339,20 @@
      */
     public void setWidth(String width) {
         _imageState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.WIDTH, width);
+    }
+
+    /**
+     * Sets the property to specify the longdesc of the image.
+     *
+     * @param longdesc - the longdesc attribute
+     * @jsptagref.attributedescription The alternative text of the image
+     * @jsptagref.databindable Read Only
+     * @jsptagref.attributesyntaxvalue <i>string_longdesc</i>
+     * @netui:attribute required="false" rtexprvalue="true" description="The 
longdesc of the image."
+     * @netui.tldx:attribute
+     */
+    public void setLongdesc(String longdesc) {
+        _imageState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.LONGDESC, longdesc);
     }
 
     /**

Modified: 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/SpanCell.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/SpanCell.java?rev=164851&r1=164850&r2=164851&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/SpanCell.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/SpanCell.java
 Tue Apr 26 11:07:51 2005
@@ -29,6 +29,9 @@
 import org.apache.beehive.netui.tags.rendering.AbstractHtmlState;
 import org.apache.beehive.netui.tags.rendering.AbstractRenderAppender;
 import org.apache.beehive.netui.tags.rendering.SpanTag;
+import org.apache.beehive.netui.tags.IHtmlCore;
+import org.apache.beehive.netui.tags.IHtmlI18n;
+import org.apache.beehive.netui.tags.IHtmlEvents;
 
 /**
  * @jsptagref.tagdescription Renders a column of data in a data grid.
@@ -36,8 +39,8 @@
  * @netui.tldx:tag whitespace="indent"
  */
 public class SpanCell
-        extends AbstractHtmlTableCell
-        implements IFormattable {
+    extends AbstractHtmlTableCell
+    implements IFormattable, IHtmlCore, IHtmlEvents, IHtmlI18n {
 
     private static final SpanCellDecorator DECORATOR = new SpanCellDecorator();
     private static final String SPAN_FACET_NAME = "span";
@@ -233,6 +236,36 @@
      */
     public void setTitle(String title) {
         _spanState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.TITLE, title);
+    }
+
+    /**
+     * Sets the lang attribute for the HTML element.
+     * @param lang
+     * @jsptagref.attributedescription The lang.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_lang</i>
+     * @netui:attribute required="false" rtexprvalue="true"
+     * description="The lang."
+     * @netui.tldx:attribute category="internationalization"
+     */
+    public void setLang(String lang)
+    {
+        _spanState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.LANG, lang);
+    }
+
+    /**
+     * Sets the lang attribute for the HTML element.
+     * @param dir
+     * @jsptagref.attributedescription The dir.
+     * @jsptagref.databindable false
+     * @jsptagref.attributesyntaxvalue <i>string_dir</i>
+     * @netui:attribute required="false" rtexprvalue="true"
+     * description="The dir."
+     * @netui.tldx:attribute category="internationalization"
+     */
+    public void setDir(String dir)
+    {
+        _spanState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, 
HtmlConstants.DIR, dir);
     }
 
     /**

Modified: 
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Content.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Content.java?rev=164851&r1=164850&r2=164851&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Content.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Content.java
 Tue Apr 26 11:07:51 2005
@@ -56,9 +56,10 @@
  * </tr>
  * </table>
  * </blockquote>
- * @example In this sample, the Content tag displays the Form Bean's 
<code>lastName</code> property.
+ * @example In this sample, the Content tag displays a Form Bean's 
<code>lastName</code> property.
  * <pre>
- * &lt;netui:content value="{actionForm.lastName}" /></pre>
+ * &lt;netui:content value="${actionForm.lastName}"/>
+ * </pre>
  * @netui:tag name="content" body-content="empty" description="Used to display 
text or the result of an expression to the page."
  * @netui.tldx:tag requiredchild="#nothing" 
renderer="workshop.netui.jspdesigner.tldx.ContentRenderer" 
bodycontentpref="empty"
  */

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/index.jsp
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/index.jsp?rev=164851&r1=164850&r2=164851&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/index.jsp
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/index.jsp
 Tue Apr 26 11:07:51 2005
@@ -34,6 +34,12 @@
         <tr><td>Table</td></tr>
         <tr><td><netui:anchor href="legacy-table.jsp" value="Legacy 
Table"/></td></tr>
         <tr><td><netui:anchor href="scriptcontainer-table.jsp" 
value="ScriptContainer Table"/></td></tr>
+        <tr><td>Th</td></tr>
+        <tr><td><netui:anchor href="legacy-th.jsp" value="Legacy 
Th"/></td></tr>
+        <tr><td><netui:anchor href="scriptcontainer-th.jsp" 
value="ScriptContainer Th"/></td></tr>
+        <tr><td>Td</td></tr>
+        <tr><td><netui:anchor href="legacy-td.jsp" value="Legacy 
Td"/></td></tr>
+        <tr><td><netui:anchor href="scriptcontainer-td.jsp" 
value="ScriptContainer Td"/></td></tr>
         <tr><td>All</td></tr>
         <tr><td><netui:anchor href="legacy-all.jsp" value="Legacy 
All"/></td></tr>
         <tr><td><netui:anchor href="scriptcontainer-all.jsp" 
value="ScriptContainer All"/></td></tr>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-imagecell.jsp
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-imagecell.jsp?rev=164851&r1=164850&r2=164851&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-imagecell.jsp
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-imagecell.jsp
 Tue Apr 26 11:07:51 2005
@@ -10,7 +10,7 @@
     <datagrid:portfolioXmlBean/>
     <br/>
     <br/>
-    <%@ include file="imagecell-tagid.jsp" %>
+    <%@ include file="th-tagid.jsp" %>
     <br/>
     <br/>
     </p>

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-td.jsp
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-td.jsp?rev=164851&view=auto
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-td.jsp
 (added)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-td.jsp
 Tue Apr 26 11:07:51 2005
@@ -0,0 +1,18 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0"; prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0"; 
prefix="netui-data"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0"; 
prefix="netui-template"%>
+<%@ taglib prefix="datagrid" 
tagdir="/WEB-INF/tags/org/apache/beehive/netui/test/databinding/tagfiles" %>
+<netui-template:template templatePage="../site/template.jsp">
+    <netui-template:setAttribute name="title" value="Basic Data Grid"/>
+    <netui-template:section name="body">
+    <p>
+    <datagrid:portfolioXmlBean/>
+    <br/>
+    <br/>
+    <%@ include file="td-tagid.jsp" %>
+    <br/>
+    <br/>
+    </p>
+    </netui-template:section>
+</netui-template:template>

Propchange: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-td.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-th.jsp
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-th.jsp?rev=164851&view=auto
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-th.jsp
 (added)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-th.jsp
 Tue Apr 26 11:07:51 2005
@@ -0,0 +1,18 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0"; prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0"; 
prefix="netui-data"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0"; 
prefix="netui-template"%>
+<%@ taglib prefix="datagrid" 
tagdir="/WEB-INF/tags/org/apache/beehive/netui/test/databinding/tagfiles" %>
+<netui-template:template templatePage="../site/template.jsp">
+    <netui-template:setAttribute name="title" value="Basic Data Grid"/>
+    <netui-template:section name="body">
+    <p>
+    <datagrid:portfolioXmlBean/>
+    <br/>
+    <br/>
+    <%@ include file="th-tagid.jsp" %>
+    <br/>
+    <br/>
+    </p>
+    </netui-template:section>
+</netui-template:template>

Propchange: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/legacy-th.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/scriptcontainer-td.jsp
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/scriptcontainer-td.jsp?rev=164851&view=auto
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/scriptcontainer-td.jsp
 (added)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/scriptcontainer-td.jsp
 Tue Apr 26 11:07:51 2005
@@ -0,0 +1,21 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0"; prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0"; 
prefix="netui-data"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0"; 
prefix="netui-template"%>
+<%@ taglib prefix="datagrid" 
tagdir="/WEB-INF/tags/org/apache/beehive/netui/test/databinding/tagfiles" %>
+<netui-template:template templatePage="../site/template.jsp">
+    <netui-template:setAttribute name="title" value="Basic Data Grid"/>
+    <netui-template:section name="body">
+    <p>
+<datagrid:portfolioXmlBean/>
+<br/>
+<br/>
+<netui:scriptContainer generateIdScope="true">
+    <%@ include file="td-tagid.jsp" %>
+</netui:scriptContainer>
+<br/>
+<netui:anchor href="index.jsp">Reset</netui:anchor>
+<br/>
+    </p>
+    </netui-template:section>
+</netui-template:template>

Propchange: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/scriptcontainer-td.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/scriptcontainer-th.jsp
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/scriptcontainer-th.jsp?rev=164851&view=auto
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/scriptcontainer-th.jsp
 (added)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/scriptcontainer-th.jsp
 Tue Apr 26 11:07:51 2005
@@ -0,0 +1,21 @@
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0"; prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0"; 
prefix="netui-data"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0"; 
prefix="netui-template"%>
+<%@ taglib prefix="datagrid" 
tagdir="/WEB-INF/tags/org/apache/beehive/netui/test/databinding/tagfiles" %>
+<netui-template:template templatePage="../site/template.jsp">
+    <netui-template:setAttribute name="title" value="Basic Data Grid"/>
+    <netui-template:section name="body">
+    <p>
+<datagrid:portfolioXmlBean/>
+<br/>
+<br/>
+<netui:scriptContainer generateIdScope="true">
+    <%@ include file="th-tagid.jsp" %>
+</netui:scriptContainer>
+<br/>
+<netui:anchor href="index.jsp">Reset</netui:anchor>
+<br/>
+    </p>
+    </netui-template:section>
+</netui-template:template>

Propchange: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/scriptcontainer-th.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/td-tagid.jsp
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/td-tagid.jsp?rev=164851&view=auto
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/td-tagid.jsp
 (added)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/td-tagid.jsp
 Tue Apr 26 11:07:51 2005
@@ -0,0 +1,20 @@
+<netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio">
+    <netui-data:configurePager pageHref="${pageContext.request.contextPath}"/>
+    <netui-data:header>
+        <netui-data:headerCell headerText="Symbol" 
cellTagId="symbolHeaderCell"/>
+        <netui-data:headerCell headerText="Price" cellTagId="priceHeaderCell"/>
+        <netui-data:headerCell headerText="Web" cellTagId="webHeaderCell"/>
+        <netui-data:headerCell headerText="Web Image (empty cells)"/>
+        <netui-data:headerCell headerText="Web Image Anchor (empty cells)"/>
+    </netui-data:header>
+    <netui-data:rows>
+        <netui-data:spanCell value="${container.item.symbol}" 
cellTagId="symbolTableCell"/>
+        <netui-data:spanCell value="${container.item.price}" 
cellTagId="priceTableCell"/>
+        <netui-data:anchorCell value="${container.item.name}" 
href="${container.item.web}">
+            <netui:parameter name="rowid" value="${container.index}"/>
+            <netui:parameter name="symbol" value="${container.item.symbol}"/>
+        </netui-data:anchorCell>
+        <netui-data:imageCell src="no-such-image.gif" tagId="webImage"/>
+        <netui-data:imageAnchorCell src="no-such-image.gif"/>
+    </netui-data:rows>
+</netui-data:dataGrid>
\ No newline at end of file

Propchange: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/td-tagid.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/th-tagid.jsp
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/th-tagid.jsp?rev=164851&view=auto
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/th-tagid.jsp
 (added)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/th-tagid.jsp
 Tue Apr 26 11:07:51 2005
@@ -0,0 +1,20 @@
+<netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio">
+    <netui-data:configurePager pageHref="${pageContext.request.contextPath}"/>
+    <netui-data:header>
+        <netui-data:headerCell headerText="Symbol" 
cellTagId="symbolHeaderCell"/>
+        <netui-data:headerCell headerText="Price" cellTagId="priceHeaderCell"/>
+        <netui-data:headerCell headerText="Web" cellTagId="webHeaderCell"/>
+        <netui-data:headerCell headerText="Web Image (empty cells)"/>
+        <netui-data:headerCell headerText="Web Image Anchor (empty cells)"/>
+    </netui-data:header>
+    <netui-data:rows>
+        <netui-data:spanCell value="${container.item.symbol}"/>
+        <netui-data:spanCell value="${container.item.price}"/>
+        <netui-data:anchorCell value="${container.item.name}" 
href="${container.item.web}">
+            <netui:parameter name="rowid" value="${container.index}"/>
+            <netui:parameter name="symbol" value="${container.item.symbol}"/>
+        </netui-data:anchorCell>
+        <netui-data:imageCell src="no-such-image.gif" tagId="webImage"/>
+        <netui-data:imageAnchorCell src="no-such-image.gif"/>
+    </netui-data:rows>
+</netui-data:dataGrid>
\ No newline at end of file

Propchange: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/databinding/datagrid/tagid/th-tagid.jsp
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to