JBoss Rich Faces SVN: r6678 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel/examples.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-11 07:16:23 -0400 (Tue, 11 Mar 2008)
New Revision: 6678
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel/examples/simplePanel.xhtml
Log:
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel/examples/simplePanel.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel/examples/simplePanel.xhtml 2008-03-11 10:56:25 UTC (rev 6677)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/modalPanel/examples/simplePanel.xhtml 2008-03-11 11:16:23 UTC (rev 6678)
@@ -19,7 +19,7 @@
<h:outputText value="Modal Panel Title" />
</f:facet>
<f:facet name="controls">
- </f:facet>
+ </f:facet>
<p>Any JSF content might be inside the panel. In case of using
Facelets or JSF 1.2, it might be any mixed content.</p>
@@ -29,10 +29,5 @@
on <i>Richfaces</i> object. The following code
<a href="javascript:Richfaces.hideModalPanel('mp')">hide this panel</a>:
Richfaces.hideModalPanel('mp')</p>
- <h:form>
- </h:form>
</rich:modalPanel>
- <h:form>
- <a4j:commandButton value="close via request" oncomplete="alert('1');"/>
-</h:form>
</ui:composition>
\ No newline at end of file
16 years, 10 months
JBoss Rich Faces SVN: r6677 - trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-03-11 06:56:25 -0400 (Tue, 11 Mar 2008)
New Revision: 6677
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js
Log:
list may open up
Modified: trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js
===================================================================
--- trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js 2008-03-11 09:45:38 UTC (rev 6676)
+++ trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js 2008-03-11 10:56:25 UTC (rev 6677)
@@ -15,13 +15,13 @@
var listHeight = parseInt(this.list.style.height) + Richfaces.getBorderWidth(this.list.parentNode, "tb");
//var top = 0 ;//= -4;
- /*var top = comBottom;
+ //var top = comBottom;
if (parseInt(listHeight) > (docHeight - comBottom)) {
if (fieldTop > (docHeight - comBottom)) {
- top = fieldTop - parseInt(listHeight);
+ top = 0 - parseInt(listHeight);
//var upPos = true;
}
- }*/
+ }
this.listParent.style.top = top + "px";
this.listParent.style.left = 0 + "px";
16 years, 10 months
JBoss Rich Faces SVN: r6676 - in trunk/ui: componentControl/src/main/config/component and 22 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-11 05:45:38 -0400 (Tue, 11 Mar 2008)
New Revision: 6676
Modified:
trunk/ui/combobox/src/main/config/component/combobox.xml
trunk/ui/componentControl/src/main/config/component/componentControl.xml
trunk/ui/dataFilterSlider/src/main/config/component/dataFilterSlider.xml
trunk/ui/datascroller/src/main/config/component/commonDataScrollerListeners.ent
trunk/ui/datascroller/src/main/config/component/datascroller.xml
trunk/ui/gmap/src/main/config/component/gmap.xml
trunk/ui/inplaceInput/src/main/config/component/inplaceinput.xml
trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
trunk/ui/inputnumber-slider/src/main/config/component/inputNumberSlider.xml
trunk/ui/insert/src/main/config/component/insert.xml
trunk/ui/jQuery/src/main/config/component/jQuery.xml
trunk/ui/listShuttle/src/main/config/component/listShuttle.xml
trunk/ui/menu-components/src/main/config/component/menucomponents.xml
trunk/ui/modal-panel/src/main/config/component/modalPanel.xml
trunk/ui/paint2D/src/main/config/component/paint2D.xml
trunk/ui/panelmenu/src/main/config/component/panelMenu.xml
trunk/ui/pickList/src/main/config/component/picklist.xml
trunk/ui/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml
trunk/ui/spacer/src/main/config/component/spacer.xml
trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml
trunk/ui/tabPanel/src/main/config/component/tabPanel.xml
trunk/ui/toolBar/src/main/config/component/toolBar.xml
trunk/ui/tree/src/main/config/component/tree.xml
trunk/ui/tree/src/main/config/component/treeNode.xml
trunk/ui/treeModel/src/main/config/component/recursiveTreeNodesAdaptor.xml
trunk/ui/treeModel/src/main/config/component/treeNodesAdaptor.xml
trunk/ui/virtualEarth/src/main/config/component/virtualEarth.xml
Log:
added more tag tests
Modified: trunk/ui/combobox/src/main/config/component/combobox.xml
===================================================================
--- trunk/ui/combobox/src/main/config/component/combobox.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/combobox/src/main/config/component/combobox.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -26,6 +26,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<properties>
<property>
Modified: trunk/ui/componentControl/src/main/config/component/componentControl.xml
===================================================================
--- trunk/ui/componentControl/src/main/config/component/componentControl.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/componentControl/src/main/config/component/componentControl.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -24,6 +24,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<!--
<taghandler>
Modified: trunk/ui/dataFilterSlider/src/main/config/component/dataFilterSlider.xml
===================================================================
--- trunk/ui/dataFilterSlider/src/main/config/component/dataFilterSlider.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/dataFilterSlider/src/main/config/component/dataFilterSlider.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -10,6 +10,7 @@
<family>org.richfaces.DataFilterSlider</family>
<classname>org.richfaces.component.html.HtmlDataFilterSlider</classname>
<superclass>org.richfaces.component.UIDataFltrSlider</superclass>
+ <!--test/-->
<description>
<![CDATA[A slider-based action component used for filtering table data.
]]>
@@ -24,10 +25,12 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<taghandler generate="true">
<classname>org.richfaces.taglib.DataFilterSliderTagHandler</classname>
<superclass>com.sun.facelets.tag.jsf.ComponentHandler</superclass>
+ <!--test/-->
</taghandler>
&ui_component_attributes;
Modified: trunk/ui/datascroller/src/main/config/component/commonDataScrollerListeners.ent
===================================================================
--- trunk/ui/datascroller/src/main/config/component/commonDataScrollerListeners.ent 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/datascroller/src/main/config/component/commonDataScrollerListeners.ent 2008-03-11 09:45:38 UTC (rev 6676)
@@ -9,9 +9,11 @@
<eventclass>
org.richfaces.event.DataScrollerEvent
</eventclass>
+ <!--test/-->
<taghandler generate="true">
<classname>
org.richfaces.taglib.DataScrollerListenerTagHandler
</classname>
+ <!--test/-->
</taghandler>
</listener>
\ No newline at end of file
Modified: trunk/ui/datascroller/src/main/config/component/datascroller.xml
===================================================================
--- trunk/ui/datascroller/src/main/config/component/datascroller.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/datascroller/src/main/config/component/datascroller.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -33,6 +33,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<taghandler generate="true">
Modified: trunk/ui/gmap/src/main/config/component/gmap.xml
===================================================================
--- trunk/ui/gmap/src/main/config/component/gmap.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/gmap/src/main/config/component/gmap.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -22,6 +22,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
&ui_component_attributes;
&html_events;
Modified: trunk/ui/inplaceInput/src/main/config/component/inplaceinput.xml
===================================================================
--- trunk/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -26,6 +26,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<properties>
<property>
Modified: trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
===================================================================
--- trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -26,6 +26,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<properties>
<property>
Modified: trunk/ui/inputnumber-slider/src/main/config/component/inputNumberSlider.xml
===================================================================
--- trunk/ui/inputnumber-slider/src/main/config/component/inputNumberSlider.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/inputnumber-slider/src/main/config/component/inputNumberSlider.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -35,6 +35,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<!--
<taghandler>
Modified: trunk/ui/insert/src/main/config/component/insert.xml
===================================================================
--- trunk/ui/insert/src/main/config/component/insert.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/insert/src/main/config/component/insert.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -6,6 +6,7 @@
<family>org.richfaces.ui.Insert</family>
<classname>org.richfaces.ui.component.html.HtmlInsert</classname>
<superclass>org.richfaces.ui.component.UIInsert</superclass>
+ <test/>
<description>
<![CDATA[
]]>
@@ -20,6 +21,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<!--
<taghandler>
Modified: trunk/ui/jQuery/src/main/config/component/jQuery.xml
===================================================================
--- trunk/ui/jQuery/src/main/config/component/jQuery.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/jQuery/src/main/config/component/jQuery.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -6,6 +6,7 @@
<family>org.richfaces.JQuery</family>
<classname>org.richfaces.component.html.HtmlJQuery</classname>
<superclass>org.richfaces.component.UIJQuery</superclass>
+ <test/>
<description>
<![CDATA[
It presents the google map in JSF applications
@@ -22,6 +23,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
&ui_component_attributes;
Modified: trunk/ui/listShuttle/src/main/config/component/listShuttle.xml
===================================================================
--- trunk/ui/listShuttle/src/main/config/component/listShuttle.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/listShuttle/src/main/config/component/listShuttle.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -24,6 +24,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
&ui_input_attributes;
Modified: trunk/ui/menu-components/src/main/config/component/menucomponents.xml
===================================================================
--- trunk/ui/menu-components/src/main/config/component/menucomponents.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/menu-components/src/main/config/component/menucomponents.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -186,6 +186,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<!-- Standart component attributes -->
@@ -320,6 +321,7 @@
<classname>org.richfaces.taglib.MenuSeparatorTag</classname>
<superclass>
org.ajax4jsf.webapp.taglib.UIComponentTagBase</superclass>
+ <test/>
</tag>
&ui_component_attributes;
Modified: trunk/ui/modal-panel/src/main/config/component/modalPanel.xml
===================================================================
--- trunk/ui/modal-panel/src/main/config/component/modalPanel.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/modal-panel/src/main/config/component/modalPanel.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -22,6 +22,7 @@
<name>modalPanel</name>
<classname>org.richfaces.taglib.ModalPanelTag</classname>
<superclass> org.ajax4jsf.webapp.taglib.HtmlComponentTagBase </superclass>
+ <test/>
</tag>
&ui_component_attributes;
Modified: trunk/ui/paint2D/src/main/config/component/paint2D.xml
===================================================================
--- trunk/ui/paint2D/src/main/config/component/paint2D.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/paint2D/src/main/config/component/paint2D.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -27,6 +27,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<taghandler generate="true">
<classname>org.richfaces.taglib.Paint2DTagHandler</classname>
Modified: trunk/ui/panelmenu/src/main/config/component/panelMenu.xml
===================================================================
--- trunk/ui/panelmenu/src/main/config/component/panelMenu.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/panelmenu/src/main/config/component/panelMenu.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -4,14 +4,15 @@
<component>
<name>org.richfaces.PanelMenu</name>
<family>org.richfaces.PanelMenu</family>
- <test>
- <classname>org.richfaces.component.html.HtmlPanelMenuComponentTest</classname>
- <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
- </test>
<description>Defines the menu on the page and the set of the child elements properties in
layout.</description>
<superclass>org.richfaces.component.UIPanelMenu</superclass>
- <classname>org.richfaces.component.html.HtmlPanelMenu</classname>
+ <classname>org.richfaces.component.html.HtmlPanelMenu</classname>
+ <test>
+ <classname>org.richfaces.component.html.HtmlPanelMenuComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
+
<renderer generate="true" override="true">
<name>org.richfaces.PanelMenuRenderer</name>
<template>org/richfaces/htmlPanelMenu.jspx</template>
@@ -19,7 +20,8 @@
<tag>
<name>panelMenu</name>
<classname>org.richfaces.taglib.PanelMenuTag</classname>
- <superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
+ <superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
+ <test/>
</tag>
<property hidden="true">
@@ -370,13 +372,13 @@
<component>
<name>org.richfaces.PanelMenuGroup</name>
<family>org.richfaces.PanelMenuGroup</family>
- <test>
- <classname>org.richfaces.component.html.HtmlPanelMenuGroupComponentTest</classname>
- <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
- </test>
<description>Defines expandable group of items inside the panel menu or other group.</description>
<superclass>org.richfaces.component.UIPanelMenuGroup</superclass>
<classname>org.richfaces.component.html.HtmlPanelMenuGroup</classname>
+ <test>
+ <classname>org.richfaces.component.html.HtmlPanelMenuGroupComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<renderer generate="true" override="true">
<name>org.richfaces.PanelMenuGroupRenderer</name>
<template>org/richfaces/htmlPanelMenuGroup.jspx</template>
@@ -384,7 +386,8 @@
<tag>
<name>panelMenuGroup</name>
<classname>org.richfaces.taglib.PanelMenuGroupTag</classname>
- <superclass>org.richfaces.taglib.PanelMenuGroupTagBase</superclass>
+ <superclass>org.richfaces.taglib.PanelMenuGroupTagBase</superclass>
+ <test/>
</tag>
<taghandler generate="true">
@@ -558,13 +561,13 @@
<component>
<name>org.richfaces.PanelMenuItem</name>
<family>org.richfaces.PanelMenuItem</family>
- <test>
- <classname>org.richfaces.component.html.HtmlPanelMenuItemComponentTest</classname>
- <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
- </test>
<description>Defines single Item inside popup list.</description>
<superclass>org.richfaces.component.UIPanelMenuItem</superclass>
<classname>org.richfaces.component.html.HtmlPanelMenuItem</classname>
+ <test>
+ <classname>org.richfaces.component.html.HtmlPanelMenuItemComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<renderer generate="true" override="true">
<name>org.richfaces.PanelMenuItemRenderer</name>
<template>org/richfaces/htmlPanelMenuItem.jspx</template>
@@ -572,7 +575,8 @@
<tag>
<name>panelMenuItem</name>
<classname>org.richfaces.taglib.PanelMenuItemTag</classname>
- <superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
+ <superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
+ <test/>
</tag>
<property>
<name>mode</name>
Modified: trunk/ui/pickList/src/main/config/component/picklist.xml
===================================================================
--- trunk/ui/pickList/src/main/config/component/picklist.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/pickList/src/main/config/component/picklist.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -26,6 +26,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<properties>
Modified: trunk/ui/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml
===================================================================
--- trunk/ui/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -25,6 +25,7 @@
<superclass>
org.richfaces.taglib.SimpleTogglePanelTagBase
</superclass>
+ <test/>
</tag>
<taghandler generate="true">
<classname>org.richfaces.taglib.SimpleTogglePanelTagHandler</classname>
Modified: trunk/ui/spacer/src/main/config/component/spacer.xml
===================================================================
--- trunk/ui/spacer/src/main/config/component/spacer.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/spacer/src/main/config/component/spacer.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -26,6 +26,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
&ui_component_attributes;
Modified: trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml
===================================================================
--- trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -38,6 +38,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<taghandler>
Modified: trunk/ui/tabPanel/src/main/config/component/tabPanel.xml
===================================================================
--- trunk/ui/tabPanel/src/main/config/component/tabPanel.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/tabPanel/src/main/config/component/tabPanel.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -25,6 +25,7 @@
<name>tabPanel</name>
<classname>org.richfaces.taglib.TabPanelTag</classname>
<superclass>org.richfaces.taglib.TabPanelTagBase</superclass>
+ <test/>
</tag>
<taghandler generate="true">
<classname>org.richfaces.taglib.TabPanelTagHandler</classname>
@@ -178,6 +179,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
&html_style_attributes;
Modified: trunk/ui/toolBar/src/main/config/component/toolBar.xml
===================================================================
--- trunk/ui/toolBar/src/main/config/component/toolBar.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/toolBar/src/main/config/component/toolBar.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -24,6 +24,7 @@
<name>toolBar</name>
<classname>org.richfaces.taglib.ToolBarTag</classname>
<superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
+ <test/>
<description>
<![CDATA[A horizontal bar with items on it.
If you want to use it as a standard top tool bar, point to each item with a ch:menu "for" attribute
@@ -119,6 +120,7 @@
<name>toolBarGroup</name>
<classname>org.richfaces.taglib.ToolBarGroupTag</classname>
<superclass>org.ajax4jsf.webapp.taglib.UIComponentTagBase</superclass>
+ <test/>
</tag>
<property>
Modified: trunk/ui/tree/src/main/config/component/tree.xml
===================================================================
--- trunk/ui/tree/src/main/config/component/tree.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/tree/src/main/config/component/tree.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -31,6 +31,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<taghandler generate="true">
<classname>org.richfaces.taglib.TreeTagHandler</classname>
Modified: trunk/ui/tree/src/main/config/component/treeNode.xml
===================================================================
--- trunk/ui/tree/src/main/config/component/treeNode.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/tree/src/main/config/component/treeNode.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -31,6 +31,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<taghandler generate="true">
<classname>
Modified: trunk/ui/treeModel/src/main/config/component/recursiveTreeNodesAdaptor.xml
===================================================================
--- trunk/ui/treeModel/src/main/config/component/recursiveTreeNodesAdaptor.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/treeModel/src/main/config/component/recursiveTreeNodesAdaptor.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -20,6 +20,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<!--
<taghandler>
Modified: trunk/ui/treeModel/src/main/config/component/treeNodesAdaptor.xml
===================================================================
--- trunk/ui/treeModel/src/main/config/component/treeNodesAdaptor.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/treeModel/src/main/config/component/treeNodesAdaptor.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -20,6 +20,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<!--
<taghandler>
Modified: trunk/ui/virtualEarth/src/main/config/component/virtualEarth.xml
===================================================================
--- trunk/ui/virtualEarth/src/main/config/component/virtualEarth.xml 2008-03-11 09:26:28 UTC (rev 6675)
+++ trunk/ui/virtualEarth/src/main/config/component/virtualEarth.xml 2008-03-11 09:45:38 UTC (rev 6676)
@@ -22,6 +22,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
&ui_component_attributes;
&html_events;
16 years, 10 months
JBoss Rich Faces SVN: r6675 - trunk/samples/tooltip-sample/src/main/webapp/pages.
by richfaces-svn-commits@lists.jboss.org
Author: vbaranov
Date: 2008-03-11 05:26:28 -0400 (Tue, 11 Mar 2008)
New Revision: 6675
Modified:
trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp
Log:
Update test for http://jira.jboss.com/jira/browse/RF-2051
Modified: trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp 2008-03-11 09:26:02 UTC (rev 6674)
+++ trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp 2008-03-11 09:26:28 UTC (rev 6675)
@@ -12,7 +12,7 @@
.abs_div {
position: absolute;
top: 250px;
- left: 100px;
+ left: 200px;
width: 200px;
height: 200px;
overflow: auto;
@@ -40,7 +40,7 @@
<h:commandLink action="#{skinBean.change}" value="set skin" />
<f:verbatim>
<br/><br/>
- <div style="position:relative;top:100px;left:100px;">
+ <div style="position:relative;top:100px;left:200px;">
</f:verbatim>
<h:commandButton value="Tooltip with followMouse mode" id="btn">
<rich:toolTip id="tt" followMouse="true" direction="top-right" mode="ajax" value="#{bean.toolTipContent}" horizontalOffset="5" verticalOffset="5" layout="block">
@@ -88,7 +88,7 @@
<rich:toolTip id="controlledTooltip" followMouse="false" direction="top-right" value="#{bean.toolTipContent}" horizontalOffset="5" verticalOffset="5" layout="inline">
</rich:toolTip>
</h:outputText>
-
+
<f:verbatim>
<br />
<span id="controlInput">
@@ -114,6 +114,32 @@
<h:outputText value="Tooltip 2" />
</rich:toolTip>
</h:inputText>
+
+ <f:verbatim>
+ <br /><br />
+ </f:verbatim>
+
+ <h:outputText id="rf_2051_text1" value="Text with tooltip">
+ <rich:toolTip id="rf_2051_controlledTooltip" followMouse="false" direction="top-right"
+ attached="false" value="#{bean.toolTipContent}" horizontalOffset="5"
+ verticalOffset="5" layout="inline">
+ </rich:toolTip>
+ </h:outputText>
+
+ <f:verbatim>
+ <br /><br />
+ </f:verbatim>
+
+ <h:outputText id="rf_2051_text2" value="Another text with tooltip">
+ </h:outputText>
+
+ <f:verbatim>
+ <br /><br />
+ <span id="rf_2051_controlInput">Mouse down here</span>
+ </f:verbatim>
+
+ <cc:componentControl event="mouseover" operation="show" for="rf_2051_controlledTooltip" attachTo="rf_2051_text2" />
+ <cc:componentControl event="mouseout" operation="hide" for="rf_2051_controlledTooltip" attachTo="rf_2051_text2" />
</h:form>
<h:panelGroup style="width: 1000px; height: 10px;" layout="block"></h:panelGroup>
</f:view>
16 years, 10 months
JBoss Rich Faces SVN: r6674 - in trunk/ui/tooltip/src/main: java/org/richfaces/component and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: vbaranov
Date: 2008-03-11 05:26:02 -0400 (Tue, 11 Mar 2008)
New Revision: 6674
Modified:
trunk/ui/tooltip/src/main/config/component/toolTip.xml
trunk/ui/tooltip/src/main/java/org/richfaces/component/UIToolTip.java
trunk/ui/tooltip/src/main/java/org/richfaces/renderkit/html/ToolTipRenderer.java
Log:
http://jira.jboss.com/jira/browse/RF-2051
Modified: trunk/ui/tooltip/src/main/config/component/toolTip.xml
===================================================================
--- trunk/ui/tooltip/src/main/config/component/toolTip.xml 2008-03-11 08:51:07 UTC (rev 6673)
+++ trunk/ui/tooltip/src/main/config/component/toolTip.xml 2008-03-11 09:26:02 UTC (rev 6674)
@@ -190,7 +190,16 @@
<classname>java.lang.String</classname>
<description>Event that triggers the tooltip disappearance</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
+ </property>
+ <property>
+ <name>attached</name>
+ <classname>boolean</classname>
+ <description>
+ If the value of the "attached" attribute is true, component is attached to parent component;
+ if false - component does not listen to activating browser events, but should be activated externally
+ </description>
+ <defaultvalue>true</defaultvalue>
+ </property>
</component>
<renderer generate="true">
<template>org/richfaces/htmltooltipblock.jspx</template>
Modified: trunk/ui/tooltip/src/main/java/org/richfaces/component/UIToolTip.java
===================================================================
--- trunk/ui/tooltip/src/main/java/org/richfaces/component/UIToolTip.java 2008-03-11 08:51:07 UTC (rev 6673)
+++ trunk/ui/tooltip/src/main/java/org/richfaces/component/UIToolTip.java 2008-03-11 09:26:02 UTC (rev 6674)
@@ -117,7 +117,10 @@
public abstract void setHideEvent(String hideEvent);
-
+ public abstract boolean isAttached();
+
+ public abstract void setAttached(boolean attached);
+
public String getUsedElementType(){
return getLayout().equals("block") ? "div" : "span";
}
Modified: trunk/ui/tooltip/src/main/java/org/richfaces/renderkit/html/ToolTipRenderer.java
===================================================================
--- trunk/ui/tooltip/src/main/java/org/richfaces/renderkit/html/ToolTipRenderer.java 2008-03-11 08:51:07 UTC (rev 6673)
+++ trunk/ui/tooltip/src/main/java/org/richfaces/renderkit/html/ToolTipRenderer.java 2008-03-11 09:26:02 UTC (rev 6674)
@@ -136,8 +136,8 @@
}
- public Map buildEventOptions(FacesContext context, UIComponent component, String targetId){
- Map eventOptions = AjaxRendererUtils.buildEventOptions(context, component);
+ public Map<String, Object> buildEventOptions(FacesContext context, UIComponent component, String targetId){
+ Map<String, Object> eventOptions = AjaxRendererUtils.buildEventOptions(context, component);
String jsVarName = "_toolTip";
//after element is subsituted in DOM tree, we have to re-create
@@ -232,18 +232,18 @@
StringBuffer ret = new StringBuffer();
String comma = ",";
String quot = "\"";
- String eventS = toolTip.getShowEvent();
- String eventH = toolTip.getHideEvent();
- if(eventS.startsWith("on")){
- eventS = eventS.substring(2);
+ String eventShow = (toolTip.isAttached()) ? toolTip.getShowEvent() : "";
+ String eventHide = (toolTip.isAttached()) ? toolTip.getHideEvent() : "";
+ if(eventShow.startsWith("on")){
+ eventShow = eventShow.substring(2);
}
- if(eventH.startsWith("on")){
- eventH = eventH.substring(2);
+ if(eventHide.startsWith("on")){
+ eventHide = eventHide.substring(2);
}
- Map eventsMap = new HashMap();
- eventsMap.put(new JSReference("showEvent"), eventS);
- eventsMap.put(new JSReference("hideEvent"), eventH);
+ Map<JSReference, Object> eventsMap = new HashMap<JSReference, Object>();
+ eventsMap.put(new JSReference("showEvent"), eventShow);
+ eventsMap.put(new JSReference("hideEvent"), eventHide);
eventsMap.put(new JSReference("delay"), new Integer(toolTip.getShowDelay()));
eventsMap.put(new JSReference("hideDelay"), new Integer(toolTip.getHideDelay()));
@@ -252,12 +252,12 @@
function.addParameter(ref);
String ajaxFunc = function.toScript();
- Map ajaxOptions = buildEventOptions(context, toolTip, targetClientId);
- JSFunctionDefinition completeFunc = getUtils().getAsEventHandler(context, component, "oncoplete", "; return true;");
+ Map<String, Object> ajaxOptions = buildEventOptions(context, toolTip, targetClientId);
+ JSFunctionDefinition completeFunc = getUtils().getAsEventHandler(context, component, "oncomplete", "; return true;");
JSFunctionDefinition hideFunc = getUtils().getAsEventHandler(context, component,"onhide", "; return true;");
JSFunctionDefinition showFunc = getUtils().getAsEventHandler(context, component,"onshow", "; return true;");
- Map funcMap = new HashMap();
+ Map<JSReference, Object> funcMap = new HashMap<JSReference, Object>();
funcMap.put(new JSReference("oncomplete"), completeFunc);
funcMap.put(new JSReference("onhide"), hideFunc);
funcMap.put(new JSReference("onshow"), showFunc);
16 years, 10 months
JBoss Rich Faces SVN: r6673 - trunk/ui/togglePanel/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-11 04:51:07 -0400 (Tue, 11 Mar 2008)
New Revision: 6673
Modified:
trunk/ui/togglePanel/src/main/config/component/togglePanel.xml
Log:
provided test generation for all component tagz
Modified: trunk/ui/togglePanel/src/main/config/component/togglePanel.xml
===================================================================
--- trunk/ui/togglePanel/src/main/config/component/togglePanel.xml 2008-03-11 08:45:04 UTC (rev 6672)
+++ trunk/ui/togglePanel/src/main/config/component/togglePanel.xml 2008-03-11 08:51:07 UTC (rev 6673)
@@ -31,6 +31,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
<description>
<![CDATA[A wrapper component with named facets. Every facet is shown after activation corresponding toggleControl(the other is hidden).
]]>
@@ -153,6 +154,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.UIComponentTagBase
</superclass>
+ <test/>
<description>
<![CDATA[A link type control for switching betwen togglePanel's facets. The Target Panel is specified with the "for" attribute. It can be located even inside or outside the togglePanel.
As the result of switching between facets, the previous facet is hidden and the next is shown.
16 years, 10 months
JBoss Rich Faces SVN: r6672 - trunk/ui/panelbar/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-11 04:45:04 -0400 (Tue, 11 Mar 2008)
New Revision: 6672
Modified:
trunk/ui/panelbar/src/main/config/component/panelbar.xml
Log:
provided test generation for all component tagz
Modified: trunk/ui/panelbar/src/main/config/component/panelbar.xml
===================================================================
--- trunk/ui/panelbar/src/main/config/component/panelbar.xml 2008-03-11 08:37:53 UTC (rev 6671)
+++ trunk/ui/panelbar/src/main/config/component/panelbar.xml 2008-03-11 08:45:04 UTC (rev 6672)
@@ -28,6 +28,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<property>
<name>converterMessage</name>
16 years, 10 months
JBoss Rich Faces SVN: r6671 - in trunk/ui/contextMenu: src/main/config/component and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-11 04:37:53 -0400 (Tue, 11 Mar 2008)
New Revision: 6671
Modified:
trunk/ui/contextMenu/pom.xml
trunk/ui/contextMenu/src/main/config/component/contextMenu.xml
Log:
provided test generation for all component tagz
Modified: trunk/ui/contextMenu/pom.xml
===================================================================
--- trunk/ui/contextMenu/pom.xml 2008-03-11 08:27:48 UTC (rev 6670)
+++ trunk/ui/contextMenu/pom.xml 2008-03-11 08:37:53 UTC (rev 6671)
@@ -1,55 +1,63 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>ui</artifactId>
- <groupId>org.richfaces</groupId>
- <version>3.2.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.ui</groupId>
- <artifactId>contextMenu</artifactId>
- <name>contextMenu</name>
- <version>3.2.0-SNAPSHOT</version>
- <build>
- <plugins>
- <plugin>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>maven-cdk-plugin</artifactId>
- <version>3.2.0-SNAPSHOT</version>
- <executions>
- <execution>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <library>
- <prefix>org.richfaces</prefix>
- <taglib>
- <shortName>contextMenu</shortName>
- </taglib>
- </library>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.richfaces.framework</groupId>
- <artifactId>richfaces-impl</artifactId>
- <version>3.2.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.richfaces.ui</groupId>
- <artifactId>menu-components</artifactId>
- <version>3.2.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>ui</artifactId>
+ <groupId>org.richfaces</groupId>
+ <version>3.2.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>contextMenu</artifactId>
+ <name>contextMenu</name>
+ <version>3.2.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>maven-cdk-plugin</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>generate-test-sources</id>
+ <phase>generate-test-sources</phase>
+ <goals>
+ <goal>generate-tests</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <library>
+ <prefix>org.richfaces</prefix>
+ <taglib>
+ <shortName>contextMenu</shortName>
+ </taglib>
+ </library>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.framework</groupId>
+ <artifactId>richfaces-impl</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>menu-components</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
</project>
\ No newline at end of file
Modified: trunk/ui/contextMenu/src/main/config/component/contextMenu.xml
===================================================================
--- trunk/ui/contextMenu/src/main/config/component/contextMenu.xml 2008-03-11 08:27:48 UTC (rev 6670)
+++ trunk/ui/contextMenu/src/main/config/component/contextMenu.xml 2008-03-11 08:37:53 UTC (rev 6671)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN" "https://ajax4jsf.dev.java.net/nonav/dtds/component-config.dtd" >
<components>
<component>
@@ -6,6 +6,7 @@
<family>org.richfaces.ContextMenu</family>
<classname>org.richfaces.component.html.ContextMenu</classname>
<superclass>org.richfaces.component.UIContextMenu</superclass>
+ <test/>
<description>
<![CDATA[ ]]>
</description>
16 years, 10 months
JBoss Rich Faces SVN: r6670 - trunk/ui/drag-drop/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-11 04:27:48 -0400 (Tue, 11 Mar 2008)
New Revision: 6670
Modified:
trunk/ui/drag-drop/src/main/config/component/dndParam.xml
trunk/ui/drag-drop/src/main/config/component/dragIndicator.xml
trunk/ui/drag-drop/src/main/config/component/dragSupport.xml
trunk/ui/drag-drop/src/main/config/component/dropSupport.xml
Log:
provided test generation for all component tagz
Modified: trunk/ui/drag-drop/src/main/config/component/dndParam.xml
===================================================================
--- trunk/ui/drag-drop/src/main/config/component/dndParam.xml 2008-03-11 08:21:43 UTC (rev 6669)
+++ trunk/ui/drag-drop/src/main/config/component/dndParam.xml 2008-03-11 08:27:48 UTC (rev 6670)
@@ -22,6 +22,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<!--
<taghandler>
Modified: trunk/ui/drag-drop/src/main/config/component/dragIndicator.xml
===================================================================
--- trunk/ui/drag-drop/src/main/config/component/dragIndicator.xml 2008-03-11 08:21:43 UTC (rev 6669)
+++ trunk/ui/drag-drop/src/main/config/component/dragIndicator.xml 2008-03-11 08:27:48 UTC (rev 6670)
@@ -24,6 +24,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
<!--
<taghandler>
Modified: trunk/ui/drag-drop/src/main/config/component/dragSupport.xml
===================================================================
--- trunk/ui/drag-drop/src/main/config/component/dragSupport.xml 2008-03-11 08:21:43 UTC (rev 6669)
+++ trunk/ui/drag-drop/src/main/config/component/dragSupport.xml 2008-03-11 08:27:48 UTC (rev 6670)
@@ -19,10 +19,10 @@
<classname>org.richfaces.renderkit.html.DragSupportRenderer</classname>
</renderer>
<tag>
- <test />
<name>dragSupport</name>
<classname>org.richfaces.taglib.DragSupportTag</classname>
<superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
+ <test />
</tag>
<taghandler>
<classname>org.richfaces.taglib.DragSupportHandler</classname>
Modified: trunk/ui/drag-drop/src/main/config/component/dropSupport.xml
===================================================================
--- trunk/ui/drag-drop/src/main/config/component/dropSupport.xml 2008-03-11 08:21:43 UTC (rev 6669)
+++ trunk/ui/drag-drop/src/main/config/component/dropSupport.xml 2008-03-11 08:27:48 UTC (rev 6670)
@@ -20,10 +20,10 @@
<classname>org.richfaces.renderkit.html.DropSupportRenderer</classname>
</renderer>
<tag>
- <test />
<name>dropSupport</name>
<classname>org.richfaces.taglib.DropSupportTag</classname>
<superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
+ <test />
</tag>
<taghandler>
<classname>org.richfaces.taglib.DropSupportHandler</classname>
16 years, 10 months
JBoss Rich Faces SVN: r6669 - trunk/ui/effect/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-11 04:21:43 -0400 (Tue, 11 Mar 2008)
New Revision: 6669
Modified:
trunk/ui/effect/src/main/config/component/effect.xml
Log:
provided test generation for all component tagz
Modified: trunk/ui/effect/src/main/config/component/effect.xml
===================================================================
--- trunk/ui/effect/src/main/config/component/effect.xml 2008-03-10 21:16:19 UTC (rev 6668)
+++ trunk/ui/effect/src/main/config/component/effect.xml 2008-03-11 08:21:43 UTC (rev 6669)
@@ -22,6 +22,7 @@
<superclass>
org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
</superclass>
+ <test/>
</tag>
&ui_component_attributes;
<property>
16 years, 10 months