Author: igorz
Date: 2008-02-12 05:14:14 -0500 (Tue, 12 Feb 2008)
New Revision: 95488
Modified:
trunk/mcs/class/System.Web/System.Web.UI/Control.jvm.cs
Log:
merge r95486-95487
Modified: trunk/mcs/class/System.Web/System.Web.UI/Control.jvm.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/Control.jvm.cs 2008-02-12
10:01:23 UTC (rev 95487)
+++ trunk/mcs/class/System.Web/System.Web.UI/Control.jvm.cs 2008-02-12
10:14:14 UTC (rev 95488)
@@ -41,6 +41,8 @@
public partial class Control : UIComponent, StateHolder
{
ComponentChildrenList _childrenList;
+ HashMap _attributes;
+ HashMap _facets;
protected override void addFacesListener (FacesListener __p1) {
throw new Exception ("The method or operation is not
implemented.");
@@ -71,7 +73,7 @@
}
public override Map getAttributes () {
- throw new Exception ("The method or operation is not
implemented.");
+ return _attributes ?? (_attributes = new HashMap ());
}
public override int getChildCount () {
@@ -104,7 +106,7 @@
}
public override Map getFacets () {
- throw new Exception ("The method or operation is not
implemented.");
+ return _facets ?? (_facets = new HashMap ());
}
public override Iterator getFacetsAndChildren () {
@@ -117,7 +119,7 @@
}
public override string getId () {
- throw new Exception ("The method or operation is not
implemented.");
+ return ID;
}
public override UIComponent getParent () {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches