Permalink
Browse files

changed extending of DivPanelRenderer to RendererBase

  • Loading branch information...
1 parent 9c4baa6 commit 56706e445c6fa109b89aead18ed504ebf6bf028d @lfryc lfryc committed Apr 30, 2012
Showing with 52 additions and 52 deletions.
  1. +4 −4 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/AccordionGroupRendererBase.java
  2. +4 −4 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/AccordionRendererBase.java
  3. +2 −2 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/AlertRendererBase.java
  4. +2 −2 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/BadgeRendererBase.java
  5. +2 −2 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/BlockquoteRendererBase.java
  6. +4 −4 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/ButtonDropdownRendererBase.java
  7. +4 −5 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/ButtonGroupRendererBase.java
  8. +4 −4 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/CodeblockRendererBase.java
  9. +4 −4 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/GridColumnRendererBase.java
  10. +2 −2 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/GridContainerRendererBase.java
  11. +4 −4 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/GridRowRendererBase.java
  12. +4 −3 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/HeroUnitRendererBase.java
  13. +2 −2 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/LabelRendererBase.java
  14. +2 −2 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/NavbarRendererBase.java
  15. +4 −4 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/TabPaneRendererBase.java
  16. +4 −4 bootstrap/ui/src/main/java/org/richfaces/bootstrap/renderkit/TabbableRendererBase.java
@@ -21,13 +21,13 @@
*/
package org.richfaces.bootstrap.renderkit;
-import org.richfaces.bootstrap.component.AbstractAccordionGroup;
-import org.richfaces.renderkit.html.DivPanelRenderer;
-
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.UIComponent;
+import org.richfaces.bootstrap.component.AbstractAccordionGroup;
+import org.richfaces.renderkit.RendererBase;
+
/**
* Base class for the accordionGroup renderer
*
@@ -38,7 +38,7 @@
@ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css"),
@ResourceDependency(library = "bootstrap/js", name = "bootstrap.js")})
-public abstract class AccordionGroupRendererBase extends DivPanelRenderer {
+public abstract class AccordionGroupRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.AccordionGroupRenderer";
// A workaround for RF-11668
@@ -21,13 +21,13 @@
*/
package org.richfaces.bootstrap.renderkit;
-import org.richfaces.bootstrap.component.AbstractAccordion;
-import org.richfaces.renderkit.html.DivPanelRenderer;
-
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.UIComponent;
+import org.richfaces.bootstrap.component.AbstractAccordion;
+import org.richfaces.renderkit.RendererBase;
+
/**
* Base class for the accordion renderer
*
@@ -38,7 +38,7 @@
@ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css"),
@ResourceDependency(library = "bootstrap/js", name = "bootstrap.js")})
-public abstract class AccordionRendererBase extends DivPanelRenderer {
+public abstract class AccordionRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.AccordionRenderer";
// A workaround for RF-11668
@@ -26,7 +26,7 @@
import javax.faces.component.UIComponent;
import org.richfaces.bootstrap.component.AbstractAlert;
-import org.richfaces.renderkit.html.DivPanelRenderer;
+import org.richfaces.renderkit.RendererBase;
/**
* Base class for the alert renderer
@@ -39,7 +39,7 @@
@ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css"),
@ResourceDependency(library = "bootstrap/js", name = "bootstrap.js")})
-public abstract class AlertRendererBase extends DivPanelRenderer {
+public abstract class AlertRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.AlertRenderer";
// A workaround for RF-11668
@@ -26,7 +26,7 @@
import javax.faces.component.UIComponent;
import org.richfaces.bootstrap.component.AbstractBadge;
-import org.richfaces.renderkit.html.DivPanelRenderer;
+import org.richfaces.renderkit.RendererBase;
/**
* Base class for the badge renderer
@@ -38,7 +38,7 @@
@ResourceDependency(library = "org.richfaces", name = "ajax.reslib"),
@ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css")})
-public abstract class BadgeRendererBase extends DivPanelRenderer {
+public abstract class BadgeRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.BadgeRenderer";
// A workaround for RF-11668
@@ -26,7 +26,7 @@
import javax.faces.component.UIComponent;
import org.richfaces.bootstrap.component.AbstractBlockquote;
-import org.richfaces.renderkit.html.DivPanelRenderer;
+import org.richfaces.renderkit.RendererBase;
/**
* Base class for the blockquote renderer
@@ -38,7 +38,7 @@
@ResourceDependency(library = "org.richfaces", name = "ajax.reslib"),
@ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css")})
-public abstract class BlockquoteRendererBase extends DivPanelRenderer {
+public abstract class BlockquoteRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.BlockquoteRenderer";
// A workaround for RF-11668
@@ -21,13 +21,13 @@
*/
package org.richfaces.bootstrap.renderkit;
-import org.richfaces.bootstrap.component.AbstractButtonDropdown;
-import org.richfaces.renderkit.html.DivPanelRenderer;
-
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.UIComponent;
+import org.richfaces.bootstrap.component.AbstractButtonDropdown;
+import org.richfaces.renderkit.RendererBase;
+
/**
* Base class for the buttonDropdown renderer
*
@@ -38,7 +38,7 @@
@ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css"),
@ResourceDependency(library = "bootstrap/js", name = "bootstrap.js")})
-public abstract class ButtonDropdownRendererBase extends DivPanelRenderer {
+public abstract class ButtonDropdownRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.ButtonDropdownRenderer";
// A workaround for RF-11668
@@ -21,14 +21,13 @@
*/
package org.richfaces.bootstrap.renderkit;
-import org.richfaces.bootstrap.component.AbstractButtonGroup;
-import org.richfaces.component.AbstractCommandLink;
-import org.richfaces.renderkit.html.DivPanelRenderer;
-
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.UIComponent;
+import org.richfaces.bootstrap.component.AbstractButtonGroup;
+import org.richfaces.renderkit.RendererBase;
+
/**
* Base class for the buttonGroup renderer
*
@@ -39,7 +38,7 @@
@ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css"),
@ResourceDependency(library = "bootstrap/js", name = "bootstrap.js")})
-public abstract class ButtonGroupRendererBase extends DivPanelRenderer {
+public abstract class ButtonGroupRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.ButtonGroupRenderer";
// A workaround for RF-11668
@@ -21,13 +21,13 @@
*/
package org.richfaces.bootstrap.renderkit;
-import org.richfaces.bootstrap.component.AbstractCodeblock;
-import org.richfaces.renderkit.html.DivPanelRenderer;
-
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.UIComponent;
+import org.richfaces.bootstrap.component.AbstractCodeblock;
+import org.richfaces.renderkit.RendererBase;
+
/**
* Base class for the codeblock renderer
*
@@ -40,7 +40,7 @@
@ResourceDependency(library = "com.googlecode/prettify", name = "prettify.css"),
@ResourceDependency(library = "com.googlecode/prettify", name = "prettify.js"),
@ResourceDependency(library = "org.richfaces", name = "codeblock.js")})
-public abstract class CodeblockRendererBase extends DivPanelRenderer {
+public abstract class CodeblockRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.CodeblockRenderer";
// A workaround for RF-11668
@@ -21,13 +21,13 @@
*/
package org.richfaces.bootstrap.renderkit;
-import org.richfaces.bootstrap.component.AbstractGridColumn;
-import org.richfaces.renderkit.html.DivPanelRenderer;
-
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.UIComponent;
+import org.richfaces.bootstrap.component.AbstractGridColumn;
+import org.richfaces.renderkit.RendererBase;
+
/**
* Base class for the gridColumn renderer
*
@@ -38,7 +38,7 @@
@ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap-responsive.css")})
-public abstract class GridColumnRendererBase extends DivPanelRenderer {
+public abstract class GridColumnRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.GridColumnRenderer";
// A workaround for RF-11668
@@ -26,7 +26,7 @@
import javax.faces.component.UIComponent;
import org.richfaces.bootstrap.component.AbstractGridContainer;
-import org.richfaces.renderkit.html.DivPanelRenderer;
+import org.richfaces.renderkit.RendererBase;
/**
* Base class for the gridContainer renderer
@@ -38,7 +38,7 @@
@ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap-responsive.css")})
-public abstract class GridContainerRendererBase extends DivPanelRenderer {
+public abstract class GridContainerRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.GridContainerRenderer";
// A workaround for RF-11668
@@ -21,13 +21,13 @@
*/
package org.richfaces.bootstrap.renderkit;
-import org.richfaces.bootstrap.component.AbstractGridRow;
-import org.richfaces.renderkit.html.DivPanelRenderer;
-
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.UIComponent;
+import org.richfaces.bootstrap.component.AbstractGridRow;
+import org.richfaces.renderkit.RendererBase;
+
/**
* Base class for the gridRow renderer
*
@@ -38,7 +38,7 @@
@ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap-responsive.css")})
-public abstract class GridRowRendererBase extends DivPanelRenderer {
+public abstract class GridRowRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.GridRowRenderer";
// A workaround for RF-11668
@@ -21,14 +21,15 @@
*/
package org.richfaces.bootstrap.renderkit;
-import org.richfaces.bootstrap.component.AbstractHeroUnit;
-import org.richfaces.renderkit.RendererBase;
+import java.io.IOException;
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
-import java.io.IOException;
+
+import org.richfaces.bootstrap.component.AbstractHeroUnit;
+import org.richfaces.renderkit.RendererBase;
/**
* Base class for the heroUnit renderer
@@ -26,7 +26,7 @@
import javax.faces.component.UIComponent;
import org.richfaces.bootstrap.component.AbstractLabel;
-import org.richfaces.renderkit.html.DivPanelRenderer;
+import org.richfaces.renderkit.RendererBase;
/**
* Base class for the label renderer
@@ -38,7 +38,7 @@
@ResourceDependency(library = "org.richfaces", name = "ajax.reslib"),
@ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css")})
-public abstract class LabelRendererBase extends DivPanelRenderer {
+public abstract class LabelRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.LabelRenderer";
// A workaround for RF-11668
@@ -29,7 +29,7 @@
import javax.faces.context.FacesContext;
import org.richfaces.bootstrap.component.AbstractNavbar;
-import org.richfaces.renderkit.html.DivPanelRenderer;
+import org.richfaces.renderkit.RendererBase;
/**
* Base class for the navbar renderer
@@ -42,7 +42,7 @@
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap-responsive.css"),
@ResourceDependency(library = "bootstrap/js", name = "bootstrap.js")})
-public abstract class NavbarRendererBase extends DivPanelRenderer {
+public abstract class NavbarRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.NavbarRenderer";
// A workaround for RF-11668
@@ -21,13 +21,13 @@
*/
package org.richfaces.bootstrap.renderkit;
-import org.richfaces.bootstrap.component.AbstractTabPane;
-import org.richfaces.renderkit.html.DivPanelRenderer;
-
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.UIComponent;
+import org.richfaces.bootstrap.component.AbstractTabPane;
+import org.richfaces.renderkit.RendererBase;
+
/**
* Base class for the tab renderer
*
@@ -37,7 +37,7 @@
@ResourceDependency(library = "org.richfaces", name = "ajax.reslib"),
@ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css")})
-public abstract class TabPaneRendererBase extends DivPanelRenderer {
+public abstract class TabPaneRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.TabPaneRenderer";
// A workaround for RF-11668
@@ -21,13 +21,13 @@
*/
package org.richfaces.bootstrap.renderkit;
-import org.richfaces.bootstrap.component.AbstractTabbable;
-import org.richfaces.renderkit.html.DivPanelRenderer;
-
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.UIComponent;
+import org.richfaces.bootstrap.component.AbstractTabbable;
+import org.richfaces.renderkit.RendererBase;
+
/**
* Base class for the tabbable renderer
*
@@ -38,7 +38,7 @@
@ResourceDependency(library = "org.richfaces", name = "base-component.reslib"),
@ResourceDependency(library = "bootstrap/css", name = "bootstrap.css"),
@ResourceDependency(library = "bootstrap/js", name = "bootstrap.js")})
-public abstract class TabbableRendererBase extends DivPanelRenderer {
+public abstract class TabbableRendererBase extends RendererBase {
public static final String RENDERER_TYPE = "org.richfaces.bootstrap.TabbableRenderer";
// A workaround for RF-11668

0 comments on commit 56706e4

Please sign in to comment.