Author: nbelaevski
Date: 2010-07-11 19:00:53 -0400 (Sun, 11 Jul 2010)
New Revision: 17933
Modified:
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxFunction.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxLog.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxStatus.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandButton.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandLink.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractMediaOutput.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractOutputPanel.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPoll.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPush.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractQueue.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/UIRepeat.java
Log:
Added explicit renderers declaration to components
Modified:
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxFunction.java
===================================================================
---
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxFunction.java 2010-07-11
22:58:06 UTC (rev 17932)
+++
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxFunction.java 2010-07-11
23:00:53 UTC (rev 17933)
@@ -26,6 +26,7 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -35,7 +36,8 @@
*
*/
@JsfComponent(
- tag = @Tag(name = "jsFunction", type = TagType.Facelets)
+ renderer = @JsfRenderer(type = "org.richfaces.FunctionRenderer"),
+ tag = @Tag(name = "jsFunction", type = TagType.Facelets)
)
public abstract class AbstractAjaxFunction extends AbstractActionComponent {
Modified:
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxLog.java
===================================================================
---
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxLog.java 2010-07-11
22:58:06 UTC (rev 17932)
+++
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxLog.java 2010-07-11
23:00:53 UTC (rev 17933)
@@ -43,7 +43,7 @@
})
@JsfComponent(
tag = @Tag(name = "log", type = TagType.Facelets),
- renderer = @JsfRenderer(template =
"/org/ajax4jsf/renderkit/html/log.template.xml")
+ renderer = @JsfRenderer(type = "org.richfaces.AjaxLogRenderer")
)
public abstract class AbstractAjaxLog extends UIComponentBase {
Modified:
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxStatus.java
===================================================================
---
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxStatus.java 2010-07-11
22:58:06 UTC (rev 17932)
+++
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxStatus.java 2010-07-11
23:00:53 UTC (rev 17933)
@@ -23,17 +23,18 @@
package org.richfaces.component;
+import javax.faces.component.UIOutput;
+
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
-import javax.faces.component.UIOutput;
-
/**
* @author Nick Belaevski
*
*/
-@JsfComponent
+@JsfComponent(renderer = @JsfRenderer(type = "org.richfaces.StatusRenderer"))
public abstract class AbstractAjaxStatus extends UIOutput {
public static final String COMPONENT_TYPE = "org.richfaces.Status";
Modified:
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandButton.java
===================================================================
---
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandButton.java 2010-07-11
22:58:06 UTC (rev 17932)
+++
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandButton.java 2010-07-11
23:00:53 UTC (rev 17933)
@@ -28,12 +28,13 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
/**
* @author Nick Belaevski
*
*/
-@JsfComponent
+@JsfComponent(renderer = @JsfRenderer(type =
"org.richfaces.CommandButtonRenderer"))
public abstract class AbstractCommandButton extends AbstractActionComponent {
public static final String COMPONENT_TYPE = "org.richfaces.CommandButton";
Modified:
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandLink.java
===================================================================
---
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandLink.java 2010-07-11
22:58:06 UTC (rev 17932)
+++
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandLink.java 2010-07-11
23:00:53 UTC (rev 17933)
@@ -27,6 +27,7 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -34,6 +35,7 @@
* @author Nick Belaevski
*/
@JsfComponent (
+ renderer = @JsfRenderer(type = "org.richfaces.CommandLinkRenderer"),
tag = @Tag(type = TagType.Facelets)
)
public abstract class AbstractCommandLink extends AbstractActionComponent {
Modified:
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractMediaOutput.java
===================================================================
---
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractMediaOutput.java 2010-07-11
22:58:06 UTC (rev 17932)
+++
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractMediaOutput.java 2010-07-11
23:00:53 UTC (rev 17933)
@@ -37,6 +37,7 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Signature;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -50,7 +51,8 @@
*
*/
@JsfComponent(
- tag = @Tag(generate = false, handler =
"org.richfaces.view.facelets.html.MediaOutputHandler", type = TagType.Facelets)
+ tag = @Tag(generate = false, handler =
"org.richfaces.view.facelets.html.MediaOutputHandler", type =
TagType.Facelets),
+ renderer = @JsfRenderer(type = "org.richfaces.MediaOutputRenderer")
)
public abstract class AbstractMediaOutput extends UIOutput implements ResourceComponent2
{
Modified:
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractOutputPanel.java
===================================================================
---
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractOutputPanel.java 2010-07-11
22:58:06 UTC (rev 17932)
+++
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractOutputPanel.java 2010-07-11
23:00:53 UTC (rev 17933)
@@ -23,19 +23,20 @@
package org.richfaces.component;
+import javax.faces.component.UIPanel;
+
import org.ajax4jsf.component.AjaxOutput;
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
-import javax.faces.component.UIPanel;
-
/**
* @author asmirnov(a)exadel.com (latest modification by $Author: alexsmirnov $)
* @version $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:58:26 $
*
*/
-@JsfComponent
+@JsfComponent(renderer = @JsfRenderer(type =
"org.richfaces.OutputPanelRenderer"))
public abstract class AbstractOutputPanel extends UIPanel implements AjaxOutput {
public static final String COMPONENT_TYPE = "org.richfaces.OutputPanel";
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPoll.java
===================================================================
---
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPoll.java 2010-07-11
22:58:06 UTC (rev 17932)
+++
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPoll.java 2010-07-11
23:00:53 UTC (rev 17933)
@@ -26,6 +26,7 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -35,7 +36,8 @@
*
*/
@JsfComponent(
- tag = @Tag(generate = false, handler =
"org.richfaces.view.facelets.html.AjaxPollHandler", type = TagType.Facelets)
+ tag = @Tag(generate = false, handler =
"org.richfaces.view.facelets.html.AjaxPollHandler", type = TagType.Facelets),
+ renderer = @JsfRenderer(type = "org.richfaces.PollRenderer")
)
public abstract class AbstractPoll extends AbstractActionComponent {
public static final String COMPONENT_TYPE = "org.richfaces.Poll";
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPush.java
===================================================================
---
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPush.java 2010-07-11
22:58:06 UTC (rev 17932)
+++
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPush.java 2010-07-11
23:00:53 UTC (rev 17933)
@@ -34,6 +34,7 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Signature;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -44,7 +45,8 @@
*
*/
@JsfComponent(
- tag = @Tag(generate = false, handler =
"org.richfaces.view.facelets.html.AjaxPushHandler", type = TagType.Facelets)
+ tag = @Tag(generate = false, handler =
"org.richfaces.view.facelets.html.AjaxPushHandler", type = TagType.Facelets),
+ renderer = @JsfRenderer(type = "org.richfaces.PushRenderer")
)
public abstract class AbstractPush extends AbstractActionComponent {
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractQueue.java
===================================================================
---
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractQueue.java 2010-07-11
22:58:06 UTC (rev 17932)
+++
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractQueue.java 2010-07-11
23:00:53 UTC (rev 17933)
@@ -25,6 +25,7 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -33,7 +34,8 @@
*
*/
@JsfComponent(tag = @Tag(name = "queue",
- generate = false, type = TagType.Facelets))
+ generate = false, type = TagType.Facelets),
+ renderer = @JsfRenderer(type = "org.richfaces.QueueRenderer"))
public abstract class AbstractQueue extends UIComponentBase {
public static final String GLOBAL_QUEUE_NAME =
"org.richfaces.queue.global";
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/UIRepeat.java
===================================================================
--- root/ui/core/trunk/ui/src/main/java/org/richfaces/component/UIRepeat.java 2010-07-11
22:58:06 UTC (rev 17932)
+++ root/ui/core/trunk/ui/src/main/java/org/richfaces/component/UIRepeat.java 2010-07-11
23:00:53 UTC (rev 17933)
@@ -22,6 +22,7 @@
package org.richfaces.component;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -29,7 +30,7 @@
* @author Nick Belaevski
*
*/
-@JsfComponent(generate = "", tag = @Tag(name = "repeat", type =
TagType.Facelets))
+@JsfComponent(generate = "", tag = @Tag(name = "repeat", type =
TagType.Facelets), renderer = @JsfRenderer(type =
"org.richfaces.RepeatRenderer"))
public class UIRepeat extends UISequence {
public static final String COMPONENT_TYPE = "org.richfaces.Repeat";