Author: sergeyhalipov
Date: 2008-03-31 11:24:00 -0400 (Mon, 31 Mar 2008)
New Revision: 7481
Modified:
trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp
trunk/ui/combobox/src/main/config/component/combobox.xml
trunk/ui/datascroller/src/main/config/component/datascroller.xml
trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
trunk/ui/tooltip/src/main/config/component/toolTip.xml
trunk/ui/tooltip/src/main/java/org/richfaces/component/UIToolTip.java
Log:
http://jira.jboss.com/jira/browse/RF-2880
Modified: trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp 2008-03-31 15:18:44 UTC
(rev 7480)
+++ trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp 2008-03-31 15:24:00 UTC
(rev 7481)
@@ -68,7 +68,15 @@
</div>
</f:verbatim>
<h:commandLink value="Simple Link" id="link">
- <rich:toolTip id="toolTipForLink" followMouse="false"
direction="top-right" mode="ajax"
value="#{bean.toolTipContent}" horizontalOffset="5"
verticalOffset="5" layout="block">
+ <rich:toolTip id="toolTipForLink"
+ followMouse="false"
+ direction="top-right"
+ mode="ajax"
+ value="#{bean.toolTipContent}"
+ horizontalOffset="5"
+ verticalOffset="5"
+ layout="block"
+ showEvent="oncontextmenu" >
<f:facet name="defaultContent"><f:verbatim>DEFAULT LINK
CONTENT</f:verbatim>
</f:facet>
<h:outputText id="outText"
value="#{bean.toolTipContent}"></h:outputText>
@@ -116,7 +124,7 @@
<f:verbatim><br /></f:verbatim>
<h:inputText id="input1">
- <rich:toolTip event="focus" direction="top-right"
horizontalOffset="20" verticalOffset="10">
+ <rich:toolTip showEvent="focus" direction="top-right"
horizontalOffset="20" verticalOffset="10">
<h:outputText value="Tooltip" />
</rich:toolTip>
</h:inputText>
@@ -124,7 +132,7 @@
<f:verbatim><br /></f:verbatim>
<h:inputText id="input2">
- <rich:toolTip event="onfocus" direction="top-right"
horizontalOffset="20" verticalOffset="10">
+ <rich:toolTip showEvent="onfocus" direction="top-right"
horizontalOffset="20" verticalOffset="10">
<h:outputText value="Tooltip 2" />
</rich:toolTip>
</h:inputText>
Modified: trunk/ui/combobox/src/main/config/component/combobox.xml
===================================================================
--- trunk/ui/combobox/src/main/config/component/combobox.xml 2008-03-31 15:18:44 UTC (rev
7480)
+++ trunk/ui/combobox/src/main/config/component/combobox.xml 2008-03-31 15:24:00 UTC (rev
7481)
@@ -263,14 +263,20 @@
replacing any message that comes from the validator
</description>
</property>
-
-
-
&html_input_attributes;
&html_input_events;
&html_events;
- &ui_input_attributes;
+ &ui_input_attributes;
+
+ <property hidden="true" existintag="false"
exist="false" >
+ <name>localValueSet</name>
+ <classname>java.lang.Object</classname>
+ </property>
+ <property hidden="true" existintag="false"
exist="false" >
+ <name>valid</name>
+ <classname>java.lang.Object</classname>
+ </property>
</properties>
</component>
</components>
Modified: trunk/ui/datascroller/src/main/config/component/datascroller.xml
===================================================================
--- trunk/ui/datascroller/src/main/config/component/datascroller.xml 2008-03-31 15:18:44
UTC (rev 7480)
+++ trunk/ui/datascroller/src/main/config/component/datascroller.xml 2008-03-31 15:24:00
UTC (rev 7481)
@@ -267,8 +267,14 @@
<property>
<name>onpagechange</name>
- <classname>java.lang.String</classname>
+ <classname>java.lang.String</classname>
<description>JavaScript handler for call after the page is
changed</description>
+ </property>
+
+ <property hidden="true" existintag="false"
exist="false" >
+ <name>firstRow</name>
+ <classname>java.lang.Object</classname>
+ </property>
</property>
</component>
Modified: trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
===================================================================
--- trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-03-31 15:18:44
UTC (rev 7480)
+++ trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-03-31 15:24:00
UTC (rev 7481)
@@ -216,7 +216,16 @@
</property>
&html_events;
&ui_component_attributes;
- &ui_input_attributes;
+ &ui_input_attributes;
+
+ <property hidden="true" existintag="false"
exist="false" >
+ <name>localValueSet</name>
+ <classname>java.lang.Object</classname>
+ </property>
+ <property hidden="true" existintag="false"
exist="false" >
+ <name>valid</name>
+ <classname>java.lang.Object</classname>
+ </property>
</properties>
</component>
Modified: trunk/ui/tooltip/src/main/config/component/toolTip.xml
===================================================================
--- trunk/ui/tooltip/src/main/config/component/toolTip.xml 2008-03-31 15:18:44 UTC (rev
7480)
+++ trunk/ui/tooltip/src/main/config/component/toolTip.xml 2008-03-31 15:24:00 UTC (rev
7481)
@@ -197,6 +197,11 @@
</description>
<defaultvalue>true</defaultvalue>
</property>
+
+ <property hidden="true" existintag="false"
exist="false" >
+ <name>event</name>
+ <classname>java.lang.Object</classname>
+ </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-31
15:18:44 UTC (rev 7480)
+++ trunk/ui/tooltip/src/main/java/org/richfaces/component/UIToolTip.java 2008-03-31
15:24:00 UTC (rev 7481)
@@ -25,10 +25,6 @@
public abstract void setLayout(String layout);
- public abstract String getEvent();
-
- public abstract void setEvent(String event);
-
public abstract String getMode();
public abstract void setMode(String mode);