Author: Alex.Kolonitsky
Date: 2011-01-18 10:12:23 -0500 (Tue, 18 Jan 2011)
New Revision: 21056
Added:
trunk/ui/output/ui/src/main/config/
trunk/ui/output/ui/src/main/config/faces-config.xml
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractAccordionItem.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTab.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuRenderer.java
Removed:
trunk/ui/output/ui/src/main/java/org/richfaces/component/UICollapsiblePanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/UIPanelMenu.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/UIPanelMenuGroup.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/UIPanelMenuItem.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanelItem.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanelTitledItem.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/UITooltip.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlAccordion.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlAccordionItem.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlCollapsiblePanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlDivPanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlPanelMenu.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlPanelMenuGroup.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlPanelMenuItem.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTab.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTabPanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTogglePanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTogglePanelItem.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTogglePanelTitledItem.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTooltip.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuRenderer.java
trunk/ui/output/ui/src/main/resources/META-INF/pn.faces-config.xml
trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml
trunk/ui/output/ui/src/test/java/org/richfaces/component/UIPanelMenuGroupTest.java
trunk/ui/output/ui/src/test/java/org/richfaces/component/UIPanelMenuItemTest.java
trunk/ui/output/ui/src/test/java/org/richfaces/component/UIPanelMenuTest.java
trunk/ui/output/ui/src/test/java/org/richfaces/component/UITogglePanelTitledItemTest.java
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionBean.java
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionItemBean.java
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTabBean.java
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTabPanelBean.java
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTogglePanelBean.java
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTogglePanelItemBean.java
trunk/examples/output-demo/src/main/java/org/richfaces/ModalPanel.java
trunk/examples/output-demo/src/main/webapp/examples/accordion.xhtml
trunk/examples/output-demo/src/main/webapp/examples/collapsiblePanel.xhtml
trunk/examples/output-demo/src/main/webapp/examples/panelMenu.xhtml
trunk/examples/output-demo/src/main/webapp/examples/tabPanel.xhtml
trunk/examples/output-demo/src/main/webapp/examples/togglePanel-ajax.xhtml
trunk/examples/output-demo/src/main/webapp/examples/togglePanel-client.xhtml
trunk/examples/output-demo/src/main/webapp/examples/togglePanel-mixed.xhtml
trunk/examples/output-demo/src/main/webapp/examples/togglePanel-server.xhtml
trunk/examples/output-demo/src/main/webapp/examples/togglePanel.xhtml
trunk/examples/output-demo/src/main/webapp/examples/tooltip.xhtml
trunk/examples/output-demo/src/main/webapp/qunit/panelMenu.xhtml
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractAccordion.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractCollapsiblePanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractDivPanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanelMenu.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanelMenuGroup.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanelMenuItem.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTabPanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanelItem.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanelTitledItem.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTooltip.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/behavior/ToggleControl.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/AccordionItemHeaderRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/AccordionItemRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/AccordionRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/CollapsiblePanelRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/DivPanelRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupHeaderRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TabPanelRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TabRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ToggleControlRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelItemRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TooltipRenderer.java
trunk/ui/output/ui/src/main/java/org/richfaces/view/facelets/html/PanelMenuTagHandler.java
trunk/ui/output/ui/src/test/java/org/richfaces/component/AbstractAccordionTest.java
trunk/ui/output/ui/src/test/java/org/richfaces/component/UICollapsiblePanelTest.java
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/accordionItem.xhtml
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/collapsiblePanel.xhtml
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenu-icons-inheritance.xhtml
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenu.xhtml
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuGroup-expanded.xhtml
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuGroup-topGroup.xhtml
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuGroup.xhtml
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuItem.xhtml
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/tooltip.xhtml
Log:
RF-9309: Move panels to CDK
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionBean.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionBean.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -26,8 +26,9 @@
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
-import org.richfaces.component.html.HtmlAccordion;
+import org.richfaces.component.UIAccordion;
+
import org.richfaces.tests.metamer.Attributes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -54,7 +55,7 @@
logger = LoggerFactory.getLogger(getClass());
logger.debug("initializing bean " + getClass().getName());
- attributes =
Attributes.getComponentAttributesFromFacesConfig(HtmlAccordion.class, getClass());
+ attributes = Attributes.getComponentAttributesFromFacesConfig(UIAccordion.class,
getClass());
attributes.setAttribute("activeItem", "item1");
attributes.setAttribute("rendered", true);
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionItemBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionItemBean.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionItemBean.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -26,8 +26,9 @@
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
-import org.richfaces.component.html.HtmlAccordionItem;
+import org.richfaces.component.AbstractAccordionItem;
+
import org.richfaces.tests.metamer.Attributes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -54,7 +55,7 @@
logger = LoggerFactory.getLogger(getClass());
logger.debug("initializing bean " + getClass().getName());
- attributes =
Attributes.getComponentAttributesFromFacesConfig(HtmlAccordionItem.class, getClass());
+ attributes =
Attributes.getComponentAttributesFromFacesConfig(AbstractAccordionItem.class,
getClass());
attributes.setAttribute("header", "Item 1");
attributes.setAttribute("name", "item1");
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTabBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTabBean.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTabBean.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -27,7 +27,7 @@
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
-import org.richfaces.component.html.HtmlTab;
+import org.richfaces.component.AbstractTab;
import org.richfaces.tests.metamer.Attributes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -54,7 +54,7 @@
logger = LoggerFactory.getLogger(getClass());
logger.debug("initializing bean " + getClass().getName());
- attributes = Attributes.getComponentAttributesFromClass(HtmlTab.class,
getClass());
+ attributes = Attributes.getComponentAttributesFromClass(AbstractTab.class,
getClass());
attributes.setAttribute("header", "tab1 header");
attributes.setAttribute("name", "tab1");
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTabPanelBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTabPanelBean.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTabPanelBean.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -21,17 +21,16 @@
*******************************************************************************/
package org.richfaces.tests.metamer.bean;
-import java.io.Serializable;
+import org.richfaces.component.UITabPanel;
+import org.richfaces.tests.metamer.Attributes;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
+import java.io.Serializable;
-import org.richfaces.component.html.HtmlTabPanel;
-import org.richfaces.tests.metamer.Attributes;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
/**
* Managed bean for rich:tabPanel.
*
@@ -54,7 +53,7 @@
logger = LoggerFactory.getLogger(getClass());
logger.debug("initializing bean " + getClass().getName());
- attributes = Attributes.getComponentAttributesFromClass(HtmlTabPanel.class,
getClass());
+ attributes = Attributes.getComponentAttributesFromClass(UITabPanel.class,
getClass());
attributes.setAttribute("activeItem", "tab1");
attributes.setAttribute("rendered", true);
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTogglePanelBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTogglePanelBean.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTogglePanelBean.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -27,7 +27,7 @@
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
-import org.richfaces.component.html.HtmlTogglePanel;
+import org.richfaces.component.UITogglePanel;
import org.richfaces.tests.metamer.Attributes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -54,7 +54,7 @@
logger = LoggerFactory.getLogger(getClass());
logger.debug("initializing bean " + getClass().getName());
- attributes =
Attributes.getComponentAttributesFromFacesConfig(HtmlTogglePanel.class, getClass());
+ attributes =
Attributes.getComponentAttributesFromFacesConfig(UITogglePanel.class, getClass());
attributes.setAttribute("activeItem", "item1");
attributes.setAttribute("rendered", true);
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTogglePanelItemBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTogglePanelItemBean.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichTogglePanelItemBean.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -27,7 +27,7 @@
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
-import org.richfaces.component.html.HtmlTogglePanelItem;
+import org.richfaces.component.UITogglePanelItem;
import org.richfaces.tests.metamer.Attributes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -54,7 +54,7 @@
logger = LoggerFactory.getLogger(getClass());
logger.debug("initializing bean " + getClass().getName());
- attributes =
Attributes.getComponentAttributesFromFacesConfig(HtmlTogglePanelItem.class, getClass());
+ attributes =
Attributes.getComponentAttributesFromFacesConfig(UITogglePanelItem.class, getClass());
attributes.setAttribute("name", "item1");
attributes.setAttribute("rendered", true);
Modified: trunk/examples/output-demo/src/main/java/org/richfaces/ModalPanel.java
===================================================================
--- trunk/examples/output-demo/src/main/java/org/richfaces/ModalPanel.java 2011-01-18
14:48:02 UTC (rev 21055)
+++ trunk/examples/output-demo/src/main/java/org/richfaces/ModalPanel.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -202,6 +202,10 @@
this.domElementAttachment = domElementAttachment;
}
+ public void itemChangeEventListener() {
+
+ }
+
public void itemChangeEventListener(ItemChangeEvent event) {
System.out.println("item was changed from '" + event.getOldItem() +
"' to '" + event.getNewItem() + "'");
}
Modified: trunk/examples/output-demo/src/main/webapp/examples/accordion.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/accordion.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++ trunk/examples/output-demo/src/main/webapp/examples/accordion.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -3,7 +3,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn">
+
xmlns:pn="http://richfaces.org/output">
<body>
<ui:composition template="/templates/template.xhtml">
Modified: trunk/examples/output-demo/src/main/webapp/examples/collapsiblePanel.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/collapsiblePanel.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++ trunk/examples/output-demo/src/main/webapp/examples/collapsiblePanel.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -3,7 +3,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn">
+
xmlns:pn="http://richfaces.org/output">
<body>
<ui:composition template="/templates/template.xhtml">
Modified: trunk/examples/output-demo/src/main/webapp/examples/panelMenu.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/panelMenu.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++ trunk/examples/output-demo/src/main/webapp/examples/panelMenu.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -26,7 +26,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn">
+
xmlns:pn="http://richfaces.org/output">
<body>
<ui:composition template="/templates/template.xhtml">
Modified: trunk/examples/output-demo/src/main/webapp/examples/tabPanel.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/tabPanel.xhtml 2011-01-18 14:48:02
UTC (rev 21055)
+++ trunk/examples/output-demo/src/main/webapp/examples/tabPanel.xhtml 2011-01-18 15:12:23
UTC (rev 21056)
@@ -3,7 +3,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn">
+
xmlns:pn="http://richfaces.org/output">
<body>
<ui:composition template="/templates/template.xhtml">
Modified: trunk/examples/output-demo/src/main/webapp/examples/togglePanel-ajax.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/togglePanel-ajax.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++ trunk/examples/output-demo/src/main/webapp/examples/togglePanel-ajax.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -3,8 +3,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
-
xmlns:ou="http://richfaces.org/output">
+
xmlns:pn="http://richfaces.org/output">
<body>
<ui:composition template="/templates/template.xhtml">
@@ -23,38 +22,38 @@
</pn:togglePanel>
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="name1" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="name1" event="click" />
name1
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="name2" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="name2" event="click" />
name2
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="name3" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="name3" event="click" />
name3
</h:outputLink>
<br/>
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@first" event="click"/>
+ <pn:toggleControl targetPanel="panel"
targetItem="@first" event="click"/>
|< first
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@prev" event="click"/>
+ <pn:toggleControl targetPanel="panel"
targetItem="@prev" event="click"/>
<- prev
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@next" event="click"/>
+ <pn:toggleControl targetPanel="panel"
targetItem="@next" event="click"/>
next ->
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@last" event="click"/>
+ <pn:toggleControl targetPanel="panel"
targetItem="@last" event="click"/>
last >|
</h:outputLink>
</h:form>
Modified: trunk/examples/output-demo/src/main/webapp/examples/togglePanel-client.xhtml
===================================================================
---
trunk/examples/output-demo/src/main/webapp/examples/togglePanel-client.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/examples/output-demo/src/main/webapp/examples/togglePanel-client.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -3,8 +3,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
-
xmlns:ou="http://richfaces.org/output">
+
xmlns:pn="http://richfaces.org/output">
<body>
<ui:composition template="/templates/template.xhtml">
@@ -21,38 +20,38 @@
</pn:togglePanel>
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="name1" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="name1" event="click" />
name1
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="name2" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="name2" event="click" />
name2
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="name3" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="name3" event="click" />
name3
</h:outputLink>
<br />
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@first" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="@first" event="click" />
|< first
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@prev" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="@prev" event="click" />
<- prev
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@next" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="@next" event="click" />
next ->
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@last" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="@last" event="click" />
last >|
</h:outputLink>
</h:form>
Modified: trunk/examples/output-demo/src/main/webapp/examples/togglePanel-mixed.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/togglePanel-mixed.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++ trunk/examples/output-demo/src/main/webapp/examples/togglePanel-mixed.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -3,8 +3,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
-
xmlns:ou="http://richfaces.org/output">
+
xmlns:pn="http://richfaces.org/output">
<body>
<ui:composition template="/templates/template.xhtml">
@@ -22,43 +21,43 @@
</pn:togglePanel>
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="name1" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="name1" event="click" />
name1 client
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="name2" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="name2" event="click" />
name2 ajax
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="name3" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="name3" event="click" />
name3 server
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="name4" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="name4" event="click" />
name4 client disabled
</h:outputLink>
<br />
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@first" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="@first" event="click" />
|< first
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@prev" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="@prev" event="click" />
<- prev
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@next" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="@next" event="click" />
next ->
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@last" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="@last" event="click" />
last >|
</h:outputLink>
</h:form>
Modified: trunk/examples/output-demo/src/main/webapp/examples/togglePanel-server.xhtml
===================================================================
---
trunk/examples/output-demo/src/main/webapp/examples/togglePanel-server.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/examples/output-demo/src/main/webapp/examples/togglePanel-server.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -3,8 +3,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
-
xmlns:ou="http://richfaces.org/output">
+
xmlns:pn="http://richfaces.org/output">
<body>
<ui:composition template="/templates/template.xhtml">
@@ -22,38 +21,38 @@
</pn:togglePanel>
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="name1" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="name1" event="click" />
name1
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="name2" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="name2" event="click" />
name2
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="name3" event="click" />
+ <pn:toggleControl targetPanel="panel"
targetItem="name3" event="click" />
name3
</h:outputLink>
<br/>
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@first" event="click"/>
+ <pn:toggleControl targetPanel="panel"
targetItem="@first" event="click"/>
|< first
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@prev" event="click"/>
+ <pn:toggleControl targetPanel="panel"
targetItem="@prev" event="click"/>
<- prev
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@next" event="click"/>
+ <pn:toggleControl targetPanel="panel"
targetItem="@next" event="click"/>
next ->
</h:outputLink>
|
<h:outputLink>
- <ou:toggleControl targetPanel="panel"
targetItem="@last" event="click"/>
+ <pn:toggleControl targetPanel="panel"
targetItem="@last" event="click"/>
last >|
</h:outputLink>
</h:form>
Modified: trunk/examples/output-demo/src/main/webapp/examples/togglePanel.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/togglePanel.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++ trunk/examples/output-demo/src/main/webapp/examples/togglePanel.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -3,8 +3,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
-
xmlns:ou="http://richfaces.org/output">
+
xmlns:pn="http://richfaces.org/output">
<body>
<ui:composition template="/templates/template.xhtml">
@@ -24,12 +23,12 @@
</pn:togglePanel>
<h:outputLink>
- <ou:toggleControl targetPanel="my_id"
targetItem="name2" event="click" />
+ <pn:toggleControl targetPanel="my_id"
targetItem="name2" event="click" />
Click me :) it is toggle control
</h:outputLink>
<h:outputLink>
- <ou:toggleControl targetPanel="my_id"
targetItem="name1" event="click" />
+ <pn:toggleControl targetPanel="my_id"
targetItem="name1" event="click" />
Click me :) it another toggle control
</h:outputLink>
Modified: trunk/examples/output-demo/src/main/webapp/examples/tooltip.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/tooltip.xhtml 2011-01-18 14:48:02
UTC (rev 21055)
+++ trunk/examples/output-demo/src/main/webapp/examples/tooltip.xhtml 2011-01-18 15:12:23
UTC (rev 21056)
@@ -27,7 +27,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
+
xmlns:pn="http://richfaces.org/output"
xmlns:rich="http://richfaces.org/output"
xmlns:a4j="http://richfaces.org/a4j">
Modified: trunk/examples/output-demo/src/main/webapp/qunit/panelMenu.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/qunit/panelMenu.xhtml 2011-01-18 14:48:02
UTC (rev 21055)
+++ trunk/examples/output-demo/src/main/webapp/qunit/panelMenu.xhtml 2011-01-18 15:12:23
UTC (rev 21056)
@@ -27,7 +27,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn">
+
xmlns:pn="http://richfaces.org/output">
<body>
<ui:composition template="/templates/template.xhtml">
Added: trunk/ui/output/ui/src/main/config/faces-config.xml
===================================================================
--- trunk/ui/output/ui/src/main/config/faces-config.xml (rev 0)
+++ trunk/ui/output/ui/src/main/config/faces-config.xml 2011-01-18 15:12:23 UTC (rev
21056)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<faces-config
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
+
xmlns:cdk="http://jboss.org/schema/richfaces/cdk/extensions"
+ version="2.0">
+
+ <faces-config-extension>
+ <cdk:faces-event>
+
<cdk:event-class>org.richfaces.event.ItemChangeEvent</cdk:event-class>
+
<cdk:listener-class>org.richfaces.event.ItemChangeListener</cdk:listener-class>
+
<cdk:source-class>org.richfaces.event.ItemChangeSource</cdk:source-class>
+ <cdk:tag>
+ <cdk:tag-name>itemChangeListener</cdk:tag-name>
+ <cdk:tag-type>Facelets</cdk:tag-type>
+
<cdk:handler-class>org.richfaces.view.facelets.html.ItemChangeListenerHandler</cdk:handler-class>
+ <cdk:generate>false</cdk:generate>
+ </cdk:tag>
+ </cdk:faces-event>
+
+ <cdk:faces-event>
+
<cdk:event-class>org.richfaces.event.PanelToggleEvent</cdk:event-class>
+
<cdk:listener-class>org.richfaces.event.PanelToggleListener</cdk:listener-class>
+
<cdk:source-class>org.richfaces.event.PanelToggleSource</cdk:source-class>
+ <cdk:tag>
+ <cdk:tag-name>panelToggleListener</cdk:tag-name>
+ <cdk:tag-type>Facelets</cdk:tag-type>
+
<cdk:handler-class>org.richfaces.view.facelets.html.PanelToggleListenerHandler</cdk:handler-class>
+ <cdk:generate>false</cdk:generate>
+ </cdk:tag>
+ </cdk:faces-event>
+ </faces-config-extension>
+
+</faces-config>
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractAccordion.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractAccordion.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractAccordion.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -23,19 +23,22 @@
package org.richfaces.component;
+import org.richfaces.cdk.annotations.*;
/**
* @author akolonitsky
* @since 2010-08-05
*/
-public class AbstractAccordion extends UITogglePanel {
+@JsfComponent(tag = @Tag(type = TagType.Facelets, handler =
"org.richfaces.view.facelets.html.TogglePanelTagHandler"),
+ renderer = @JsfRenderer(type = "org.richfaces.AccordionRenderer"))
+public abstract class AbstractAccordion extends AbstractTogglePanel {
public static final String COMPONENT_TYPE = "org.richfaces.Accordion";
public static final String COMPONENT_FAMILY = "org.richfaces.Accordion";
protected AbstractAccordion() {
- setRendererType("org.richfaces.Accordion");
+ setRendererType("org.richfaces.AccordionRenderer");
}
@Override
@@ -51,4 +54,88 @@
}
return res;
}
+
+ // ------------------------------------------------ Html Attributes
+
+ @Attribute
+ public abstract String getItemLeftIconActive();
+
+ @Attribute
+ public abstract String getItemLeftIconInactive();
+
+ @Attribute
+ public abstract String getItemLeftIconDisabled();
+
+ @Attribute
+ public abstract String getItemRightIconActive();
+
+ @Attribute
+ public abstract String getItemRightIconInactive();
+
+ @Attribute
+ public abstract String getItemRightIconDisabled();
+
+ @Attribute
+ public abstract String getWidth();
+
+ @Attribute
+ public abstract String getHeight();
+
+ @Attribute
+ public abstract String getItemHeaderClassActive();
+
+ @Attribute
+ public abstract String getItemHeaderClassDisabled();
+
+ @Attribute
+ public abstract String getItemHeaderClassInactive();
+
+ @Attribute
+ public abstract String getItemContentClass();
+
+ @Attribute
+ public abstract String getItemHeaderClass();
+
+ @Attribute(events = @EventName("itemchange"))
+ public abstract String getOnitemchange();
+
+ @Attribute(events = @EventName("beforeitemchange"))
+ public abstract String getOnbeforeitemchange();
+
+ @Attribute
+ public abstract String getLang();
+
+ @Attribute
+ public abstract String getTitle();
+
+ @Attribute
+ public abstract String getStyle();
+
+ @Attribute
+ public abstract String getStyleClass();
+
+ @Attribute
+ public abstract String getDir();
+
+ @Attribute(events = @EventName("click"))
+ public abstract String getOnclick();
+
+ @Attribute(events = @EventName("dblclick"))
+ public abstract String getOndblclick();
+
+ @Attribute(events = @EventName("mousedown"))
+ public abstract String getOnmousedown();
+
+ @Attribute(events = @EventName("mousemove"))
+ public abstract String getOnmousemove();
+
+ @Attribute(events = @EventName("mouseout"))
+ public abstract String getOnmouseout();
+
+ @Attribute(events = @EventName("mouseover"))
+ public abstract String getOnmouseover();
+
+ @Attribute(events = @EventName("mouseup"))
+ public abstract String getOnmouseup();
+
}
Copied:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractAccordionItem.java (from
rev 20980,
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlAccordionItem.java)
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractAccordionItem.java
(rev 0)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractAccordionItem.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -0,0 +1,214 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+
+package org.richfaces.component;
+
+import org.richfaces.cdk.annotations.*;
+import org.richfaces.component.behavior.ToggleControl;
+
+import javax.faces.component.behavior.ClientBehaviorHolder;
+
+/**
+ * @author akolonitsky
+ * @since 2010-08-13
+ */
+@JsfComponent(tag = @Tag(type = TagType.Facelets), renderer = @JsfRenderer(type =
"org.richfaces.AccordionItemRenderer"))
+public abstract class AbstractAccordionItem extends AbstractTogglePanelTitledItem
implements ClientBehaviorHolder {
+
+ public static final String COMPONENT_TYPE = "org.richfaces.AccordionItem";
+
+ public static final String COMPONENT_FAMILY =
"org.richfaces.AccordionItem";
+
+ enum Properties {
+ contentClass, leftIconActive, leftIconInactive, leftIconDisabled,
rightIconActive, rightIconDisabled, rightIconInactive, headerClassActive,
headerClassDisabled, headerClassInactive, headerClass;
+ }
+
+ public AbstractAccordionItem() {
+ setRendererType("org.richfaces.AccordionItemRenderer");
+ }
+
+ public AbstractAccordion getAccordion() {
+ return (AbstractAccordion) ToggleControl.getEnclosedPanel(this);
+ }
+
+ @Attribute(defaultValue = "getAccordion().getItemLeftIconActive()",
generate = false)
+ public String getLeftIconActive() {
+ return (String) getStateHelper().eval(Properties.leftIconActive,
getAccordion().getItemLeftIconActive());
+ }
+
+ public void setLeftIconActive(String leftIconActive) {
+ getStateHelper().put(Properties.leftIconActive, leftIconActive);
+ }
+
+ @Attribute(defaultValue = "getAccordion().getItemLeftIconDisabled()",
generate = false)
+ public String getLeftIconDisabled() {
+ return (String) getStateHelper().eval(Properties.leftIconDisabled,
getAccordion().getItemLeftIconDisabled());
+ }
+
+ public void setLeftIconDisabled(String leftIconDisabled) {
+ getStateHelper().put(Properties.leftIconDisabled, leftIconDisabled);
+ }
+
+
+ @Attribute(defaultValue = "getAccordion().getItemLeftIconInactive()",
generate = false)
+ public String getLeftIconInactive() {
+ return (String) getStateHelper().eval(Properties.leftIconInactive,
getAccordion().getItemLeftIconInactive());
+ }
+
+ public void setLeftIconInactive(String leftIconInactive) {
+ getStateHelper().put(Properties.leftIconInactive, leftIconInactive);
+ }
+
+ @Attribute(defaultValue = "getAccordion().getItemRightIconActive()",
generate = false)
+ public String getRightIconActive() {
+ return (String) getStateHelper().eval(Properties.rightIconActive,
getAccordion().getItemRightIconActive());
+ }
+
+ public void setRightIconActive(String rightIconActive) {
+ getStateHelper().put(Properties.rightIconActive, rightIconActive);
+ }
+
+ @Attribute(defaultValue = "getAccordion().getItemRightIconDisabled()",
generate = false)
+ public String getRightIconDisabled() {
+ return (String) getStateHelper().eval(Properties.rightIconDisabled,
getAccordion().getItemRightIconDisabled());
+ }
+
+ public void setRightIconDisabled(String rightIconDisabled) {
+ getStateHelper().put(Properties.rightIconDisabled, rightIconDisabled);
+ }
+
+ @Attribute(defaultValue = "getAccordion().getItemRightIconInactive()",
generate = false)
+ public String getRightIconInactive() {
+ return (String) getStateHelper().eval(Properties.rightIconInactive,
getAccordion().getItemRightIconInactive());
+ }
+
+ public void setRightIconInactive(String rightIconInactive) {
+ getStateHelper().put(Properties.rightIconInactive, rightIconInactive);
+ }
+
+ @Attribute(defaultValue = "getAccordion().getItemHeaderClassActive()",
generate = false)
+ public String getHeaderClassActive() {
+ return (String) getStateHelper().eval(Properties.headerClassActive,
getAccordion().getItemHeaderClassActive());
+ }
+
+ public void setHeaderClassActive(String headerClassActive) {
+ getStateHelper().put(Properties.headerClassActive, headerClassActive);
+ }
+
+ @Attribute(defaultValue = "getAccordion().getItemHeaderClassDisabled()",
generate = false)
+ public String getHeaderClassDisabled() {
+ return (String) getStateHelper().eval(Properties.headerClassDisabled,
getAccordion().getItemHeaderClassDisabled());
+ }
+
+ public void setHeaderClassDisabled(String headerClassDisabled) {
+ getStateHelper().put(Properties.headerClassDisabled, headerClassDisabled);
+ }
+
+ @Attribute(defaultValue = "getAccordion().getItemHeaderClassInactive()",
generate = false)
+ public String getHeaderClassInactive() {
+ return (String) getStateHelper().eval(Properties.headerClassInactive,
getAccordion().getItemHeaderClassInactive());
+ }
+
+ public void setHeaderClassInactive(String headerClassInactive) {
+ getStateHelper().put(Properties.headerClassInactive, headerClassInactive);
+ }
+
+ @Attribute(defaultValue = "getAccordion().getItemHeaderClass()")
+ public String getHeaderClass() {
+ return (String) getStateHelper().eval(Properties.headerClass,
getAccordion().getItemHeaderClass());
+ }
+
+ public void setHeaderClass(String headerClass) {
+ getStateHelper().put(Properties.headerClass, headerClass);
+ }
+
+ @Attribute
+ public abstract String getHeaderStyle();
+
+ @Attribute(defaultValue = "getAccordion().getItemContentClass()")
+ public String getContentClass() {
+ return (String) getStateHelper().eval(Properties.contentClass,
getAccordion().getItemContentClass());
+ }
+
+ public void setContentClass(String contentClass) {
+ getStateHelper().put(Properties.contentClass, contentClass);
+ }
+
+ @Attribute(events = @EventName("headerclick"))
+ public abstract String getOnheaderclick();
+
+ @Attribute(events = @EventName("headerdblclick"))
+ public abstract String getOnheaderdblclick();
+
+ @Attribute(events = @EventName("headermousedown"))
+ public abstract String getOnheadermousedown();
+
+ @Attribute(events = @EventName("headermousemove"))
+ public abstract String getOnheadermousemove();
+
+ @Attribute(events = @EventName("headermouseup"))
+ public abstract String getOnheadermouseup();
+
+ @Attribute(events = @EventName("enter"))
+ public abstract String getOnenter();
+
+ @Attribute(events = @EventName("leave"))
+ public abstract String getOnleave();
+
+ @Attribute
+ public abstract String getLang();
+
+ @Attribute
+ public abstract String getTitle();
+
+ @Attribute
+ public abstract String getStyle();
+
+ @Attribute
+ public abstract String getStyleClass();
+
+ @Attribute
+ public abstract String getDir();
+
+ @Attribute(events = @EventName("click"))
+ public abstract String getOnclick();
+
+ @Attribute(events = @EventName("dblclick"))
+ public abstract String getOndblclick();
+
+ @Attribute(events = @EventName("mousedown"))
+ public abstract String getOnmousedown();
+
+ @Attribute(events = @EventName("mousemove"))
+ public abstract String getOnmousemove();
+
+ @Attribute(events = @EventName("mouseout"))
+ public abstract String getOnmouseout();
+
+ @Attribute(events = @EventName("mouseover"))
+ public abstract String getOnmouseover();
+
+ @Attribute(events = @EventName("mouseup"))
+ public abstract String getOnmouseup();
+
+}
+
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractCollapsiblePanel.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractCollapsiblePanel.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractCollapsiblePanel.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -22,6 +22,7 @@
package org.richfaces.component;
+import org.richfaces.cdk.annotations.*;
import org.richfaces.event.PanelToggleEvent;
import org.richfaces.event.PanelToggleListener;
import org.richfaces.event.PanelToggleSource;
@@ -35,7 +36,9 @@
* @author akolonitsky
* @since 2010-08-27
*/
-public abstract class AbstractCollapsiblePanel extends UITogglePanel implements
PanelToggleSource {
+@JsfComponent(tag = @Tag(type = TagType.Facelets, handler =
"org.richfaces.view.facelets.html.CollapsiblePanelTagHandler"),
+ renderer = @JsfRenderer(type =
"org.richfaces.CollapsiblePanelRenderer"))
+public abstract class AbstractCollapsiblePanel extends AbstractTogglePanel implements
PanelToggleSource {
public static final String COMPONENT_TYPE =
"org.richfaces.CollapsiblePanel";
@@ -57,7 +60,7 @@
}
protected AbstractCollapsiblePanel() {
- setRendererType("org.richfaces.CollapsiblePanel");
+ setRendererType("org.richfaces.CollapsiblePanelRenderer");
}
@Override
@@ -90,10 +93,6 @@
setActiveItem(String.valueOf(isExpanded));
}
- public abstract String getHeader();
-
- public abstract MethodExpression getPanelToggleListener();
-
@Override
public void queueEvent(FacesEvent facesEvent) {
PanelToggleEvent event = null;
@@ -106,6 +105,85 @@
super.queueEvent(event != null ? event : facesEvent);
}
+ // ------------------------------------------------ Component Attributes
+
+ @Attribute
+ public abstract String getHeader();
+
+ @Attribute
+ public abstract MethodExpression getPanelToggleListener();
+
+ // ------------------------------------------------ Html Attributes
+
+ @Attribute
+ public abstract String getLeftCollapsedIcon();
+
+ @Attribute
+ public abstract String getLeftExpandedIcon();
+
+ @Attribute
+ public abstract String getRightCollapsedIcon();
+
+ @Attribute
+ public abstract String getRightExpandedIcon();
+
+ @Attribute
+ public abstract String getBodyClass();
+
+ @Attribute
+ public abstract String getHeaderClass();
+
+ @Attribute
+ public abstract String getHeaderControlClass();
+
+ @Attribute
+ public abstract String getOncomplete();
+
+ @Attribute
+ public abstract String getOnbeforedomupdate();
+
+ @Attribute(events = @EventName("switch"))
+ public abstract String getOnswitch();
+
+ @Attribute(events = @EventName("beforeswitch"))
+ public abstract String getOnbeforeswitch();
+
+ @Attribute
+ public abstract String getLang();
+
+ @Attribute
+ public abstract String getTitle();
+
+ @Attribute
+ public abstract String getStyle();
+
+ @Attribute
+ public abstract String getStyleClass();
+
+ @Attribute
+ public abstract String getDir();
+
+ @Attribute(events = @EventName("click"))
+ public abstract String getOnclick();
+
+ @Attribute(events = @EventName("dblclick"))
+ public abstract String getOndblclick();
+
+ @Attribute(events = @EventName("mousedown"))
+ public abstract String getOnmousedown();
+
+ @Attribute(events = @EventName("mousemove"))
+ public abstract String getOnmousemove();
+
+ @Attribute(events = @EventName("mouseout"))
+ public abstract String getOnmouseout();
+
+ @Attribute(events = @EventName("mouseover"))
+ public abstract String getOnmouseover();
+
+ @Attribute(events = @EventName("mouseup"))
+ public abstract String getOnmouseup();
+
// ------------------------------------------------ Event Processing Methods
public void addPanelToggleListener(PanelToggleListener listener) {
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractDivPanel.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractDivPanel.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractDivPanel.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -22,6 +22,9 @@
package org.richfaces.component;
+import org.richfaces.cdk.annotations.Attribute;
+import org.richfaces.cdk.annotations.EventName;
+
import javax.faces.component.UIOutput;
/**
@@ -36,11 +39,49 @@
public static final String COMPONENT_FAMILY = "org.richfaces.DivPanel";
protected AbstractDivPanel() {
- setRendererType("org.richfaces.DivPanel");
+ setRendererType("org.richfaces.DivPanelRenderer");
}
@Override
public String getFamily() {
return COMPONENT_FAMILY;
}
+
+ // ------------------------------------------------ Html Attributes
+
+ @Attribute
+ public abstract String getLang();
+
+ @Attribute
+ public abstract String getTitle();
+
+ @Attribute
+ public abstract String getStyle();
+
+ @Attribute
+ public abstract String getStyleClass();
+
+ @Attribute
+ public abstract String getDir();
+
+ @Attribute(events = @EventName("click"))
+ public abstract String getOnclick();
+
+ @Attribute(events = @EventName("dblclick"))
+ public abstract String getOndblclick();
+
+ @Attribute(events = @EventName("mousedown"))
+ public abstract String getOnmousedown();
+
+ @Attribute(events = @EventName("mousemove"))
+ public abstract String getOnmousemove();
+
+ @Attribute(events = @EventName("mouseout"))
+ public abstract String getOnmouseout();
+
+ @Attribute(events = @EventName("mouseover"))
+ public abstract String getOnmouseover();
+
+ @Attribute(events = @EventName("mouseup"))
+ public abstract String getOnmouseup();
}
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanelMenu.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanelMenu.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanelMenu.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -23,6 +23,14 @@
package org.richfaces.component;
+import org.richfaces.PanelMenuMode;
+import org.richfaces.cdk.annotations.*;
+import org.richfaces.event.ItemChangeEvent;
+import org.richfaces.event.ItemChangeListener;
+import org.richfaces.event.ItemChangeSource;
+import org.richfaces.renderkit.util.PanelIcons;
+
+import javax.el.MethodExpression;
import javax.el.ValueExpression;
import javax.faces.component.UIComponent;
import javax.faces.component.UIOutput;
@@ -31,15 +39,14 @@
import javax.faces.event.FacesEvent;
import javax.faces.event.PhaseId;
-import org.richfaces.PanelMenuMode;
-import org.richfaces.event.ItemChangeEvent;
-import org.richfaces.event.ItemChangeListener;
-import org.richfaces.event.ItemChangeSource;
-
/**
* @author akolonitsky
* @since 2010-10-25
*/
+@JsfComponent(
+ tag = @Tag(type = TagType.Facelets, handler =
"org.richfaces.view.facelets.html.PanelMenuTagHandler"),
+ renderer = @JsfRenderer(type = "org.richfaces.PanelMenuRenderer")
+)
public abstract class AbstractPanelMenu extends UIOutput implements ItemChangeSource {
public static final String COMPONENT_TYPE = "org.richfaces.PanelMenu";
@@ -53,7 +60,7 @@
}
protected AbstractPanelMenu() {
- setRendererType("org.richfaces.PanelMenu");
+ setRendererType("org.richfaces.PanelMenuRenderer");
}
@Override
@@ -161,34 +168,291 @@
return COMPONENT_FAMILY;
}
+
+ // ------------------------------------------------ Component Attributes
+
+ @Attribute
public abstract boolean isDisabled();
+ @Attribute(defaultValue = "click")
public abstract String getExpandEvent();
+ @Attribute(defaultValue = "click")
public abstract String getCollapseEvent();
+ @Attribute(defaultValue = "PanelMenuMode.client")
public abstract PanelMenuMode getGroupMode();
+ @Attribute(defaultValue = "true")
public abstract boolean isExpandSingle();
+ @Attribute(defaultValue = "PanelMenuMode.DEFAULT")
public abstract PanelMenuMode getItemMode();
+ @Attribute(defaultValue = "true")
public abstract boolean isBubbleSelection();
- public abstract String getItemChangeListener();
+ @Attribute
+ public abstract MethodExpression getItemChangeListener();
+ @Attribute
public abstract boolean isBypassUpdates();
+ @Attribute
public abstract boolean isLimitRender();
+ @Attribute
public abstract Object getData();
+ @Attribute
public abstract String getStatus();
+ @Attribute
public abstract Object getExecute();
+ @Attribute
public abstract Object getRender();
+ // ------------------------------------------------ Html Attributes
+ enum Properties {
+ itemIconRight, itemDisableIconLeft, itemDisableIconRight, topItemIconLeft,
topItemIconRight, topItemDisableIconLeft, topItemDisableIconRight, groupExpandIconLeft,
groupExpandIconRight, groupCollapseIconLeft, groupCollapseIconRight, groupDisableIconLeft,
groupDisableIconRight, topGroupExpandIconLeft, topGroupExpandIconRight,
topGroupCollapseIconLeft, topGroupCollapseIconRight, topGroupDisableIconLeft,
topGroupDisableIconRight, itemIconLeft
+
+ }
+
+ @Attribute
+ public abstract String getStyle();
+
+ @Attribute
+ public abstract String getStyleClass();
+
+ @Attribute
+ public abstract String getWidth();
+
+ @Attribute
+ public abstract String getItemClass();
+
+ @Attribute
+ public abstract String getItemDisableClass();
+
+ @Attribute(generate = false)
+ public String getItemIconLeft() {
+ return (String) getStateHelper().eval(Properties.itemIconLeft,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setItemIconLeft(String itemIconLeft) {
+ getStateHelper().put(Properties.itemIconLeft, itemIconLeft);
+ }
+
+ @Attribute(generate = false)
+ public String getItemIconRight() {
+ return (String) getStateHelper().eval(Properties.itemIconRight,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setItemIconRight(String itemIconRight) {
+ getStateHelper().put(Properties.itemIconRight, itemIconRight);
+ }
+
+ @Attribute(generate = false)
+ public String getItemDisableIconLeft() {
+ return (String) getStateHelper().eval(Properties.itemDisableIconLeft,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setItemDisableIconLeft(String itemDisableIconLeft) {
+ getStateHelper().put(Properties.itemDisableIconLeft, itemDisableIconLeft);
+ }
+
+ @Attribute(generate = false)
+ public String getItemDisableIconRight() {
+ return (String) getStateHelper().eval(Properties.itemDisableIconRight,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setItemDisableIconRight(String itemDisableIconRight) {
+ getStateHelper().put(Properties.itemDisableIconRight, itemDisableIconRight);
+ }
+
+ @Attribute
+ public abstract String getTopItemClass();
+
+ @Attribute
+ public abstract String getTopItemDisableClass();
+
+ @Attribute(generate = false)
+ public String getTopItemIconLeft() {
+ return (String) getStateHelper().eval(Properties.topItemIconLeft,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setTopItemIconLeft(String topItemIconLeft) {
+ getStateHelper().put(Properties.topItemIconLeft, topItemIconLeft);
+ }
+
+ @Attribute(generate = false)
+ public String getTopItemIconRight() {
+ return (String) getStateHelper().eval(Properties.topItemIconRight,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setTopItemIconRight(String topItemIconRight) {
+ getStateHelper().put(Properties.topItemIconRight, topItemIconRight);
+ }
+
+ @Attribute(generate = false)
+ public String getTopItemDisableIconLeft() {
+ return (String) getStateHelper().eval(Properties.topItemDisableIconLeft,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setTopItemDisableIconLeft(String topItemDisableIconLeft) {
+ getStateHelper().put(Properties.topItemDisableIconLeft, topItemDisableIconLeft);
+ }
+
+ @Attribute(generate = false)
+ public String getTopItemDisableIconRight() {
+ return (String) getStateHelper().eval(Properties.topItemDisableIconRight,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setTopItemDisableIconRight(String topItemDisableIconRight) {
+ getStateHelper().put(Properties.topItemDisableIconRight,
topItemDisableIconRight);
+ }
+
+ @Attribute
+ public abstract String getGroupClass();
+
+ @Attribute
+ public abstract String getGroupDisableClass();
+
+ @Attribute(generate = false)
+ public String getGroupExpandIconLeft() {
+ return (String) getStateHelper().eval(Properties.groupExpandIconLeft,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setGroupExpandIconLeft(String groupExpandIconLeft) {
+ getStateHelper().put(Properties.groupExpandIconLeft, groupExpandIconLeft);
+ }
+
+ @Attribute(generate = false)
+ public String getGroupExpandIconRight() {
+ return (String) getStateHelper().eval(Properties.groupExpandIconRight,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setGroupExpandIconRight(String groupExpandIconRight) {
+ getStateHelper().put(Properties.groupExpandIconRight, groupExpandIconRight);
+ }
+
+ @Attribute(generate = false)
+ public String getGroupCollapseIconLeft() {
+ return (String) getStateHelper().eval(Properties.groupCollapseIconLeft,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setGroupCollapseIconLeft(String groupCollapseIconLeft) {
+ getStateHelper().put(Properties.groupCollapseIconLeft, groupCollapseIconLeft);
+ }
+
+ @Attribute(generate = false)
+ public String getGroupCollapseIconRight() {
+ return (String) getStateHelper().eval(Properties.groupCollapseIconRight,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setGroupCollapseIconRight(String groupCollapseIconRight) {
+ getStateHelper().put(Properties.groupCollapseIconRight, groupCollapseIconRight);
+ }
+
+ @Attribute(generate = false)
+ public String getGroupDisableIconLeft() {
+ return (String) getStateHelper().eval(Properties.groupDisableIconLeft,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setGroupDisableIconLeft(String groupDisableIconLeft) {
+ getStateHelper().put(Properties.groupDisableIconLeft, groupDisableIconLeft);
+ }
+
+ @Attribute(generate = false)
+ public String getGroupDisableIconRight() {
+ return (String) getStateHelper().eval(Properties.groupDisableIconRight,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setGroupDisableIconRight(String groupDisableIconRight) {
+ getStateHelper().put(Properties.groupDisableIconRight, groupDisableIconRight);
+ }
+
+ @Attribute
+ public abstract String getTopGroupClass();
+
+ @Attribute
+ public abstract String getTopGroupDisableClass();
+
+ @Attribute(generate = false)
+ public String getTopGroupExpandIconLeft() {
+ return (String) getStateHelper().eval(Properties.topGroupExpandIconLeft,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setTopGroupExpandIconLeft(String topGroupExpandIconLeft) {
+ getStateHelper().put(Properties.topGroupExpandIconLeft, topGroupExpandIconLeft);
+ }
+
+ @Attribute(generate = false)
+ public String getTopGroupExpandIconRight() {
+ return (String) getStateHelper().eval(Properties.topGroupExpandIconRight,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setTopGroupExpandIconRight(String topGroupExpandIconRight) {
+ getStateHelper().put(Properties.topGroupExpandIconRight,
topGroupExpandIconRight);
+ }
+
+ @Attribute(generate = false)
+ public String getTopGroupCollapseIconLeft() {
+ return (String) getStateHelper().eval(Properties.topGroupCollapseIconLeft,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setTopGroupCollapseIconLeft(String topGroupCollapseIconLeft) {
+ getStateHelper().put(Properties.topGroupCollapseIconLeft,
topGroupCollapseIconLeft);
+ }
+
+ @Attribute(generate = false)
+ public String getTopGroupCollapseIconRight() {
+ return (String) getStateHelper().eval(Properties.topGroupCollapseIconRight,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setTopGroupCollapseIconRight(String topGroupCollapseIconRight) {
+ getStateHelper().put(Properties.topGroupCollapseIconRight,
topGroupCollapseIconRight);
+ }
+
+ @Attribute(generate = false)
+ public String getTopGroupDisableIconLeft() {
+ return (String) getStateHelper().eval(Properties.topGroupDisableIconLeft,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setTopGroupDisableIconLeft(String topGroupDisableIconLeft) {
+ getStateHelper().put(Properties.topGroupDisableIconLeft,
topGroupDisableIconLeft);
+ }
+
+ @Attribute(generate = false)
+ public String getTopGroupDisableIconRight() {
+ return (String) getStateHelper().eval(Properties.topGroupDisableIconRight,
PanelIcons.DEFAULT.toString());
+ }
+
+ public void setTopGroupDisableIconRight(String topGroupDisableIconRight) {
+ getStateHelper().put(Properties.topGroupDisableIconRight,
topGroupDisableIconRight);
+ }
+
+ @Attribute(events = @EventName("click"))
+ public abstract String getOnclick();
+
+ @Attribute(events = @EventName("dblclick"))
+ public abstract String getOndblclick();
+
+ @Attribute(events = @EventName("mousedown"))
+ public abstract String getOnmousedown();
+
+ @Attribute(events = @EventName("mousemove"))
+ public abstract String getOnmousemove();
+
+ @Attribute(events = @EventName("mouseout"))
+ public abstract String getOnmouseout();
+
+ @Attribute(events = @EventName("mouseover"))
+ public abstract String getOnmouseover();
+
+ @Attribute(events = @EventName("mouseup"))
+ public abstract String getOnmouseup();
+
public AbstractPanelMenuItem getItem(String itemName) {
if (itemName == null) {
throw new IllegalArgumentException("Icon name can't be null");
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanelMenuGroup.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanelMenuGroup.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanelMenuGroup.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -23,20 +23,22 @@
package org.richfaces.component;
+import org.richfaces.cdk.annotations.*;
+import org.richfaces.event.ItemChangeEvent;
+import org.richfaces.event.PanelToggleEvent;
+
import javax.el.MethodExpression;
import javax.el.ValueExpression;
import javax.faces.context.FacesContext;
import javax.faces.event.FacesEvent;
import javax.faces.event.PhaseId;
-import org.richfaces.event.ItemChangeEvent;
-import org.richfaces.event.PanelToggleEvent;
-
/**
* @author akolonitsky
* @since 2010-10-25
*/
-public abstract class AbstractPanelMenuGroup extends UIPanelMenuItem {
+@JsfComponent(tag = @Tag(type = TagType.Facelets))
+public abstract class AbstractPanelMenuGroup extends AbstractPanelMenuItem {
public static final String COMPONENT_TYPE =
"org.richfaces.PanelMenuGroup";
@@ -44,11 +46,11 @@
private Boolean submittedExpanded;
private enum PropertyKeys {
- immediate
+ selectable, immediate
}
protected AbstractPanelMenuGroup() {
- setRendererType("org.richfaces.PanelMenuGroup");
+ setRendererType("org.richfaces.PanelMenuGroupRenderer");
}
@Override
@@ -147,13 +149,180 @@
getStateHelper().put(PropertyKeys.immediate, immediate);
}
+ // ------------------------------------------------ Component Attributes
+
+ @Attribute(defaultValue = "Boolean.FALSE")
+ public abstract Boolean isSelectable();
+
+/*
+ @Override
+ public PanelMenuMode getMode() {
+ return (PanelMenuMode) getStateHelper().eval(UIPanelMenuItem.PropertyKeys.mode,
getPanelMenu().getGroupMode());
+ }
+*/
+
+ @Attribute(defaultValue = "getPanelMenu().isExpandSingle()")
public abstract boolean isExpandSingle();
+ @Attribute(defaultValue = "click")
public abstract String getCollapseEvent();
+ @Attribute(defaultValue = "click")
public abstract String getExpandEvent();
+ @Attribute(defaultValue = "getPanelMenu().isBubbleSelection()")
public abstract boolean isBubbleSelection();
+ @Attribute
public abstract MethodExpression getChangeExpandListener();
+
+ // ------------------------------------------------ Html Attributes
+
+ enum Properties {
+ iconLeftDisabled, iconLeftExpanded, iconRightCollapsed, iconRightDisabled,
iconRightExpanded, disabledClass, styleClass, iconLeftCollapsed
+
+ }
+
+ @Attribute(generate = false)
+ public String getIconLeftCollapsed() {
+ return (String) getStateHelper().eval(Properties.iconLeftCollapsed,
+ isTopItem() ? getPanelMenu().getTopGroupCollapseIconLeft() :
getPanelMenu().getGroupCollapseIconLeft());
+ }
+
+ public void setIconLeftCollapsed(String iconLeftCollapsed) {
+ getStateHelper().put(Properties.iconLeftCollapsed, iconLeftCollapsed);
+ }
+
+
+ @Attribute(generate = false)
+ public String getIconLeftDisabled() {
+ return (String) getStateHelper().eval(Properties.iconLeftDisabled,
+ isTopItem() ? getPanelMenu().getTopGroupDisableIconLeft() :
getPanelMenu().getGroupDisableIconLeft());
+ }
+
+ public void setIconLeftDisabled(String iconLeftDisabled) {
+ getStateHelper().put(Properties.iconLeftDisabled, iconLeftDisabled);
+ }
+
+ @Attribute(generate = false)
+ public String getIconLeftExpanded() {
+ return (String) getStateHelper().eval(Properties.iconLeftExpanded,
+ isTopItem() ? getPanelMenu().getTopGroupExpandIconLeft() :
getPanelMenu().getGroupExpandIconLeft());
+ }
+
+ public void setIconLeftExpanded(String iconLeftExpanded) {
+ getStateHelper().put(Properties.iconLeftExpanded, iconLeftExpanded);
+ }
+
+ @Attribute(generate = false)
+ public String getIconRightCollapsed() {
+ return (String) getStateHelper().eval(Properties.iconRightCollapsed,
+ isTopItem() ? getPanelMenu().getTopGroupCollapseIconRight() :
getPanelMenu().getGroupCollapseIconRight());
+ }
+
+ public void setIconRightCollapsed(String iconRightCollapsed) {
+ getStateHelper().put(Properties.iconRightCollapsed, iconRightCollapsed);
+ }
+
+ @Attribute(generate = false)
+ public String getIconRightDisabled() {
+ return (String) getStateHelper().eval(Properties.iconRightDisabled,
+ isTopItem() ? getPanelMenu().getTopGroupDisableIconRight() :
getPanelMenu().getGroupDisableIconRight());
+ }
+
+ public void setIconRightDisabled(String iconRightDisabled) {
+ getStateHelper().put(Properties.iconRightDisabled, iconRightDisabled);
+ }
+
+ @Attribute(generate = false)
+ public String getIconRightExpanded() {
+ return (String) getStateHelper().eval(Properties.iconRightExpanded,
+ isTopItem() ? getPanelMenu().getTopGroupExpandIconRight() :
getPanelMenu().getGroupExpandIconRight());
+ }
+
+ public void setIconRightExpanded(String iconRightExpanded) {
+ getStateHelper().put(Properties.iconRightExpanded, iconRightExpanded);
+ }
+
+ @Attribute(events = @EventName("collapse"))
+ public abstract String getOncollapse();
+
+ @Attribute(events = @EventName("expand"))
+ public abstract String getOnexpand();
+
+ @Attribute(events = @EventName("switch"))
+ public abstract String getOnswitch();
+
+ @Attribute(events = @EventName("beforecollapse"))
+ public abstract String getOnbeforecollapse();
+
+ @Attribute(events = @EventName("beforeexpand"))
+ public abstract String getOnbeforeexpand();
+
+ @Attribute(events = @EventName("beforeswitch"))
+ public abstract String getOnbeforeswitch();
+
+ @Attribute(generate = false)
+ public String getDisabledClass() {
+ return (String) getStateHelper().eval(Properties.disabledClass,
+ isTopItem() ? getPanelMenu().getTopGroupDisableClass() :
getPanelMenu().getGroupDisableClass());
+ }
+
+ public void setDisabledClass(String disabledClass) {
+ getStateHelper().put(Properties.disabledClass, disabledClass);
+ }
+
+ public abstract String getHoverClass();
+
+ public abstract String getIconLeftClass();
+
+ public abstract String getIconRightClass();
+
+ public abstract String getStyle();
+
+ @Attribute(generate = false)
+ public String getStyleClass() {
+ return (String) getStateHelper().eval(Properties.styleClass,
+ isTopItem() ? getPanelMenu().getTopGroupClass() :
getPanelMenu().getGroupClass());
+ }
+
+ public void setStyleClass(String styleClass) {
+ getStateHelper().put(Properties.styleClass, styleClass);
+ }
+
+ @Attribute(events = @EventName("beforedomupdate"))
+ public abstract String getOnbeforedomupdate();
+
+ @Attribute(events = @EventName("complete"))
+ public abstract String getOncomplete();
+
+ @Attribute(events = @EventName("click"))
+ public abstract String getOnclick();
+
+ @Attribute(events = @EventName("dblclick"))
+ public abstract String getOndblclick();
+
+ @Attribute(events = @EventName("mousedown"))
+ public abstract String getOnmousedown();
+
+ @Attribute(events = @EventName("mousemove"))
+ public abstract String getOnmousemove();
+
+ @Attribute(events = @EventName("mouseout"))
+ public abstract String getOnmouseout();
+
+ @Attribute(events = @EventName("mouseover"))
+ public abstract String getOnmouseover();
+
+ @Attribute(events = @EventName("mouseup"))
+ public abstract String getOnmouseup();
+
+ @Attribute(events = @EventName("unselect"))
+ public abstract String getOnunselect();
+
+ @Attribute(events = @EventName("select"))
+ public abstract String getOnselect();
+
+ @Attribute(events = @EventName("beforeselect"))
+ public abstract String getOnbeforeselect();
}
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanelMenuItem.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanelMenuItem.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanelMenuItem.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -24,6 +24,7 @@
package org.richfaces.component;
import org.richfaces.PanelMenuMode;
+import org.richfaces.cdk.annotations.*;
import javax.faces.component.UIComponent;
@@ -31,6 +32,7 @@
* @author akolonitsky
* @since 2010-10-25
*/
+@JsfComponent(tag = @Tag(type = TagType.Facelets))
public abstract class AbstractPanelMenuItem extends AbstractActionComponent {
public static final String COMPONENT_TYPE = "org.richfaces.PanelMenuItem";
@@ -38,7 +40,7 @@
public static final String COMPONENT_FAMILY =
"org.richfaces.PanelMenuItem";
protected AbstractPanelMenuItem() {
- setRendererType("org.richfaces.PanelMenuItem");
+ setRendererType("org.richfaces.PanelMenuItemRenderer");
}
public boolean isTopItem() {
@@ -79,21 +81,158 @@
return COMPONENT_FAMILY;
}
+ // ------------------------------------------------ Component Attributes
+
+ @Attribute(defaultValue = "Boolean.TRUE")
+ public abstract Boolean isSelectable();
+
+ @Attribute(defaultValue = "Boolean.FALSE")
+ public abstract Boolean isUnselectable();
+
+ @Attribute(defaultValue = "getPanelMenu().getItemMode()")
public abstract PanelMenuMode getMode();
+ @Attribute(generate = false)
+ public String getName() {
+ return (String) getStateHelper().eval(Properties.name, getId());
+ }
+
+ public void setName(String name) {
+ getStateHelper().put(Properties.name, name);
+ }
+
+ @Attribute
public abstract String getLabel();
- public abstract String getName();
-
+ @Attribute
public abstract boolean isDisabled();
+ @Attribute
public abstract boolean isLimitRender();
+ @Attribute
public abstract Object getData();
+ @Attribute
public abstract String getStatus();
+ @Attribute
public abstract Object getExecute();
+ @Attribute
public abstract Object getRender();
+
+ // ------------------------------------------------ Html Attributes
+ enum Properties {
+ iconLeft, iconLeftDisabled, iconRight, iconRightDisabled, styleClass,
disabledClass, name
+
+ }
+
+ @Attribute(generate = false)
+ public String getDisabledClass() {
+ return (String) getStateHelper().eval(Properties.disabledClass,
+ isTopItem() ? getPanelMenu().getTopItemDisableClass() :
getPanelMenu().getItemDisableClass());
+ }
+
+ public void setDisabledClass(String disabledClass) {
+ getStateHelper().put(Properties.disabledClass, disabledClass);
+ }
+
+ @Attribute
+ public abstract String getHoverClass();
+
+ @Attribute(generate = false)
+ public String getIconLeft() {
+ return (String) getStateHelper().eval(Properties.iconLeft,
+ isTopItem() ? getPanelMenu().getTopItemIconLeft() :
getPanelMenu().getItemIconLeft());
+ }
+
+ public void setIconLeft(String iconLeft) {
+ getStateHelper().put(Properties.iconLeft, iconLeft);
+ }
+
+ @Attribute
+ public abstract String getIconLeftClass();
+
+ @Attribute(generate = false)
+ public String getIconLeftDisabled() {
+ return (String) getStateHelper().eval(Properties.iconLeftDisabled,
+ isTopItem() ? getPanelMenu().getTopItemDisableIconLeft() :
getPanelMenu().getItemDisableIconLeft());
+ }
+
+ public void setIconLeftDisabled(String iconLeftDisabled) {
+ getStateHelper().put(Properties.iconLeftDisabled, iconLeftDisabled);
+ }
+
+ @Attribute(generate = false)
+ public String getIconRight() {
+ return (String) getStateHelper().eval(Properties.iconRight,
+ isTopItem() ? getPanelMenu().getTopItemIconRight() :
getPanelMenu().getItemIconRight());
+ }
+
+ public void setIconRight(String iconRight) {
+ getStateHelper().put(Properties.iconRight, iconRight);
+ }
+
+ @Attribute
+ public abstract String getIconRightClass();
+
+ @Attribute(generate = false)
+ public String getIconRightDisabled() {
+ return (String) getStateHelper().eval(Properties.iconRightDisabled,
+ isTopItem() ? getPanelMenu().getTopItemDisableIconRight() :
getPanelMenu().getItemDisableIconRight());
+ }
+
+ public void setIconRightDisabled(String iconRightDisabled) {
+ getStateHelper().put(Properties.iconRightDisabled, iconRightDisabled);
+ }
+
+ @Attribute
+ public abstract String getStyle();
+
+ @Attribute(generate = false)
+ public String getStyleClass() {
+ return (String) getStateHelper().eval(Properties.styleClass,
+ isTopItem() ? getPanelMenu().getTopItemClass() :
getPanelMenu().getItemClass());
+ }
+
+ public void setStyleClass(String styleClass) {
+ getStateHelper().put(Properties.styleClass, styleClass);
+ }
+
+ @Attribute(events = @EventName("beforedomupdate"))
+ public abstract String getOnbeforedomupdate();
+
+ @Attribute(events = @EventName("complete"))
+ public abstract String getOncomplete();
+
+ @Attribute(events = @EventName("click"))
+ public abstract String getOnclick();
+
+ @Attribute(events = @EventName("dblclick"))
+ public abstract String getOndblclick();
+
+ @Attribute(events = @EventName("mousedown"))
+ public abstract String getOnmousedown();
+
+ @Attribute(events = @EventName("mousemove"))
+ public abstract String getOnmousemove();
+
+ @Attribute(events = @EventName("mouseout"))
+ public abstract String getOnmouseout();
+
+ @Attribute(events = @EventName("mouseover"))
+ public abstract String getOnmouseover();
+
+ @Attribute(events = @EventName("mouseup"))
+ public abstract String getOnmouseup();
+
+ @Attribute(events = @EventName("unselect"))
+ public abstract String getOnunselect();
+
+ @Attribute(events = @EventName("select"))
+ public abstract String getOnselect();
+
+ @Attribute(events = @EventName("beforeselect"))
+ public abstract String getOnbeforeselect();
}
Copied: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTab.java (from
rev 20980, trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTab.java)
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTab.java
(rev 0)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTab.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -0,0 +1,187 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+
+package org.richfaces.component;
+
+import org.richfaces.cdk.annotations.*;
+
+import javax.faces.component.behavior.ClientBehaviorHolder;
+
+/**
+ * @author akolonitsky
+ * @since 2010-10-19
+ */
+@JsfComponent(tag = @Tag(type = TagType.Facelets), renderer = @JsfRenderer(type =
"org.richfaces.TabRenderer"))
+public abstract class AbstractTab extends AbstractTogglePanelTitledItem implements
ClientBehaviorHolder {
+
+ public static final String COMPONENT_TYPE = "org.richfaces.Tab";
+
+ public static final String COMPONENT_FAMILY = "org.richfaces.Tab";
+
+ public AbstractTab() {
+ setRendererType("org.richfaces.TabRenderer");
+ }
+
+ public AbstractTabPanel getTabPanel() {
+ return (AbstractTabPanel) this.getParent();
+ }
+
+ // ------------------------------------------------ Html Attributes
+ enum Properties {
+ headerClassDisabled, headerClassInactive, headerClass, contentClass,
headerClassActive
+
+ }
+
+ @Attribute(generate = false)
+ public String getHeaderClassActive() {
+ String value = (String) getStateHelper().eval(Properties.headerClassActive);
+ if (value != null) {
+ return value;
+ }
+
+ return getTabPanel().getTabHeaderClassActive();
+ }
+
+ public void setHeaderClassActive(String headerClassActive) {
+ getStateHelper().put(Properties.headerClassActive, headerClassActive);
+ }
+
+
+ @Attribute(generate = false)
+ public String getHeaderClassDisabled() {
+ String value = (String) getStateHelper().eval(Properties.headerClassDisabled);
+ if (value != null) {
+ return value;
+ }
+
+ return getTabPanel().getTabHeaderClassDisabled();
+ }
+
+ public void setHeaderClassDisabled(String headerClassDisabled) {
+ getStateHelper().put(Properties.headerClassDisabled, headerClassDisabled);
+ }
+
+ @Attribute(generate = false)
+ public String getHeaderClassInactive() {
+ String value = (String) getStateHelper().eval(Properties.headerClassInactive);
+ if (value != null) {
+ return value;
+ }
+
+ return getTabPanel().getTabHeaderClassInactive();
+ }
+
+ public void setHeaderClassInactive(String headerClassInactive) {
+ getStateHelper().put(Properties.headerClassInactive, headerClassInactive);
+ }
+
+ @Attribute(generate = false)
+ public String getHeaderClass() {
+ String value = (String) getStateHelper().eval(Properties.headerClass);
+ if (value != null) {
+ return value;
+ }
+
+ return getTabPanel().getTabHeaderClass();
+ }
+
+ public void setHeaderClass(String headerClass) {
+ getStateHelper().put(Properties.headerClass, headerClass);
+ }
+
+
+ @Attribute
+ public abstract String getHeaderStyle();
+
+ @Attribute(generate = false)
+ public String getContentClass() {
+ String value = (String) getStateHelper().eval(Properties.contentClass);
+ if (value != null) {
+ return value;
+ }
+
+ return getTabPanel().getTabContentClass();
+ }
+
+ public void setContentClass(String contentClass) {
+ getStateHelper().put(Properties.contentClass, contentClass);
+ }
+
+ @Attribute(events = @EventName("headerclick"))
+ public abstract String getOnheaderclick();
+
+ @Attribute(events = @EventName("headerdblclick"))
+ public abstract String getOnheaderdblclick();
+
+ @Attribute(events = @EventName("headermousedown"))
+ public abstract String getOnheadermousedown();
+
+ @Attribute(events = @EventName("headermousemove"))
+ public abstract String getOnheadermousemove();
+
+ @Attribute(events = @EventName("headermouseup"))
+ public abstract String getOnheadermouseup();
+
+ @Attribute(events = @EventName("enter"))
+ public abstract String getOnenter();
+
+ @Attribute(events = @EventName("leave"))
+ public abstract String getOnleave();
+
+ @Attribute
+ public abstract String getLang();
+
+ @Attribute
+ public abstract String getTitle();
+
+ @Attribute
+ public abstract String getStyle();
+
+ @Attribute
+ public abstract String getStyleClass();
+
+ @Attribute
+ public abstract String getDir();
+
+ @Attribute(events = @EventName("click"))
+ public abstract String getOnclick();
+
+ @Attribute(events = @EventName("dblclick"))
+ public abstract String getOndblclick();
+
+ @Attribute(events = @EventName("mousedown"))
+ public abstract String getOnmousedown();
+
+ @Attribute(events = @EventName("mousemove"))
+ public abstract String getOnmousemove();
+
+ @Attribute(events = @EventName("mouseout"))
+ public abstract String getOnmouseout();
+
+ @Attribute(events = @EventName("mouseover"))
+ public abstract String getOnmouseover();
+
+ @Attribute(events = @EventName("mouseup"))
+ public abstract String getOnmouseup();
+
+}
+
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTabPanel.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTabPanel.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTabPanel.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -23,19 +23,24 @@
package org.richfaces.component;
+import org.richfaces.HeaderAlignment;
+import org.richfaces.HeaderPosition;
+import org.richfaces.cdk.annotations.*;
/**
* @author akolonitsky
* @since 2010-08-24
*/
-public abstract class AbstractTabPanel extends UITogglePanel {
+@JsfComponent(tag = @Tag(type = TagType.Facelets, handler =
"org.richfaces.view.facelets.html.TogglePanelTagHandler"),
+ renderer = @JsfRenderer(type = "org.richfaces.TabPanelRenderer"))
+public abstract class AbstractTabPanel extends AbstractTogglePanel {
public static final String COMPONENT_TYPE = "org.richfaces.TabPanel";
public static final String COMPONENT_FAMILY = "org.richfaces.TabPanel";
protected AbstractTabPanel() {
- setRendererType("org.richfaces.TabPanel");
+ setRendererType("org.richfaces.TabPanelRenderer");
}
@Override
@@ -51,4 +56,69 @@
}
return res;
}
+
+ // ------------------------------------------------ Html Attributes
+
+ @Attribute
+ public abstract HeaderPosition getHeaderPosition();
+
+ @Attribute
+ public abstract HeaderAlignment getHeaderAlignment();
+
+ @Attribute
+ public abstract String getTabHeaderClassActive();
+
+ @Attribute
+ public abstract String getTabHeaderClassDisabled();
+
+ @Attribute
+ public abstract String getTabHeaderClassInactive();
+
+ @Attribute
+ public abstract String getTabContentClass();
+
+ @Attribute
+ public abstract String getTabHeaderClass();
+
+ @Attribute(events = @EventName("itemchange"))
+ public abstract String getOnitemchange();
+
+ @Attribute(events = @EventName("beforeitemchange"))
+ public abstract String getOnbeforeitemchange();
+
+ @Attribute
+ public abstract String getLang();
+
+ @Attribute
+ public abstract String getTitle();
+
+ @Attribute
+ public abstract String getStyle();
+
+ @Attribute
+ public abstract String getStyleClass();
+
+ @Attribute
+ public abstract String getDir();
+
+ @Attribute(events = @EventName("click"))
+ public abstract String getOnclick();
+
+ @Attribute(events = @EventName("dblclick"))
+ public abstract String getOndblclick();
+
+ @Attribute(events = @EventName("mousedown"))
+ public abstract String getOnmousedown();
+
+ @Attribute(events = @EventName("mousemove"))
+ public abstract String getOnmousemove();
+
+ @Attribute(events = @EventName("mouseout"))
+ public abstract String getOnmouseout();
+
+ @Attribute(events = @EventName("mouseover"))
+ public abstract String getOnmouseover();
+
+ @Attribute(events = @EventName("mouseup"))
+ public abstract String getOnmouseup();
}
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanel.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanel.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanel.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -46,6 +46,7 @@
import org.richfaces.application.MessageFactory;
import org.richfaces.application.ServiceTracker;
import org.richfaces.appplication.FacesMessages;
+import org.richfaces.cdk.annotations.*;
import org.richfaces.component.util.MessageUtil;
import org.richfaces.event.ItemChangeEvent;
import org.richfaces.event.ItemChangeListener;
@@ -55,6 +56,8 @@
* @author akolonitsky
* @version 1.0
*/
+@JsfComponent(tag = @Tag(type = TagType.Facelets, handler =
"org.richfaces.view.facelets.html.TogglePanelTagHandler"),
+ renderer = @JsfRenderer(type = "org.richfaces.TogglePanelRenderer"))
public abstract class AbstractTogglePanel extends AbstractDivPanel implements
ItemChangeSource {
public static final String COMPONENT_TYPE = "org.richfaces.TogglePanel";
@@ -79,7 +82,7 @@
}
protected AbstractTogglePanel() {
- setRendererType("org.richfaces.TogglePanel");
+ setRendererType("org.richfaces.TogglePanelRenderer");
}
@@ -588,25 +591,78 @@
}
}
+ @Attribute(defaultValue = "SwitchType.DEFAULT")
public abstract SwitchType getSwitchType();
+ @Attribute
public abstract boolean isBypassUpdates();
+ @Attribute
public abstract boolean isLimitRender();
+ @Attribute
public abstract boolean isCycledSwitching();
+ @Attribute
public abstract Object getData();
+ @Attribute
public abstract String getStatus();
+ @Attribute
public abstract Object getExecute();
+ @Attribute
public abstract Object getRender();
+ @Attribute
public abstract MethodExpression getItemChangeListener();
+ // ------------------------------------------------ Html Attributes
+
+ @Attribute(events = @EventName("itemchange"))
+ public abstract String getOnitemchange();
+
+ @Attribute(events = @EventName("beforeitemchange"))
+ public abstract String getOnbeforeitemchange();
+
+ @Attribute
+ public abstract String getLang();
+
+ @Attribute
+ public abstract String getTitle();
+
+ @Attribute
+ public abstract String getStyle();
+
+ @Attribute
+ public abstract String getStyleClass();
+
+ @Attribute
+ public abstract String getDir();
+
+ @Attribute(events = @EventName("click"))
+ public abstract String getOnclick();
+
+ @Attribute(events = @EventName("dblclick"))
+ public abstract String getOndblclick();
+
+ @Attribute(events = @EventName("mousedown"))
+ public abstract String getOnmousedown();
+
+ @Attribute(events = @EventName("mousemove"))
+ public abstract String getOnmousemove();
+
+ @Attribute(events = @EventName("mouseout"))
+ public abstract String getOnmouseout();
+
+ @Attribute(events = @EventName("mouseover"))
+ public abstract String getOnmouseover();
+
+ @Attribute(events = @EventName("mouseup"))
+ public abstract String getOnmouseup();
+
// ------------------------------------------------ Event Processing Methods
public void addItemChangeListener(ItemChangeListener listener) {
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanelItem.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanelItem.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanelItem.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -22,6 +22,7 @@
package org.richfaces.component;
+import org.richfaces.cdk.annotations.*;
import org.richfaces.renderkit.html.TogglePanelItemRenderer;
import javax.faces.component.UIComponent;
@@ -34,16 +35,19 @@
/**
* @author akolonitsky
* @version 1.0
- * @since -4712-01-01
*/
+@JsfComponent(
+ tag = @Tag(type = TagType.Facelets),
+ renderer = @JsfRenderer(type =
"org.richfaces.TogglePanelItemRenderer"))
public abstract class AbstractTogglePanelItem extends AbstractDivPanel {
public static final String COMPONENT_TYPE =
"org.richfaces.TogglePanelItem";
public static final String COMPONENT_FAMILY =
"org.richfaces.TogglePanelItem";
+ private static final String NAME = "name";
protected AbstractTogglePanelItem() {
- setRendererType("org.richfaces.TogglePanelItem");
+ setRendererType("org.richfaces.TogglePanelItemRenderer");
}
@Override
@@ -118,10 +122,65 @@
attrs.put("style", "display:none; " + style);
}
- public abstract String getName();
+ // ------------------------------------------------ Component Attributes
+ @Attribute(defaultValue = "getId()", generate = false)
+ public String getName() {
+ return (String) getStateHelper().eval(NAME, getId());
+ }
+
+ public void setName(String name) {
+ getStateHelper().put(NAME, name);
+ }
+
+ @Attribute(defaultValue = "getParent().getSwitchType()")
public abstract SwitchType getSwitchType();
+ // ------------------------------------------------ Html Attributes
+
+ @Attribute(events = @EventName("enter"))
+ public abstract String getOnenter();
+
+ @Attribute(events = @EventName("leave"))
+ public abstract String getOnleave();
+
+ @Attribute
+ public abstract String getLang();
+
+ @Attribute
+ public abstract String getTitle();
+
+ @Attribute
+ public abstract String getStyle();
+
+ @Attribute
+ public abstract String getStyleClass();
+
+ @Attribute
+ public abstract String getDir();
+
+ @Attribute(events = @EventName("click"))
+ public abstract String getOnclick();
+
+ @Attribute(events = @EventName("dblclick"))
+ public abstract String getOndblclick();
+
+ @Attribute(events = @EventName("mousedown"))
+ public abstract String getOnmousedown();
+
+ @Attribute(events = @EventName("mousemove"))
+ public abstract String getOnmousemove();
+
+ @Attribute(events = @EventName("mouseout"))
+ public abstract String getOnmouseout();
+
+ @Attribute(events = @EventName("mouseover"))
+ public abstract String getOnmouseover();
+
+ @Attribute(events = @EventName("mouseup"))
+ public abstract String getOnmouseup();
+
+
public String toString() {
return "TogglePanelItem {name: " + getName() + ", switchType:
" + getSwitchType() + '}';
}
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanelTitledItem.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanelTitledItem.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanelTitledItem.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -22,11 +22,13 @@
package org.richfaces.component;
+import org.richfaces.cdk.annotations.*;
import org.richfaces.renderkit.html.DivPanelRenderer;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import java.io.IOException;
+import java.util.Properties;
import static org.richfaces.renderkit.html.DivPanelRenderer.capitalize;
@@ -34,7 +36,7 @@
* @author akolonitsky
* @since 2010-08-05
*/
-public abstract class AbstractTogglePanelTitledItem extends UITogglePanelItem {
+public abstract class AbstractTogglePanelTitledItem extends AbstractTogglePanelItem {
public static final String COMPONENT_TYPE =
"org.richfaces.TogglePanelTitledItem";
@@ -60,25 +62,12 @@
}
}
- protected AbstractTogglePanelTitledItem() {
- setRendererType("org.richfaces.TogglePanelTitledItem");
- }
-
@Override
public String getFamily() {
return COMPONENT_FAMILY;
}
- public abstract boolean isDisabled();
-
- public abstract String getHeader();
-
@Override
- public String getName() {
- return (String) getStateHelper().eval(PropertyKeys.name, getId());
- }
-
- @Override
public void encodeAll(FacesContext context) throws IOException {
if (!isRendered()) {
return;
@@ -113,4 +102,98 @@
}
return headerFacet;
}
+
+ // ------------------------------------------------ Component Attributes
+ enum Properties {
+ header
+ }
+
+ @Attribute
+ public abstract boolean isDisabled();
+
+ @Attribute(generate = false)
+ public String getHeader() {
+ return (String) getStateHelper().eval(Properties.header, getName());
+ }
+
+ public void setHeader(String header) {
+ getStateHelper().put(Properties.header, header);
+ }
+ // ------------------------------------------------ Html Attributes
+
+ @Attribute
+ public abstract String getHeaderClassActive();
+
+ @Attribute
+ public abstract String getHeaderClassDisabled();
+
+ @Attribute
+ public abstract String getHeaderClassInactive();
+
+ @Attribute
+ public abstract String getHeaderClass();
+
+ @Attribute
+ public abstract String getHeaderStyle();
+
+ @Attribute
+ public abstract String getContentClass();
+
+ @Attribute(events = @EventName("headerclick"))
+ public abstract String getOnheaderclick();
+
+ @Attribute(events = @EventName("headerdblclick"))
+ public abstract String getOnheaderdblclick();
+
+ @Attribute(events = @EventName("headermousedown"))
+ public abstract String getOnheadermousedown();
+
+ @Attribute(events = @EventName("headermousemove"))
+ public abstract String getOnheadermousemove() ;
+
+ @Attribute(events = @EventName("headermouseup"))
+ public abstract String getOnheadermouseup();
+
+ @Attribute(events = @EventName("enter"))
+ public abstract String getOnenter();
+
+ @Attribute(events = @EventName("leave"))
+ public abstract String getOnleave();
+
+ @Attribute
+ public abstract String getLang();
+
+ @Attribute
+ public abstract String getTitle();
+
+ @Attribute
+ public abstract String getStyle();
+
+ @Attribute
+ public abstract String getStyleClass();
+
+ @Attribute
+ public abstract String getDir();
+
+ @Attribute(events = @EventName("click"))
+ public abstract String getOnclick();
+
+ @Attribute(events = @EventName("dblclick"))
+ public abstract String getOndblclick();
+
+ @Attribute(events = @EventName("mousedown"))
+ public abstract String getOnmousedown();
+
+ @Attribute(events = @EventName("mousemove"))
+ public abstract String getOnmousemove();
+
+ @Attribute(events = @EventName("mouseout"))
+ public abstract String getOnmouseout();
+
+ @Attribute(events = @EventName("mouseover"))
+ public abstract String getOnmouseover();
+
+ @Attribute(events = @EventName("mouseup"))
+ public abstract String getOnmouseup();
+
}
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTooltip.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTooltip.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTooltip.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -32,6 +32,7 @@
import org.richfaces.TooltipLayout;
import org.richfaces.TooltipMode;
+import org.richfaces.cdk.annotations.*;
import org.richfaces.context.ExtendedVisitContext;
import org.richfaces.context.ExtendedVisitContextMode;
import org.richfaces.renderkit.MetaComponentRenderer;
@@ -40,6 +41,8 @@
* @author amarkhel
* @since 2010-10-24
*/
+@JsfComponent(tag = @Tag(type = TagType.Facelets),
+ renderer = @JsfRenderer(type = "org.richfaces.TooltipRenderer"))
public abstract class AbstractTooltip extends AbstractDivPanel implements
MetaComponentResolver, MetaComponentEncoder {
public static final String COMPONENT_TYPE = "org.richfaces.Tooltip";
@@ -49,7 +52,7 @@
public static final String CONTENT_META_COMPONENT_ID = "content";
protected AbstractTooltip() {
- setRendererType("org.richfaces.Tooltip");
+ setRendererType("org.richfaces.TooltipRenderer");
}
@Override
@@ -57,46 +60,106 @@
return COMPONENT_FAMILY;
}
- public abstract String getTarget();
+ // ------------------------------------------------ Component Attributes
+ enum Properties {
+ target
+ }
+ public String getTarget() {
+ return (String) getStateHelper().eval(Properties.target,
getParent().getClientId());
+ }
+
+ public void setTarget(String target) {
+ getStateHelper().put(Properties.target, target);
+ }
+
+/*
+ @Attribute
public abstract String getValue();
+*/
+ @Attribute(defaultValue = "TooltipLayout.DEFAULT")
public abstract TooltipLayout getLayout();
+ @Attribute(defaultValue = "true")
public abstract boolean isAttached();
+ @Attribute(defaultValue = "Positioning.DEFAULT")
+ public abstract Positioning getJointPoint();
+
+ @Attribute(defaultValue = "Positioning.DEFAULT")
public abstract Positioning getDirection();
+ @Attribute
public abstract boolean isDisabled();
+ @Attribute(defaultValue = "true")
public abstract boolean isFollowMouse();
+ @Attribute(defaultValue = "0")
public abstract int getHideDelay();
+ @Attribute(defaultValue = "mouseleave")
public abstract String getHideEvent();
+ @Attribute(defaultValue = "10")
public abstract int getHorizontalOffset();
+ @Attribute(defaultValue = "TooltipMode.DEFAULT")
public abstract TooltipMode getMode();
+ @Attribute(defaultValue = "0")
public abstract int getShowDelay();
+ @Attribute(defaultValue = "mouseenter")
public abstract String getShowEvent();
+ @Attribute(defaultValue = "10")
public abstract int getVerticalOffset();
+ @Attribute
public abstract boolean isBypassUpdates();
+ @Attribute
public abstract boolean isLimitRender();
+ @Attribute
public abstract Object getData();
+ @Attribute
public abstract String getStatus();
+ @Attribute
public abstract Object getExecute();
+ @Attribute
public abstract Object getRender();
+ // ------------------------------------------------ Html Attributes
+
+ @Attribute
+ public abstract String getStyle();
+
+ @Attribute
+ public abstract String getStyleClass();
+
+ @Attribute
+ public abstract int getZindex();
+
+ @Attribute(events = @EventName("hide"))
+ public abstract String getOnhide();
+
+ @Attribute(events = @EventName("show"))
+ public abstract String getOnshow();
+
+ @Attribute(events = @EventName("beforehide"))
+ public abstract String getOnbeforehide();
+
+ @Attribute(events = @EventName("beforeshow"))
+ public abstract String getOnbeforeshow();
+
+ // ------------------------------------------------ Html Attributes End
+
@Override
public void encodeAll(FacesContext context) throws IOException {
if (context == null) {
Deleted: trunk/ui/output/ui/src/main/java/org/richfaces/component/UICollapsiblePanel.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/UICollapsiblePanel.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/UICollapsiblePanel.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,53 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component;
-
-import javax.el.MethodExpression;
-
-/**
- * @author akolonitsky
- * @since 2010-08-27
- */
-public class UICollapsiblePanel extends AbstractCollapsiblePanel {
-
- public enum PropertyKeys {
- header,
- toggleListener
- }
-
- public String getHeader() {
- return (String) getStateHelper().eval(PropertyKeys.header);
- }
-
- public void setHeader(String header) {
- getStateHelper().put(PropertyKeys.header, header);
- }
-
- public MethodExpression getPanelToggleListener() {
- return (MethodExpression) getStateHelper().get(PropertyKeys.toggleListener);
- }
-
- public void setPanelToggleListener(MethodExpression panelToggleListener) {
- getStateHelper().put(PropertyKeys.toggleListener, panelToggleListener);
- }
-}
Deleted: trunk/ui/output/ui/src/main/java/org/richfaces/component/UIPanelMenu.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/component/UIPanelMenu.java 2011-01-18
14:48:02 UTC (rev 21055)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/component/UIPanelMenu.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,165 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-
-package org.richfaces.component;
-
-import org.richfaces.PanelMenuMode;
-
-/**
- * @author akolonitsky
- * @since 2010-11-29
- */
-public class UIPanelMenu extends AbstractPanelMenu {
-
- public enum PropertyKeys {
- disabled,
- expandEvent,
- collapseEvent,
- groupMode,
- expandSingle,
- itemMode,
- bubbleSelection,
- activeItem,
- itemChangeListener,
- bypassUpdates,
- limitRender,
- data,
- status,
- execute,
- render
- }
-
- public boolean isDisabled() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.disabled)));
- }
-
- public void setDisabled(boolean disabled) {
- getStateHelper().put(PropertyKeys.disabled, disabled);
- }
-
- public String getExpandEvent() {
- return (String) getStateHelper().eval(PropertyKeys.expandEvent,
"click");
- }
-
- public void setExpandEvent(String expandEvent) {
- getStateHelper().put(PropertyKeys.expandEvent, expandEvent);
- }
-
- public String getCollapseEvent() {
- return (String) getStateHelper().eval(PropertyKeys.collapseEvent,
"click");
- }
-
- public void setCollapseEvent(String collapseEvent) {
- getStateHelper().put(PropertyKeys.collapseEvent, collapseEvent);
- }
-
- public PanelMenuMode getGroupMode() {
- return (PanelMenuMode) getStateHelper().eval(PropertyKeys.groupMode,
PanelMenuMode.client);
- }
-
- public void setGroupMode(PanelMenuMode groupMode) {
- getStateHelper().put(PropertyKeys.groupMode, groupMode);
- }
-
- public boolean isExpandSingle() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.expandSingle, true)));
- }
-
- public void setExpandSingle(boolean expandSingle) {
- getStateHelper().put(PropertyKeys.expandSingle, expandSingle);
- }
-
- public PanelMenuMode getItemMode() {
- return (PanelMenuMode) getStateHelper().eval(PropertyKeys.itemMode,
PanelMenuMode.DEFAULT);
- }
-
- public void setItemMode(PanelMenuMode itemMode) {
- getStateHelper().put(PropertyKeys.itemMode, itemMode);
- }
-
- public boolean isBubbleSelection() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.bubbleSelection,
true)));
- }
-
- public void setBubbleSelection(boolean bubbleSelection) {
- getStateHelper().put(PropertyKeys.bubbleSelection, bubbleSelection);
- }
-
- public String getItemChangeListener() {
- return (String) getStateHelper().eval(PropertyKeys.itemChangeListener);
- }
-
- public void setItemChangeListener(String itemChangeListener) {
- getStateHelper().put(PropertyKeys.itemChangeListener, itemChangeListener);
- }
-
- public boolean isBypassUpdates() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.bypassUpdates)));
- }
-
- public void setBypassUpdates(boolean bypassUpdates) {
- getStateHelper().put(PropertyKeys.bypassUpdates, bypassUpdates);
- }
-
- public boolean isLimitRender() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.limitRender)));
- }
-
- public void setLimitRender(boolean limitRender) {
- getStateHelper().put(PropertyKeys.limitRender, limitRender);
- }
-
- public Object getData() {
- return getStateHelper().eval(PropertyKeys.data);
- }
-
- public void setData(Object data) {
- getStateHelper().put(PropertyKeys.data, data);
- }
-
- public String getStatus() {
- return (String) getStateHelper().eval(PropertyKeys.status);
- }
-
- public void setStatus(String status) {
- getStateHelper().put(PropertyKeys.status, status);
- }
-
- public Object getExecute() {
- return getStateHelper().eval(PropertyKeys.execute);
- }
-
- public void setExecute(Object execute) {
- getStateHelper().put(PropertyKeys.execute, execute);
- }
-
- public Object getRender() {
- return getStateHelper().eval(PropertyKeys.render);
- }
-
- public void setRender(Object render) {
- getStateHelper().put(PropertyKeys.render, render);
- }
-
-
-}
Deleted: trunk/ui/output/ui/src/main/java/org/richfaces/component/UIPanelMenuGroup.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/UIPanelMenuGroup.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/UIPanelMenuGroup.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,101 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-
-package org.richfaces.component;
-
-import org.richfaces.PanelMenuMode;
-
-import javax.el.MethodExpression;
-
-/**
- * @author akolonitsky
- * @since 2010-10-25
- */
-public class UIPanelMenuGroup extends AbstractPanelMenuGroup {
-
- public enum PropertyKeys {
- expanded,
- expandSingle,
- collapseEvent,
- expandEvent,
- bubbleSelection,
- changeExpandListener
- }
-
- @Override
- public Boolean isSelectable() {
- return (Boolean) getStateHelper().eval(UIPanelMenuItem.PropertyKeys.selectable,
Boolean.FALSE);
- }
-
- @Override
- public PanelMenuMode getMode() {
- return (PanelMenuMode) getStateHelper().eval(UIPanelMenuItem.PropertyKeys.mode,
getPanelMenu().getGroupMode());
- }
-
- @Override
- public void setMode(PanelMenuMode mode) {
- super.setMode(mode);
- }
-
- public boolean isExpandSingle() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.expandSingle,
getPanelMenu().isExpandSingle())));
- }
-
- public void setExpandSingle(boolean expandSingle) {
- getStateHelper().put(PropertyKeys.expandSingle, expandSingle);
- }
-
- public String getCollapseEvent() {
- return (String) getStateHelper().eval(PropertyKeys.collapseEvent,
"click");
- }
-
- public void setCollapseEvent(String collapseEvent) {
- getStateHelper().put(PropertyKeys.collapseEvent, collapseEvent);
- }
-
- public String getExpandEvent() {
- return (String) getStateHelper().eval(PropertyKeys.expandEvent,
"click");
- }
-
- public void setExpandEvent(String expandEvent) {
- getStateHelper().put(PropertyKeys.expandEvent, expandEvent);
- }
-
- public boolean isBubbleSelection() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.bubbleSelection,
getPanelMenu().isBubbleSelection())));
- }
-
- public void setBubbleSelection(boolean bubbleSelection) {
- getStateHelper().put(PropertyKeys.bubbleSelection, bubbleSelection);
- }
-
- public MethodExpression getChangeExpandListener() {
- return (MethodExpression)
getStateHelper().get(PropertyKeys.changeExpandListener);
- }
-
- public void setChangeExpandListener(MethodExpression changeExpandListener) {
- getStateHelper().put(PropertyKeys.changeExpandListener, changeExpandListener);
- }
-
-
-}
Deleted: trunk/ui/output/ui/src/main/java/org/richfaces/component/UIPanelMenuItem.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/UIPanelMenuItem.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/UIPanelMenuItem.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,147 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-
-package org.richfaces.component;
-
-import org.richfaces.PanelMenuMode;
-
-/**
- * @author akolonitsky
- * @since 2010-11-29
- */
-public class UIPanelMenuItem extends AbstractPanelMenuItem {
-
- public enum PropertyKeys {
- selectable,
- unselectable,
-
- mode,
- label,
- name,
- disabled,
- bypassUpdates,
- limitRender,
- data,
- status,
- execute,
- render
- }
-
- public Boolean isSelectable() {
- return (Boolean) getStateHelper().eval(PropertyKeys.selectable, Boolean.TRUE);
- }
-
- public void setSelectable(Boolean selectable) {
- getStateHelper().put(PropertyKeys.selectable, selectable);
- }
-
- public Boolean isUnselectable() {
- return (Boolean) getStateHelper().eval(PropertyKeys.unselectable,
Boolean.FALSE);
- }
-
- public void setUnselectable(Boolean unselectable) {
- getStateHelper().put(PropertyKeys.unselectable, unselectable);
- }
-
- public PanelMenuMode getMode() {
- return (PanelMenuMode) getStateHelper().eval(PropertyKeys.mode,
getPanelMenu().getItemMode());
- }
-
- public void setMode(PanelMenuMode mode) {
- getStateHelper().put(PropertyKeys.mode, mode);
- }
-
- public String getLabel() {
- return (String) getStateHelper().eval(PropertyKeys.label);
- }
-
- public void setLabel(String label) {
- getStateHelper().put(PropertyKeys.label, label);
- }
-
- public String getName() {
- return (String) getStateHelper().eval(PropertyKeys.name, getId());
- }
-
- public void setName(String name) {
- getStateHelper().put(PropertyKeys.name, name);
- }
-
- public boolean isDisabled() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.disabled)));
- }
-
- public void setDisabled(boolean disabled) {
- getStateHelper().put(PropertyKeys.disabled, disabled);
- }
-
- public boolean isBypassUpdates() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.bypassUpdates)));
- }
-
- public void setBypassUpdates(boolean bypassUpdates) {
- getStateHelper().put(PropertyKeys.bypassUpdates, bypassUpdates);
- }
-
- public boolean isLimitRender() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.limitRender)));
- }
-
- public void setLimitRender(boolean limitRender) {
- getStateHelper().put(PropertyKeys.limitRender, limitRender);
- }
-
- public Object getData() {
- return getStateHelper().eval(PropertyKeys.data);
- }
-
- public void setData(Object data) {
- getStateHelper().put(PropertyKeys.data, data);
- }
-
- public String getStatus() {
- return (String) getStateHelper().eval(PropertyKeys.status);
- }
-
- public void setStatus(String status) {
- getStateHelper().put(PropertyKeys.status, status);
- }
-
- public Object getExecute() {
- return getStateHelper().eval(PropertyKeys.execute);
- }
-
- public void setExecute(Object execute) {
- getStateHelper().put(PropertyKeys.execute, execute);
- }
-
- public Object getRender() {
- return getStateHelper().eval(PropertyKeys.render);
- }
-
- public void setRender(Object render) {
- getStateHelper().put(PropertyKeys.render, render);
- }
-
-
-}
Deleted: trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanel.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanel.java 2011-01-18
14:48:02 UTC (rev 21055)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanel.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,119 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component;
-
-import javax.el.MethodExpression;
-
-/**
- * @author akolonitsky
- * @since 2010-08-13
- */
-public class UITogglePanel extends AbstractTogglePanel {
-
- public enum PropertyKeys {
- switchType,
- bypassUpdates,
- limitRender,
- cycledSwitching,
- data,
- status,
- execute,
- render,
- itemChangeListener
- }
-
- public SwitchType getSwitchType() {
- SwitchType type = (SwitchType) getStateHelper().eval(PropertyKeys.switchType,
SwitchType.DEFAULT);
- return type == null ? SwitchType.DEFAULT : type;
- }
-
- public void setSwitchType(SwitchType switchType) {
- getStateHelper().put(PropertyKeys.switchType, switchType);
- }
-
- public boolean isBypassUpdates() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.bypassUpdates)));
- }
-
- public void setBypassUpdates(boolean bypassUpdates) {
- getStateHelper().put(PropertyKeys.bypassUpdates, bypassUpdates);
- }
-
- public boolean isLimitRender() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.limitRender)));
- }
-
- public void setLimitRender(boolean limitRender) {
- getStateHelper().put(PropertyKeys.limitRender, limitRender);
- }
-
- public boolean isCycledSwitching() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.cycledSwitching,
false)));
- }
-
- public void setCycledSwitching(boolean cycledSwitching) {
- getStateHelper().put(PropertyKeys.cycledSwitching, cycledSwitching);
- }
-
- public Object getData() {
- return getStateHelper().eval(PropertyKeys.data);
- }
-
- public void setData(Object data) {
- getStateHelper().put(PropertyKeys.data, data);
- }
-
- public String getStatus() {
- return (String) getStateHelper().eval(PropertyKeys.status);
- }
-
- public void setStatus(String status) {
- getStateHelper().put(PropertyKeys.status, status);
- }
-
- public Object getExecute() {
- return getStateHelper().eval(PropertyKeys.execute);
- }
-
- public void setExecute(Object execute) {
- getStateHelper().put(PropertyKeys.execute, execute);
- }
-
- public Object getRender() {
- return getStateHelper().eval(PropertyKeys.render);
- }
-
- public void setRender(Object render) {
- getStateHelper().put(PropertyKeys.render, render);
- }
-
- public MethodExpression getItemChangeListener() {
- return (MethodExpression) getStateHelper().get(PropertyKeys.itemChangeListener);
- }
-
- public void setItemChangeListener(MethodExpression itemChangeListener) {
- getStateHelper().put(PropertyKeys.itemChangeListener, itemChangeListener);
- }
-
-
-}
Deleted: trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanelItem.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanelItem.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanelItem.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,55 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component;
-
-
-
-/**
- * @author akolonitsky
- * @since 2010-08-13
- */
-public class UITogglePanelItem extends AbstractTogglePanelItem {
-
- public enum PropertyKeys {
- name,
- switchType
- }
-
- public String getName() {
- return (String) getStateHelper().eval(PropertyKeys.name, getId());
- }
-
- public void setName(String name) {
- getStateHelper().put(PropertyKeys.name, name);
- }
-
- public SwitchType getSwitchType() {
- SwitchType type = (SwitchType) getStateHelper().eval(PropertyKeys.switchType,
getParent().getSwitchType());
-
- return type == null ? SwitchType.DEFAULT : type;
- }
-
- public void setSwitchType(SwitchType switchType) {
- getStateHelper().put(PropertyKeys.switchType, switchType);
- }
-}
Deleted:
trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanelTitledItem.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanelTitledItem.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanelTitledItem.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,55 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component;
-
-
-
-/**
- * @author akolonitsky
- * @since 2010-08-13
- */
-public class UITogglePanelTitledItem extends AbstractTogglePanelTitledItem {
-
- public enum PropertyKeys {
- disabled,
- header
- }
-
- public boolean isDisabled() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.disabled)));
- }
-
- public void setDisabled(boolean disabled) {
- getStateHelper().put(PropertyKeys.disabled, disabled);
- }
-
- public String getHeader() {
- return (String) getStateHelper().eval(PropertyKeys.header, getName());
- }
-
- public void setHeader(String header) {
- getStateHelper().put(PropertyKeys.header, header);
- }
-
-
-}
Deleted: trunk/ui/output/ui/src/main/java/org/richfaces/component/UITooltip.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/component/UITooltip.java 2011-01-18
14:48:02 UTC (rev 21055)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/component/UITooltip.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,228 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-
-package org.richfaces.component;
-
-import org.richfaces.TooltipLayout;
-import org.richfaces.TooltipMode;
-
-/**
- * @author amarkhel
- * @since 2010-10-24
- */
-public class UITooltip extends AbstractTooltip {
-
- public enum PropertyKeys {
- target,
- value,
- layout,
- attached,
- jointPoint,
- direction,
- disabled,
- followMouse,
- hideDelay,
- hideEvent,
- horizontalOffset,
- mode,
- showDelay,
- showEvent,
- verticalOffset,
- bypassUpdates,
- limitRender,
- data,
- status,
- execute,
- render
- }
-
- public String getTarget() {
- return (String) getStateHelper().eval(PropertyKeys.target,
getParent().getClientId());
- }
-
- public void setTarget(String target) {
- getStateHelper().put(PropertyKeys.target, target);
- }
-
- public String getValue() {
- return (String) getStateHelper().eval(PropertyKeys.value);
- }
-
- public void setValue(String value) {
- getStateHelper().put(PropertyKeys.value, value);
- }
-
- public TooltipLayout getLayout() {
- return (TooltipLayout) getStateHelper().eval(PropertyKeys.layout,
TooltipLayout.DEFAULT);
- }
-
- public void setLayout(TooltipLayout layout) {
- getStateHelper().put(PropertyKeys.layout, layout);
- }
-
- public boolean isAttached() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.attached, true)));
- }
-
- public void setAttached(boolean attached) {
- getStateHelper().put(PropertyKeys.attached, attached);
- }
-
- public Positioning getJointPoint() {
- return (Positioning) getStateHelper().eval(PropertyKeys.jointPoint,
Positioning.DEFAULT);
- }
-
- public void setJointPoint(Positioning jointPoint) {
- getStateHelper().put(PropertyKeys.jointPoint, jointPoint);
- }
-
- public Positioning getDirection() {
- return (Positioning) getStateHelper().eval(PropertyKeys.direction,
Positioning.DEFAULT);
- }
-
- public void setDirection(Positioning direction) {
- getStateHelper().put(PropertyKeys.direction, direction);
- }
-
- public boolean isDisabled() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.disabled)));
- }
-
- public void setDisabled(boolean disabled) {
- getStateHelper().put(PropertyKeys.disabled, disabled);
- }
-
- public boolean isFollowMouse() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.followMouse, true)));
- }
-
- public void setFollowMouse(boolean followMouse) {
- getStateHelper().put(PropertyKeys.followMouse, followMouse);
- }
-
- public int getHideDelay() {
- return (Integer) getStateHelper().eval(PropertyKeys.hideDelay, 0);
- }
-
- public void setHideDelay(int hideDelay) {
- getStateHelper().put(PropertyKeys.hideDelay, hideDelay);
- }
-
- public String getHideEvent() {
- return (String) getStateHelper().eval(PropertyKeys.hideEvent,
"mouseleave");
- }
-
- public void setHideEvent(String hideEvent) {
- getStateHelper().put(PropertyKeys.hideEvent, hideEvent);
- }
-
- public int getHorizontalOffset() {
- return (Integer) getStateHelper().eval(PropertyKeys.horizontalOffset, 10);
- }
-
- public void setHorizontalOffset(int horizontalOffset) {
- getStateHelper().put(PropertyKeys.horizontalOffset, horizontalOffset);
- }
-
- public TooltipMode getMode() {
- return (TooltipMode) getStateHelper().eval(PropertyKeys.mode,
TooltipMode.DEFAULT);
- }
-
- public void setMode(TooltipMode mode) {
- getStateHelper().put(PropertyKeys.mode, mode);
- }
-
- public int getShowDelay() {
- return (Integer) getStateHelper().eval(PropertyKeys.showDelay, 0);
- }
-
- public void setShowDelay(int showDelay) {
- getStateHelper().put(PropertyKeys.showDelay, showDelay);
- }
-
- public String getShowEvent() {
- return (String) getStateHelper().eval(PropertyKeys.showEvent,
"mouseenter");
- }
-
- public void setShowEvent(String showEvent) {
- getStateHelper().put(PropertyKeys.showEvent, showEvent);
- }
-
- public int getVerticalOffset() {
- return (Integer) getStateHelper().eval(PropertyKeys.verticalOffset, 10);
- }
-
- public void setVerticalOffset(int verticalOffset) {
- getStateHelper().put(PropertyKeys.verticalOffset, verticalOffset);
- }
-
- public boolean isBypassUpdates() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.bypassUpdates)));
- }
-
- public void setBypassUpdates(boolean bypassUpdates) {
- getStateHelper().put(PropertyKeys.bypassUpdates, bypassUpdates);
- }
-
- public boolean isLimitRender() {
- return
Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.limitRender)));
- }
-
- public void setLimitRender(boolean limitRender) {
- getStateHelper().put(PropertyKeys.limitRender, limitRender);
- }
-
- public Object getData() {
- return getStateHelper().eval(PropertyKeys.data);
- }
-
- public void setData(Object data) {
- getStateHelper().put(PropertyKeys.data, data);
- }
-
- public String getStatus() {
- return (String) getStateHelper().eval(PropertyKeys.status);
- }
-
- public void setStatus(String status) {
- getStateHelper().put(PropertyKeys.status, status);
- }
-
- public Object getExecute() {
- return getStateHelper().eval(PropertyKeys.execute);
- }
-
- public void setExecute(Object execute) {
- getStateHelper().put(PropertyKeys.execute, execute);
- }
-
- public Object getRender() {
- return getStateHelper().eval(PropertyKeys.render);
- }
-
- public void setRender(Object render) {
- getStateHelper().put(PropertyKeys.render, render);
- }
-
-
-}
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/behavior/ToggleControl.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/behavior/ToggleControl.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/behavior/ToggleControl.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -29,9 +29,7 @@
import javax.faces.context.FacesContext;
import org.ajax4jsf.component.behavior.ClientBehavior;
-import org.richfaces.cdk.annotations.JsfBehavior;
-import org.richfaces.cdk.annotations.Tag;
-import org.richfaces.cdk.annotations.TagType;
+import org.richfaces.cdk.annotations.*;
import org.richfaces.component.AbstractTogglePanel;
import org.richfaces.renderkit.util.RendererUtils;
@@ -40,7 +38,11 @@
*
*/
-@JsfBehavior(id = "org.richfaces.component.behavior.ToggleControl", tag =
@Tag(name = "toggleControl", handler =
"org.richfaces.view.facelets.html.CustomBehaviorHandler", type =
TagType.Facelets))
+@JsfBehavior(
+ id = "org.richfaces.component.behavior.ToggleControl",
+ tag = @Tag(name = "toggleControl", handler =
"org.richfaces.view.facelets.html.CustomBehaviorHandler", type =
TagType.Facelets),
+ renderer = @JsfBehaviorRenderer(type =
"org.richfaces.component.behavior.ToggleControl")
+)
public class ToggleControl extends ClientBehavior {
public static final String BEHAVIOR_ID =
"org.richfaces.component.behavior.ToggleControl";
Deleted: trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlAccordion.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlAccordion.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlAccordion.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,318 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component.html;
-
-import org.richfaces.component.AbstractAccordion;
-import javax.faces.component.behavior.ClientBehaviorHolder;
-
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-
-/**
- * @author akolonitsky
- * @since 2010-08-13
- */
-public class HtmlAccordion extends AbstractAccordion implements ClientBehaviorHolder {
-
- public static final String COMPONENT_TYPE = "org.richfaces.Accordion";
-
- public static final String COMPONENT_FAMILY = "org.richfaces.Accordion";
-
- private static final Collection<String> EVENT_NAMES =
Collections.unmodifiableCollection(Arrays.asList(
- "itemchange",
- "beforeitemchange",
- "click",
- "dblclick",
- "mousedown",
- "mousemove",
- "mouseout",
- "mouseover",
- "mouseup"
- ));
-
-
- public enum PropertyKeys {
- itemLeftIconActive,
- itemLeftIconInactive,
- itemLeftIconDisabled,
- itemRightIconActive,
- itemRightIconInactive,
- itemRightIconDisabled,
-
- itemHeaderClassActive,
- itemHeaderClassDisabled,
- itemHeaderClassInactive,
- itemContentClass,
- itemHeaderClass,
- onitemchange,
- onbeforeitemchange,
- lang,
- title,
- style,
- styleClass,
- dir,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- width,
- height,
- onmouseover,
- onmouseup
- }
-
- public HtmlAccordion() {
- setRendererType("org.richfaces.Accordion");
- }
-
- @Override
- public String getFamily() {
- return COMPONENT_FAMILY;
- }
-
- public String getItemLeftIconActive() {
- return (String) getStateHelper().eval(PropertyKeys.itemLeftIconActive);
- }
-
- public void setItemLeftIconActive(String itemLeftIconActive) {
- getStateHelper().put(PropertyKeys.itemLeftIconActive, itemLeftIconActive);
- }
-
- public String getItemLeftIconInactive() {
- return (String) getStateHelper().eval(PropertyKeys.itemLeftIconInactive);
- }
-
- public void setItemLeftIconInactive(String itemLeftIconInactive) {
- getStateHelper().put(PropertyKeys.itemLeftIconInactive, itemLeftIconInactive);
- }
-
- public String getItemLeftIconDisabled() {
- return (String) getStateHelper().eval(PropertyKeys.itemLeftIconDisabled);
- }
-
- public void setItemLeftIconDisabled(String itemLeftIconDisabled) {
- getStateHelper().put(PropertyKeys.itemLeftIconDisabled, itemLeftIconDisabled);
- }
-
- public String getItemRightIconActive() {
- return (String) getStateHelper().eval(PropertyKeys.itemRightIconActive);
- }
-
- public void setItemRightIconActive(String itemRightIconActive) {
- getStateHelper().put(PropertyKeys.itemRightIconActive, itemRightIconActive);
- }
-
- public String getItemRightIconInactive() {
- return (String) getStateHelper().eval(PropertyKeys.itemRightIconInactive);
- }
-
- public void setItemRightIconInactive(String itemRightIconInactive) {
- getStateHelper().put(PropertyKeys.itemRightIconInactive, itemRightIconInactive);
- }
-
- public String getItemRightIconDisabled() {
- return (String) getStateHelper().eval(PropertyKeys.itemRightIconDisabled);
- }
-
- public void setItemRightIconDisabled(String itemRightIconDisabled) {
- getStateHelper().put(PropertyKeys.itemRightIconDisabled, itemRightIconDisabled);
- }
-
- public String getWidth() {
- return (String) getStateHelper().eval(PropertyKeys.width);
- }
-
- public void setWidth(String width) {
- getStateHelper().put(PropertyKeys.width, width);
- }
-
- public String getHeight() {
- return (String) getStateHelper().eval(PropertyKeys.height);
- }
-
- public void setHeight(String height) {
- getStateHelper().put(PropertyKeys.height, height);
- }
-
- public String getItemHeaderClassActive() {
- return (String) getStateHelper().eval(PropertyKeys.itemHeaderClassActive);
- }
-
- public void setItemHeaderClassActive(String itemHeaderClassActive) {
- getStateHelper().put(PropertyKeys.itemHeaderClassActive, itemHeaderClassActive);
- }
-
- public String getItemHeaderClassDisabled() {
- return (String) getStateHelper().eval(PropertyKeys.itemHeaderClassDisabled);
- }
-
- public void setItemHeaderClassDisabled(String itemHeaderClassDisabled) {
- getStateHelper().put(PropertyKeys.itemHeaderClassDisabled,
itemHeaderClassDisabled);
- }
-
- public String getItemHeaderClassInactive() {
- return (String) getStateHelper().eval(PropertyKeys.itemHeaderClassInactive);
- }
-
- public void setItemHeaderClassInactive(String itemHeaderClassInactive) {
- getStateHelper().put(PropertyKeys.itemHeaderClassInactive,
itemHeaderClassInactive);
- }
-
- public String getItemContentClass() {
- return (String) getStateHelper().eval(PropertyKeys.itemContentClass);
- }
-
- public void setItemContentClass(String itemContentClass) {
- getStateHelper().put(PropertyKeys.itemContentClass, itemContentClass);
- }
-
- public String getItemHeaderClass() {
- return (String) getStateHelper().eval(PropertyKeys.itemHeaderClass);
- }
-
- public void setItemHeaderClass(String itemHeaderClass) {
- getStateHelper().put(PropertyKeys.itemHeaderClass, itemHeaderClass);
- }
-
- public String getOnitemchange() {
- return (String) getStateHelper().eval(PropertyKeys.onitemchange);
- }
-
- public void setOnitemchange(String onitemchange) {
- getStateHelper().put(PropertyKeys.onitemchange, onitemchange);
- }
-
- public String getOnbeforeitemchange() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforeitemchange);
- }
-
- public void setOnbeforeitemchange(String onbeforeitemchange) {
- getStateHelper().put(PropertyKeys.onbeforeitemchange, onbeforeitemchange);
- }
-
- public String getLang() {
- return (String) getStateHelper().eval(PropertyKeys.lang);
- }
-
- public void setLang(String lang) {
- getStateHelper().put(PropertyKeys.lang, lang);
- }
-
- public String getTitle() {
- return (String) getStateHelper().eval(PropertyKeys.title);
- }
-
- public void setTitle(String title) {
- getStateHelper().put(PropertyKeys.title, title);
- }
-
- public String getStyle() {
- return (String) getStateHelper().eval(PropertyKeys.style);
- }
-
- public void setStyle(String style) {
- getStateHelper().put(PropertyKeys.style, style);
- }
-
- public String getStyleClass() {
- return (String) getStateHelper().eval(PropertyKeys.styleClass);
- }
-
- public void setStyleClass(String styleClass) {
- getStateHelper().put(PropertyKeys.styleClass, styleClass);
- }
-
- public String getDir() {
- return (String) getStateHelper().eval(PropertyKeys.dir);
- }
-
- public void setDir(String dir) {
- getStateHelper().put(PropertyKeys.dir, dir);
- }
-
- public String getOnclick() {
- return (String) getStateHelper().eval(PropertyKeys.onclick);
- }
-
- public void setOnclick(String onclick) {
- getStateHelper().put(PropertyKeys.onclick, onclick);
- }
-
- public String getOndblclick() {
- return (String) getStateHelper().eval(PropertyKeys.ondblclick);
- }
-
- public void setOndblclick(String ondblclick) {
- getStateHelper().put(PropertyKeys.ondblclick, ondblclick);
- }
-
- public String getOnmousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onmousedown);
- }
-
- public void setOnmousedown(String onmousedown) {
- getStateHelper().put(PropertyKeys.onmousedown, onmousedown);
- }
-
- public String getOnmousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onmousemove);
- }
-
- public void setOnmousemove(String onmousemove) {
- getStateHelper().put(PropertyKeys.onmousemove, onmousemove);
- }
-
- public String getOnmouseout() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseout);
- }
-
- public void setOnmouseout(String onmouseout) {
- getStateHelper().put(PropertyKeys.onmouseout, onmouseout);
- }
-
- public String getOnmouseover() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseover);
- }
-
- public void setOnmouseover(String onmouseover) {
- getStateHelper().put(PropertyKeys.onmouseover, onmouseover);
- }
-
- public String getOnmouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseup);
- }
-
- public void setOnmouseup(String onmouseup) {
- getStateHelper().put(PropertyKeys.onmouseup, onmouseup);
- }
-
-
-
- @Override
- public Collection<String> getEventNames() {
- return EVENT_NAMES;
- }
-}
-
Deleted:
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlAccordionItem.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlAccordionItem.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlAccordionItem.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,365 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component.html;
-
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-
-import javax.faces.component.behavior.ClientBehaviorHolder;
-
-import org.richfaces.component.UITogglePanelTitledItem;
-import org.richfaces.component.behavior.ToggleControl;
-
-/**
- * @author akolonitsky
- * @since 2010-08-13
- */
-public class HtmlAccordionItem extends UITogglePanelTitledItem implements
ClientBehaviorHolder {
-
- public static final String COMPONENT_TYPE = "org.richfaces.AccordionItem";
-
- public static final String COMPONENT_FAMILY =
"org.richfaces.TogglePanelTitledItem";
-
- private static final Collection<String> EVENT_NAMES =
Collections.unmodifiableCollection(Arrays.asList(
- "headerclick",
- "headerdblclick",
- "headermousedown",
- "headermousemove",
- "headermouseup",
- "enter",
- "leave",
- "click",
- "dblclick",
- "mousedown",
- "mousemove",
- "mouseout",
- "mouseover",
- "mouseup"
- ));
-
-
- public enum PropertyKeys {
- leftIconActive,
- leftIconInactive,
- leftIconDisabled,
- rightIconActive,
- rightIconInactive,
- rightIconDisabled,
-
- headerClassActive,
- headerClassDisabled,
- headerClassInactive,
- headerClass,
- headerStyle,
- contentClass,
- onheaderclick,
- onheaderdblclick,
- onheadermousedown,
- onheadermousemove,
- onheadermouseup,
- onenter,
- onleave,
- lang,
- title,
- style,
- styleClass,
- dir,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- onmouseover,
- onmouseup
- }
-
- public HtmlAccordionItem() {
- setRendererType("org.richfaces.AccordionItem");
- }
-
- @Override
- public String getFamily() {
- return COMPONENT_FAMILY;
- }
-
- public HtmlAccordion getAccordion() {
- return (HtmlAccordion) ToggleControl.getEnclosedPanel(this);
- }
-
- public String getLeftIconActive() {
- return (String) getStateHelper().eval(PropertyKeys.leftIconActive,
getAccordion().getItemLeftIconActive());
- }
-
- public void setLeftIconActive(String leftIconActive) {
- getStateHelper().put(PropertyKeys.leftIconActive, leftIconActive);
- }
-
- public String getLeftIconInactive() {
- return (String) getStateHelper().eval(PropertyKeys.leftIconInactive,
getAccordion().getItemLeftIconInactive());
- }
-
- public void setLeftIconInactive(String leftIconInactive) {
- getStateHelper().put(PropertyKeys.leftIconInactive, leftIconInactive);
- }
-
- public String getLeftIconDisabled() {
- return (String) getStateHelper().eval(PropertyKeys.leftIconDisabled,
getAccordion().getItemLeftIconDisabled());
- }
-
- public void setLeftIconDisabled(String leftIconDisabled) {
- getStateHelper().put(PropertyKeys.leftIconDisabled, leftIconDisabled);
- }
-
- public String getRightIconActive() {
- return (String) getStateHelper().eval(PropertyKeys.rightIconActive,
getAccordion().getItemRightIconActive());
- }
-
- public void setRightIconActive(String rightIconActive) {
- getStateHelper().put(PropertyKeys.rightIconActive, rightIconActive);
- }
-
- public String getRightIconInactive() {
- return (String) getStateHelper().eval(PropertyKeys.rightIconInactive,
getAccordion().getItemRightIconInactive());
- }
-
- public void setRightIconInactive(String rightIconInactive) {
- getStateHelper().put(PropertyKeys.rightIconInactive, rightIconInactive);
- }
-
- public String getRightIconDisabled() {
- return (String) getStateHelper().eval(PropertyKeys.rightIconDisabled,
getAccordion().getItemRightIconDisabled());
- }
-
- public void setRightIconDisabled(String rightIconDisabled) {
- getStateHelper().put(PropertyKeys.rightIconDisabled, rightIconDisabled);
- }
-
- public String getHeaderClassActive() {
- return (String) getStateHelper().eval(PropertyKeys.headerClassActive,
getAccordion().getItemHeaderClassActive());
- }
-
- public void setHeaderClassActive(String headerClassActive) {
- getStateHelper().put(PropertyKeys.headerClassActive, headerClassActive);
- }
-
- public String getHeaderClassDisabled() {
- return (String) getStateHelper().eval(PropertyKeys.headerClassDisabled,
getAccordion().getItemHeaderClassDisabled());
- }
-
- public void setHeaderClassDisabled(String headerClassDisabled) {
- getStateHelper().put(PropertyKeys.headerClassDisabled, headerClassDisabled);
- }
-
- public String getHeaderClassInactive() {
- return (String) getStateHelper().eval(PropertyKeys.headerClassInactive,
getAccordion().getItemHeaderClassInactive());
- }
-
- public void setHeaderClassInactive(String headerClassInactive) {
- getStateHelper().put(PropertyKeys.headerClassInactive, headerClassInactive);
- }
-
- public String getHeaderClass() {
- return (String) getStateHelper().eval(PropertyKeys.headerClass,
getAccordion().getItemHeaderClass());
- }
-
- public void setHeaderClass(String headerClass) {
- getStateHelper().put(PropertyKeys.headerClass, headerClass);
- }
-
- public String getHeaderStyle() {
- return (String) getStateHelper().eval(PropertyKeys.headerStyle);
- }
-
- public void setHeaderStyle(String headerStyle) {
- getStateHelper().put(PropertyKeys.headerStyle, headerStyle);
- }
-
- public String getContentClass() {
- return (String) getStateHelper().eval(PropertyKeys.contentClass,
getAccordion().getItemContentClass());
- }
-
- public void setContentClass(String contentClass) {
- getStateHelper().put(PropertyKeys.contentClass, contentClass);
- }
-
- public String getOnheaderclick() {
- return (String) getStateHelper().eval(PropertyKeys.onheaderclick);
- }
-
- public void setOnheaderclick(String onheaderclick) {
- getStateHelper().put(PropertyKeys.onheaderclick, onheaderclick);
- }
-
- public String getOnheaderdblclick() {
- return (String) getStateHelper().eval(PropertyKeys.onheaderdblclick);
- }
-
- public void setOnheaderdblclick(String onheaderdblclick) {
- getStateHelper().put(PropertyKeys.onheaderdblclick, onheaderdblclick);
- }
-
- public String getOnheadermousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onheadermousedown);
- }
-
- public void setOnheadermousedown(String onheadermousedown) {
- getStateHelper().put(PropertyKeys.onheadermousedown, onheadermousedown);
- }
-
- public String getOnheadermousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onheadermousemove);
- }
-
- public void setOnheadermousemove(String onheadermousemove) {
- getStateHelper().put(PropertyKeys.onheadermousemove, onheadermousemove);
- }
-
- public String getOnheadermouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onheadermouseup);
- }
-
- public void setOnheadermouseup(String onheadermouseup) {
- getStateHelper().put(PropertyKeys.onheadermouseup, onheadermouseup);
- }
-
- public String getOnenter() {
- return (String) getStateHelper().eval(PropertyKeys.onenter);
- }
-
- public void setOnenter(String onenter) {
- getStateHelper().put(PropertyKeys.onenter, onenter);
- }
-
- public String getOnleave() {
- return (String) getStateHelper().eval(PropertyKeys.onleave);
- }
-
- public void setOnleave(String onleave) {
- getStateHelper().put(PropertyKeys.onleave, onleave);
- }
-
- public String getLang() {
- return (String) getStateHelper().eval(PropertyKeys.lang);
- }
-
- public void setLang(String lang) {
- getStateHelper().put(PropertyKeys.lang, lang);
- }
-
- public String getTitle() {
- return (String) getStateHelper().eval(PropertyKeys.title);
- }
-
- public void setTitle(String title) {
- getStateHelper().put(PropertyKeys.title, title);
- }
-
- public String getStyle() {
- return (String) getStateHelper().eval(PropertyKeys.style);
- }
-
- public void setStyle(String style) {
- getStateHelper().put(PropertyKeys.style, style);
- }
-
- public String getStyleClass() {
- return (String) getStateHelper().eval(PropertyKeys.styleClass);
- }
-
- public void setStyleClass(String styleClass) {
- getStateHelper().put(PropertyKeys.styleClass, styleClass);
- }
-
- public String getDir() {
- return (String) getStateHelper().eval(PropertyKeys.dir);
- }
-
- public void setDir(String dir) {
- getStateHelper().put(PropertyKeys.dir, dir);
- }
-
- public String getOnclick() {
- return (String) getStateHelper().eval(PropertyKeys.onclick);
- }
-
- public void setOnclick(String onclick) {
- getStateHelper().put(PropertyKeys.onclick, onclick);
- }
-
- public String getOndblclick() {
- return (String) getStateHelper().eval(PropertyKeys.ondblclick);
- }
-
- public void setOndblclick(String ondblclick) {
- getStateHelper().put(PropertyKeys.ondblclick, ondblclick);
- }
-
- public String getOnmousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onmousedown);
- }
-
- public void setOnmousedown(String onmousedown) {
- getStateHelper().put(PropertyKeys.onmousedown, onmousedown);
- }
-
- public String getOnmousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onmousemove);
- }
-
- public void setOnmousemove(String onmousemove) {
- getStateHelper().put(PropertyKeys.onmousemove, onmousemove);
- }
-
- public String getOnmouseout() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseout);
- }
-
- public void setOnmouseout(String onmouseout) {
- getStateHelper().put(PropertyKeys.onmouseout, onmouseout);
- }
-
- public String getOnmouseover() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseover);
- }
-
- public void setOnmouseover(String onmouseover) {
- getStateHelper().put(PropertyKeys.onmouseover, onmouseover);
- }
-
- public String getOnmouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseup);
- }
-
- public void setOnmouseup(String onmouseup) {
- getStateHelper().put(PropertyKeys.onmouseup, onmouseup);
- }
-
-
-
- @Override
- public Collection<String> getEventNames() {
- return EVENT_NAMES;
- }
-}
-
Deleted:
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlCollapsiblePanel.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlCollapsiblePanel.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlCollapsiblePanel.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,282 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component.html;
-
-import org.richfaces.component.UICollapsiblePanel;
-
-import javax.faces.component.behavior.ClientBehaviorHolder;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-
-/**
- * @author akolonitsky
- * @since 2010-08-27
- */
-public class HtmlCollapsiblePanel extends UICollapsiblePanel implements
ClientBehaviorHolder {
-
- public static final String COMPONENT_TYPE =
"org.richfaces.CollapsiblePanel";
-
- public static final String COMPONENT_FAMILY =
"org.richfaces.CollapsiblePanel";
-
- private static final Collection<String> EVENT_NAMES =
Collections.unmodifiableCollection(Arrays.asList(
- "switch",
- "beforeswitch",
- "click",
- "dblclick",
- "mousedown",
- "mousemove",
- "mouseout",
- "mouseover",
- "mouseup"
- ));
-
-
- public enum PropertyKeys {
- leftCollapsedIcon,
- leftExpandedIcon,
- rightCollapsedIcon,
- rightExpandedIcon,
-
- bodyClass,
- headerClass,
- headerControlClass,
- oncomplete,
- onbeforedomupdate,
- onswitch,
- onbeforeswitch,
- lang,
- title,
- style,
- styleClass,
- dir,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- onmouseover,
- onmouseup
- }
-
- public HtmlCollapsiblePanel() {
- setRendererType("org.richfaces.CollapsiblePanel");
- }
-
- @Override
- public String getFamily() {
- return COMPONENT_FAMILY;
- }
-
- public String getLeftCollapsedIcon() {
- return (String) getStateHelper().eval(PropertyKeys.leftCollapsedIcon);
- }
-
- public void setLeftCollapsedIcon(String leftCollapsedIcon) {
- getStateHelper().put(PropertyKeys.leftCollapsedIcon, leftCollapsedIcon);
- }
-
- public String getLeftExpandedIcon() {
- return (String) getStateHelper().eval(PropertyKeys.leftExpandedIcon);
- }
-
- public void setLeftExpandedIcon(String leftExpandedIcon) {
- getStateHelper().put(PropertyKeys.leftExpandedIcon, leftExpandedIcon);
- }
-
- public String getRightCollapsedIcon() {
- return (String) getStateHelper().eval(PropertyKeys.rightCollapsedIcon);
- }
-
- public void setRightCollapsedIcon(String rightCollapsedIcon) {
- getStateHelper().put(PropertyKeys.rightCollapsedIcon, rightCollapsedIcon);
- }
-
- public String getRightExpandedIcon() {
- return (String) getStateHelper().eval(PropertyKeys.rightExpandedIcon);
- }
-
- public void setRightExpandedIcon(String rightExpandedIcon) {
- getStateHelper().put(PropertyKeys.rightExpandedIcon, rightExpandedIcon);
- }
-
- public String getBodyClass() {
- return (String) getStateHelper().eval(PropertyKeys.bodyClass);
- }
-
- public void setBodyClass(String bodyClass) {
- getStateHelper().put(PropertyKeys.bodyClass, bodyClass);
- }
-
- public String getHeaderClass() {
- return (String) getStateHelper().eval(PropertyKeys.headerClass);
- }
-
- public void setHeaderClass(String headerClass) {
- getStateHelper().put(PropertyKeys.headerClass, headerClass);
- }
-
- public String getHeaderControlClass() {
- return (String) getStateHelper().eval(PropertyKeys.headerControlClass);
- }
-
- public void setHeaderControlClass(String headerControlClass) {
- getStateHelper().put(PropertyKeys.headerControlClass, headerControlClass);
- }
-
- public String getOncomplete() {
- return (String) getStateHelper().eval(PropertyKeys.oncomplete);
- }
-
- public void setOncomplete(String oncomplete) {
- getStateHelper().put(PropertyKeys.oncomplete, oncomplete);
- }
-
- public String getOnbeforedomupdate() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforedomupdate);
- }
-
- public void setOnbeforedomupdate(String onbeforedomupdate) {
- getStateHelper().put(PropertyKeys.onbeforedomupdate, onbeforedomupdate);
- }
-
- public String getOnswitch() {
- return (String) getStateHelper().eval(PropertyKeys.onswitch);
- }
-
- public void setOnswitch(String onswitch) {
- getStateHelper().put(PropertyKeys.onswitch, onswitch);
- }
-
- public String getOnbeforeswitch() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforeswitch);
- }
-
- public void setOnbeforeswitch(String onbeforeswitch) {
- getStateHelper().put(PropertyKeys.onbeforeswitch, onbeforeswitch);
- }
-
- public String getLang() {
- return (String) getStateHelper().eval(PropertyKeys.lang);
- }
-
- public void setLang(String lang) {
- getStateHelper().put(PropertyKeys.lang, lang);
- }
-
- public String getTitle() {
- return (String) getStateHelper().eval(PropertyKeys.title);
- }
-
- public void setTitle(String title) {
- getStateHelper().put(PropertyKeys.title, title);
- }
-
- public String getStyle() {
- return (String) getStateHelper().eval(PropertyKeys.style);
- }
-
- public void setStyle(String style) {
- getStateHelper().put(PropertyKeys.style, style);
- }
-
- public String getStyleClass() {
- return (String) getStateHelper().eval(PropertyKeys.styleClass);
- }
-
- public void setStyleClass(String styleClass) {
- getStateHelper().put(PropertyKeys.styleClass, styleClass);
- }
-
- public String getDir() {
- return (String) getStateHelper().eval(PropertyKeys.dir);
- }
-
- public void setDir(String dir) {
- getStateHelper().put(PropertyKeys.dir, dir);
- }
-
- public String getOnclick() {
- return (String) getStateHelper().eval(PropertyKeys.onclick);
- }
-
- public void setOnclick(String onclick) {
- getStateHelper().put(PropertyKeys.onclick, onclick);
- }
-
- public String getOndblclick() {
- return (String) getStateHelper().eval(PropertyKeys.ondblclick);
- }
-
- public void setOndblclick(String ondblclick) {
- getStateHelper().put(PropertyKeys.ondblclick, ondblclick);
- }
-
- public String getOnmousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onmousedown);
- }
-
- public void setOnmousedown(String onmousedown) {
- getStateHelper().put(PropertyKeys.onmousedown, onmousedown);
- }
-
- public String getOnmousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onmousemove);
- }
-
- public void setOnmousemove(String onmousemove) {
- getStateHelper().put(PropertyKeys.onmousemove, onmousemove);
- }
-
- public String getOnmouseout() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseout);
- }
-
- public void setOnmouseout(String onmouseout) {
- getStateHelper().put(PropertyKeys.onmouseout, onmouseout);
- }
-
- public String getOnmouseover() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseover);
- }
-
- public void setOnmouseover(String onmouseover) {
- getStateHelper().put(PropertyKeys.onmouseover, onmouseover);
- }
-
- public String getOnmouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseup);
- }
-
- public void setOnmouseup(String onmouseup) {
- getStateHelper().put(PropertyKeys.onmouseup, onmouseup);
- }
-
-
-
- @Override
- public Collection<String> getEventNames() {
- return EVENT_NAMES;
- }
-}
-
Deleted: trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlDivPanel.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlDivPanel.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlDivPanel.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,180 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component.html;
-
-import org.richfaces.component.AbstractDivPanel;
-import javax.faces.component.behavior.ClientBehaviorHolder;
-
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-
-/**
- * @author akolonitsky
- * @since 2010-08-13
- */
-public class HtmlDivPanel extends AbstractDivPanel implements ClientBehaviorHolder {
-
- public static final String COMPONENT_TYPE = "org.richfaces.DivPanel";
-
- public static final String COMPONENT_FAMILY = "org.richfaces.DivPanel";
-
- private static final Collection<String> EVENT_NAMES =
Collections.unmodifiableCollection(Arrays.asList(
- "click",
- "dblclick",
- "mousedown",
- "mousemove",
- "mouseout",
- "mouseover",
- "mouseup"
- ));
-
-
- public enum PropertyKeys {
- lang,
- title,
- style,
- styleClass,
- dir,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- onmouseover,
- onmouseup
- }
-
- public HtmlDivPanel() {
- setRendererType("org.richfaces.DivPanel");
- }
-
- @Override
- public String getFamily() {
- return COMPONENT_FAMILY;
- }
-
- public String getLang() {
- return (String) getStateHelper().eval(PropertyKeys.lang);
- }
-
- public void setLang(String lang) {
- getStateHelper().put(PropertyKeys.lang, lang);
- }
-
- public String getTitle() {
- return (String) getStateHelper().eval(PropertyKeys.title);
- }
-
- public void setTitle(String title) {
- getStateHelper().put(PropertyKeys.title, title);
- }
-
- public String getStyle() {
- return (String) getStateHelper().eval(PropertyKeys.style);
- }
-
- public void setStyle(String style) {
- getStateHelper().put(PropertyKeys.style, style);
- }
-
- public String getStyleClass() {
- return (String) getStateHelper().eval(PropertyKeys.styleClass);
- }
-
- public void setStyleClass(String styleClass) {
- getStateHelper().put(PropertyKeys.styleClass, styleClass);
- }
-
- public String getDir() {
- return (String) getStateHelper().eval(PropertyKeys.dir);
- }
-
- public void setDir(String dir) {
- getStateHelper().put(PropertyKeys.dir, dir);
- }
-
- public String getOnclick() {
- return (String) getStateHelper().eval(PropertyKeys.onclick);
- }
-
- public void setOnclick(String onclick) {
- getStateHelper().put(PropertyKeys.onclick, onclick);
- }
-
- public String getOndblclick() {
- return (String) getStateHelper().eval(PropertyKeys.ondblclick);
- }
-
- public void setOndblclick(String ondblclick) {
- getStateHelper().put(PropertyKeys.ondblclick, ondblclick);
- }
-
- public String getOnmousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onmousedown);
- }
-
- public void setOnmousedown(String onmousedown) {
- getStateHelper().put(PropertyKeys.onmousedown, onmousedown);
- }
-
- public String getOnmousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onmousemove);
- }
-
- public void setOnmousemove(String onmousemove) {
- getStateHelper().put(PropertyKeys.onmousemove, onmousemove);
- }
-
- public String getOnmouseout() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseout);
- }
-
- public void setOnmouseout(String onmouseout) {
- getStateHelper().put(PropertyKeys.onmouseout, onmouseout);
- }
-
- public String getOnmouseover() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseover);
- }
-
- public void setOnmouseover(String onmouseover) {
- getStateHelper().put(PropertyKeys.onmouseover, onmouseover);
- }
-
- public String getOnmouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseup);
- }
-
- public void setOnmouseup(String onmouseup) {
- getStateHelper().put(PropertyKeys.onmouseup, onmouseup);
- }
-
-
-
- @Override
- public Collection<String> getEventNames() {
- return EVENT_NAMES;
- }
-}
-
Deleted: trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlPanelMenu.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlPanelMenu.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlPanelMenu.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,416 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-
-package org.richfaces.component.html;
-
-import org.richfaces.component.UIPanelMenu;
-import org.richfaces.renderkit.util.PanelIcons;
-
-import javax.faces.component.behavior.ClientBehaviorHolder;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-
-/**
- * @author akolonitsky
- * @since 2010-11-29
- */
-public class HtmlPanelMenu extends UIPanelMenu implements ClientBehaviorHolder {
-
- public static final String COMPONENT_TYPE = "org.richfaces.PanelMenu";
-
- public static final String COMPONENT_FAMILY = "org.richfaces.PanelMenu";
-
- private static final Collection<String> EVENT_NAMES =
Collections.unmodifiableCollection(Arrays.asList(
- "click",
- "dblclick",
- "mousedown",
- "mousemove",
- "mouseout",
- "mouseover",
- "mouseup"
- ));
-
-
- public enum PropertyKeys {
- style,
- styleClass,
- width,
- itemClass,
- itemDisableClass,
- itemIconLeft,
- itemIconRight,
- itemDisableIconLeft,
- itemDisableIconRight,
- topItemClass,
- topItemDisableClass,
- topItemIconLeft,
- topItemIconRight,
- topItemDisableIconLeft,
- topItemDisableIconRight,
- groupClass,
- groupDisableClass,
- groupExpandIconLeft,
- groupExpandIconRight,
- groupCollapseIconLeft,
- groupCollapseIconRight,
- groupDisableIconLeft,
- groupDisableIconRight,
- topGroupClass,
- topGroupDisableClass,
- topGroupExpandIconLeft,
- topGroupExpandIconRight,
- topGroupCollapseIconLeft,
- topGroupCollapseIconRight,
- topGroupDisableIconLeft,
- topGroupDisableIconRight,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- onmouseover,
- onmouseup
- }
-
- public HtmlPanelMenu() {
- setRendererType("org.richfaces.PanelMenu");
- }
-
- @Override
- public String getFamily() {
- return COMPONENT_FAMILY;
- }
-
- public String getStyle() {
- return (String) getStateHelper().eval(PropertyKeys.style);
- }
-
- public void setStyle(String style) {
- getStateHelper().put(PropertyKeys.style, style);
- }
-
- public String getStyleClass() {
- return (String) getStateHelper().eval(PropertyKeys.styleClass);
- }
-
- public void setStyleClass(String styleClass) {
- getStateHelper().put(PropertyKeys.styleClass, styleClass);
- }
-
- public String getWidth() {
- return (String) getStateHelper().eval(PropertyKeys.width);
- }
-
- public void setWidth(String width) {
- getStateHelper().put(PropertyKeys.width, width);
- }
-
- public String getItemClass() {
- return (String) getStateHelper().eval(PropertyKeys.itemClass);
- }
-
- public void setItemClass(String itemClass) {
- getStateHelper().put(PropertyKeys.itemClass, itemClass);
- }
-
- public String getItemDisableClass() {
- return (String) getStateHelper().eval(PropertyKeys.itemDisableClass);
- }
-
- public void setItemDisableClass(String itemDisableClass) {
- getStateHelper().put(PropertyKeys.itemDisableClass, itemDisableClass);
- }
-
- public String getItemIconLeft() {
- return (String) getStateHelper().eval(PropertyKeys.itemIconLeft,
PanelIcons.DEFAULT.toString());
- }
-
- public void setItemIconLeft(String itemIconLeft) {
- getStateHelper().put(PropertyKeys.itemIconLeft, itemIconLeft);
- }
-
- public String getItemIconRight() {
- return (String) getStateHelper().eval(PropertyKeys.itemIconRight,
PanelIcons.DEFAULT.toString());
- }
-
- public void setItemIconRight(String itemIconRight) {
- getStateHelper().put(PropertyKeys.itemIconRight, itemIconRight);
- }
-
- public String getItemDisableIconLeft() {
- return (String) getStateHelper().eval(PropertyKeys.itemDisableIconLeft,
PanelIcons.DEFAULT.toString());
- }
-
- public void setItemDisableIconLeft(String itemDisableIconLeft) {
- getStateHelper().put(PropertyKeys.itemDisableIconLeft, itemDisableIconLeft);
- }
-
- public String getItemDisableIconRight() {
- return (String) getStateHelper().eval(PropertyKeys.itemDisableIconRight,
PanelIcons.DEFAULT.toString());
- }
-
- public void setItemDisableIconRight(String itemDisableIconRight) {
- getStateHelper().put(PropertyKeys.itemDisableIconRight, itemDisableIconRight);
- }
-
- public String getTopItemClass() {
- return (String) getStateHelper().eval(PropertyKeys.topItemClass);
- }
-
- public void setTopItemClass(String topItemClass) {
- getStateHelper().put(PropertyKeys.topItemClass, topItemClass);
- }
-
- public String getTopItemDisableClass() {
- return (String) getStateHelper().eval(PropertyKeys.topItemDisableClass);
- }
-
- public void setTopItemDisableClass(String topItemDisableClass) {
- getStateHelper().put(PropertyKeys.topItemDisableClass, topItemDisableClass);
- }
-
- public String getTopItemIconLeft() {
- return (String) getStateHelper().eval(PropertyKeys.topItemIconLeft,
PanelIcons.DEFAULT.toString());
- }
-
- public void setTopItemIconLeft(String topItemIconLeft) {
- getStateHelper().put(PropertyKeys.topItemIconLeft, topItemIconLeft);
- }
-
- public String getTopItemIconRight() {
- return (String) getStateHelper().eval(PropertyKeys.topItemIconRight,
PanelIcons.DEFAULT.toString());
- }
-
- public void setTopItemIconRight(String topItemIconRight) {
- getStateHelper().put(PropertyKeys.topItemIconRight, topItemIconRight);
- }
-
- public String getTopItemDisableIconLeft() {
- return (String) getStateHelper().eval(PropertyKeys.topItemDisableIconLeft,
PanelIcons.DEFAULT.toString());
- }
-
- public void setTopItemDisableIconLeft(String topItemDisableIconLeft) {
- getStateHelper().put(PropertyKeys.topItemDisableIconLeft,
topItemDisableIconLeft);
- }
-
- public String getTopItemDisableIconRight() {
- return (String) getStateHelper().eval(PropertyKeys.topItemDisableIconRight,
PanelIcons.DEFAULT.toString());
- }
-
- public void setTopItemDisableIconRight(String topItemDisableIconRight) {
- getStateHelper().put(PropertyKeys.topItemDisableIconRight,
topItemDisableIconRight);
- }
-
- public String getGroupClass() {
- return (String) getStateHelper().eval(PropertyKeys.groupClass);
- }
-
- public void setGroupClass(String groupClass) {
- getStateHelper().put(PropertyKeys.groupClass, groupClass);
- }
-
- public String getGroupDisableClass() {
- return (String) getStateHelper().eval(PropertyKeys.groupDisableClass);
- }
-
- public void setGroupDisableClass(String groupDisableClass) {
- getStateHelper().put(PropertyKeys.groupDisableClass, groupDisableClass);
- }
-
- public String getGroupExpandIconLeft() {
- return (String) getStateHelper().eval(PropertyKeys.groupExpandIconLeft,
PanelIcons.DEFAULT.toString());
- }
-
- public void setGroupExpandIconLeft(String groupExpandIconLeft) {
- getStateHelper().put(PropertyKeys.groupExpandIconLeft, groupExpandIconLeft);
- }
-
- public String getGroupExpandIconRight() {
- return (String) getStateHelper().eval(PropertyKeys.groupExpandIconRight,
PanelIcons.DEFAULT.toString());
- }
-
- public void setGroupExpandIconRight(String groupExpandIconRight) {
- getStateHelper().put(PropertyKeys.groupExpandIconRight, groupExpandIconRight);
- }
-
- public String getGroupCollapseIconLeft() {
- return (String) getStateHelper().eval(PropertyKeys.groupCollapseIconLeft,
PanelIcons.DEFAULT.toString());
- }
-
- public void setGroupCollapseIconLeft(String groupCollapseIconLeft) {
- getStateHelper().put(PropertyKeys.groupCollapseIconLeft, groupCollapseIconLeft);
- }
-
- public String getGroupCollapseIconRight() {
- return (String) getStateHelper().eval(PropertyKeys.groupCollapseIconRight,
PanelIcons.DEFAULT.toString());
- }
-
- public void setGroupCollapseIconRight(String groupCollapseIconRight) {
- getStateHelper().put(PropertyKeys.groupCollapseIconRight,
groupCollapseIconRight);
- }
-
- public String getGroupDisableIconLeft() {
- return (String) getStateHelper().eval(PropertyKeys.groupDisableIconLeft,
PanelIcons.DEFAULT.toString());
- }
-
- public void setGroupDisableIconLeft(String groupDisableIconLeft) {
- getStateHelper().put(PropertyKeys.groupDisableIconLeft, groupDisableIconLeft);
- }
-
- public String getGroupDisableIconRight() {
- return (String) getStateHelper().eval(PropertyKeys.groupDisableIconRight,
PanelIcons.DEFAULT.toString());
- }
-
- public void setGroupDisableIconRight(String groupDisableIconRight) {
- getStateHelper().put(PropertyKeys.groupDisableIconRight, groupDisableIconRight);
- }
-
- public String getTopGroupClass() {
- return (String) getStateHelper().eval(PropertyKeys.topGroupClass);
- }
-
- public void setTopGroupClass(String topGroupClass) {
- getStateHelper().put(PropertyKeys.topGroupClass, topGroupClass);
- }
-
- public String getTopGroupDisableClass() {
- return (String) getStateHelper().eval(PropertyKeys.topGroupDisableClass);
- }
-
- public void setTopGroupDisableClass(String topGroupDisableClass) {
- getStateHelper().put(PropertyKeys.topGroupDisableClass, topGroupDisableClass);
- }
-
- public String getTopGroupExpandIconLeft() {
- return (String) getStateHelper().eval(PropertyKeys.topGroupExpandIconLeft,
PanelIcons.DEFAULT.toString());
- }
-
- public void setTopGroupExpandIconLeft(String topGroupExpandIconLeft) {
- getStateHelper().put(PropertyKeys.topGroupExpandIconLeft,
topGroupExpandIconLeft);
- }
-
- public String getTopGroupExpandIconRight() {
- return (String) getStateHelper().eval(PropertyKeys.topGroupExpandIconRight,
PanelIcons.DEFAULT.toString());
- }
-
- public void setTopGroupExpandIconRight(String topGroupExpandIconRight) {
- getStateHelper().put(PropertyKeys.topGroupExpandIconRight,
topGroupExpandIconRight);
- }
-
- public String getTopGroupCollapseIconLeft() {
- return (String) getStateHelper().eval(PropertyKeys.topGroupCollapseIconLeft,
PanelIcons.DEFAULT.toString());
- }
-
- public void setTopGroupCollapseIconLeft(String topGroupCollapseIconLeft) {
- getStateHelper().put(PropertyKeys.topGroupCollapseIconLeft,
topGroupCollapseIconLeft);
- }
-
- public String getTopGroupCollapseIconRight() {
- return (String) getStateHelper().eval(PropertyKeys.topGroupCollapseIconRight,
PanelIcons.DEFAULT.toString());
- }
-
- public void setTopGroupCollapseIconRight(String topGroupCollapseIconRight) {
- getStateHelper().put(PropertyKeys.topGroupCollapseIconRight,
topGroupCollapseIconRight);
- }
-
- public String getTopGroupDisableIconLeft() {
- return (String) getStateHelper().eval(PropertyKeys.topGroupDisableIconLeft,
PanelIcons.DEFAULT.toString());
- }
-
- public void setTopGroupDisableIconLeft(String topGroupDisableIconLeft) {
- getStateHelper().put(PropertyKeys.topGroupDisableIconLeft,
topGroupDisableIconLeft);
- }
-
- public String getTopGroupDisableIconRight() {
- return (String) getStateHelper().eval(PropertyKeys.topGroupDisableIconRight,
PanelIcons.DEFAULT.toString());
- }
-
- public void setTopGroupDisableIconRight(String topGroupDisableIconRight) {
- getStateHelper().put(PropertyKeys.topGroupDisableIconRight,
topGroupDisableIconRight);
- }
-
- public String getOnclick() {
- return (String) getStateHelper().eval(PropertyKeys.onclick);
- }
-
- public void setOnclick(String onclick) {
- getStateHelper().put(PropertyKeys.onclick, onclick);
- }
-
- public String getOndblclick() {
- return (String) getStateHelper().eval(PropertyKeys.ondblclick);
- }
-
- public void setOndblclick(String ondblclick) {
- getStateHelper().put(PropertyKeys.ondblclick, ondblclick);
- }
-
- public String getOnmousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onmousedown);
- }
-
- public void setOnmousedown(String onmousedown) {
- getStateHelper().put(PropertyKeys.onmousedown, onmousedown);
- }
-
- public String getOnmousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onmousemove);
- }
-
- public void setOnmousemove(String onmousemove) {
- getStateHelper().put(PropertyKeys.onmousemove, onmousemove);
- }
-
- public String getOnmouseout() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseout);
- }
-
- public void setOnmouseout(String onmouseout) {
- getStateHelper().put(PropertyKeys.onmouseout, onmouseout);
- }
-
- public String getOnmouseover() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseover);
- }
-
- public void setOnmouseover(String onmouseover) {
- getStateHelper().put(PropertyKeys.onmouseover, onmouseover);
- }
-
- public String getOnmouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseup);
- }
-
- public void setOnmouseup(String onmouseup) {
- getStateHelper().put(PropertyKeys.onmouseup, onmouseup);
- }
-
-
-
- @Override
- public Collection<String> getEventNames() {
- return EVENT_NAMES;
- }
-}
-
Deleted:
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlPanelMenuGroup.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlPanelMenuGroup.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlPanelMenuGroup.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,370 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-
-package org.richfaces.component.html;
-
-import org.richfaces.component.UIPanelMenuGroup;
-
-import javax.faces.component.behavior.ClientBehaviorHolder;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-
-/**
- * @author akolonitsky
- * @since 2010-11-29
- */
-public class HtmlPanelMenuGroup extends UIPanelMenuGroup implements ClientBehaviorHolder
{
-
- public static final String COMPONENT_TYPE =
"org.richfaces.PanelMenuGroup";
-
- public static final String COMPONENT_FAMILY =
"org.richfaces.PanelMenuGroup";
-
- private static final Collection<String> EVENT_NAMES =
Collections.unmodifiableCollection(Arrays.asList(
- "beforedomupdate",
- "complete",
- "click",
- "dblclick",
- "mousedown",
- "mousemove",
- "mouseout",
- "mouseover",
- "mouseup",
- "unselect",
- "select",
- "beforeselect",
-
- "collapse",
- "expand",
- "switch",
- "beforecollapse",
- "beforeexpand",
- "beforeswitch"
- ));
-
-
- public enum PropertyKeys {
- iconLeftCollapsed,
- iconLeftExpanded,
- iconLeftDisabled,
-
- iconRightCollapsed,
- iconRightExpanded,
- iconRightDisabled,
-
- oncollapse,
- onexpand,
- onswitch,
- onbeforecollapse,
- onbeforeexpand,
- onbeforeswitch,
-
- disabledClass,
- hoverClass,
- iconLeftClass,
- iconRightClass,
- style,
- styleClass,
- onbeforedomupdate,
- oncomplete,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- onmouseover,
- onmouseup,
- onunselect,
- onselect,
- onbeforeselect
- }
-
- public HtmlPanelMenuGroup() {
- setRendererType("org.richfaces.PanelMenuGroup");
- }
-
- @Override
- public String getFamily() {
- return COMPONENT_FAMILY;
- }
-
- @Override
- public HtmlPanelMenu getPanelMenu() {
- return (HtmlPanelMenu) super.getPanelMenu();
- }
-
- public String getIconLeftCollapsed() {
- return (String) getStateHelper().eval(PropertyKeys.iconLeftCollapsed,
- isTopItem() ? getPanelMenu().getTopGroupCollapseIconLeft() :
getPanelMenu().getGroupCollapseIconLeft());
- }
-
- public void setIconLeftCollapsed(String iconLeftCollapsed) {
- getStateHelper().put(PropertyKeys.iconLeftCollapsed, iconLeftCollapsed);
- }
-
- public String getIconLeftExpanded() {
- return (String) getStateHelper().eval(PropertyKeys.iconLeftExpanded,
- isTopItem() ? getPanelMenu().getTopGroupExpandIconLeft() :
getPanelMenu().getGroupExpandIconLeft());
- }
-
- public void setIconLeftExpanded(String iconLeftExpanded) {
- getStateHelper().put(PropertyKeys.iconLeftExpanded, iconLeftExpanded);
- }
-
- public String getIconLeftDisabled() {
- return (String) getStateHelper().eval(PropertyKeys.iconLeftDisabled,
- isTopItem() ? getPanelMenu().getTopGroupDisableIconLeft() :
getPanelMenu().getGroupDisableIconLeft());
- }
-
- public void setIconLeftDisabled(String iconLeftDisabled) {
- getStateHelper().put(PropertyKeys.iconLeftDisabled, iconLeftDisabled);
- }
-
- public String getIconRightCollapsed() {
- return (String) getStateHelper().eval(PropertyKeys.iconRightCollapsed,
- isTopItem() ? getPanelMenu().getTopGroupCollapseIconRight() :
getPanelMenu().getGroupCollapseIconRight());
- }
-
- public void setIconRightCollapsed(String iconRightCollapsed) {
- getStateHelper().put(PropertyKeys.iconRightCollapsed, iconRightCollapsed);
- }
-
- public String getIconRightExpanded() {
- return (String) getStateHelper().eval(PropertyKeys.iconRightExpanded,
- isTopItem() ? getPanelMenu().getTopGroupExpandIconRight() :
getPanelMenu().getGroupExpandIconRight());
- }
-
- public void setIconRightExpanded(String iconRightExpanded) {
- getStateHelper().put(PropertyKeys.iconRightExpanded, iconRightExpanded);
- }
-
- public String getIconRightDisabled() {
- return (String) getStateHelper().eval(PropertyKeys.iconRightDisabled,
- isTopItem() ? getPanelMenu().getTopGroupDisableIconRight() :
getPanelMenu().getGroupDisableIconRight());
- }
-
- public void setIconRightDisabled(String iconRightDisabled) {
- getStateHelper().put(PropertyKeys.iconRightDisabled, iconRightDisabled);
- }
-
- public String getOncollapse() {
- return (String) getStateHelper().eval(PropertyKeys.oncollapse);
- }
-
- public void setOncollapse(String oncollapse) {
- getStateHelper().put(PropertyKeys.oncollapse, oncollapse);
- }
-
- public String getOnexpand() {
- return (String) getStateHelper().eval(PropertyKeys.onexpand);
- }
-
- public void setOnexpand(String onexpand) {
- getStateHelper().put(PropertyKeys.onexpand, onexpand);
- }
-
- public String getOnswitch() {
- return (String) getStateHelper().eval(PropertyKeys.onswitch);
- }
-
- public void setOnswitch(String onswitch) {
- getStateHelper().put(PropertyKeys.onswitch, onswitch);
- }
-
- public String getOnbeforecollapse() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforecollapse);
- }
-
- public void setOnbeforecollapse(String onbeforecollapse) {
- getStateHelper().put(PropertyKeys.onbeforecollapse, onbeforecollapse);
- }
-
- public String getOnbeforeexpand() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforeexpand);
- }
-
- public void setOnbeforeexpand(String onbeforeexpand) {
- getStateHelper().put(PropertyKeys.onbeforeexpand, onbeforeexpand);
- }
-
- public String getOnbeforeswitch() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforeswitch);
- }
-
- public void setOnbeforeswitch(String onbeforeswitch) {
- getStateHelper().put(PropertyKeys.onbeforeswitch, onbeforeswitch);
- }
-
- public String getDisabledClass() {
- return (String) getStateHelper().eval(PropertyKeys.disabledClass,
- isTopItem() ? getPanelMenu().getTopGroupDisableClass() :
getPanelMenu().getGroupDisableClass());
- }
-
- public void setDisabledClass(String disabledClass) {
- getStateHelper().put(PropertyKeys.disabledClass, disabledClass);
- }
-
- public String getHoverClass() {
- return (String) getStateHelper().eval(PropertyKeys.hoverClass);
- }
-
- public void setHoverClass(String hoverClass) {
- getStateHelper().put(PropertyKeys.hoverClass, hoverClass);
- }
-
- public String getIconLeftClass() {
- return (String) getStateHelper().eval(PropertyKeys.iconLeftClass);
- }
-
- public void setIconLeftClass(String iconLeftClass) {
- getStateHelper().put(PropertyKeys.iconLeftClass, iconLeftClass);
- }
-
- public String getIconRightClass() {
- return (String) getStateHelper().eval(PropertyKeys.iconRightClass);
- }
-
- public void setIconRightClass(String iconRightClass) {
- getStateHelper().put(PropertyKeys.iconRightClass, iconRightClass);
- }
-
- public String getStyle() {
- return (String) getStateHelper().eval(PropertyKeys.style);
- }
-
- public void setStyle(String style) {
- getStateHelper().put(PropertyKeys.style, style);
- }
-
- public String getStyleClass() {
- return (String) getStateHelper().eval(PropertyKeys.styleClass,
- isTopItem() ? getPanelMenu().getTopGroupClass() :
getPanelMenu().getGroupClass() );
- }
-
- public void setStyleClass(String styleClass) {
- getStateHelper().put(PropertyKeys.styleClass, styleClass);
- }
-
- public String getOnbeforedomupdate() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforedomupdate);
- }
-
- public void setOnbeforedomupdate(String onbeforedomupdate) {
- getStateHelper().put(PropertyKeys.onbeforedomupdate, onbeforedomupdate);
- }
-
- public String getOncomplete() {
- return (String) getStateHelper().eval(PropertyKeys.oncomplete);
- }
-
- public void setOncomplete(String oncomplete) {
- getStateHelper().put(PropertyKeys.oncomplete, oncomplete);
- }
-
- public String getOnclick() {
- return (String) getStateHelper().eval(PropertyKeys.onclick);
- }
-
- public void setOnclick(String onclick) {
- getStateHelper().put(PropertyKeys.onclick, onclick);
- }
-
- public String getOndblclick() {
- return (String) getStateHelper().eval(PropertyKeys.ondblclick);
- }
-
- public void setOndblclick(String ondblclick) {
- getStateHelper().put(PropertyKeys.ondblclick, ondblclick);
- }
-
- public String getOnmousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onmousedown);
- }
-
- public void setOnmousedown(String onmousedown) {
- getStateHelper().put(PropertyKeys.onmousedown, onmousedown);
- }
-
- public String getOnmousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onmousemove);
- }
-
- public void setOnmousemove(String onmousemove) {
- getStateHelper().put(PropertyKeys.onmousemove, onmousemove);
- }
-
- public String getOnmouseout() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseout);
- }
-
- public void setOnmouseout(String onmouseout) {
- getStateHelper().put(PropertyKeys.onmouseout, onmouseout);
- }
-
- public String getOnmouseover() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseover);
- }
-
- public void setOnmouseover(String onmouseover) {
- getStateHelper().put(PropertyKeys.onmouseover, onmouseover);
- }
-
- public String getOnmouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseup);
- }
-
- public void setOnmouseup(String onmouseup) {
- getStateHelper().put(PropertyKeys.onmouseup, onmouseup);
- }
-
- public String getOnunselect() {
- return (String) getStateHelper().eval(PropertyKeys.onunselect);
- }
-
- public void setOnunselect(String onunselect) {
- getStateHelper().put(PropertyKeys.onunselect, onunselect);
- }
-
- public String getOnselect() {
- return (String) getStateHelper().eval(PropertyKeys.onselect);
- }
-
- public void setOnselect(String onselect) {
- getStateHelper().put(PropertyKeys.onselect, onselect);
- }
-
- public String getOnbeforeselect() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforeselect);
- }
-
- public void setOnbeforeselect(String onbeforeselect) {
- getStateHelper().put(PropertyKeys.onbeforeselect, onbeforeselect);
- }
-
-
- @Override
- public Collection<String> getEventNames() {
- return EVENT_NAMES;
- }
-}
-
Deleted:
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlPanelMenuItem.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlPanelMenuItem.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlPanelMenuItem.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,287 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-
-package org.richfaces.component.html;
-
-import org.richfaces.component.UIPanelMenuItem;
-
-import javax.faces.component.behavior.ClientBehaviorHolder;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-
-/**
- * @author akolonitsky
- * @since 2010-10-25
- */
-public class HtmlPanelMenuItem extends UIPanelMenuItem implements ClientBehaviorHolder {
-
- public static final String COMPONENT_TYPE = "org.richfaces.PanelMenuItem";
-
- public static final String COMPONENT_FAMILY =
"org.richfaces.PanelMenuItem";
-
- private static final Collection<String> EVENT_NAMES =
Collections.unmodifiableCollection(Arrays.asList(
- "beforedomupdate",
- "complete",
- "click",
- "dblclick",
- "mousedown",
- "mousemove",
- "mouseout",
- "mouseover",
- "mouseup",
- "unselect",
- "select",
- "beforeselect"
- ));
-
-
- public enum PropertyKeys {
- disabledClass,
- hoverClass,
- iconLeft,
- iconLeftClass,
- iconLeftDisabled,
- iconRight,
- iconRightClass,
- iconRightDisabled,
- style,
- styleClass,
- onbeforedomupdate,
- oncomplete,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- onmouseover,
- onmouseup,
- onunselect,
- onselect,
- onbeforeselect
- }
-
- public HtmlPanelMenuItem() {
- setRendererType("org.richfaces.PanelMenuItem");
- }
-
- @Override
- public HtmlPanelMenu getPanelMenu() {
- return (HtmlPanelMenu) super.getPanelMenu();
- }
-
- @Override
- public String getFamily() {
- return COMPONENT_FAMILY;
- }
-
- public String getDisabledClass() {
- return (String) getStateHelper().eval(PropertyKeys.disabledClass,
- isTopItem() ? getPanelMenu().getTopItemDisableClass() :
getPanelMenu().getItemDisableClass());
- }
-
- public void setDisabledClass(String disabledClass) {
- getStateHelper().put(PropertyKeys.disabledClass, disabledClass);
- }
-
- public String getHoverClass() {
- return (String) getStateHelper().eval(PropertyKeys.hoverClass);
- }
-
- public void setHoverClass(String hoverClass) {
- getStateHelper().put(PropertyKeys.hoverClass, hoverClass);
- }
-
- public String getIconLeft() {
- return (String) getStateHelper().eval(PropertyKeys.iconLeft,
- isTopItem() ? getPanelMenu().getTopItemIconLeft() :
getPanelMenu().getItemIconLeft());
- }
-
- public void setIconLeft(String iconLeft) {
- getStateHelper().put(PropertyKeys.iconLeft, iconLeft);
- }
-
- public String getIconLeftClass() {
- return (String) getStateHelper().eval(PropertyKeys.iconLeftClass);
- }
-
- public void setIconLeftClass(String iconLeftClass) {
- getStateHelper().put(PropertyKeys.iconLeftClass, iconLeftClass);
- }
-
- public String getIconLeftDisabled() {
- return (String) getStateHelper().eval(PropertyKeys.iconLeftDisabled,
- isTopItem() ? getPanelMenu().getTopItemDisableIconLeft() :
getPanelMenu().getItemDisableIconLeft());
- }
-
- public void setIconLeftDisabled(String iconLeftDisabled) {
- getStateHelper().put(PropertyKeys.iconLeftDisabled, iconLeftDisabled);
- }
-
- public String getIconRight() {
- return (String) getStateHelper().eval(PropertyKeys.iconRight,
- isTopItem() ? getPanelMenu().getTopItemIconRight() :
getPanelMenu().getItemIconRight());
- }
-
- public void setIconRight(String iconRight) {
- getStateHelper().put(PropertyKeys.iconRight, iconRight);
- }
-
- public String getIconRightClass() {
- return (String) getStateHelper().eval(PropertyKeys.iconRightClass);
- }
-
- public void setIconRightClass(String iconRightClass) {
- getStateHelper().put(PropertyKeys.iconRightClass, iconRightClass);
- }
-
- public String getIconRightDisabled() {
- return (String) getStateHelper().eval(PropertyKeys.iconRightDisabled,
- isTopItem() ? getPanelMenu().getTopItemDisableIconRight() :
getPanelMenu().getItemDisableIconRight());
- }
-
- public void setIconRightDisabled(String iconRightDisabled) {
- getStateHelper().put(PropertyKeys.iconRightDisabled, iconRightDisabled);
- }
-
- public String getStyle() {
- return (String) getStateHelper().eval(PropertyKeys.style);
- }
-
- public void setStyle(String style) {
- getStateHelper().put(PropertyKeys.style, style);
- }
-
- public String getStyleClass() {
- return (String) getStateHelper().eval(PropertyKeys.styleClass,
- isTopItem() ? getPanelMenu().getTopItemClass() :
getPanelMenu().getItemClass() );
- }
-
- public void setStyleClass(String styleClass) {
- getStateHelper().put(PropertyKeys.styleClass, styleClass);
- }
-
- public String getOnbeforedomupdate() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforedomupdate);
- }
-
- public void setOnbeforedomupdate(String onbeforedomupdate) {
- getStateHelper().put(PropertyKeys.onbeforedomupdate, onbeforedomupdate);
- }
-
- public String getOncomplete() {
- return (String) getStateHelper().eval(PropertyKeys.oncomplete);
- }
-
- public void setOncomplete(String oncomplete) {
- getStateHelper().put(PropertyKeys.oncomplete, oncomplete);
- }
-
- public String getOnclick() {
- return (String) getStateHelper().eval(PropertyKeys.onclick);
- }
-
- public void setOnclick(String onclick) {
- getStateHelper().put(PropertyKeys.onclick, onclick);
- }
-
- public String getOndblclick() {
- return (String) getStateHelper().eval(PropertyKeys.ondblclick);
- }
-
- public void setOndblclick(String ondblclick) {
- getStateHelper().put(PropertyKeys.ondblclick, ondblclick);
- }
-
- public String getOnmousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onmousedown);
- }
-
- public void setOnmousedown(String onmousedown) {
- getStateHelper().put(PropertyKeys.onmousedown, onmousedown);
- }
-
- public String getOnmousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onmousemove);
- }
-
- public void setOnmousemove(String onmousemove) {
- getStateHelper().put(PropertyKeys.onmousemove, onmousemove);
- }
-
- public String getOnmouseout() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseout);
- }
-
- public void setOnmouseout(String onmouseout) {
- getStateHelper().put(PropertyKeys.onmouseout, onmouseout);
- }
-
- public String getOnmouseover() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseover);
- }
-
- public void setOnmouseover(String onmouseover) {
- getStateHelper().put(PropertyKeys.onmouseover, onmouseover);
- }
-
- public String getOnmouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseup);
- }
-
- public void setOnmouseup(String onmouseup) {
- getStateHelper().put(PropertyKeys.onmouseup, onmouseup);
- }
-
- public String getOnunselect() {
- return (String) getStateHelper().eval(PropertyKeys.onunselect);
- }
-
- public void setOnunselect(String onunselect) {
- getStateHelper().put(PropertyKeys.onunselect, onunselect);
- }
-
- public String getOnselect() {
- return (String) getStateHelper().eval(PropertyKeys.onselect);
- }
-
- public void setOnselect(String onselect) {
- getStateHelper().put(PropertyKeys.onselect, onselect);
- }
-
- public String getOnbeforeselect() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforeselect);
- }
-
- public void setOnbeforeselect(String onbeforeselect) {
- getStateHelper().put(PropertyKeys.onbeforeselect, onbeforeselect);
- }
-
-
-
- @Override
- public Collection<String> getEventNames() {
- return EVENT_NAMES;
- }
-}
-
Deleted: trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTab.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTab.java 2011-01-18
14:48:02 UTC (rev 21055)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTab.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,308 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component.html;
-
-import org.richfaces.component.UITogglePanelTitledItem;
-import javax.faces.component.behavior.ClientBehaviorHolder;
-
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-
-/**
- * @author akolonitsky
- * @since 2010-10-19
- */
-public class HtmlTab extends UITogglePanelTitledItem implements ClientBehaviorHolder {
-
- public static final String COMPONENT_TYPE =
"org.richfaces.TogglePanelTitledItem";
-
- public static final String COMPONENT_FAMILY =
"org.richfaces.TogglePanelTitledItem";
-
- private static final Collection<String> EVENT_NAMES =
Collections.unmodifiableCollection(Arrays.asList(
- "headerclick",
- "headerdblclick",
- "headermousedown",
- "headermousemove",
- "headermouseup",
- "enter",
- "leave",
- "click",
- "dblclick",
- "mousedown",
- "mousemove",
- "mouseout",
- "mouseover",
- "mouseup"
- ));
-
-
- public enum PropertyKeys {
- headerClassActive,
- headerClassDisabled,
- headerClassInactive,
- headerClass,
- headerStyle,
- contentClass,
- onheaderclick,
- onheaderdblclick,
- onheadermousedown,
- onheadermousemove,
- onheadermouseup,
- onenter,
- onleave,
- lang,
- title,
- style,
- styleClass,
- dir,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- onmouseover,
- onmouseup
- }
-
- public HtmlTab() {
- setRendererType("org.richfaces.Tab");
- }
-
- @Override
- public String getFamily() {
- return COMPONENT_FAMILY;
- }
-
- public HtmlTabPanel getTabPanel() {
- return (HtmlTabPanel) this.getParent();
- }
-
- public String getHeaderClassActive() {
- return (String) getStateHelper().eval(PropertyKeys.headerClassActive,
getTabPanel().getTabHeaderClassActive());
- }
-
- public void setHeaderClassActive(String headerClassActive) {
- getStateHelper().put(PropertyKeys.headerClassActive, headerClassActive);
- }
-
- public String getHeaderClassDisabled() {
- return (String) getStateHelper().eval(PropertyKeys.headerClassDisabled,
getTabPanel().getTabHeaderClassDisabled());
- }
-
- public void setHeaderClassDisabled(String headerClassDisabled) {
- getStateHelper().put(PropertyKeys.headerClassDisabled, headerClassDisabled);
- }
-
- public String getHeaderClassInactive() {
- return (String) getStateHelper().eval(PropertyKeys.headerClassInactive,
getTabPanel().getTabHeaderClassInactive());
- }
-
- public void setHeaderClassInactive(String headerClassInactive) {
- getStateHelper().put(PropertyKeys.headerClassInactive, headerClassInactive);
- }
-
- public String getHeaderClass() {
- return (String) getStateHelper().eval(PropertyKeys.headerClass,
getTabPanel().getTabHeaderClass());
- }
-
- public void setHeaderClass(String headerClass) {
- getStateHelper().put(PropertyKeys.headerClass, headerClass);
- }
-
- public String getHeaderStyle() {
- return (String) getStateHelper().eval(PropertyKeys.headerStyle);
- }
-
- public void setHeaderStyle(String headerStyle) {
- getStateHelper().put(PropertyKeys.headerStyle, headerStyle);
- }
-
- public String getContentClass() {
- return (String) getStateHelper().eval(PropertyKeys.contentClass,
getTabPanel().getTabContentClass());
- }
-
- public void setContentClass(String contentClass) {
- getStateHelper().put(PropertyKeys.contentClass, contentClass);
- }
-
- public String getOnheaderclick() {
- return (String) getStateHelper().eval(PropertyKeys.onheaderclick);
- }
-
- public void setOnheaderclick(String onheaderclick) {
- getStateHelper().put(PropertyKeys.onheaderclick, onheaderclick);
- }
-
- public String getOnheaderdblclick() {
- return (String) getStateHelper().eval(PropertyKeys.onheaderdblclick);
- }
-
- public void setOnheaderdblclick(String onheaderdblclick) {
- getStateHelper().put(PropertyKeys.onheaderdblclick, onheaderdblclick);
- }
-
- public String getOnheadermousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onheadermousedown);
- }
-
- public void setOnheadermousedown(String onheadermousedown) {
- getStateHelper().put(PropertyKeys.onheadermousedown, onheadermousedown);
- }
-
- public String getOnheadermousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onheadermousemove);
- }
-
- public void setOnheadermousemove(String onheadermousemove) {
- getStateHelper().put(PropertyKeys.onheadermousemove, onheadermousemove);
- }
-
- public String getOnheadermouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onheadermouseup);
- }
-
- public void setOnheadermouseup(String onheadermouseup) {
- getStateHelper().put(PropertyKeys.onheadermouseup, onheadermouseup);
- }
-
- public String getOnenter() {
- return (String) getStateHelper().eval(PropertyKeys.onenter);
- }
-
- public void setOnenter(String onenter) {
- getStateHelper().put(PropertyKeys.onenter, onenter);
- }
-
- public String getOnleave() {
- return (String) getStateHelper().eval(PropertyKeys.onleave);
- }
-
- public void setOnleave(String onleave) {
- getStateHelper().put(PropertyKeys.onleave, onleave);
- }
-
- public String getLang() {
- return (String) getStateHelper().eval(PropertyKeys.lang);
- }
-
- public void setLang(String lang) {
- getStateHelper().put(PropertyKeys.lang, lang);
- }
-
- public String getTitle() {
- return (String) getStateHelper().eval(PropertyKeys.title);
- }
-
- public void setTitle(String title) {
- getStateHelper().put(PropertyKeys.title, title);
- }
-
- public String getStyle() {
- return (String) getStateHelper().eval(PropertyKeys.style);
- }
-
- public void setStyle(String style) {
- getStateHelper().put(PropertyKeys.style, style);
- }
-
- public String getStyleClass() {
- return (String) getStateHelper().eval(PropertyKeys.styleClass);
- }
-
- public void setStyleClass(String styleClass) {
- getStateHelper().put(PropertyKeys.styleClass, styleClass);
- }
-
- public String getDir() {
- return (String) getStateHelper().eval(PropertyKeys.dir);
- }
-
- public void setDir(String dir) {
- getStateHelper().put(PropertyKeys.dir, dir);
- }
-
- public String getOnclick() {
- return (String) getStateHelper().eval(PropertyKeys.onclick);
- }
-
- public void setOnclick(String onclick) {
- getStateHelper().put(PropertyKeys.onclick, onclick);
- }
-
- public String getOndblclick() {
- return (String) getStateHelper().eval(PropertyKeys.ondblclick);
- }
-
- public void setOndblclick(String ondblclick) {
- getStateHelper().put(PropertyKeys.ondblclick, ondblclick);
- }
-
- public String getOnmousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onmousedown);
- }
-
- public void setOnmousedown(String onmousedown) {
- getStateHelper().put(PropertyKeys.onmousedown, onmousedown);
- }
-
- public String getOnmousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onmousemove);
- }
-
- public void setOnmousemove(String onmousemove) {
- getStateHelper().put(PropertyKeys.onmousemove, onmousemove);
- }
-
- public String getOnmouseout() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseout);
- }
-
- public void setOnmouseout(String onmouseout) {
- getStateHelper().put(PropertyKeys.onmouseout, onmouseout);
- }
-
- public String getOnmouseover() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseover);
- }
-
- public void setOnmouseover(String onmouseover) {
- getStateHelper().put(PropertyKeys.onmouseover, onmouseover);
- }
-
- public String getOnmouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseup);
- }
-
- public void setOnmouseup(String onmouseup) {
- getStateHelper().put(PropertyKeys.onmouseup, onmouseup);
- }
-
-
-
- @Override
- public Collection<String> getEventNames() {
- return EVENT_NAMES;
- }
-}
-
Deleted: trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTabPanel.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTabPanel.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTabPanel.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,265 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component.html;
-
-import org.richfaces.HeaderPosition;
-import org.richfaces.HeaderAlignment;
-import org.richfaces.component.AbstractTabPanel;
-import javax.faces.component.behavior.ClientBehaviorHolder;
-
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-
-/**
- * @author akolonitsky
- * @since 2010-08-27
- */
-public class HtmlTabPanel extends AbstractTabPanel implements ClientBehaviorHolder {
-
- public static final String COMPONENT_TYPE = "org.richfaces.TabPanel";
-
- public static final String COMPONENT_FAMILY = "org.richfaces.TabPanel";
-
- private static final Collection<String> EVENT_NAMES =
Collections.unmodifiableCollection(Arrays.asList(
- "itemchange",
- "beforeitemchange",
- "click",
- "dblclick",
- "mousedown",
- "mousemove",
- "mouseout",
- "mouseover",
- "mouseup"
- ));
-
-
- public enum PropertyKeys {
- headerPosition,
- headerAlignment,
- tabHeaderClassActive,
- tabHeaderClassDisabled,
- tabHeaderClassInactive,
- tabContentClass,
- tabHeaderClass,
- onitemchange,
- onbeforeitemchange,
- lang,
- title,
- style,
- styleClass,
- dir,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- onmouseover,
- onmouseup
- }
-
- public HtmlTabPanel() {
- setRendererType("org.richfaces.TabPanel");
- }
-
- @Override
- public String getFamily() {
- return COMPONENT_FAMILY;
- }
-
- public HeaderPosition getHeaderPosition() {
- return (HeaderPosition) getStateHelper().eval(PropertyKeys.headerPosition);
- }
-
- public void setHeaderPosition(HeaderPosition headerPosition) {
- getStateHelper().put(PropertyKeys.headerPosition, headerPosition);
- }
-
- public HeaderAlignment getHeaderAlignment() {
- return (HeaderAlignment) getStateHelper().eval(PropertyKeys.headerAlignment);
- }
-
- public void setHeaderAlignment(HeaderAlignment headerAlignment) {
- getStateHelper().put(PropertyKeys.headerAlignment, headerAlignment);
- }
-
- public String getTabHeaderClassActive() {
- return (String) getStateHelper().eval(PropertyKeys.tabHeaderClassActive);
- }
-
- public void setTabHeaderClassActive(String tabHeaderClassActive) {
- getStateHelper().put(PropertyKeys.tabHeaderClassActive, tabHeaderClassActive);
- }
-
- public String getTabHeaderClassDisabled() {
- return (String) getStateHelper().eval(PropertyKeys.tabHeaderClassDisabled);
- }
-
- public void setTabHeaderClassDisabled(String tabHeaderClassDisabled) {
- getStateHelper().put(PropertyKeys.tabHeaderClassDisabled,
tabHeaderClassDisabled);
- }
-
- public String getTabHeaderClassInactive() {
- return (String) getStateHelper().eval(PropertyKeys.tabHeaderClassInactive);
- }
-
- public void setTabHeaderClassInactive(String tabHeaderClassInactive) {
- getStateHelper().put(PropertyKeys.tabHeaderClassInactive,
tabHeaderClassInactive);
- }
-
- public String getTabContentClass() {
- return (String) getStateHelper().eval(PropertyKeys.tabContentClass);
- }
-
- public void setTabContentClass(String tabContentClass) {
- getStateHelper().put(PropertyKeys.tabContentClass, tabContentClass);
- }
-
- public String getTabHeaderClass() {
- return (String) getStateHelper().eval(PropertyKeys.tabHeaderClass);
- }
-
- public void setTabHeaderClass(String tabHeaderClass) {
- getStateHelper().put(PropertyKeys.tabHeaderClass, tabHeaderClass);
- }
-
- public String getOnitemchange() {
- return (String) getStateHelper().eval(PropertyKeys.onitemchange);
- }
-
- public void setOnitemchange(String onitemchange) {
- getStateHelper().put(PropertyKeys.onitemchange, onitemchange);
- }
-
- public String getOnbeforeitemchange() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforeitemchange);
- }
-
- public void setOnbeforeitemchange(String onbeforeitemchange) {
- getStateHelper().put(PropertyKeys.onbeforeitemchange, onbeforeitemchange);
- }
-
- public String getLang() {
- return (String) getStateHelper().eval(PropertyKeys.lang);
- }
-
- public void setLang(String lang) {
- getStateHelper().put(PropertyKeys.lang, lang);
- }
-
- public String getTitle() {
- return (String) getStateHelper().eval(PropertyKeys.title);
- }
-
- public void setTitle(String title) {
- getStateHelper().put(PropertyKeys.title, title);
- }
-
- public String getStyle() {
- return (String) getStateHelper().eval(PropertyKeys.style);
- }
-
- public void setStyle(String style) {
- getStateHelper().put(PropertyKeys.style, style);
- }
-
- public String getStyleClass() {
- return (String) getStateHelper().eval(PropertyKeys.styleClass);
- }
-
- public void setStyleClass(String styleClass) {
- getStateHelper().put(PropertyKeys.styleClass, styleClass);
- }
-
- public String getDir() {
- return (String) getStateHelper().eval(PropertyKeys.dir);
- }
-
- public void setDir(String dir) {
- getStateHelper().put(PropertyKeys.dir, dir);
- }
-
- public String getOnclick() {
- return (String) getStateHelper().eval(PropertyKeys.onclick);
- }
-
- public void setOnclick(String onclick) {
- getStateHelper().put(PropertyKeys.onclick, onclick);
- }
-
- public String getOndblclick() {
- return (String) getStateHelper().eval(PropertyKeys.ondblclick);
- }
-
- public void setOndblclick(String ondblclick) {
- getStateHelper().put(PropertyKeys.ondblclick, ondblclick);
- }
-
- public String getOnmousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onmousedown);
- }
-
- public void setOnmousedown(String onmousedown) {
- getStateHelper().put(PropertyKeys.onmousedown, onmousedown);
- }
-
- public String getOnmousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onmousemove);
- }
-
- public void setOnmousemove(String onmousemove) {
- getStateHelper().put(PropertyKeys.onmousemove, onmousemove);
- }
-
- public String getOnmouseout() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseout);
- }
-
- public void setOnmouseout(String onmouseout) {
- getStateHelper().put(PropertyKeys.onmouseout, onmouseout);
- }
-
- public String getOnmouseover() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseover);
- }
-
- public void setOnmouseover(String onmouseover) {
- getStateHelper().put(PropertyKeys.onmouseover, onmouseover);
- }
-
- public String getOnmouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseup);
- }
-
- public void setOnmouseup(String onmouseup) {
- getStateHelper().put(PropertyKeys.onmouseup, onmouseup);
- }
-
-
-
- @Override
- public Collection<String> getEventNames() {
- return EVENT_NAMES;
- }
-}
-
Deleted:
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTogglePanel.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTogglePanel.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTogglePanel.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,200 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component.html;
-
-import org.richfaces.component.UITogglePanel;
-import javax.faces.component.behavior.ClientBehaviorHolder;
-
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-
-/**
- * @author akolonitsky
- * @since 2010-08-13
- */
-public class HtmlTogglePanel extends UITogglePanel implements ClientBehaviorHolder {
-
- public static final String COMPONENT_TYPE = "org.richfaces.TogglePanel";
-
- public static final String COMPONENT_FAMILY = "org.richfaces.TogglePanel";
-
- private static final Collection<String> EVENT_NAMES =
Collections.unmodifiableCollection(Arrays.asList(
- "itemchange",
- "beforeitemchange",
- "click",
- "dblclick",
- "mousedown",
- "mousemove",
- "mouseout",
- "mouseover",
- "mouseup"
- ));
-
-
- public enum PropertyKeys {
- onitemchange,
- onbeforeitemchange,
- lang,
- title,
- style,
- styleClass,
- dir,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- onmouseover,
- onmouseup
- }
-
- public HtmlTogglePanel() {
- setRendererType("org.richfaces.TogglePanel");
- }
-
- @Override
- public String getFamily() {
- return COMPONENT_FAMILY;
- }
-
- public String getOnitemchange() {
- return (String) getStateHelper().eval(PropertyKeys.onitemchange);
- }
-
- public void setOnitemchange(String onitemchange) {
- getStateHelper().put(PropertyKeys.onitemchange, onitemchange);
- }
-
- public String getOnbeforeitemchange() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforeitemchange);
- }
-
- public void setOnbeforeitemchange(String onbeforeitemchange) {
- getStateHelper().put(PropertyKeys.onbeforeitemchange, onbeforeitemchange);
- }
-
- public String getLang() {
- return (String) getStateHelper().eval(PropertyKeys.lang);
- }
-
- public void setLang(String lang) {
- getStateHelper().put(PropertyKeys.lang, lang);
- }
-
- public String getTitle() {
- return (String) getStateHelper().eval(PropertyKeys.title);
- }
-
- public void setTitle(String title) {
- getStateHelper().put(PropertyKeys.title, title);
- }
-
- public String getStyle() {
- return (String) getStateHelper().eval(PropertyKeys.style);
- }
-
- public void setStyle(String style) {
- getStateHelper().put(PropertyKeys.style, style);
- }
-
- public String getStyleClass() {
- return (String) getStateHelper().eval(PropertyKeys.styleClass);
- }
-
- public void setStyleClass(String styleClass) {
- getStateHelper().put(PropertyKeys.styleClass, styleClass);
- }
-
- public String getDir() {
- return (String) getStateHelper().eval(PropertyKeys.dir);
- }
-
- public void setDir(String dir) {
- getStateHelper().put(PropertyKeys.dir, dir);
- }
-
- public String getOnclick() {
- return (String) getStateHelper().eval(PropertyKeys.onclick);
- }
-
- public void setOnclick(String onclick) {
- getStateHelper().put(PropertyKeys.onclick, onclick);
- }
-
- public String getOndblclick() {
- return (String) getStateHelper().eval(PropertyKeys.ondblclick);
- }
-
- public void setOndblclick(String ondblclick) {
- getStateHelper().put(PropertyKeys.ondblclick, ondblclick);
- }
-
- public String getOnmousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onmousedown);
- }
-
- public void setOnmousedown(String onmousedown) {
- getStateHelper().put(PropertyKeys.onmousedown, onmousedown);
- }
-
- public String getOnmousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onmousemove);
- }
-
- public void setOnmousemove(String onmousemove) {
- getStateHelper().put(PropertyKeys.onmousemove, onmousemove);
- }
-
- public String getOnmouseout() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseout);
- }
-
- public void setOnmouseout(String onmouseout) {
- getStateHelper().put(PropertyKeys.onmouseout, onmouseout);
- }
-
- public String getOnmouseover() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseover);
- }
-
- public void setOnmouseover(String onmouseover) {
- getStateHelper().put(PropertyKeys.onmouseover, onmouseover);
- }
-
- public String getOnmouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseup);
- }
-
- public void setOnmouseup(String onmouseup) {
- getStateHelper().put(PropertyKeys.onmouseup, onmouseup);
- }
-
-
-
- @Override
- public Collection<String> getEventNames() {
- return EVENT_NAMES;
- }
-}
-
Deleted:
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTogglePanelItem.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTogglePanelItem.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTogglePanelItem.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,200 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component.html;
-
-import org.richfaces.component.UITogglePanelItem;
-import javax.faces.component.behavior.ClientBehaviorHolder;
-
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-
-/**
- * @author akolonitsky
- * @since 2010-08-13
- */
-public class HtmlTogglePanelItem extends UITogglePanelItem implements
ClientBehaviorHolder {
-
- public static final String COMPONENT_TYPE =
"org.richfaces.TogglePanelItem";
-
- public static final String COMPONENT_FAMILY =
"org.richfaces.TogglePanelItem";
-
- private static final Collection<String> EVENT_NAMES =
Collections.unmodifiableCollection(Arrays.asList(
- "enter",
- "leave",
- "click",
- "dblclick",
- "mousedown",
- "mousemove",
- "mouseout",
- "mouseover",
- "mouseup"
- ));
-
-
- public enum PropertyKeys {
- onenter,
- onleave,
- lang,
- title,
- style,
- styleClass,
- dir,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- onmouseover,
- onmouseup
- }
-
- public HtmlTogglePanelItem() {
- setRendererType("org.richfaces.TogglePanelItem");
- }
-
- @Override
- public String getFamily() {
- return COMPONENT_FAMILY;
- }
-
- public String getOnenter() {
- return (String) getStateHelper().eval(PropertyKeys.onenter);
- }
-
- public void setOnenter(String onenter) {
- getStateHelper().put(PropertyKeys.onenter, onenter);
- }
-
- public String getOnleave() {
- return (String) getStateHelper().eval(PropertyKeys.onleave);
- }
-
- public void setOnleave(String onleave) {
- getStateHelper().put(PropertyKeys.onleave, onleave);
- }
-
- public String getLang() {
- return (String) getStateHelper().eval(PropertyKeys.lang);
- }
-
- public void setLang(String lang) {
- getStateHelper().put(PropertyKeys.lang, lang);
- }
-
- public String getTitle() {
- return (String) getStateHelper().eval(PropertyKeys.title);
- }
-
- public void setTitle(String title) {
- getStateHelper().put(PropertyKeys.title, title);
- }
-
- public String getStyle() {
- return (String) getStateHelper().eval(PropertyKeys.style);
- }
-
- public void setStyle(String style) {
- getStateHelper().put(PropertyKeys.style, style);
- }
-
- public String getStyleClass() {
- return (String) getStateHelper().eval(PropertyKeys.styleClass);
- }
-
- public void setStyleClass(String styleClass) {
- getStateHelper().put(PropertyKeys.styleClass, styleClass);
- }
-
- public String getDir() {
- return (String) getStateHelper().eval(PropertyKeys.dir);
- }
-
- public void setDir(String dir) {
- getStateHelper().put(PropertyKeys.dir, dir);
- }
-
- public String getOnclick() {
- return (String) getStateHelper().eval(PropertyKeys.onclick);
- }
-
- public void setOnclick(String onclick) {
- getStateHelper().put(PropertyKeys.onclick, onclick);
- }
-
- public String getOndblclick() {
- return (String) getStateHelper().eval(PropertyKeys.ondblclick);
- }
-
- public void setOndblclick(String ondblclick) {
- getStateHelper().put(PropertyKeys.ondblclick, ondblclick);
- }
-
- public String getOnmousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onmousedown);
- }
-
- public void setOnmousedown(String onmousedown) {
- getStateHelper().put(PropertyKeys.onmousedown, onmousedown);
- }
-
- public String getOnmousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onmousemove);
- }
-
- public void setOnmousemove(String onmousemove) {
- getStateHelper().put(PropertyKeys.onmousemove, onmousemove);
- }
-
- public String getOnmouseout() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseout);
- }
-
- public void setOnmouseout(String onmouseout) {
- getStateHelper().put(PropertyKeys.onmouseout, onmouseout);
- }
-
- public String getOnmouseover() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseover);
- }
-
- public void setOnmouseover(String onmouseover) {
- getStateHelper().put(PropertyKeys.onmouseover, onmouseover);
- }
-
- public String getOnmouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseup);
- }
-
- public void setOnmouseup(String onmouseup) {
- getStateHelper().put(PropertyKeys.onmouseup, onmouseup);
- }
-
-
-
- @Override
- public Collection<String> getEventNames() {
- return EVENT_NAMES;
- }
-}
-
Deleted:
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTogglePanelTitledItem.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTogglePanelTitledItem.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTogglePanelTitledItem.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,306 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component.html;
-
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-
-import javax.faces.component.behavior.ClientBehaviorHolder;
-
-import org.richfaces.component.UITogglePanelTitledItem;
-
-/**
- * @author akolonitsky
- * @since 2010-08-13
- */
-//TODO alex - what's the purpose of this class?
-public class HtmlTogglePanelTitledItem extends UITogglePanelTitledItem implements
ClientBehaviorHolder {
-
- public static final String COMPONENT_TYPE =
"org.richfaces.TogglePanelTitledItem";
-
- public static final String COMPONENT_FAMILY =
"org.richfaces.TogglePanelTitledItem";
-
- private static final Collection<String> EVENT_NAMES =
Collections.unmodifiableCollection(Arrays.asList(
- "headerclick",
- "headerdblclick",
- "headermousedown",
- "headermousemove",
- "headermouseup",
- "enter",
- "leave",
- "click",
- "dblclick",
- "mousedown",
- "mousemove",
- "mouseout",
- "mouseover",
- "mouseup"
- ));
-
-
- public enum PropertyKeys {
- headerClassActive,
- headerClassDisabled,
- headerClassInactive,
- headerClass,
- headerStyle,
- contentClass,
- onheaderclick,
- onheaderdblclick,
- onheadermousedown,
- onheadermousemove,
- onheadermouseup,
- onenter,
- onleave,
- lang,
- title,
- style,
- styleClass,
- dir,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- onmouseover,
- onmouseup
- }
-
- public HtmlTogglePanelTitledItem() {
- setRendererType("org.richfaces.TogglePanelTitledItem");
- }
-
- @Override
- public String getFamily() {
- return COMPONENT_FAMILY;
- }
-
- public String getHeaderClassActive() {
- return (String) getStateHelper().eval(PropertyKeys.headerClassActive);
- }
-
- public void setHeaderClassActive(String headerClassActive) {
- getStateHelper().put(PropertyKeys.headerClassActive, headerClassActive);
- }
-
- public String getHeaderClassDisabled() {
- return (String) getStateHelper().eval(PropertyKeys.headerClassDisabled);
- }
-
- public void setHeaderClassDisabled(String headerClassDisabled) {
- getStateHelper().put(PropertyKeys.headerClassDisabled, headerClassDisabled);
- }
-
- public String getHeaderClassInactive() {
- return (String) getStateHelper().eval(PropertyKeys.headerClassInactive);
- }
-
- public void setHeaderClassInactive(String headerClassInactive) {
- getStateHelper().put(PropertyKeys.headerClassInactive, headerClassInactive);
- }
-
- public String getHeaderClass() {
- return (String) getStateHelper().eval(PropertyKeys.headerClass);
- }
-
- public void setHeaderClass(String headerClass) {
- getStateHelper().put(PropertyKeys.headerClass, headerClass);
- }
-
- public String getHeaderStyle() {
- return (String) getStateHelper().eval(PropertyKeys.headerStyle);
- }
-
- public void setHeaderStyle(String headerStyle) {
- getStateHelper().put(PropertyKeys.headerStyle, headerStyle);
- }
-
- public String getContentClass() {
- return (String) getStateHelper().eval(PropertyKeys.contentClass);
- }
-
- public void setContentClass(String contentClass) {
- getStateHelper().put(PropertyKeys.contentClass, contentClass);
- }
-
- public String getOnheaderclick() {
- return (String) getStateHelper().eval(PropertyKeys.onheaderclick);
- }
-
- public void setOnheaderclick(String onheaderclick) {
- getStateHelper().put(PropertyKeys.onheaderclick, onheaderclick);
- }
-
- public String getOnheaderdblclick() {
- return (String) getStateHelper().eval(PropertyKeys.onheaderdblclick);
- }
-
- public void setOnheaderdblclick(String onheaderdblclick) {
- getStateHelper().put(PropertyKeys.onheaderdblclick, onheaderdblclick);
- }
-
- public String getOnheadermousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onheadermousedown);
- }
-
- public void setOnheadermousedown(String onheadermousedown) {
- getStateHelper().put(PropertyKeys.onheadermousedown, onheadermousedown);
- }
-
- public String getOnheadermousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onheadermousemove);
- }
-
- public void setOnheadermousemove(String onheadermousemove) {
- getStateHelper().put(PropertyKeys.onheadermousemove, onheadermousemove);
- }
-
- public String getOnheadermouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onheadermouseup);
- }
-
- public void setOnheadermouseup(String onheadermouseup) {
- getStateHelper().put(PropertyKeys.onheadermouseup, onheadermouseup);
- }
-
- public String getOnenter() {
- return (String) getStateHelper().eval(PropertyKeys.onenter);
- }
-
- public void setOnenter(String onenter) {
- getStateHelper().put(PropertyKeys.onenter, onenter);
- }
-
- public String getOnleave() {
- return (String) getStateHelper().eval(PropertyKeys.onleave);
- }
-
- public void setOnleave(String onleave) {
- getStateHelper().put(PropertyKeys.onleave, onleave);
- }
-
- public String getLang() {
- return (String) getStateHelper().eval(PropertyKeys.lang);
- }
-
- public void setLang(String lang) {
- getStateHelper().put(PropertyKeys.lang, lang);
- }
-
- public String getTitle() {
- return (String) getStateHelper().eval(PropertyKeys.title);
- }
-
- public void setTitle(String title) {
- getStateHelper().put(PropertyKeys.title, title);
- }
-
- public String getStyle() {
- return (String) getStateHelper().eval(PropertyKeys.style);
- }
-
- public void setStyle(String style) {
- getStateHelper().put(PropertyKeys.style, style);
- }
-
- public String getStyleClass() {
- return (String) getStateHelper().eval(PropertyKeys.styleClass);
- }
-
- public void setStyleClass(String styleClass) {
- getStateHelper().put(PropertyKeys.styleClass, styleClass);
- }
-
- public String getDir() {
- return (String) getStateHelper().eval(PropertyKeys.dir);
- }
-
- public void setDir(String dir) {
- getStateHelper().put(PropertyKeys.dir, dir);
- }
-
- public String getOnclick() {
- return (String) getStateHelper().eval(PropertyKeys.onclick);
- }
-
- public void setOnclick(String onclick) {
- getStateHelper().put(PropertyKeys.onclick, onclick);
- }
-
- public String getOndblclick() {
- return (String) getStateHelper().eval(PropertyKeys.ondblclick);
- }
-
- public void setOndblclick(String ondblclick) {
- getStateHelper().put(PropertyKeys.ondblclick, ondblclick);
- }
-
- public String getOnmousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onmousedown);
- }
-
- public void setOnmousedown(String onmousedown) {
- getStateHelper().put(PropertyKeys.onmousedown, onmousedown);
- }
-
- public String getOnmousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onmousemove);
- }
-
- public void setOnmousemove(String onmousemove) {
- getStateHelper().put(PropertyKeys.onmousemove, onmousemove);
- }
-
- public String getOnmouseout() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseout);
- }
-
- public void setOnmouseout(String onmouseout) {
- getStateHelper().put(PropertyKeys.onmouseout, onmouseout);
- }
-
- public String getOnmouseover() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseover);
- }
-
- public void setOnmouseover(String onmouseover) {
- getStateHelper().put(PropertyKeys.onmouseover, onmouseover);
- }
-
- public String getOnmouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseup);
- }
-
- public void setOnmouseup(String onmouseup) {
- getStateHelper().put(PropertyKeys.onmouseup, onmouseup);
- }
-
-
-
- @Override
- public Collection<String> getEventNames() {
- return EVENT_NAMES;
- }
-}
-
Deleted: trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTooltip.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTooltip.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/html/HtmlTooltip.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,203 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-
-package org.richfaces.component.html;
-
-import org.richfaces.component.UITooltip;
-import javax.faces.component.behavior.ClientBehaviorHolder;
-
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-
-/**
- * @author amarkhel
- * @since 2010-10-24
- */
-public class HtmlTooltip extends UITooltip implements ClientBehaviorHolder {
-
- public static final String COMPONENT_TYPE = "org.richfaces.Tooltip";
-
- public static final String COMPONENT_FAMILY = "org.richfaces.Tooltip";
-
- private static final Collection<String> EVENT_NAMES =
Collections.unmodifiableCollection(Arrays.asList(
- "click",
- "dblclick",
- "mousedown",
- "mousemove",
- "mouseout",
- "mouseover",
- "mouseup",
- "hide",
- "show",
- "beforehide",
- "beforeshow"
- ));
-
-
- public enum PropertyKeys {
- style,
- styleClass,
- zindex,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- onmouseover,
- onmouseup,
- onhide,
- onshow,
- onbeforehide,
- onbeforeshow
- }
-
- public HtmlTooltip() {
- setRendererType("org.richfaces.Tooltip");
- }
-
- @Override
- public String getFamily() {
- return COMPONENT_FAMILY;
- }
-
- public String getStyle() {
- return (String) getStateHelper().eval(PropertyKeys.style);
- }
-
- public void setStyle(String style) {
- getStateHelper().put(PropertyKeys.style, style);
- }
-
- public String getStyleClass() {
- return (String) getStateHelper().eval(PropertyKeys.styleClass);
- }
-
- public void setStyleClass(String styleClass) {
- getStateHelper().put(PropertyKeys.styleClass, styleClass);
- }
-
- public int getZindex() {
- return (Integer) getStateHelper().eval(PropertyKeys.zindex);
- }
-
- public void setZindex(int zindex) {
- getStateHelper().put(PropertyKeys.zindex, zindex);
- }
-
- public String getOnclick() {
- return (String) getStateHelper().eval(PropertyKeys.onclick);
- }
-
- public void setOnclick(String onclick) {
- getStateHelper().put(PropertyKeys.onclick, onclick);
- }
-
- public String getOndblclick() {
- return (String) getStateHelper().eval(PropertyKeys.ondblclick);
- }
-
- public void setOndblclick(String ondblclick) {
- getStateHelper().put(PropertyKeys.ondblclick, ondblclick);
- }
-
- public String getOnmousedown() {
- return (String) getStateHelper().eval(PropertyKeys.onmousedown);
- }
-
- public void setOnmousedown(String onmousedown) {
- getStateHelper().put(PropertyKeys.onmousedown, onmousedown);
- }
-
- public String getOnmousemove() {
- return (String) getStateHelper().eval(PropertyKeys.onmousemove);
- }
-
- public void setOnmousemove(String onmousemove) {
- getStateHelper().put(PropertyKeys.onmousemove, onmousemove);
- }
-
- public String getOnmouseout() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseout);
- }
-
- public void setOnmouseout(String onmouseout) {
- getStateHelper().put(PropertyKeys.onmouseout, onmouseout);
- }
-
- public String getOnmouseover() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseover);
- }
-
- public void setOnmouseover(String onmouseover) {
- getStateHelper().put(PropertyKeys.onmouseover, onmouseover);
- }
-
- public String getOnmouseup() {
- return (String) getStateHelper().eval(PropertyKeys.onmouseup);
- }
-
- public void setOnmouseup(String onmouseup) {
- getStateHelper().put(PropertyKeys.onmouseup, onmouseup);
- }
-
- public String getOnhide() {
- return (String) getStateHelper().eval(PropertyKeys.onhide);
- }
-
- public void setOnhide(String onhide) {
- getStateHelper().put(PropertyKeys.onhide, onhide);
- }
-
- public String getOnshow() {
- return (String) getStateHelper().eval(PropertyKeys.onshow);
- }
-
- public void setOnshow(String onshow) {
- getStateHelper().put(PropertyKeys.onshow, onshow);
- }
-
- public String getOnbeforehide() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforehide);
- }
-
- public void setOnbeforehide(String onbeforehide) {
- getStateHelper().put(PropertyKeys.onbeforehide, onbeforehide);
- }
-
- public String getOnbeforeshow() {
- return (String) getStateHelper().eval(PropertyKeys.onbeforeshow);
- }
-
- public void setOnbeforeshow(String onbeforeshow) {
- getStateHelper().put(PropertyKeys.onbeforeshow, onbeforeshow);
- }
-
-
-
- @Override
- public Collection<String> getEventNames() {
- return EVENT_NAMES;
- }
-}
-
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/AccordionItemHeaderRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/AccordionItemHeaderRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/AccordionItemHeaderRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,7 +1,7 @@
package org.richfaces.renderkit.html;
+import org.richfaces.component.AbstractAccordionItem;
import org.richfaces.component.AbstractTogglePanelTitledItem;
-import org.richfaces.component.html.HtmlAccordionItem;
import org.richfaces.renderkit.RendererBase;
import javax.faces.context.FacesContext;
@@ -11,20 +11,20 @@
import static org.richfaces.renderkit.HtmlConstants.*;
import static org.richfaces.renderkit.html.DivPanelRenderer.attributeAsString;
-class AccordionItemHeaderRenderer extends
TableIconsRendererHelper<HtmlAccordionItem> {
+class AccordionItemHeaderRenderer extends
TableIconsRendererHelper<AbstractAccordionItem> {
public AccordionItemHeaderRenderer() {
super("header", "rf-ac-itm");
}
- protected void encodeHeaderIconLeft(ResponseWriter writer, FacesContext context,
HtmlAccordionItem panel) throws IOException {
+ protected void encodeHeaderIconLeft(ResponseWriter writer, FacesContext context,
AbstractAccordionItem panel) throws IOException {
String iconInactive = panel.isDisabled() ? panel.getLeftIconDisabled() :
panel.getLeftIconInactive();
String iconActive = panel.isDisabled() ? panel.getLeftIconDisabled() :
panel.getLeftIconActive();
encodeTdIcon(writer, context, cssClassPrefix + "-ico", iconInactive,
iconActive);
}
- protected void encodeHeaderIconRight(ResponseWriter writer, FacesContext context,
HtmlAccordionItem panel) throws IOException {
+ protected void encodeHeaderIconRight(ResponseWriter writer, FacesContext context,
AbstractAccordionItem panel) throws IOException {
String iconInactive = panel.isDisabled() ? panel.getRightIconDisabled() :
panel.getRightIconInactive();
String iconActive = panel.isDisabled() ? panel.getRightIconDisabled() :
panel.getRightIconActive();
@@ -44,7 +44,7 @@
}
@Override
- protected void encodeHeaderTextValue(ResponseWriter writer, FacesContext context,
HtmlAccordionItem titledItem) throws IOException {
+ protected void encodeHeaderTextValue(ResponseWriter writer, FacesContext context,
AbstractAccordionItem titledItem) throws IOException {
if (titledItem.isDisabled()) {
encodeHeader(writer, context, titledItem,
AbstractTogglePanelTitledItem.HeaderStates.disabled);
} else {
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/AccordionItemRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/AccordionItemRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/AccordionItemRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -23,9 +23,9 @@
package org.richfaces.renderkit.html;
import org.ajax4jsf.javascript.JSObject;
+import org.richfaces.cdk.annotations.JsfRenderer;
+import org.richfaces.component.AbstractAccordionItem;
import org.richfaces.component.AbstractTogglePanelTitledItem;
-import org.richfaces.component.html.HtmlAccordionItem;
-import org.richfaces.component.html.HtmlAccordionItem.PropertyKeys;
import org.richfaces.renderkit.RenderKitUtils;
import javax.faces.application.ResourceDependencies;
@@ -44,6 +44,7 @@
* @author akolonitsky
* @since 2010-08-05
*/
+
@ResourceDependencies({
@ResourceDependency(library = "javax.faces", name = "jsf.js"),
@ResourceDependency(name = "jquery.js"),
@@ -53,23 +54,24 @@
@ResourceDependency(library = "org.richfaces", name =
"togglePanelItem.js"),
@ResourceDependency(library = "org.richfaces", name =
"accordionItem.js")
})
+@JsfRenderer(type = "org.richfaces.AccordionItemRenderer", family =
AbstractAccordionItem.COMPONENT_FAMILY)
public class AccordionItemRenderer extends TogglePanelItemRenderer {
private static final RenderKitUtils.Attributes HEADER_ATTRIBUTES =
RenderKitUtils.attributes()
- .generic("style", PropertyKeys.headerStyle.toString())
- .generic("onclick", PropertyKeys.onheaderclick.toString(),
"headerclick")
- .generic("ondblclick", PropertyKeys.onheaderdblclick.toString(),
"headerdblclick")
- .generic("onmousedown", PropertyKeys.onheadermousedown.toString(),
"headermousedown")
- .generic("onmousemove", PropertyKeys.onheadermousemove.toString(),
"headermousemove")
- .generic("onmouseup", PropertyKeys.onheadermouseup.toString(),
"headermouseup");
+ .generic("style", "headerStyle")
+ .generic("onclick", "onheaderclick",
"headerclick")
+ .generic("ondblclick", "onheaderdblclick",
"headerdblclick")
+ .generic("onmousedown", "onheadermousedown",
"headermousedown")
+ .generic("onmousemove", "onheadermousemove",
"headermousemove")
+ .generic("onmouseup", "onheadermouseup",
"headermouseup");
- private final TableIconsRendererHelper<HtmlAccordionItem> headerRenderer = new
AccordionItemHeaderRenderer();
+ private final TableIconsRendererHelper<AbstractAccordionItem> headerRenderer =
new AccordionItemHeaderRenderer();
@Override
protected void doEncodeBegin(ResponseWriter writer, FacesContext context, UIComponent
component) throws IOException {
super.doEncodeBegin(writer, context, component);
- encodeHeader(writer, context, (HtmlAccordionItem) component);
+ encodeHeader(writer, context, (AbstractAccordionItem) component);
encodeContentBegin(component, writer);
}
@@ -101,11 +103,11 @@
writer.endElement(DIV_ELEM);
}
- private void encodeHeader(ResponseWriter writer, FacesContext context,
HtmlAccordionItem component) throws IOException {
+ private void encodeHeader(ResponseWriter writer, FacesContext context,
AbstractAccordionItem component) throws IOException {
writer.startElement(DIV_ELEM, component);
String stateCssClass = "rf-ac-itm-hdr-" + (component.isDisabled() ?
"dis" : (component.isActive() ? "act" : "inact"));
- writer.writeAttribute(CLASS_ATTRIBUTE, concatClasses("rf-ac-itm-hdr",
stateCssClass, attributeAsString(component, PropertyKeys.headerClass)), null);
+ writer.writeAttribute(CLASS_ATTRIBUTE, concatClasses("rf-ac-itm-hdr",
stateCssClass, attributeAsString(component, "headerClass")), null);
writer.writeAttribute(ID_ATTRIBUTE, component.getClientId() +
":header", null);
renderPassThroughAttributes(context, component, HEADER_ATTRIBUTES);
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/AccordionRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/AccordionRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/AccordionRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -23,6 +23,7 @@
package org.richfaces.renderkit.html;
import org.ajax4jsf.javascript.JSObject;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.component.AbstractAccordion;
import org.richfaces.component.util.HtmlUtil;
@@ -32,9 +33,6 @@
import javax.faces.context.FacesContext;
import java.util.Map;
-import static org.richfaces.component.html.HtmlAccordion.PropertyKeys.height;
-import static org.richfaces.component.html.HtmlAccordion.PropertyKeys.width;
-
/**
* @author akolonitsky
*/
@@ -47,11 +45,12 @@
@ResourceDependency(library = "org.richfaces", name =
"icons.ecss"),
@ResourceDependency(library = "org.richfaces", name =
"togglePanel.js"),
@ResourceDependency(library = "org.richfaces", name =
"accordion.js") })
+@JsfRenderer(type = "org.richfaces.AccordionRenderer", family =
AbstractAccordion.COMPONENT_FAMILY)
public class AccordionRenderer extends TogglePanelRenderer {
@Override
protected String getStyle(UIComponent component) {
- return HtmlUtil.concatStyles(attributeAsStyle(component, height),
attributeAsStyle(component, width),
+ return HtmlUtil.concatStyles(attributeAsStyle(component, "height"),
attributeAsStyle(component, "width"),
super.getStyle(component));
}
@@ -74,7 +73,7 @@
@Override
protected Map<String, Object> getScriptObjectOptions(FacesContext context,
UIComponent component) {
Map<String, Object> options = super.getScriptObjectOptions(context,
component);
- options.put("isKeepHeight", attributeAsString(component,
height).length() > 0);
+ options.put("isKeepHeight", attributeAsString(component,
"height").length() > 0);
return options;
}
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/CollapsiblePanelRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/CollapsiblePanelRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/CollapsiblePanelRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -23,9 +23,9 @@
package org.richfaces.renderkit.html;
import org.ajax4jsf.javascript.JSObject;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.component.AbstractCollapsiblePanel;
import org.richfaces.component.AbstractTogglePanel;
-import org.richfaces.component.html.HtmlCollapsiblePanel;
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
@@ -54,26 +54,27 @@
@ResourceDependency(library = "org.richfaces", name =
"collapsiblePanelItem.js"),
@ResourceDependency(library = "org.richfaces", name =
"icons.ecss"),
@ResourceDependency(library = "org.richfaces", name =
"collapsiblePanel.ecss") })
+@JsfRenderer(type = "org.richfaces.CollapsiblePanelRenderer", family =
AbstractCollapsiblePanel.COMPONENT_FAMILY)
public class CollapsiblePanelRenderer extends TogglePanelRenderer {
public static final String SWITCH = "switch";
public static final String BEFORE_SWITCH = "beforeswitch";
- private final TableIconsRendererHelper<HtmlCollapsiblePanel> headerRenderer =
new TableIconsRendererHelper<HtmlCollapsiblePanel>("header",
"rf-cp") {
+ private final TableIconsRendererHelper<AbstractCollapsiblePanel> headerRenderer
= new TableIconsRendererHelper<AbstractCollapsiblePanel>("header",
"rf-cp") {
- protected void encodeHeaderIconLeft(ResponseWriter writer, FacesContext context,
HtmlCollapsiblePanel panel) throws IOException {
+ protected void encodeHeaderIconLeft(ResponseWriter writer, FacesContext context,
AbstractCollapsiblePanel panel) throws IOException {
encodeTdIcon(writer, context, cssClassPrefix + "-ico",
panel.getLeftCollapsedIcon(), panel.getLeftExpandedIcon());
}
- protected void encodeHeaderIconRight(ResponseWriter writer, FacesContext context,
HtmlCollapsiblePanel panel) throws IOException {
+ protected void encodeHeaderIconRight(ResponseWriter writer, FacesContext context,
AbstractCollapsiblePanel panel) throws IOException {
//TODO nick - should this be "-ico-exp"? also why expanded icon
state is connected with right icon alignment?
encodeTdIcon(writer, context, cssClassPrefix + "-exp-ico",
panel.getRightCollapsedIcon(), panel.getRightExpandedIcon());
}
@Override
- protected void encodeHeaderTextValue(ResponseWriter writer, FacesContext context,
HtmlCollapsiblePanel component) throws IOException {
+ protected void encodeHeaderTextValue(ResponseWriter writer, FacesContext context,
AbstractCollapsiblePanel component) throws IOException {
writer.startElement(DIV_ELEM, null);
writer.writeAttribute(CLASS_ATTRIBUTE, cssClassPrefix + "-lbl-exp",
null);
writeFacetOrAttr(writer, context, component, text, text +
"Expanded");
@@ -117,7 +118,7 @@
protected void doEncodeBegin(ResponseWriter writer, FacesContext context, UIComponent
component) throws IOException {
super.doEncodeBegin(writer, context, component);
- encodeHeader(writer, context, (HtmlCollapsiblePanel) component);
+ encodeHeader(writer, context, (AbstractCollapsiblePanel) component);
}
@Override
@@ -146,7 +147,7 @@
return options;
}
- private void encodeHeader(ResponseWriter writer, FacesContext context,
HtmlCollapsiblePanel component) throws IOException {
+ private void encodeHeader(ResponseWriter writer, FacesContext context,
AbstractCollapsiblePanel component) throws IOException {
writer.startElement(DIV_ELEM, null);
writer.writeAttribute(ID_ATTRIBUTE, component.getClientId(context) +
":header", null);
writer.writeAttribute(CLASS_ATTRIBUTE, concatClasses("rf-cp-hdr",
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/DivPanelRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/DivPanelRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/DivPanelRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -35,7 +35,6 @@
import java.io.IOException;
import java.util.Map;
-import static org.richfaces.component.html.HtmlDivPanel.PropertyKeys.*;
import static org.richfaces.renderkit.RenderKitUtils.attributes;
import static org.richfaces.renderkit.RenderKitUtils.renderPassThroughAttributes;
@@ -46,20 +45,24 @@
public class DivPanelRenderer extends RendererBase {
private static final RenderKitUtils.Attributes PASS_THROUGH_ATTRIBUTES = attributes(
- lang,
- onclick,
- ondblclick,
- onmousedown,
- onmousemove,
- onmouseout,
- onmouseover,
- onmouseup,
- title,
- dir
+ "lang",
+ "onclick",
+ "ondblclick",
+ "onmousedown",
+ "onmousemove",
+ "onmouseout",
+ "onmouseover",
+ "onmouseup",
+ "title",
+ "dir"
);
protected static String attributeAsStyle(UIComponent comp, Enum attr) {
- String value = attributeAsString(comp, attr.toString());
+ return attributeAsStyle(comp, attr.toString());
+ }
+
+ protected static String attributeAsStyle(UIComponent comp, String attr) {
+ String value = attributeAsString(comp, attr);
if (value.length() == 0) {
return "";
}
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupHeaderRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupHeaderRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupHeaderRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,25 +1,25 @@
package org.richfaces.renderkit.html;
-import org.richfaces.component.html.HtmlPanelMenuGroup;
+import org.richfaces.component.AbstractPanelMenuGroup;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
import java.io.IOException;
-class PanelMenuGroupHeaderRenderer extends
TableIconsRendererHelper<HtmlPanelMenuGroup> {
+class PanelMenuGroupHeaderRenderer extends
TableIconsRendererHelper<AbstractPanelMenuGroup> {
PanelMenuGroupHeaderRenderer(String cssClassPrefix) {
super("label", cssClassPrefix, "rf-pm-ico");
}
- protected void encodeHeaderIconLeft(ResponseWriter writer, FacesContext context,
HtmlPanelMenuGroup group) throws IOException {
+ protected void encodeHeaderIconLeft(ResponseWriter writer, FacesContext context,
AbstractPanelMenuGroup group) throws IOException {
String iconCollapsed = group.isDisabled() ? group.getIconLeftDisabled() :
group.getIconLeftCollapsed();
String iconExpanded = group.isDisabled() ? group.getIconLeftDisabled() :
group.getIconLeftExpanded();
encodeTdIcon(writer, context, cssClassPrefix + "-ico", iconCollapsed,
iconExpanded);
}
- protected void encodeHeaderIconRight(ResponseWriter writer, FacesContext context,
HtmlPanelMenuGroup group) throws IOException {
+ protected void encodeHeaderIconRight(ResponseWriter writer, FacesContext context,
AbstractPanelMenuGroup group) throws IOException {
String iconCollapsed = group.isDisabled() ? group.getIconRightDisabled() :
group.getIconRightCollapsed();
String iconExpanded = group.isDisabled() ? group.getIconRightDisabled() :
group.getIconRightExpanded();
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -24,9 +24,9 @@
package org.richfaces.renderkit.html;
import org.ajax4jsf.javascript.JSObject;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.component.AbstractPanelMenuGroup;
import org.richfaces.component.AbstractPanelMenuItem;
-import org.richfaces.component.html.HtmlPanelMenuGroup;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
@@ -43,6 +43,7 @@
* @author akolonitsky
* @since 2010-10-25
*/
+@JsfRenderer(type = "org.richfaces.PanelMenuGroupRenderer", family =
AbstractPanelMenuGroup.COMPONENT_FAMILY)
public class PanelMenuGroupRenderer extends DivPanelRenderer {
public static final String COLLAPSE = "collapse";
@@ -56,8 +57,8 @@
//TODO nick - shouldn't this be rf-pm-gr-top?
private static final String TOP_CSS_CLASS_PREFIX = "rf-pm-top-gr";
- private final TableIconsRendererHelper<HtmlPanelMenuGroup> headerRenderer = new
PanelMenuGroupHeaderRenderer(CSS_CLASS_PREFIX);
- private final TableIconsRendererHelper<HtmlPanelMenuGroup> topHeaderRenderer =
new PanelMenuGroupHeaderRenderer(TOP_CSS_CLASS_PREFIX);
+ private final TableIconsRendererHelper<AbstractPanelMenuGroup> headerRenderer =
new PanelMenuGroupHeaderRenderer(CSS_CLASS_PREFIX);
+ private final TableIconsRendererHelper<AbstractPanelMenuGroup>
topHeaderRenderer = new PanelMenuGroupHeaderRenderer(TOP_CSS_CLASS_PREFIX);
@Override
protected void doDecode(FacesContext context, UIComponent component) {
@@ -86,7 +87,7 @@
protected void doEncodeBegin(ResponseWriter writer, FacesContext context, UIComponent
component) throws IOException {
super.doEncodeBegin(writer, context, component);
- HtmlPanelMenuGroup menuGroup = (HtmlPanelMenuGroup) component;
+ AbstractPanelMenuGroup menuGroup = (AbstractPanelMenuGroup) component;
writer.startElement(INPUT_ELEM, component);
@@ -102,7 +103,7 @@
encodeContentBegin(writer, context, menuGroup);
}
- private void encodeHeader(ResponseWriter writer, FacesContext context,
HtmlPanelMenuGroup menuGroup) throws IOException {
+ private void encodeHeader(ResponseWriter writer, FacesContext context,
AbstractPanelMenuGroup menuGroup) throws IOException {
writer.startElement(DIV_ELEM, null);
writer.writeAttribute(ID_ATTRIBUTE, menuGroup.getClientId(context) +
":hdr", null);
writer.writeAttribute(CLASS_ATTRIBUTE, concatClasses(getCssClass(menuGroup,
"-hdr"),
@@ -117,7 +118,7 @@
return (item.isTopItem() ? TOP_CSS_CLASS_PREFIX : CSS_CLASS_PREFIX) + postfix;
}
- private void encodeContentBegin(ResponseWriter writer, FacesContext context,
HtmlPanelMenuGroup menuGroup) throws IOException {
+ private void encodeContentBegin(ResponseWriter writer, FacesContext context,
AbstractPanelMenuGroup menuGroup) throws IOException {
writer.startElement(DIV_ELEM, null);
writer.writeAttribute(ID_ATTRIBUTE, menuGroup.getClientId(context) +
":cnt", null);
writer.writeAttribute(CLASS_ATTRIBUTE, concatClasses(getCssClass(menuGroup,
"-cnt"), menuGroup.isExpanded() ? "rf-pm-exp" :
"rf-pm-colps"), null);
@@ -147,7 +148,7 @@
@Override
protected Map<String, Object> getScriptObjectOptions(FacesContext context,
UIComponent component) {
- HtmlPanelMenuGroup panelMenuGroup = (HtmlPanelMenuGroup) component;
+ AbstractPanelMenuGroup panelMenuGroup = (AbstractPanelMenuGroup) component;
Map<String, Object> options = new HashMap<String, Object>();
//TODO nick - non-default values should not be rendered
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -36,8 +36,8 @@
import javax.faces.context.ResponseWriter;
import org.ajax4jsf.javascript.JSObject;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.component.AbstractPanelMenuItem;
-import org.richfaces.component.html.HtmlPanelMenuItem;
import org.richfaces.renderkit.HtmlConstants;
import org.richfaces.renderkit.RenderKitUtils;
import org.richfaces.renderkit.util.PanelIcons;
@@ -46,6 +46,7 @@
* @author akolonitsky
* @since 2010-10-25
*/
+@JsfRenderer(type = "org.richfaces.PanelMenuItemRenderer", family =
AbstractPanelMenuItem.COMPONENT_FAMILY)
public class PanelMenuItemRenderer extends DivPanelRenderer {
public static final String UNSELECT = "unselect";
@@ -59,11 +60,11 @@
protected void doEncodeBegin(ResponseWriter writer, FacesContext context, UIComponent
component) throws IOException {
super.doEncodeBegin(writer, context, component);
- HtmlPanelMenuItem menuItem = (HtmlPanelMenuItem) component;
+ AbstractPanelMenuItem menuItem = (AbstractPanelMenuItem) component;
encodeHeaderGroupBegin(writer, context, menuItem, getCssClass(menuItem,
""));
}
- private void encodeHeaderGroupBegin(ResponseWriter writer, FacesContext context,
HtmlPanelMenuItem menuItem, String classPrefix) throws IOException {
+ private void encodeHeaderGroupBegin(ResponseWriter writer, FacesContext context,
AbstractPanelMenuItem menuItem, String classPrefix) throws IOException {
writer.startElement("table", null);
writer.writeAttribute(CLASS_ATTRIBUTE, classPrefix + "-gr", null);
writer.startElement(TBODY_ELEMENT, null);
@@ -80,7 +81,7 @@
}
}
- private void encodeHeaderGroupEnd(ResponseWriter writer, FacesContext context,
HtmlPanelMenuItem menuItem, String classPrefix) throws IOException {
+ private void encodeHeaderGroupEnd(ResponseWriter writer, FacesContext context,
AbstractPanelMenuItem menuItem, String classPrefix) throws IOException {
writer.endElement(TD_ELEM);
encodeHeaderGroupRightIcon(writer, context, menuItem, classPrefix);
@@ -90,14 +91,14 @@
writer.endElement("table");
}
- private void encodeHeaderGroupRightIcon(ResponseWriter writer, FacesContext context,
HtmlPanelMenuItem menuItem, String classPrefix) throws IOException {
+ private void encodeHeaderGroupRightIcon(ResponseWriter writer, FacesContext context,
AbstractPanelMenuItem menuItem, String classPrefix) throws IOException {
String icon = menuItem.isDisabled() ? menuItem.getIconRightDisabled() :
menuItem.getIconRight();
String cssClasses = concatClasses(classPrefix + "-exp-ico",
menuItem.getIconLeftClass());
encodeTdIcon(writer, context, cssClasses, icon);
}
- private void encodeHeaderGroupLeftIcon(ResponseWriter writer, FacesContext context,
HtmlPanelMenuItem menuItem, String classPrefix) throws IOException {
+ private void encodeHeaderGroupLeftIcon(ResponseWriter writer, FacesContext context,
AbstractPanelMenuItem menuItem, String classPrefix) throws IOException {
String icon = menuItem.isDisabled() ? menuItem.getIconLeftDisabled() :
menuItem.getIconLeft();
String cssClasses = concatClasses(classPrefix + "-ico",
menuItem.getIconLeftClass());
@@ -144,7 +145,7 @@
@Override
protected Map<String, Object> getScriptObjectOptions(FacesContext context,
UIComponent component) {
- HtmlPanelMenuItem panelMenuItem = (HtmlPanelMenuItem) component;
+ AbstractPanelMenuItem panelMenuItem = (AbstractPanelMenuItem) component;
Map<String, Object> options = new HashMap<String, Object>();
//TODO nick - ajax options should not be rendered in client mode
@@ -164,7 +165,7 @@
@Override
protected void doEncodeEnd(ResponseWriter writer, FacesContext context, UIComponent
component) throws IOException {
- HtmlPanelMenuItem menuItem = (HtmlPanelMenuItem) component;
+ AbstractPanelMenuItem menuItem = (AbstractPanelMenuItem) component;
encodeHeaderGroupEnd(writer, context, menuItem, getCssClass(menuItem,
""));
super.doEncodeEnd(writer, context, component);
Deleted:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,146 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-
-package org.richfaces.renderkit.html;
-
-import static org.richfaces.renderkit.html.TogglePanelRenderer.getAjaxOptions;
-import static org.richfaces.renderkit.html.TogglePanelRenderer.getValueRequestParamName;
-
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.faces.application.ResourceDependencies;
-import javax.faces.application.ResourceDependency;
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-import javax.faces.context.ResponseWriter;
-import javax.faces.event.ActionEvent;
-
-import org.ajax4jsf.javascript.JSObject;
-import org.richfaces.component.AbstractPanelMenu;
-import org.richfaces.component.AbstractPanelMenuItem;
-import org.richfaces.component.html.HtmlPanelMenu;
-import org.richfaces.context.ExtendedPartialViewContext;
-import org.richfaces.renderkit.HtmlConstants;
-
-/**
- * @author akolonitsky
- * @since 2010-10-25
- */
-@ResourceDependencies( { // TODO review
- @ResourceDependency(library = "org.richfaces", name =
"ajax.reslib"),
- @ResourceDependency(name = "richfaces-event.js"),
- @ResourceDependency(name = "richfaces-base-component.js"),
- @ResourceDependency(library = "org.richfaces", name =
"panelMenu.js"),
- @ResourceDependency(library = "org.richfaces", name =
"panelMenuItem.js"),
- @ResourceDependency(library = "org.richfaces", name =
"panelMenuGroup.js"),
- @ResourceDependency(library = "org.richfaces", name =
"icons.ecss"),
- @ResourceDependency(library = "org.richfaces", name =
"panelMenu.ecss") })
-public class PanelMenuRenderer extends DivPanelRenderer {
-
- @Override
- protected void doDecode(FacesContext context, UIComponent component) {
- AbstractPanelMenu panelMenu = (AbstractPanelMenu) component;
-
- Map<String, String> requestMap =
- context.getExternalContext().getRequestParameterMap();
-
- // Don't overwrite the value unless you have to!
- String newValue = requestMap.get(getValueRequestParamName(context, component));
- if (newValue != null) {
- panelMenu.setSubmittedActiveItem(newValue);
- }
-
- //TODO nick - I suggest to get this code moved to item renderer
- String compClientId = component.getClientId(context);
- if (requestMap.get(compClientId) != null) {
- AbstractPanelMenuItem panelItem = panelMenu.getItem(newValue);
- if (panelItem != null) {
- new ActionEvent(panelItem).queue();
-
- //TODO nick - why render item by default?
-
context.getPartialViewContext().getRenderIds().add(panelItem.getClientId(context));
-
- //TODO nick - this should be done on encode, not on decode
- addOnCompleteParam(context, panelItem.getClientId(context));
- }
- }
- }
-
- protected static void addOnCompleteParam(FacesContext context, String itemId) {
- ExtendedPartialViewContext.getInstance(context).appendOncomplete(new
StringBuilder()
-
.append("RichFaces.$('").append(itemId).append("').onCompleteHandler();").toString());
- }
-
- @Override
- protected void doEncodeBegin(ResponseWriter writer, FacesContext context, UIComponent
component) throws IOException {
- super.doEncodeBegin(writer, context, component);
-
- AbstractPanelMenu panelMenu = (AbstractPanelMenu) component;
-
- writer.startElement(HtmlConstants.INPUT_ELEM, component);
- writer.writeAttribute(HtmlConstants.ID_ATTRIBUTE,
getValueRequestParamName(context, component), null);
- writer.writeAttribute(HtmlConstants.NAME_ATTRIBUTE,
getValueRequestParamName(context, component), null);
- writer.writeAttribute(HtmlConstants.TYPE_ATTR, HtmlConstants.INPUT_TYPE_HIDDEN,
null);
- writer.writeAttribute(HtmlConstants.VALUE_ATTRIBUTE, panelMenu.getActiveItem(),
null);
- writer.endElement(HtmlConstants.INPUT_ELEM);
-
- writeJavaScript(writer, context, component);
- }
-
- @Override
- protected String getStyleClass(UIComponent component) {
- return concatClasses("rf-pm", attributeAsString(component,
"styleClass"));
- }
-
- @Override
- protected JSObject getScriptObject(FacesContext context, UIComponent component) {
- return new JSObject("RichFaces.ui.PanelMenu",
- component.getClientId(), getScriptObjectOptions(context, component));
- }
-
- @Override
- protected Map<String, Object> getScriptObjectOptions(FacesContext context,
UIComponent component) {
- HtmlPanelMenu panelMenu = (HtmlPanelMenu) component;
-
- Map<String, Object> options = new HashMap<String, Object>();
- //TODO nick - only options with non-default values should be rendered
- options.put("ajax", getAjaxOptions(context, panelMenu));
- options.put("disabled", panelMenu.isDisabled());
- options.put("expandSingle", panelMenu.isExpandSingle());
-
- return options;
- }
-
- @Override
- protected void doEncodeEnd(ResponseWriter writer, FacesContext context, UIComponent
component) throws IOException {
- writer.endElement(HtmlConstants.DIV_ELEM);
- }
-
- @Override
- protected Class<? extends UIComponent> getComponentClass() {
- return AbstractPanelMenu.class;
- }
-}
-
Added:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuRenderer.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuRenderer.java
(rev 0)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/PanelMenuRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -0,0 +1,146 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+
+
+package org.richfaces.renderkit.html;
+
+import org.ajax4jsf.javascript.JSObject;
+import org.richfaces.cdk.annotations.JsfRenderer;
+import org.richfaces.component.AbstractPanelMenu;
+import org.richfaces.component.AbstractPanelMenuItem;
+import org.richfaces.context.ExtendedPartialViewContext;
+import org.richfaces.renderkit.HtmlConstants;
+
+import javax.faces.application.ResourceDependencies;
+import javax.faces.application.ResourceDependency;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+import javax.faces.event.ActionEvent;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
+
+import static org.richfaces.renderkit.html.TogglePanelRenderer.getAjaxOptions;
+import static org.richfaces.renderkit.html.TogglePanelRenderer.getValueRequestParamName;
+
+/**
+ * @author akolonitsky
+ * @since 2010-10-25
+ */
+@JsfRenderer(type = "org.richfaces.PanelMenuRenderer", family =
AbstractPanelMenu.COMPONENT_FAMILY)
+@ResourceDependencies( { // TODO review
+ @ResourceDependency(library = "org.richfaces", name =
"ajax.reslib"),
+ @ResourceDependency(name = "richfaces-event.js"),
+ @ResourceDependency(name = "richfaces-base-component.js"),
+ @ResourceDependency(library = "org.richfaces", name =
"panelMenu.js"),
+ @ResourceDependency(library = "org.richfaces", name =
"panelMenuItem.js"),
+ @ResourceDependency(library = "org.richfaces", name =
"panelMenuGroup.js"),
+ @ResourceDependency(library = "org.richfaces", name =
"icons.ecss"),
+ @ResourceDependency(library = "org.richfaces", name =
"panelMenu.ecss") })
+public class PanelMenuRenderer extends DivPanelRenderer {
+
+ @Override
+ protected void doDecode(FacesContext context, UIComponent component) {
+ AbstractPanelMenu panelMenu = (AbstractPanelMenu) component;
+
+ Map<String, String> requestMap =
+ context.getExternalContext().getRequestParameterMap();
+
+ // Don't overwrite the value unless you have to!
+ String newValue = requestMap.get(getValueRequestParamName(context, component));
+ if (newValue != null) {
+ panelMenu.setSubmittedActiveItem(newValue);
+ }
+
+ //TODO nick - I suggest to get this code moved to item renderer
+ String compClientId = component.getClientId(context);
+ if (requestMap.get(compClientId) != null) {
+ AbstractPanelMenuItem panelItem = panelMenu.getItem(newValue);
+ if (panelItem != null) {
+ new ActionEvent(panelItem).queue();
+
+ //TODO nick - why render item by default?
+
context.getPartialViewContext().getRenderIds().add(panelItem.getClientId(context));
+
+ //TODO nick - this should be done on encode, not on decode
+ addOnCompleteParam(context, panelItem.getClientId(context));
+ }
+ }
+ }
+
+ protected static void addOnCompleteParam(FacesContext context, String itemId) {
+ ExtendedPartialViewContext.getInstance(context).appendOncomplete(new
StringBuilder()
+
.append("RichFaces.$('").append(itemId).append("').onCompleteHandler();").toString());
+ }
+
+ @Override
+ protected void doEncodeBegin(ResponseWriter writer, FacesContext context, UIComponent
component) throws IOException {
+ super.doEncodeBegin(writer, context, component);
+
+ AbstractPanelMenu panelMenu = (AbstractPanelMenu) component;
+
+ writer.startElement(HtmlConstants.INPUT_ELEM, component);
+ writer.writeAttribute(HtmlConstants.ID_ATTRIBUTE,
getValueRequestParamName(context, component), null);
+ writer.writeAttribute(HtmlConstants.NAME_ATTRIBUTE,
getValueRequestParamName(context, component), null);
+ writer.writeAttribute(HtmlConstants.TYPE_ATTR, HtmlConstants.INPUT_TYPE_HIDDEN,
null);
+ writer.writeAttribute(HtmlConstants.VALUE_ATTRIBUTE, panelMenu.getActiveItem(),
null);
+ writer.endElement(HtmlConstants.INPUT_ELEM);
+
+ writeJavaScript(writer, context, component);
+ }
+
+ @Override
+ protected String getStyleClass(UIComponent component) {
+ return concatClasses("rf-pm", attributeAsString(component,
"styleClass"));
+ }
+
+ @Override
+ protected JSObject getScriptObject(FacesContext context, UIComponent component) {
+ return new JSObject("RichFaces.ui.PanelMenu",
+ component.getClientId(), getScriptObjectOptions(context, component));
+ }
+
+ @Override
+ protected Map<String, Object> getScriptObjectOptions(FacesContext context,
UIComponent component) {
+ AbstractPanelMenu panelMenu = (AbstractPanelMenu) component;
+
+ Map<String, Object> options = new HashMap<String, Object>();
+ //TODO nick - only options with non-default values should be rendered
+ options.put("ajax", getAjaxOptions(context, panelMenu));
+ options.put("disabled", panelMenu.isDisabled());
+ options.put("expandSingle", panelMenu.isExpandSingle());
+
+ return options;
+ }
+
+ @Override
+ protected void doEncodeEnd(ResponseWriter writer, FacesContext context, UIComponent
component) throws IOException {
+ writer.endElement(HtmlConstants.DIV_ELEM);
+ }
+
+ @Override
+ protected Class<? extends UIComponent> getComponentClass() {
+ return AbstractPanelMenu.class;
+ }
+}
+
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TabPanelRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TabPanelRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TabPanelRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -22,32 +22,28 @@
package org.richfaces.renderkit.html;
-import static org.richfaces.renderkit.HtmlConstants.*;
-import static org.richfaces.component.AbstractTogglePanelTitledItem.HeaderStates.active;
-import static
org.richfaces.component.AbstractTogglePanelTitledItem.HeaderStates.disabled;
-import static
org.richfaces.component.AbstractTogglePanelTitledItem.HeaderStates.inactive;
-import static org.richfaces.component.html.HtmlAccordion.PropertyKeys.height;
-import static org.richfaces.renderkit.RenderKitUtils.renderPassThroughAttributes;
-
-import java.io.IOException;
-import java.util.Map;
-
-import javax.faces.application.ResourceDependencies;
-import javax.faces.application.ResourceDependency;
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-import javax.faces.context.ResponseWriter;
-
import org.ajax4jsf.javascript.JSObject;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.component.AbstractTabPanel;
import org.richfaces.component.AbstractTogglePanel;
import org.richfaces.component.AbstractTogglePanelItem;
import org.richfaces.component.AbstractTogglePanelTitledItem;
-import org.richfaces.component.html.HtmlTab;
import org.richfaces.component.util.HtmlUtil;
import org.richfaces.renderkit.HtmlConstants;
import org.richfaces.renderkit.RenderKitUtils;
+import javax.faces.application.ResourceDependencies;
+import javax.faces.application.ResourceDependency;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+import java.io.IOException;
+import java.util.Map;
+
+import static org.richfaces.component.AbstractTogglePanelTitledItem.HeaderStates.*;
+import static org.richfaces.renderkit.HtmlConstants.*;
+import static org.richfaces.renderkit.RenderKitUtils.renderPassThroughAttributes;
+
/**
* @author akolonitsky
* @since 2010-08-24
@@ -62,14 +58,15 @@
@ResourceDependency(library = "org.richfaces", name =
"togglePanel.js"),
@ResourceDependency(library = "org.richfaces", name =
"tabPanel.js")
})
+@JsfRenderer(type = "org.richfaces.TabPanelRenderer", family =
AbstractTabPanel.COMPONENT_FAMILY)
public class TabPanelRenderer extends TogglePanelRenderer {
private static final RenderKitUtils.Attributes HEADER_ATTRIBUTES =
RenderKitUtils.attributes()
- .generic("onclick", HtmlTab.PropertyKeys.onheaderclick.toString(),
"headerclick")
- .generic("ondblclick",
HtmlTab.PropertyKeys.onheaderdblclick.toString(), "headerdblclick")
- .generic("onmousedown",
HtmlTab.PropertyKeys.onheadermousedown.toString(), "headermousedown")
- .generic("onmousemove",
HtmlTab.PropertyKeys.onheadermousemove.toString(), "headermousemove")
- .generic("onmouseup", HtmlTab.PropertyKeys.onheadermouseup.toString(),
"headermouseup");
+ .generic("onclick", "onheaderclick",
"headerclick")
+ .generic("ondblclick", "onheaderdblclick",
"headerdblclick")
+ .generic("onmousedown", "onheadermousedown",
"headermousedown")
+ .generic("onmousemove", "onheadermousemove",
"headermousemove")
+ .generic("onmouseup", "onheadermouseup",
"headermouseup");
private static final String DIV = DIV_ELEM;
private static final String STYLE = STYLE_ATTRIBUTE;
@@ -147,8 +144,8 @@
writer.writeAttribute(ID_ATTRIBUTE, tab.getClientId() + ":header:" +
state.toString(), null);
renderPassThroughAttributes(context, tab, HEADER_ATTRIBUTES);
writer.writeAttribute(CLASS_ATTRIBUTE, concatClasses("rf-tb-hdr
rf-tb-hdr-" + state.abbreviation(),
- attributeAsString(tab, HtmlTab.PropertyKeys.headerClass),
attributeAsString(tab, state.headerClass())), null);
- writer.writeAttribute(STYLE_ATTRIBUTE, concatStyles(isDisplay ? "" :
"display : none", attributeAsString(tab,
HtmlTab.PropertyKeys.headerStyle.toString())), null);
+ attributeAsString(tab, "headerClass"), attributeAsString(tab,
state.headerClass())), null);
+ writer.writeAttribute(STYLE_ATTRIBUTE, concatStyles(isDisplay ? "" :
"display : none", attributeAsString(tab, "headerStyle")), null);
writer.startElement("span", tab);
writer.writeAttribute(CLASS_ATTRIBUTE, "rf-tb-lbl", null);
@@ -211,7 +208,7 @@
@Override
protected Map<String, Object> getScriptObjectOptions(FacesContext context,
UIComponent component) {
Map<String, Object> options = super.getScriptObjectOptions(context,
component);
- options.put("isKeepHeight", attributeAsString(component,
height).length() > 0);
+ options.put("isKeepHeight", attributeAsString(component,
"height").length() > 0);
return options;
}
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TabRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TabRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TabRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -23,8 +23,9 @@
package org.richfaces.renderkit.html;
import org.ajax4jsf.javascript.JSObject;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.component.AbstractTogglePanelTitledItem;
-import org.richfaces.component.html.HtmlTab;
+import org.richfaces.component.AbstractTab;
import org.richfaces.renderkit.HtmlConstants;
import javax.faces.application.ResourceDependencies;
@@ -50,6 +51,7 @@
@ResourceDependency(library = "org.richfaces", name =
"togglePanelItem.js"),
@ResourceDependency(library = "org.richfaces", name = "tab.js")
})
+@JsfRenderer(type = "org.richfaces.TabRenderer", family =
AbstractTab.COMPONENT_FAMILY)
public class TabRenderer extends TogglePanelItemRenderer {
@Override
@@ -108,9 +110,9 @@
@Override
protected Map<String, Object> getScriptObjectOptions(FacesContext context,
UIComponent component) {
Map<String, Object> res = super.getScriptObjectOptions(context,
component);
- res.put("disabled", ((HtmlTab) component).isDisabled());
- res.put("enter", ((HtmlTab) component).getOnenter());
- res.put("leave", ((HtmlTab) component).getOnleave());
+ res.put("disabled", ((AbstractTab) component).isDisabled());
+ res.put("enter", ((AbstractTab) component).getOnenter());
+ res.put("leave", ((AbstractTab) component).getOnleave());
return res;
}
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ToggleControlRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ToggleControlRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/ToggleControlRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -22,14 +22,15 @@
package org.richfaces.renderkit.html;
+import org.richfaces.cdk.annotations.JsfBehaviorRenderer;
+import org.richfaces.component.behavior.ToggleControl;
+
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.behavior.ClientBehavior;
import javax.faces.component.behavior.ClientBehaviorContext;
import javax.faces.render.ClientBehaviorRenderer;
-import org.richfaces.component.behavior.ToggleControl;
-
/**
* @author akolonitsky
*
@@ -37,6 +38,7 @@
@ResourceDependencies({
@ResourceDependency(name = "jquery.js"),
@ResourceDependency(name = "richfaces.js") })
+@JsfBehaviorRenderer(type = "org.richfaces.component.behavior.ToggleControl")
public class ToggleControlRenderer extends ClientBehaviorRenderer {
@Override
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelItemRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelItemRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelItemRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -23,6 +23,7 @@
package org.richfaces.renderkit.html;
import org.ajax4jsf.javascript.JSObject;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.component.AbstractTogglePanel;
import org.richfaces.component.AbstractTogglePanelItem;
@@ -46,6 +47,7 @@
@ResourceDependency(name = "richfaces-event.js"),
@ResourceDependency(name = "richfaces-base-component.js"),
@ResourceDependency(library = "org.richfaces", name =
"togglePanelItem.js") })
+@JsfRenderer(type = "org.richfaces.TogglePanelItemRenderer", family =
AbstractTogglePanelItem.COMPONENT_FAMILY)
public class TogglePanelItemRenderer extends DivPanelRenderer {
private static final String LEAVE = "leave";
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -25,6 +25,7 @@
import org.ajax4jsf.javascript.JSFunctionDefinition;
import org.ajax4jsf.javascript.JSObject;
import org.ajax4jsf.javascript.JSReference;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.component.AbstractTogglePanel;
import org.richfaces.component.AbstractTogglePanelItem;
import org.richfaces.component.util.HtmlUtil;
@@ -54,6 +55,7 @@
@ResourceDependency(name = "richfaces-event.js"),
@ResourceDependency(name = "richfaces-base-component.js"),
@ResourceDependency(library = "org.richfaces", name =
"togglePanel.js") })
+@JsfRenderer(type = "org.richfaces.TogglePanelRenderer", family =
AbstractTogglePanel.COMPONENT_FAMILY)
public class TogglePanelRenderer extends DivPanelRenderer {
public static final String VALUE_POSTFIX = "-value";
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TooltipRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TooltipRenderer.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TooltipRenderer.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -23,30 +23,29 @@
package org.richfaces.renderkit.html;
-import static org.richfaces.renderkit.HtmlConstants.CLASS_ATTRIBUTE;
-import static org.richfaces.renderkit.HtmlConstants.ID_ATTRIBUTE;
-import static org.richfaces.renderkit.RenderKitUtils.renderPassThroughAttributes;
-import static org.richfaces.renderkit.html.TogglePanelRenderer.addEventOption;
-import static org.richfaces.renderkit.html.TogglePanelRenderer.getAjaxOptions;
+import org.ajax4jsf.javascript.JSObject;
+import org.richfaces.TooltipMode;
+import org.richfaces.cdk.annotations.JsfRenderer;
+import org.richfaces.component.AbstractTooltip;
+import org.richfaces.context.ExtendedPartialViewContext;
+import org.richfaces.renderkit.HtmlConstants;
+import org.richfaces.renderkit.MetaComponentRenderer;
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.Map;
-
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.context.PartialResponseWriter;
import javax.faces.context.ResponseWriter;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
-import org.ajax4jsf.javascript.JSObject;
-import org.richfaces.TooltipMode;
-import org.richfaces.component.AbstractTooltip;
-import org.richfaces.component.html.HtmlTooltip;
-import org.richfaces.context.ExtendedPartialViewContext;
-import org.richfaces.renderkit.HtmlConstants;
-import org.richfaces.renderkit.MetaComponentRenderer;
+import static org.richfaces.renderkit.HtmlConstants.CLASS_ATTRIBUTE;
+import static org.richfaces.renderkit.HtmlConstants.ID_ATTRIBUTE;
+import static org.richfaces.renderkit.RenderKitUtils.renderPassThroughAttributes;
+import static org.richfaces.renderkit.html.TogglePanelRenderer.addEventOption;
+import static org.richfaces.renderkit.html.TogglePanelRenderer.getAjaxOptions;
/**
* @author amarkhel
@@ -62,6 +61,7 @@
@ResourceDependency(library = "org.richfaces", name =
"popup.js"),
@ResourceDependency(library = "org.richfaces", name =
"tooltip.js"),
@ResourceDependency(library = "org.richfaces", name =
"tooltip.ecss") })
+@JsfRenderer(type = "org.richfaces.TooltipRenderer", family =
AbstractTooltip.COMPONENT_FAMILY)
public class TooltipRenderer extends DivPanelRenderer implements MetaComponentRenderer {
public static final String HIDE = "hide";
@@ -156,7 +156,7 @@
@Override
protected Map<String, Object> getScriptObjectOptions(FacesContext context,
UIComponent component) {
- HtmlTooltip tooltip = (HtmlTooltip) component;
+ AbstractTooltip tooltip = (AbstractTooltip) component;
Map<String, Object> options = new HashMap<String, Object>();
options.put("ajax", getAjaxOptions(context, tooltip));
@@ -181,7 +181,7 @@
return options;
}
- public Integer[] getOffset(HtmlTooltip tooltip) {
+ public Integer[] getOffset(AbstractTooltip tooltip) {
return new Integer[] {tooltip.getHorizontalOffset(),
tooltip.getVerticalOffset()};
}
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/view/facelets/html/PanelMenuTagHandler.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/view/facelets/html/PanelMenuTagHandler.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/view/facelets/html/PanelMenuTagHandler.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -54,7 +54,7 @@
return metaRuleset;
}
- private static class PanelMenuMetaRule extends MetaRule{
+ private static class PanelMenuMetaRule extends MetaRule {
@Override
public Metadata applyRule(String name, TagAttribute attribute, MetadataTarget
meta) {
Deleted: trunk/ui/output/ui/src/main/resources/META-INF/pn.faces-config.xml
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/pn.faces-config.xml 2011-01-18 14:48:02
UTC (rev 21055)
+++ trunk/ui/output/ui/src/main/resources/META-INF/pn.faces-config.xml 2011-01-18 15:12:23
UTC (rev 21056)
@@ -1,2264 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
-<faces-config version="2.0" metadata-complete="false"
-
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
-
xmlns="http://java.sun.com/xml/ns/javaee"
-
xmlns:cdk="http://jboss.org/schema/richfaces/cdk/extensions"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <behavior>
-
<behavior-id>org.richfaces.component.behavior.ToggleControl</behavior-id>
-
<behavior-class>org.richfaces.component.behavior.ToggleControl</behavior-class>
- <property>
- <property-name>targetPanel</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>targetItem</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>event</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>disableDefault</property-name>
- <property-class>java.lang.Boolean</property-class>
- </property>
- <property>
- <property-name>for</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- </behavior>
-
- <component>
- <component-type>org.richfaces.Toolbar</component-type>
- <component-class>org.richfaces.component.UIToolbar</component-class>
- <property>
- <description>
- A mutable Map of the attributes associated with
- this component, keyed by attribute name.
- </description>
- <display-name>Attributes Map</display-name>
- <icon/>
- <property-name>attributes</property-name>
- <property-class>java.util.Map</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>The value binding expression used to wire up this
- component to a component property of a JavaBean class</description>
- <display-name></display-name>
- <icon/>
- <property-name>binding</property-name>
-
<property-class>javax.faces.component.UIComponent</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- The number of child components associated with
- this component.
- </description>
- <display-name>Child Component Count</display-name>
- <icon/>
- <property-name>childCount</property-name>
- <property-class>int</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- A mutable List of the child components associated with
- this component.
- </description>
- <display-name>Child Component List</display-name>
- <icon/>
- <property-name>children</property-name>
- <property-class>java.util.List</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- A mutable Map of the facets associated with
- this component, keyed by facet name.
- </description>
- <display-name>Facets Map</display-name>
- <icon/>
- <property-name>facets</property-name>
- <property-class>java.util.Map</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- The component family to which this component belongs. This property
- is used to select an appropriate Renderer.
- </description>
- <display-name>Component Family</display-name>
- <icon/>
- <property-name>family</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- The component identifier for this component. This value must be
- unique within the closest parent component that is a naming
- container.
- </description>
- <display-name>Component Identifier</display-name>
- <icon/>
- <property-name>id</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- The parent component for this component. On the root component
- in the component tree (which must be of type UIViewRoot), this
- property is null.
- </description>
- <display-name>Parent Component</display-name>
- <icon/>
- <property-name>parent</property-name>
-
<property-class>javax.faces.component.UIComponent</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- Flag indicating whether or not this component should be rendered
- (during Render Response Phase), or processed on any subsequent
- form submit. The default value for this property is true.
- </description>
- <display-name>Rendered Flag</display-name>
- <icon/>
- <property-name>rendered</property-name>
- <property-class>boolean</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- Identifier used (in conjunction with the "family" property) to
- select an appropriate Renderer to encode and decode this component.
- </description>
- <display-name>Renderer Type</display-name>
- <icon/>
- <property-name>rendererType</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- Flag indicating whether or not this component takes responsibility
- for rendering its own children. This decision is normally delegated
- to the associated Renderer, if there is one.
- </description>
- <display-name>Renders Children</display-name>
- <icon/>
- <property-name>rendersChildren</property-name>
- <property-class>boolean</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>width</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemmouseover</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemmouseover</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>itemClass</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>itemStyle</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemkeydown</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemkeydown</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemmousemove</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemmousemove</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemmousedown</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemmousedown</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>height</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemdblclick</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemdblclick</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemclick</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemclick</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemmouseout</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemmouseout</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemkeyup</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemkeyup</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>itemSeparator</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemmouseup</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemmouseup</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemkeypress</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemkeypress</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <component-extension>
-
<cdk:base-class>org.richfaces.component.AbstractToolbar</cdk:base-class>
- <cdk:generate>true</cdk:generate>
-
<cdk:component-family>org.richfaces.Toolbar</cdk:component-family>
-
<cdk:renderer-type>org.richfaces.ToolbarRenderer</cdk:renderer-type>
- <cdk:tag>
- <cdk:generate>false</cdk:generate>
- <cdk:tag-name>toolbar</cdk:tag-name>
- <cdk:tag-type>Facelets</cdk:tag-type>
- </cdk:tag>
- </component-extension>
- </component>
- <component>
- <component-type>org.richfaces.ToolbarGroup</component-type>
-
<component-class>org.richfaces.component.UIToolbarGroup</component-class>
- <property>
- <description>
- A mutable Map of the attributes associated with
- this component, keyed by attribute name.
- </description>
- <display-name>Attributes Map</display-name>
- <icon/>
- <property-name>attributes</property-name>
- <property-class>java.util.Map</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>The value binding expression used to wire up this
- component to a component property of a JavaBean class</description>
- <display-name></display-name>
- <icon/>
- <property-name>binding</property-name>
-
<property-class>javax.faces.component.UIComponent</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>itemClass</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>itemStyle</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- The number of child components associated with
- this component.
- </description>
- <display-name>Child Component Count</display-name>
- <icon/>
- <property-name>childCount</property-name>
- <property-class>int</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- A mutable List of the child components associated with
- this component.
- </description>
- <display-name>Child Component List</display-name>
- <icon/>
- <property-name>children</property-name>
- <property-class>java.util.List</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- A mutable Map of the facets associated with
- this component, keyed by facet name.
- </description>
- <display-name>Facets Map</display-name>
- <icon/>
- <property-name>facets</property-name>
- <property-class>java.util.Map</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- The component family to which this component belongs. This property
- is used to select an appropriate Renderer.
- </description>
- <display-name>Component Family</display-name>
- <icon/>
- <property-name>family</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- The component identifier for this component. This value must be
- unique within the closest parent component that is a naming
- container.
- </description>
- <display-name>Component Identifier</display-name>
- <icon/>
- <property-name>id</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- The parent component for this component. On the root component
- in the component tree (which must be of type UIViewRoot), this
- property is null.
- </description>
- <display-name>Parent Component</display-name>
- <icon/>
- <property-name>parent</property-name>
-
<property-class>javax.faces.component.UIComponent</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- Flag indicating whether or not this component should be rendered
- (during Render Response Phase), or processed on any subsequent
- form submit. The default value for this property is true.
- </description>
- <display-name>Rendered Flag</display-name>
- <icon/>
- <property-name>rendered</property-name>
- <property-class>boolean</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- Identifier used (in conjunction with the "family" property) to
- select an appropriate Renderer to encode and decode this component.
- </description>
- <display-name>Renderer Type</display-name>
- <icon/>
- <property-name>rendererType</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <description>
- Flag indicating whether or not this component takes responsibility
- for rendering its own children. This decision is normally delegated
- to the associated Renderer, if there is one.
- </description>
- <display-name>Renders Children</display-name>
- <icon/>
- <property-name>rendersChildren</property-name>
- <property-class>boolean</property-class>
- <property-extension>
- <cdk:generate>false</cdk:generate>
- <cdk:hidden>true</cdk:hidden>
- <cdk:literal>true</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>true</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>location</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemmousedown</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemmousedown</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemdblclick</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemdblclick</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemclick</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemclick</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemmouseover</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemmouseover</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemmouseout</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemmouseout</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemkeyup</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemkeyup</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>itemSeparator</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemmouseup</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemmouseup</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemkeydown</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemkeydown</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemmousemove</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemmousemove</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <property>
- <property-name>onitemkeypress</property-name>
- <property-class>java.lang.String</property-class>
- <property-extension>
- <cdk:event-name
default="false">itemkeypress</cdk:event-name>
- <cdk:generate>true</cdk:generate>
- <cdk:hidden>false</cdk:hidden>
- <cdk:literal>false</cdk:literal>
- <cdk:pass-through>false</cdk:pass-through>
- <cdk:read-only>false</cdk:read-only>
- <cdk:required>false</cdk:required>
- </property-extension>
- </property>
- <component-extension>
-
<cdk:base-class>org.richfaces.component.AbstractToolbarGroup</cdk:base-class>
- <cdk:generate>true</cdk:generate>
-
<cdk:component-family>org.richfaces.Toolbar</cdk:component-family>
-
<cdk:renderer-type>org.richfaces.ToolbarGroupRenderer</cdk:renderer-type>
- <cdk:tag>
- <cdk:generate>false</cdk:generate>
- <cdk:tag-name>toolbarGroup</cdk:tag-name>
- <cdk:tag-type>Facelets</cdk:tag-type>
- </cdk:tag>
- </component-extension>
- </component>
-
- <component>
- <component-type>org.richfaces.Tooltip</component-type>
-
<component-class>org.richfaces.component.html.HtmlTooltip</component-class>
- <property>
- <description></description>
- <property-name>for_</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>value</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>layout</property-name>
- <property-class>org.richfaces.TooltipLayout</property-class>
- </property>
- <property>
- <description></description>
- <property-name>attached</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>direction</property-name>
-
<property-class>org.richfaces.component.Positioning</property-class>
- </property>
- <property>
- <description></description>
- <property-name>disabled</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>followMouse</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>hideDelay</property-name>
- <property-class>int</property-class>
- </property>
- <property>
- <description></description>
- <property-name>hideEvent</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>horizontalOffset</property-name>
- <property-class>int</property-class>
- </property>
- <property>
- <description></description>
- <property-name>mode</property-name>
- <property-class>org.richfaces.TooltipMode</property-class>
- </property>
- <property>
- <description></description>
- <property-name>showDelay</property-name>
- <property-class>int</property-class>
- </property>
- <property>
- <description></description>
- <property-name>showEvent</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>verticalOffset</property-name>
- <property-class>int</property-class>
- </property>
- <property>
- <description></description>
- <property-name>bypassUpdates</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>limitRender</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>data</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>status</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>execute</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>render</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
-
- </component>
-
- <component>
- <component-type>org.richfaces.CollapsiblePanel</component-type>
-
<component-class>org.richfaces.component.html.HtmlCollapsiblePanel</component-class>
- <property>
- <property-name>leftCollapsedIcon</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>leftExpandedIcon</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>rightExpandedIcon</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>rightCollapsedIcon</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>switchType</property-name>
-
<property-class>org.richfaces.component.SwitchType</property-class>
- </property>
- <property>
- <description></description>
- <property-name>expanded</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>header</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>bypassUpdates</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>limitRender</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>data</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>status</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>execute</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>render</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>toggleListener</property-name>
- <property-class>javax.el.MethodExpression</property-class>
- </property>
-
- </component>
- <component>
- <component-type>org.richfaces.TogglePanel</component-type>
-
<component-class>org.richfaces.component.html.HtmlTogglePanel</component-class>
- <property>
- <description></description>
- <property-name>switchType</property-name>
-
<property-class>org.richfaces.component.SwitchType</property-class>
- </property>
- <property>
- <description></description>
- <property-name>activeItem</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>bypassUpdates</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>limitRender</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>cycledSwitching</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>data</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>status</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>execute</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>render</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>immediate</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>itemChangeListener</property-name>
- <property-class>javax.el.MethodExpression</property-class>
- </property>
- <property>
- <description>Long long text</description>
- <property-name>id</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description>binding description</description>
- <property-name>binding</property-name>
-
<property-class>javax.faces.component.UIComponent</property-class>
- </property>
- <property>
- <description>I don't know maybe some thing
strange</description>
- <property-name>rendered</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onitemchange</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onbeforeitemchange</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>lang</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>title</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>style</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>styleClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>dir</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>ondblclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmousedown</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmousemove</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseout</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseover</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseup</property-name>
- <property-class>java.lang.String</property-class>
- </property>
-
- </component>
- <component>
- <component-type>org.richfaces.TogglePanelItem</component-type>
-
<component-class>org.richfaces.component.html.HtmlTogglePanelItem</component-class>
- <property>
- <description></description>
- <property-name>name</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>switchType</property-name>
-
<property-class>org.richfaces.component.SwitchType</property-class>
- </property>
- <property>
- <description>Long long text</description>
- <property-name>id</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description>binding description</description>
- <property-name>binding</property-name>
-
<property-class>javax.faces.component.UIComponent</property-class>
- </property>
- <property>
- <description>I don't know maybe some thing
strange</description>
- <property-name>rendered</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onenter</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onleave</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>lang</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>title</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>style</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>styleClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>dir</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>ondblclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmousedown</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmousemove</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseout</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseover</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseup</property-name>
- <property-class>java.lang.String</property-class>
- </property>
-
- </component>
- <component>
- <component-type>org.richfaces.Accordion</component-type>
-
<component-class>org.richfaces.component.html.HtmlAccordion</component-class>
- <property>
- <description></description>
- <property-name>switchType</property-name>
-
<property-class>org.richfaces.component.SwitchType</property-class>
- </property>
- <property>
- <description></description>
- <property-name>activeItem</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>bypassUpdates</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>limitRender</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>cycledSwitching</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>data</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>status</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>execute</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>render</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>immediate</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>itemChangeListener</property-name>
- <property-class>javax.el.MethodExpression</property-class>
- </property>
- <property>
- <description>Long long text</description>
- <property-name>id</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description>binding description</description>
- <property-name>binding</property-name>
-
<property-class>javax.faces.component.UIComponent</property-class>
- </property>
- <property>
- <description>I don't know maybe some thing
strange</description>
- <property-name>rendered</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>height</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>width</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>itemHeaderClassActive</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>itemHeaderClassDisabled</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>itemHeaderClassInactive</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>itemContentClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>itemHeaderClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onitemchange</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onbeforeitemchange</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>lang</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>title</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>style</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>styleClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>dir</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>ondblclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmousedown</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmousemove</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseout</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseover</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseup</property-name>
- <property-class>java.lang.String</property-class>
- </property>
-
- </component>
- <component>
- <component-type>org.richfaces.AccordionItem</component-type>
-
<component-class>org.richfaces.component.html.HtmlAccordionItem</component-class>
- <property>
- <description></description>
- <property-name>disabled</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>label</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>name</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>switchType</property-name>
-
<property-class>org.richfaces.component.SwitchType</property-class>
- </property>
- <property>
- <description>Long long text</description>
- <property-name>id</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description>binding description</description>
- <property-name>binding</property-name>
-
<property-class>javax.faces.component.UIComponent</property-class>
- </property>
- <property>
- <description>I don't know maybe some thing
strange</description>
- <property-name>rendered</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>headerClassActive</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>headerClassDisabled</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>headerClassInactive</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>headerClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>headerStyle</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>contentClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onheaderclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onheaderdblclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onheadermousedown</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onheadermousemove</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onheadermouseup</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onenter</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onleave</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>lang</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>title</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>style</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>styleClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>dir</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>ondblclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmousedown</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmousemove</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseout</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseover</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseup</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- </component>
- <component>
- <component-type>org.richfaces.TabPanel</component-type>
-
<component-class>org.richfaces.component.html.HtmlTabPanel</component-class>
- <property>
- <property-name>cycledSwitching</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <property-name>switchproperty-class</property-name>
-
<property-class>org.richfaces.component.SwitchType</property-class>
- </property>
- <property>
- <property-name>activeItem</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>bypassUpdates</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <property-name>limitRender</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <property-name>data</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <property-name>status</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>execute</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <property-name>render</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <property-name>immediate</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <property-name>itemChangeListener</property-name>
- <property-class>javax.el.MethodExpression</property-class>
- </property>
- <property>
- <description>Long long text</description>
- <property-name>id</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description>binding description</description>
- <property-name>binding</property-name>
-
<property-class>javax.faces.component.UIComponent</property-class>
- </property>
- <property>
- <description>I don't know maybe some thing
strange</description>
- <property-name>rendered</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <property-name>width</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>height</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>tabClassActive</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>tabClassDisabled</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>tabClassInactive</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>tabContentClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>tabClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>onitemchange</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>onbeforeitemchange</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>lang</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>title</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>style</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>styleClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>dir</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>onclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>ondblclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>onmousedown</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>onmousemove</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>onmouseout</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>onmouseover</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>onmouseup</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>headerPosition</property-name>
- <property-class>org.richfaces.HeaderPosition</property-class>
- </property>
- <property>
- <property-name>headerAlignment</property-name>
- <property-class>org.richfaces.HeaderAlignment</property-class>
- </property>
- <property>
- <property-name>headerLayout</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>headerClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>headerSpacingClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>onbeforetabchange</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <property-name>ontabchange</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- </component>
- <component>
- <component-type>org.richfaces.TabPanelItem</component-type>
-
<component-class>org.richfaces.component.html.HtmlTab</component-class>
- <property>
- <description></description>
- <property-name>disabled</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>label</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>name</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>switchType</property-name>
-
<property-class>org.richfaces.component.SwitchType</property-class>
- </property>
- <property>
- <description>Long long text</description>
- <property-name>id</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description>binding description</description>
- <property-name>binding</property-name>
-
<property-class>javax.faces.component.UIComponent</property-class>
- </property>
- <property>
- <description>I don't know maybe some thing
strange</description>
- <property-name>rendered</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>headerClassActive</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>headerClassDisabled</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>headerClassInactive</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>headerClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>headerStyle</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>contentClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onheaderclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onheaderdblclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onheadermousedown</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onheadermousemove</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onheadermouseup</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onenter</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onleave</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>lang</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>title</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>style</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>styleClass</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>dir</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>ondblclick</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmousedown</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmousemove</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseout</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseover</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>onmouseup</property-name>
- <property-class>java.lang.String</property-class>
- </property>
-
- </component>
-
- <component>
- <component-type>org.richfaces.PanelMenuItem</component-type>
-
<component-class>org.richfaces.component.html.HtmlPanelMenuItem</component-class>
- <property>
- <property-name>action</property-name>
- <property-class>javax.faces.el.MethodBinding</property-class>
- </property>
- <property>
- <property-name>actionListener</property-name>
- <property-class>javax.faces.el.MethodBinding</property-class>
- </property>
- <property>
- <description></description>
- <property-name>icon</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>mode</property-name>
- <property-class>org.richfaces.PanelMenuMode</property-class>
- </property>
- <property>
- <description></description>
- <property-name>label</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>name</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>disabled</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>bypassUpdates</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>limitRender</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>data</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>status</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>execute</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>render</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
-
- </component>
- <component>
- <component-type>org.richfaces.PanelMenuGroup</component-type>
-
<component-class>org.richfaces.component.html.HtmlPanelMenuGroup</component-class>
- <property>
- <property-name>action</property-name>
- <property-class>javax.faces.el.MethodBinding</property-class>
- </property>
- <property>
- <property-name>actionListener</property-name>
- <property-class>javax.faces.el.MethodBinding</property-class>
- </property>
- <property>
- <description></description>
- <property-name>expanded</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>expandSingle</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>collapseEvent</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>expandEvent</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>bubbleSelection</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>iconLeftCollapsed</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>iconLeftExpanded</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>iconRightCollapsed</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>iconRightExpanded</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- </component>
- <component>
- <component-type>org.richfaces.PanelMenu</component-type>
-
<component-class>org.richfaces.component.html.HtmlPanelMenu</component-class>
-
- <property>
- <description></description>
- <property-name>disabled</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>expandEvent</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>collapseEvent</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>groupMode</property-name>
- <property-class>org.richfaces.PanelMenuMode</property-class>
- </property>
- <property>
- <description></description>
- <property-name>expandSingle</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>itemMode</property-name>
- <property-class>org.richfaces.PanelMenuMode</property-class>
- </property>
- <property>
- <description></description>
- <property-name>bubbleSelection</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>activeItem</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>itemChangeListener</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>bypassUpdates</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>limitRender</property-name>
- <property-class>boolean</property-class>
- </property>
- <property>
- <description></description>
- <property-name>data</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>status</property-name>
- <property-class>java.lang.String</property-class>
- </property>
- <property>
- <description></description>
- <property-name>execute</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <description></description>
- <property-name>render</property-name>
- <property-class>java.lang.Object</property-class>
- </property>
- <property>
- <property-name>immediate</property-name>
- <property-class>boolean</property-class>
- </property>
-
- </component>
-
- <render-kit>
- <render-kit-id>HTML_BASIC</render-kit-id>
-
- <renderer>
- <component-family>org.richfaces.Toolbar</component-family>
- <renderer-type>org.richfaces.ToolbarRenderer</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.ToolbarRenderer</renderer-class>
- <renderer-extension>
- <cdk:renders-children>false</cdk:renders-children>
- </renderer-extension>
- </renderer>
- <renderer>
- <component-family>org.richfaces.Toolbar</component-family>
-
<renderer-type>org.richfaces.ToolbarGroupRenderer</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.ToolbarGroupRenderer</renderer-class>
- <renderer-extension>
- <cdk:renders-children>false</cdk:renders-children>
- </renderer-extension>
- </renderer>
- <renderer>
- <component-family>org.richfaces.Tooltip</component-family>
- <renderer-type>org.richfaces.Tooltip</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.TooltipRenderer</renderer-class>
- </renderer>
- <renderer>
-
<component-family>org.richfaces.CollapsiblePanel</component-family>
- <renderer-type>org.richfaces.CollapsiblePanel</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.CollapsiblePanelRenderer</renderer-class>
- </renderer>
- <renderer>
- <component-family>org.richfaces.TogglePanel</component-family>
- <renderer-type>org.richfaces.TogglePanel</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.TogglePanelRenderer</renderer-class>
- </renderer>
- <renderer>
-
<component-family>org.richfaces.TogglePanelItem</component-family>
- <renderer-type>org.richfaces.TogglePanelItem</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.TogglePanelItemRenderer</renderer-class>
- </renderer>
- <renderer>
- <component-family>org.richfaces.Accordion</component-family>
- <renderer-type>org.richfaces.Accordion</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.AccordionRenderer</renderer-class>
- </renderer>
- <renderer>
-
<component-family>org.richfaces.TogglePanelTitledItem</component-family>
- <renderer-type>org.richfaces.AccordionItem</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.AccordionItemRenderer</renderer-class>
- </renderer>
-
- <renderer>
- <component-family>org.richfaces.Panel</component-family>
- <renderer-type>org.richfaces.PanelRenderer</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.PanelRenderer</renderer-class>
- <renderer-extension>
- <cdk:renders-children>false</cdk:renders-children>
- </renderer-extension>
- </renderer>
- <renderer>
- <component-family>org.richfaces.PopupPanel</component-family>
- <renderer-type>org.richfaces.PopupPanelRenderer</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.PopupPanelRenderer</renderer-class>
- <renderer-extension>
- <cdk:renders-children>false</cdk:renders-children>
- </renderer-extension>
- </renderer>
-
- <renderer>
- <component-family>org.richfaces.TabPanel</component-family>
- <renderer-type>org.richfaces.TabPanel</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.TabPanelRenderer</renderer-class>
- </renderer>
- <renderer>
-
<component-family>org.richfaces.TogglePanelTitledItem</component-family>
- <renderer-type>org.richfaces.Tab</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.TabRenderer</renderer-class>
- </renderer>
- <renderer>
- <component-family>org.richfaces.ProgressBar</component-family>
- <renderer-type>org.richfaces.ProgressBarRenderer</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.ProgressBarRenderer</renderer-class>
- <renderer-extension>
- <cdk:renders-children>false</cdk:renders-children>
- </renderer-extension>
- </renderer>
-
- <renderer>
- <component-family>org.richfaces.PanelMenuItem</component-family>
- <renderer-type>org.richfaces.PanelMenuItem</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.PanelMenuItemRenderer</renderer-class>
- </renderer>
- <renderer>
-
<component-family>org.richfaces.PanelMenuGroup</component-family>
- <renderer-type>org.richfaces.PanelMenuGroup</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.PanelMenuGroupRenderer</renderer-class>
- </renderer>
- <renderer>
- <component-family>org.richfaces.PanelMenu</component-family>
- <renderer-type>org.richfaces.PanelMenu</renderer-type>
-
<renderer-class>org.richfaces.renderkit.html.PanelMenuRenderer</renderer-class>
- </renderer>
-
- <client-behavior-renderer>
-
<client-behavior-renderer-type>org.richfaces.component.behavior.ToggleControl</client-behavior-renderer-type>
-
<client-behavior-renderer-class>org.richfaces.renderkit.html.ToggleControlRenderer</client-behavior-renderer-class>
- </client-behavior-renderer>
- </render-kit>
-
- <faces-config-extension>
- <cdk:taglib>
- <cdk:shortName>output</cdk:shortName>
- <
cdk:uri>http://richfaces.org/output</cdk:uri>
- </cdk:taglib>
- </faces-config-extension>
-</faces-config>
Deleted: trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml 2011-01-18 14:48:02 UTC
(rev 21055)
+++ trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml 2011-01-18 15:12:23 UTC
(rev 21056)
@@ -1,1769 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><facelet-taglib
id="output" version="2.0"
-
xmlns="http://java.sun.com/xml/ns/javaee"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd">
- <
namespace>http://richfaces.org/pn</namespace>
- <tag>
- <tag-name>toggleControl</tag-name>
- <behavior>
-
<behavior-id>org.richfaces.component.behavior.ToggleControl</behavior-id>
-
<handler-class>org.richfaces.view.facelets.html.CustomBehaviorHandler</handler-class>
- </behavior>
- <attribute>
- <name>targetPanel</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>targetItem</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>event</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>disableDefault</name>
- <type>java.lang.Boolean</type>
- </attribute>
- <attribute>
- <name>for</name>
- <type>java.lang.String</type>
- </attribute>
- </tag>
- <tag>
- <tag-name>tabPanel</tag-name>
- <component>
- <component-type>org.richfaces.TabPanel</component-type>
- <renderer-type>org.richfaces.TabPanel</renderer-type>
-
<handler-class>org.richfaces.view.facelets.html.TogglePanelTagHandler</handler-class>
- </component>
- <attribute>
- <name>cycledSwitching</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>switchType</name>
- <type>org.richfaces.component.SwitchType</type>
- </attribute>
- <attribute>
- <name>activeItem</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>bypassUpdates</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>limitRender</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>data</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>status</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>execute</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>render</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>immediate</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>itemChangeListener</name>
- <type>javax.el.MethodExpression</type>
- </attribute>
- <attribute>
- <description>Long long text</description>
- <name>id</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <description>binding description</description>
- <name>binding</name>
- <type>javax.faces.component.UIComponent</type>
- </attribute>
- <attribute>
- <description>I don't know maybe some thing
strange</description>
- <name>rendered</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>width</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>height</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>tabClassActive</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>tabClassDisabled</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>tabClassInactive</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>tabContentClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>tabClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onitemchange</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onbeforeitemchange</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>lang</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>title</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>style</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>dir</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>ondblclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousedown</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousemove</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseout</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseover</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseup</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>headerPosition</name>
- <type>org.richfaces.HeaderPosition</type>
- </attribute>
- <attribute>
- <name>headerAlignment</name>
- <type>org.richfaces.HeaderAlignment</type>
- </attribute>
- <attribute>
- <name>headerLayout</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>headerClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>headerSpacingClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onbeforetabchange</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>ontabchange</name>
- <type>java.lang.String</type>
- </attribute>
- </tag>
- <tag>
- <tag-name>tab</tag-name>
- <component>
- <component-type>org.richfaces.TabPanelItem</component-type>
- <renderer-type>org.richfaces.Tab</renderer-type>
- </component>
- <attribute>
- <name>disabled</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>header</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>name</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>switchType</name>
- <type>org.richfaces.component.SwitchType</type>
- </attribute>
- <attribute>
- <description>Long long text</description>
- <name>id</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <description>binding description</description>
- <name>binding</name>
- <type>javax.faces.component.UIComponent</type>
- </attribute>
- <attribute>
- <description>I don't know maybe some thing
strange</description>
- <name>rendered</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>headerClassActive</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>headerClassDisabled</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>headerClassInactive</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>headerClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>headerStyle</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>contentClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onheaderclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onheaderdblclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onheadermousedown</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onheadermousemove</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onheadermouseup</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onenter</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onleave</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>lang</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>title</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>style</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>dir</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>ondblclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousedown</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousemove</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseout</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseover</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseup</name>
- <type>java.lang.String</type>
- </attribute>
- </tag>
- <tag>
- <tag-name>panelMenuItem</tag-name>
- <component>
- <component-type>org.richfaces.PanelMenuItem</component-type>
- <renderer-type>org.richfaces.PanelMenuItem</renderer-type>
- </component>
- <attribute>
- <description>MethodExpression representing the application action to invoke when
this component is activated by the user. The expression must evaluate to a public method
that takes no parameters, and returns an Object (the toString() of which is called to
derive the logical outcome) which is passed to the NavigationHandler for this
application.</description>
- <display-name>Application Action</display-name>
- <name>action</name>
- <type>javax.faces.el.MethodBinding</type>
- </attribute>
- <attribute>
- <description><p> MethodExpression representing an action listener
method that will be notified when this component is activated by the user. The expression
must evaluate to a public method that takes an ActionEvent parameter, with a return type
of void, <span class="changed_added_2_0">or to a public method
that takes no arguments with a return type of void. In the latter case, the method has no
way of easily knowing where the event came from, but this can be useful in cases where a
notification is needed that "some action happened".</span>
</p></description>
- <display-name>Action Listener</display-name>
- <name>actionListener</name>
- <type>javax.faces.el.MethodBinding</type>
- </attribute>
- <attribute>
- <name>icon</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>mode</name>
- <type>org.richfaces.PanelMenuMode</type>
- </attribute>
- <attribute>
- <name>label</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>name</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>disabled</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>bypassUpdates</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>limitRender</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>data</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>status</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>execute</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>render</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>id</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>binding</name>
- <type>javax.faces.component.UIComponent</type>
- </attribute>
- <attribute>
- <name>rendered</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>disabledClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>hoverClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>iconLeftClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>iconLeftDisabled</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>iconRightClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>iconRightDisabled</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>style</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onbeforedomupdate</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>oncomplete</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>ondblclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousedown</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousemove</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseout</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseover</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseup</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onunselect</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onselect</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onbeforeselect</name>
- <type>java.lang.String</type>
- </attribute>
- </tag>
- <tag>
- <tag-name>panelMenuGroup</tag-name>
- <component>
- <component-type>org.richfaces.PanelMenuGroup</component-type>
- <renderer-type>org.richfaces.PanelMenuGroup</renderer-type>
- </component>
- <attribute>
- <description>MethodExpression representing the application action to invoke when
this component is activated by the user. The expression must evaluate to a public method
that takes no parameters, and returns an Object (the toString() of which is called to
derive the logical outcome) which is passed to the NavigationHandler for this
application.</description>
- <display-name>Application Action</display-name>
- <name>action</name>
- <type>javax.faces.el.MethodBinding</type>
- </attribute>
- <attribute>
- <description><p> MethodExpression representing an action listener
method that will be notified when this component is activated by the user. The expression
must evaluate to a public method that takes an ActionEvent parameter, with a return type
of void, <span class="changed_added_2_0">or to a public method
that takes no arguments with a return type of void. In the latter case, the method has no
way of easily knowing where the event came from, but this can be useful in cases where a
notification is needed that "some action happened".</span>
</p></description>
- <display-name>Action Listener</display-name>
- <name>actionListener</name>
- <type>javax.faces.el.MethodBinding</type>
- </attribute>
- <attribute>
- <name>expanded</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>expandSingle</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>collapseEvent</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>expandEvent</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>bubbleSelection</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>iconLeftCollapsed</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>iconLeftExpanded</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>iconRightCollapsed</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>iconRightExpanded</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>icon</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>mode</name>
- <type>org.richfaces.PanelMenuMode</type>
- </attribute>
- <attribute>
- <name>label</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>name</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>disabled</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>bypassUpdates</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>limitRender</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>data</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>status</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>execute</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>render</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>id</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>binding</name>
- <type>javax.faces.component.UIComponent</type>
- </attribute>
- <attribute>
- <name>rendered</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>oncollapse</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onexpand</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onswitch</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onbeforecollapse</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onbeforeexpand</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onbeforeswitch</name>
- <type>java.lang.String</type>
- </attribute>
- </tag>
- <tag>
- <tag-name>panelMenu</tag-name>
- <component>
- <component-type>org.richfaces.PanelMenu</component-type>
- <renderer-type>org.richfaces.PanelMenu</renderer-type>
-
<handler-class>org.richfaces.view.facelets.html.PanelMenuTagHandler</handler-class>
- </component>
- <attribute>
- <description>MethodExpression representing the application action to invoke when
this component is activated by the user. The expression must evaluate to a public method
that takes no parameters, and returns an Object (the toString() of which is called to
derive the logical outcome) which is passed to the NavigationHandler for this
application.</description>
- <display-name>Application Action</display-name>
- <name>action</name>
- <type>javax.faces.el.MethodBinding</type>
- </attribute>
- <attribute>
- <description><p> MethodExpression representing an action listener
method that will be notified when this component is activated by the user. The expression
must evaluate to a public method that takes an ActionEvent parameter, with a return type
of void, <span class="changed_added_2_0">or to a public method
that takes no arguments with a return type of void. In the latter case, the method has no
way of easily knowing where the event came from, but this can be useful in cases where a
notification is needed that "some action happened".</span>
</p></description>
- <display-name>Action Listener</display-name>
- <name>actionListener</name>
- <type>javax.faces.el.MethodBinding</type>
- </attribute>
- <attribute>
- <name>disabled</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>expandEvent</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>collapseEvent</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>groupMode</name>
- <type>org.richfaces.PanelMenuMode</type>
- </attribute>
- <attribute>
- <name>expandSingle</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>itemMode</name>
- <type>org.richfaces.PanelMenuMode</type>
- </attribute>
- <attribute>
- <name>bubbleSelection</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>activeItem</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemChangeListener</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>bypassUpdates</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>limitRender</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>data</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>status</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>execute</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>render</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>id</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>binding</name>
- <type>javax.faces.component.UIComponent</type>
- </attribute>
- <attribute>
- <name>rendered</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>style</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>width</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemDisableClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemIconLeft</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemIconRight</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemDisableIconLeft</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemDisableIconRight</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topItemClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topItemDisableClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topItemIconLeft</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topItemIconRight</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topItemDisableIconLeft</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topItemDisableIconRight</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>groupClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>groupDisableClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>groupExpandIconLeft</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>groupExpandIconRight</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>groupCollapseIconLeft</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>groupCollapseIconRight</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>groupDisableIconLeft</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>groupDisableIconRight</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topGroupClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topGroupDisableClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topGroupExpandIconLeft</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topGroupExpandIconRight</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topGroupCollapseIconLeft</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topGroupCollapseIconRight</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topGroupDisableIconLeft</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>topGroupDisableIconRight</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>ondblclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousedown</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousemove</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseout</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseover</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseup</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>immediate</name>
- <type>boolean</type>
- </attribute>
-
- </tag>
- <tag>
- <tag-name>tooltip</tag-name>
- <component>
- <component-type>org.richfaces.Tooltip</component-type>
- <renderer-type>org.richfaces.Tooltip</renderer-type>
- </component>
- <attribute>
- <name>for_</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>value</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>layout</name>
- <type>org.richfaces.TooltipLayout</type>
- </attribute>
- <attribute>
- <name>attached</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>direction</name>
- <type>org.richfaces.component.Positioning</type>
- </attribute>
- <attribute>
- <name>disabled</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>followMouse</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>hideDelay</name>
- <type>int</type>
- </attribute>
- <attribute>
- <name>hideEvent</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>horizontalOffset</name>
- <type>int</type>
- </attribute>
- <attribute>
- <name>mode</name>
- <type>org.richfaces.TooltipMode</type>
- </attribute>
- <attribute>
- <name>showDelay</name>
- <type>int</type>
- </attribute>
- <attribute>
- <name>showEvent</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>verticalOffset</name>
- <type>int</type>
- </attribute>
- <attribute>
- <name>id</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>binding</name>
- <type>javax.faces.component.UIComponent</type>
- </attribute>
- <attribute>
- <name>rendered</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>bypassUpdates</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>limitRender</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>data</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>status</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>execute</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>render</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>style</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>zindex</name>
- <type>int</type>
- </attribute>
- <attribute>
- <name>onclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>ondblclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousedown</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousemove</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseout</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseover</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseup</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onhide</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onshow</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onbeforehide</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onbeforeshow</name>
- <type>java.lang.String</type>
- </attribute>
- </tag>
- <tag>
- <tag-name>collapsiblePanel</tag-name>
- <component>
- <component-type>org.richfaces.CollapsiblePanel</component-type>
- <renderer-type>org.richfaces.CollapsiblePanel</renderer-type>
-
<handler-class>org.richfaces.view.facelets.html.CollapsiblePanelTagHandler</handler-class>
- </component>
- <attribute>
- <name>leftCollapsedIcon</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>leftExpandedIcon</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>rightExpandedIcon</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>rightCollapsedIcon</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>switchType</name>
- <type>org.richfaces.component.SwitchType</type>
- </attribute>
- <attribute>
- <name>expanded</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>header</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>bypassUpdates</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>limitRender</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>data</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>status</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>execute</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>render</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>id</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>binding</name>
- <type>javax.faces.component.UIComponent</type>
- </attribute>
- <attribute>
- <name>rendered</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>immediate</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>toggleListener</name>
- <type>javax.el.MethodExpression</type>
- </attribute>
- <attribute>
- <name>bodyClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>headerClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>headerControlClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>oncomplete</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onbeforedomupdate</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onswitch</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onbeforeswitch</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>lang</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>title</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>style</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>dir</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>ondblclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousedown</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousemove</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseout</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseover</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseup</name>
- <type>java.lang.String</type>
- </attribute>
- </tag>
- <tag>
- <description>
- Register a PanelToggleListener instance on the UIComponent
- associated with the closest parent UIComponent custom
- action.
- </description>
- <tag-name>panelToggleListener</tag-name>
-
<handler-class>org.richfaces.view.facelets.html.PanelToggleListenerHandler</handler-class>
- <attribute>
- <description>
- Fully qualified Java class name of a
- PanelToggleListener to be created and registered.
- </description>
- <name>type</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <description>
- Value binding expression that evaluates to an object that
- implements org.richfaces.event.PanelToggleListener.
- </description>
- <name>binding</name>
- <required>false</required>
- <type>org.richfaces.event.PanelToggleListener</type>
- </attribute>
- <attribute>
- <description>
- <p class="changed_added_2_0">If present, this
attribute refers
- to the value of one of the exposed attached objects within the
- composite component inside of which this tag is
nested.</p>
- </description>
- <name>for</name>
- <required>false</required>
- <type>java.lang.String</type>
- </attribute>
- </tag>
- <tag>
- <tag-name>togglePanel</tag-name>
- <component>
- <component-type>org.richfaces.TogglePanel</component-type>
- <renderer-type>org.richfaces.TogglePanel</renderer-type>
-
<handler-class>org.richfaces.view.facelets.html.TogglePanelTagHandler</handler-class>
- </component>
- <attribute>
- <name>cycledSwitching</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>switchType</name>
- <type>org.richfaces.component.SwitchType</type>
- </attribute>
- <attribute>
- <name>activeItem</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>bypassUpdates</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>limitRender</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>data</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>status</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>execute</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>render</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>immediate</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>itemChangeListener</name>
- <type>javax.el.MethodExpression</type>
- </attribute>
- <attribute>
- <description>Long long text</description>
- <name>id</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <description>binding description</description>
- <name>binding</name>
- <type>javax.faces.component.UIComponent</type>
- </attribute>
- <attribute>
- <description>I don't know maybe some thing strange</description>
- <name>rendered</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>onitemchange</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onbeforeitemchange</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>lang</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>title</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>style</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>dir</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>ondblclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousedown</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousemove</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseout</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseover</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseup</name>
- <type>java.lang.String</type>
- </attribute>
- </tag>
- <tag>
- <description>
- Register a ItemChangeListener instance on the UIComponent
- associated with the closest parent UIComponent custom
- action.
- </description>
- <tag-name>itemChangeListener</tag-name>
-
<handler-class>org.richfaces.view.facelets.html.ItemChangeListenerHandler</handler-class>
- <attribute>
- <description>
- Fully qualified Java class name of a
- ItemChangeListener to be created and registered.
- </description>
- <name>type</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <description>
- Value binding expression that evaluates to an object that
- implements org.richfaces.event.ItemChangeListener.
- </description>
- <name>binding</name>
- <required>false</required>
- <type>org.richfaces.event.ItemChangeListener</type>
- </attribute>
- <attribute>
- <description>
- <p class="changed_added_2_0">If present, this
attribute refers
- to the value of one of the exposed attached objects within the
- composite component inside of which this tag is
nested.</p>
- </description>
- <name>for</name>
- <required>false</required>
- <type>java.lang.String</type>
- </attribute>
- </tag>
- <tag>
- <tag-name>togglePanelItem</tag-name>
- <component>
- <component-type>org.richfaces.TogglePanelItem</component-type>
- <renderer-type>org.richfaces.TogglePanelItem</renderer-type>
- </component>
- <attribute>
- <name>name</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>switchType</name>
- <type>org.richfaces.component.SwitchType</type>
- </attribute>
- <attribute>
- <description>Long long text</description>
- <name>id</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <description>binding description</description>
- <name>binding</name>
- <type>javax.faces.component.UIComponent</type>
- </attribute>
- <attribute>
- <description>I don't know maybe some thing strange</description>
- <name>rendered</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>onenter</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onleave</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>lang</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>title</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>style</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>dir</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>ondblclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousedown</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousemove</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseout</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseover</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseup</name>
- <type>java.lang.String</type>
- </attribute>
- </tag>
- <tag>
- <tag-name>accordion</tag-name>
- <component>
- <component-type>org.richfaces.Accordion</component-type>
- <renderer-type>org.richfaces.Accordion</renderer-type>
-
<handler-class>org.richfaces.view.facelets.html.TogglePanelTagHandler</handler-class>
- </component>
- <attribute>
- <name>cycledSwitching</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>switchType</name>
- <type>org.richfaces.component.SwitchType</type>
- </attribute>
- <attribute>
- <name>activeItem</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>bypassUpdates</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>limitRender</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>data</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>status</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>execute</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>render</name>
- <type>java.lang.Object</type>
- </attribute>
- <attribute>
- <name>immediate</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>itemChangeListener</name>
- <type>javax.el.MethodExpression</type>
- </attribute>
- <attribute>
- <description>Long long text</description>
- <name>id</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <description>binding description</description>
- <name>binding</name>
- <type>javax.faces.component.UIComponent</type>
- </attribute>
- <attribute>
- <description>I don't know maybe some thing strange</description>
- <name>rendered</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>width</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>height</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemHeaderClassActive</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemHeaderClassDisabled</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemHeaderClassInactive</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemContentClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemHeaderClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onitemchange</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onbeforeitemchange</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>lang</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>title</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>style</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>dir</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>ondblclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousedown</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousemove</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseout</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseover</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseup</name>
- <type>java.lang.String</type>
- </attribute>
- </tag>
- <tag>
- <tag-name>accordionItem</tag-name>
- <component>
- <component-type>org.richfaces.AccordionItem</component-type>
- <renderer-type>org.richfaces.AccordionItem</renderer-type>
- </component>
- <attribute>
- <name>disabled</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>header</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>name</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>switchType</name>
- <type>org.richfaces.component.SwitchType</type>
- </attribute>
- <attribute>
- <description>Long long text</description>
- <name>id</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <description>binding description</description>
- <name>binding</name>
- <type>javax.faces.component.UIComponent</type>
- </attribute>
- <attribute>
- <description>I don't know maybe some thing strange</description>
- <name>rendered</name>
- <type>boolean</type>
- </attribute>
- <attribute>
- <name>headerClassActive</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>headerClassDisabled</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>headerClassInactive</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>headerClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>headerStyle</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>contentClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onheaderclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onheaderdblclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onheadermousedown</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onheadermousemove</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onheadermouseup</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onenter</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onleave</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>lang</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>title</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>style</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>dir</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>ondblclick</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousedown</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmousemove</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseout</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseover</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>onmouseup</name>
- <type>java.lang.String</type>
- </attribute>
- </tag>
-</facelet-taglib>
Modified:
trunk/ui/output/ui/src/test/java/org/richfaces/component/AbstractAccordionTest.java
===================================================================
---
trunk/ui/output/ui/src/test/java/org/richfaces/component/AbstractAccordionTest.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/java/org/richfaces/component/AbstractAccordionTest.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -24,11 +24,14 @@
import org.junit.Assert;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
import javax.faces.component.UIComponent;
import java.util.List;
+import static org.easymock.EasyMock.*;
+
/**
* @author akolonitsky
* @since 2010-08-14
@@ -46,7 +49,7 @@
@Before
public void setUp () {
- accordion = new AbstractAccordion();
+ accordion = new UIAccordion();
List<UIComponent> children = accordion.getChildren();
item1 = createItem(ITEM1);
@@ -60,6 +63,7 @@
}
@Test
+ @Ignore
public void testDefaultActiveItem() {
Assert.assertNotNull(accordion);
Assert.assertEquals(ITEM1, accordion.getActiveItem());
@@ -69,8 +73,8 @@
}
private static AbstractTogglePanelTitledItem createItem(String name) {
- AbstractTogglePanelTitledItem item = new UITogglePanelTitledItem();
- item.setName(name);
+ AbstractTogglePanelTitledItem item =
createNiceMock(AbstractTogglePanelTitledItem.class); //new
AbstractTogglePanelTitledItem();
+ expect(item.getName()).andReturn(name);
return item;
}
Modified:
trunk/ui/output/ui/src/test/java/org/richfaces/component/UICollapsiblePanelTest.java
===================================================================
---
trunk/ui/output/ui/src/test/java/org/richfaces/component/UICollapsiblePanelTest.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/java/org/richfaces/component/UICollapsiblePanelTest.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -26,9 +26,6 @@
import org.junit.Before;
import org.junit.Test;
-import javax.faces.component.UIComponent;
-import java.util.List;
-
/**
* @author akolonitsky
* @since 2010-08-27
Deleted:
trunk/ui/output/ui/src/test/java/org/richfaces/component/UIPanelMenuGroupTest.java
===================================================================
---
trunk/ui/output/ui/src/test/java/org/richfaces/component/UIPanelMenuGroupTest.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/java/org/richfaces/component/UIPanelMenuGroupTest.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-
-package org.richfaces.component;
-
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-import javax.faces.component.UIComponent;
-import java.util.List;
-
-/**
- * @author akolonitsky
- * @since 2010-10-25
- */
-public class UIPanelMenuGroupTest {
-
- private UIPanelMenuGroup panelMenuGroup;
-
- @Before
- public void setUp () {
- panelMenuGroup = new UIPanelMenuGroup();
- }
-
- @Test
- public void testSomething() {
- Assert.assertNotNull(panelMenuGroup);
- }
-}
-
Deleted:
trunk/ui/output/ui/src/test/java/org/richfaces/component/UIPanelMenuItemTest.java
===================================================================
---
trunk/ui/output/ui/src/test/java/org/richfaces/component/UIPanelMenuItemTest.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/java/org/richfaces/component/UIPanelMenuItemTest.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-
-package org.richfaces.component;
-
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-import javax.faces.component.UIComponent;
-import java.util.List;
-
-/**
- * @author akolonitsky
- * @since 2010-10-25
- */
-public class UIPanelMenuItemTest {
-
- private UIPanelMenuItem panelMenuItem;
-
- @Before
- public void setUp () {
- panelMenuItem = new UIPanelMenuItem();
- }
-
- @Test
- public void testSomething() {
- Assert.assertNotNull(panelMenuItem);
- }
-}
-
Deleted: trunk/ui/output/ui/src/test/java/org/richfaces/component/UIPanelMenuTest.java
===================================================================
---
trunk/ui/output/ui/src/test/java/org/richfaces/component/UIPanelMenuTest.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/java/org/richfaces/component/UIPanelMenuTest.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-
-package org.richfaces.component;
-
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-import javax.faces.component.UIComponent;
-import java.util.List;
-
-/**
- * @author akolonitsky
- * @since 2010-10-25
- */
-public class UIPanelMenuTest {
-
- private UIPanelMenu panelMenu;
-
- @Before
- public void setUp () {
- panelMenu = new UIPanelMenu();
- }
-
- @Test
- public void testSomething() {
- Assert.assertNotNull(panelMenu);
- }
-}
-
Deleted:
trunk/ui/output/ui/src/test/java/org/richfaces/component/UITogglePanelTitledItemTest.java
===================================================================
---
trunk/ui/output/ui/src/test/java/org/richfaces/component/UITogglePanelTitledItemTest.java 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/java/org/richfaces/component/UITogglePanelTitledItemTest.java 2011-01-18
15:12:23 UTC (rev 21056)
@@ -1,50 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.richfaces.component;
-
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-import javax.faces.component.UIComponent;
-import java.util.List;
-
-/**
- * @author akolonitsky
- * @since 2010-08-24
- */
-public class UITogglePanelTitledItemTest {
-
- private UITogglePanelTitledItem togglePanelTitledItem;
-
- @Before
- public void setUp () {
- togglePanelTitledItem = new UITogglePanelTitledItem();
- }
-
- @Test
- public void testSomething() {
- Assert.assertNotNull(togglePanelTitledItem);
- }
-}
-
Modified:
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/accordionItem.xhtml
===================================================================
---
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/accordionItem.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/accordionItem.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -28,8 +28,8 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
-
xmlns:rich="http://richfaces.org/rich">
+
xmlns:pn="http://richfaces.org/output"
+ >
<h:head>
<title>Richfaces MenuItem Test</title>
Modified:
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/collapsiblePanel.xhtml
===================================================================
---
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/collapsiblePanel.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/collapsiblePanel.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -28,7 +28,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
+
xmlns:pn="http://richfaces.org/output"
xmlns:rich="http://richfaces.org/rich">
<h:head>
Modified:
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenu-icons-inheritance.xhtml
===================================================================
---
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenu-icons-inheritance.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenu-icons-inheritance.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -28,7 +28,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
+
xmlns:pn="http://richfaces.org/output"
xmlns:rich="http://richfaces.org/rich">
<h:head>
Modified:
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenu.xhtml
===================================================================
---
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenu.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenu.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -28,7 +28,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
+
xmlns:pn="http://richfaces.org/output"
xmlns:rich="http://richfaces.org/rich">
<h:head>
Modified:
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuGroup-expanded.xhtml
===================================================================
---
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuGroup-expanded.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuGroup-expanded.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -28,7 +28,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
+
xmlns:pn="http://richfaces.org/output"
xmlns:rich="http://richfaces.org/rich">
<h:head>
Modified:
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuGroup-topGroup.xhtml
===================================================================
---
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuGroup-topGroup.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuGroup-topGroup.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -28,7 +28,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
+
xmlns:pn="http://richfaces.org/output"
xmlns:rich="http://richfaces.org/rich">
<h:head>
Modified:
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuGroup.xhtml
===================================================================
---
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuGroup.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuGroup.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -28,7 +28,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
+
xmlns:pn="http://richfaces.org/output"
xmlns:rich="http://richfaces.org/rich">
<h:head>
Modified:
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuItem.xhtml
===================================================================
---
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuItem.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/panelMenuItem.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -28,7 +28,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
+
xmlns:pn="http://richfaces.org/output"
xmlns:rich="http://richfaces.org/rich">
<h:head>
Modified:
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/tooltip.xhtml
===================================================================
---
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/tooltip.xhtml 2011-01-18
14:48:02 UTC (rev 21055)
+++
trunk/ui/output/ui/src/test/resources/org/richfaces/renderkit/html/tooltip.xhtml 2011-01-18
15:12:23 UTC (rev 21056)
@@ -28,7 +28,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/pn"
+
xmlns:pn="http://richfaces.org/output"
xmlns:rich="http://richfaces.org/rich">
<h:head>