Author: nbelaevski
Date: 2007-10-21 11:05:17 -0400 (Sun, 21 Oct 2007)
New Revision: 3459
Modified:
trunk/ui/spacer/src/main/java/org/richfaces/component/UISpacer.java
trunk/ui/spacer/src/test/java/org/richfaces/component/SpacerComponentTest.java
Log:
Legacy getter/setter removed for UISpacer
Modified: trunk/ui/spacer/src/main/java/org/richfaces/component/UISpacer.java
===================================================================
--- trunk/ui/spacer/src/main/java/org/richfaces/component/UISpacer.java 2007-10-21
15:01:30 UTC (rev 3458)
+++ trunk/ui/spacer/src/main/java/org/richfaces/component/UISpacer.java 2007-10-21
15:05:17 UTC (rev 3459)
@@ -29,14 +29,4 @@
*/
public abstract class UISpacer extends UIComponentBase
{
-
- public abstract void setWidth(String string);
- public abstract String getWidth();
-
- public abstract void setHeight(String string);
- public abstract String getHeight();
-
- public abstract void setStyle(String string);
- public abstract String getStyle();
-
}
Modified: trunk/ui/spacer/src/test/java/org/richfaces/component/SpacerComponentTest.java
===================================================================
---
trunk/ui/spacer/src/test/java/org/richfaces/component/SpacerComponentTest.java 2007-10-21
15:01:30 UTC (rev 3458)
+++
trunk/ui/spacer/src/test/java/org/richfaces/component/SpacerComponentTest.java 2007-10-21
15:05:17 UTC (rev 3459)
@@ -67,9 +67,9 @@
form.getChildren().add(spacer);
spacer.setId("spacer");
- spacer.setWidth("30");
- spacer.setHeight("10");
- spacer.setStyle("background-color: lime");
+ spacer.getAttributes().put("width", "30");
+ spacer.getAttributes().put("height", "10");
+ spacer.getAttributes().put("style", "background-color: lime");
// spacer.getAttributes().put("height", new Integer(10));
Show replies by date