From ec65aae3697deca104ff2777b85d5716b9c21185 Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Tue, 20 May 2014 09:01:37 -0400 Subject: [PATCH] Allow all dataSource attributes to accept expressions --- .../netui/tags/databinding/cellrepeater/CellRepeater.java | 2 +- .../beehive/netui/tags/databinding/datagrid/DataGrid.java | 2 +- .../beehive/netui/tags/databinding/repeater/Repeater.java | 2 +- .../java/org/apache/beehive/netui/tags/divpanel/DivPanel.java | 2 +- .../org/apache/beehive/netui/tags/html/HtmlGroupBaseTag.java | 2 +- .../src/main/java/org/apache/beehive/netui/tags/tree/Tree.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/databinding/cellrepeater/CellRepeater.java b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/databinding/cellrepeater/CellRepeater.java index 4fd2485..b9a0ca3 100644 --- a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/databinding/cellrepeater/CellRepeater.java +++ b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/databinding/cellrepeater/CellRepeater.java @@ -399,7 +399,7 @@ public class CellRepeater * *

    <netui-data:cellRepeater dataSource="pageFlow.myIterativeData"> * @jsptagref.attributesyntaxvalue expression_datasource - * @netui:attribute required="true" + * @netui:attribute required="true" rtexprvalue="true" */ public void setDataSource(String dataSource) { _dataSource = dataSource; diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java index e23a2d1..083b971 100644 --- a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java +++ b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java @@ -327,7 +327,7 @@ public class DataGrid * This expression will be evaluated the data grid in order to obtain a reference to the data set. *

* @jsptagref.attributesyntaxvalue string_dataSource - * @netui:attribute required="true" + * @netui:attribute required="true" rtexprvalue="true" * description="The dataSource attribute determines both * the source of populating data for the tag and the object to which the tag submits data." */ diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/databinding/repeater/Repeater.java b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/databinding/repeater/Repeater.java index 88eef2f..33472a8 100644 --- a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/databinding/repeater/Repeater.java +++ b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/databinding/repeater/Repeater.java @@ -725,7 +725,7 @@ public class Repeater * *

    <netui-data:repeater dataSource="pageFlow.myIterativeData"> * @jsptagref.attributesyntaxvalue expression_datasource - * @netui:attribute required="true" + * @netui:attribute required="true" rtexprvalue="true" */ public void setDataSource(String dataSource) { _dataSource = dataSource; diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/divpanel/DivPanel.java b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/divpanel/DivPanel.java index c0b91f1..306968d 100644 --- a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/divpanel/DivPanel.java +++ b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/divpanel/DivPanel.java @@ -82,7 +82,7 @@ public class DivPanel extends AbstractClassicTag * @jsptagref.attributedescription An expression which identifies which DivPanelState object will store state between posts to the server. * @jsptagref.databindable true * @jsptagref.attributesyntaxvalue expression - * @netui:attribute description="Sets an expression which indentifies the DivPanelState storing the state of the + * @netui:attribute rtexprvalue="true" description="Sets an expression which indentifies the DivPanelState storing the state of the * DivPanel between posts." */ public void setDataSource(String dataSource) diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/HtmlGroupBaseTag.java b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/HtmlGroupBaseTag.java index e335e0d..32b775a 100644 --- a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/HtmlGroupBaseTag.java +++ b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/HtmlGroupBaseTag.java @@ -326,7 +326,7 @@ abstract public class HtmlGroupBaseTag * the source of populating data for the tag * @jsptagref.databindable false * @jsptagref.attributesyntaxvalue string_dataSource - * @netui:attribute required="true" + * @netui:attribute required="true" rtexprvalue="true" * description="Sets the tag's data source." */ public void setDataSource(String dataSource) diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/tree/Tree.java b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/tree/Tree.java index d8e1a40..19fed9f 100644 --- a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/tree/Tree.java +++ b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/tree/Tree.java @@ -671,7 +671,7 @@ public class Tree extends AbstractSimpleTag implements HtmlConstants, * that represents the root of the tree. * @jsptagref.databindable true * @jsptagref.attributesyntaxvalue string_dataSource - * @netui:attribute required="true" + * @netui:attribute required="true" rtexprvalue="true" * description="Sets an expression which indentifies the TreeElement that represents the root of * the tree." */