JBoss Rich Faces SVN: r14453 - branches/community/3.3.X/ui/scrollableDataTable/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-03 11:15:44 -0400 (Wed, 03 Jun 2009)
New Revision: 14453
Modified:
branches/community/3.3.X/ui/scrollableDataTable/src/main/config/component/scrollable-data-table.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of event handlers descriptions;
Modified: branches/community/3.3.X/ui/scrollableDataTable/src/main/config/component/scrollable-data-table.xml
===================================================================
--- branches/community/3.3.X/ui/scrollableDataTable/src/main/config/component/scrollable-data-table.xml 2009-06-03 15:06:36 UTC (rev 14452)
+++ branches/community/3.3.X/ui/scrollableDataTable/src/main/config/component/scrollable-data-table.xml 2009-06-03 15:15:44 UTC (rev 14453)
@@ -139,7 +139,7 @@
<name>onselectionchange</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression to invoke on changing of rows selection
+ The client side script method to be called when a selected row is changed
</description>
</property>
@@ -170,7 +170,7 @@
<property>
<name>onRowClick</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer button is clicked on row
+ <description>The client-side script method to be called when the row is clicked
</description>
</property>
@@ -224,19 +224,19 @@
<property>
<name>onRowMouseDown</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; a pointer button is pressed down on row</description>
+ <description>The client-side script method to be called when a mouse button is pressed down over the row</description>
</property>
<property>
<name>onRowMouseUp</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; a pointer button is released on row</description>
+ <description>The client-side script method to be called when a mouse button is released over the row</description>
</property>
<property>
<name>onRowDblClick</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer button is double-clicked on row
+ <description>The client-side script method to be called when the row is double-clicked
</description>
</property>
16 years, 11 months
JBoss Rich Faces SVN: r14452 - in branches/community/3.3.X/docs: userguide/en/src/main/docbook/included and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2009-06-03 11:06:36 -0400 (Wed, 03 Jun 2009)
New Revision: 14452
Modified:
branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/uploadImages.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/comboBox.desc.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/comboBox.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/contextMenu.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/fileUpload.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/hotKey.desc.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jsFunction.desc.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jsFunction.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
Log:
https://jira.jboss.org/jira/browse/RF-7287
"client side" is replace with "client-side" everywhere in RF guides where the phrase is used as a complex adjective
"server side" is replace with "server-side" everywhere in RF guides where the phrase is used as a complex adjective
Modified: branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/uploadImages.xml
===================================================================
--- branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/uploadImages.xml 2009-06-03 12:30:46 UTC (rev 14451)
+++ branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/uploadImages.xml 2009-06-03 15:06:36 UTC (rev 14452)
@@ -19,7 +19,7 @@
<para>Definition of permitted file types in the "Open File" dialog window;</para>
</listitem>
<listitem>
- <para>A number of additional client side object properties.</para>
+ <para>A number of additional client-side object properties.</para>
</listitem>
</itemizedlist>
<para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/comboBox.desc.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/comboBox.desc.xml 2009-06-03 12:30:46 UTC (rev 14451)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/comboBox.desc.xml 2009-06-03 15:06:36 UTC (rev 14452)
@@ -24,7 +24,7 @@
<title>Key Features</title>
<itemizedlist>
<listitem>
- <para>Client side suggestions</para>
+ <para>Client side-suggestions</para>
</listitem>
<listitem>
<para>Browser like selection</para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/comboBox.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/comboBox.xml 2009-06-03 12:30:46 UTC (rev 14451)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/comboBox.xml 2009-06-03 15:06:36 UTC (rev 14452)
@@ -65,7 +65,7 @@
<para>The <emphasis role="bold">
<property><rich:comboBox></property>
</emphasis>
- is a simplified suggestion box component, that provides input with client side suggestions.
+ is a simplified suggestion box component, that provides input with client-side suggestions.
<!--
component consists of an <property>input field</property>, the <property>button</property> and the <property>popup list</property> of suggestions
attached to input. If you want to see the popup list you can press the <property>button</property> or type the first letter of suggested word in the <property>input field</property>.
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/contextMenu.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2009-06-03 12:30:46 UTC (rev 14451)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2009-06-03 15:06:36 UTC (rev 14452)
@@ -65,7 +65,7 @@
<emphasis role="bold">
<property><rich:contextMenu></property>
</emphasis> is a support-like component. Context menu itself is an invisible panel that
- appears after a particular client side event (<emphasis><property>"onmouseover"</property></emphasis>, <emphasis><property>"onclick"</property></emphasis>, etc.) occurred on a
+ appears after a particular client-side event (<emphasis><property>"onmouseover"</property></emphasis>, <emphasis><property>"onclick"</property></emphasis>, etc.) occurred on a
parent component. The event is defined with an <emphasis>
<property>"event"</property>
</emphasis> attribute. The component uses <emphasis>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/fileUpload.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/fileUpload.xml 2009-06-03 12:30:46 UTC (rev 14451)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/fileUpload.xml 2009-06-03 15:06:36 UTC (rev 14452)
@@ -626,7 +626,7 @@
<table id="objectProperties">
- <title>Client side object properties</title>
+ <title>Client side-object properties</title>
<tgroup cols="2">
<thead>
<row>
@@ -739,7 +739,7 @@
<table id="objectPropertiesWithAttributes">
- <title>Client side object properties available with specific <link
+ <title>Client-side object properties available with specific <link
linkend="fileUploadEventAttributes"> event attributes</link></title>
<tgroup cols="2">
<thead>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/hotKey.desc.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/hotKey.desc.xml 2009-06-03 12:30:46 UTC (rev 14451)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/hotKey.desc.xml 2009-06-03 15:06:36 UTC (rev 14452)
@@ -10,7 +10,7 @@
<title>Description</title>
<para>The <emphasis role="bold">
<property><rich:hotKey></property>
- </emphasis> component allows to register hot keys for the page or particular elements and to define client side processing functions for these keys.
+ </emphasis> component allows to register hot keys for the page or particular elements and to define client-side processing functions for these keys.
</para>
</section>
<section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jsFunction.desc.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jsFunction.desc.xml 2009-06-03 12:30:46 UTC (rev 14451)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jsFunction.desc.xml 2009-06-03 15:06:36 UTC (rev 14452)
@@ -11,7 +11,7 @@
<para>
The <emphasis role="bold">
<property><a4j:jsFunction></property>
- </emphasis> component allows to invoke the server side data and return it in a JSON format to use in a client JavaScript calls.
+ </emphasis> component allows to invoke the server-side data and return it in a JSON format to use in a client JavaScript calls.
</para>
</section>
</chapter>
\ No newline at end of file
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jsFunction.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jsFunction.xml 2009-06-03 12:30:46 UTC (rev 14451)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jsFunction.xml 2009-06-03 15:06:36 UTC (rev 14452)
@@ -106,7 +106,7 @@
</emphasis> is similar to <emphasis role="bold">
<property><a4j:commandButton></property>
</emphasis>, but it could be activated from the JavaScript code. It allows to invoke some
- server side functionality and use the returned data in the JavaScript function invoked from
+ server-side functionality and use the returned data in the JavaScript function invoked from
<emphasis><property>"oncomplete"</property></emphasis> attribute. Hence it's possible to use <emphasis
role="bold">
<property><a4j:jsFunction></property>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2009-06-03 12:30:46 UTC (rev 14451)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2009-06-03 15:06:36 UTC (rev 14452)
@@ -340,7 +340,7 @@
events are produced simultaneously, they will come to the server simultaneously. JSF
implementations (especially, the very first ones) does not guaranty that the request
that comes first will be served or passed into the JSF lifecycle first. The order
- how the server side data will be modified in case of simultaneous request might be
+ how the server-side data will be modified in case of simultaneous request might be
unpredictable. Usage of eventsQueue attribute allows to avoid possible mess. Define
the queue name explicitly, if you expect intensive Ajax traffic in your application. </para>
<para> The next request posted in the same queue will wait until the previos one is not
@@ -820,7 +820,7 @@
update will be performed. </para>
</listitem>
<listitem>
- <para> If you want to involve the server side validators and navigate to the
+ <para> If you want to involve the server-side validators and navigate to the
next page only if the Validation phase is passed successfully, you can
replace <emphasis role="bold">
<property><h:commandButton></property>
16 years, 11 months
JBoss Rich Faces SVN: r14450 - in branches/community/3.3.X/ui/panelmenu/src: main/java/org/richfaces/component and 5 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-06-03 06:43:41 -0400 (Wed, 03 Jun 2009)
New Revision: 14450
Modified:
branches/community/3.3.X/ui/panelmenu/src/main/config/component/panelMenu.xml
branches/community/3.3.X/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenu.java
branches/community/3.3.X/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupRenderer.java
branches/community/3.3.X/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java
branches/community/3.3.X/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/css/panelMenu.xcss
branches/community/3.3.X/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
branches/community/3.3.X/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx
branches/community/3.3.X/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx
branches/community/3.3.X/ui/panelmenu/src/test/java/org/richfaces/component/PanelMenuComponentTest.java
Log:
RF-7301
Modified: branches/community/3.3.X/ui/panelmenu/src/main/config/component/panelMenu.xml
===================================================================
--- branches/community/3.3.X/ui/panelmenu/src/main/config/component/panelMenu.xml 2009-06-03 08:38:47 UTC (rev 14449)
+++ branches/community/3.3.X/ui/panelmenu/src/main/config/component/panelMenu.xml 2009-06-03 10:43:41 UTC (rev 14450)
@@ -246,7 +246,7 @@
<description>
Space-separated list of CSS style class(es) that are be applied to disabled item of this component
</description>
- <defaultvalue><![CDATA["dr-pmenu-disabled-element rich-pmenu-disabled-element"]]></defaultvalue>
+ <defaultvalue><![CDATA["rich-pmenu-disabled-element"]]></defaultvalue>
</property>
<property>
<name>disabledItemStyle</name>
@@ -260,7 +260,7 @@
<name>disabledGroupClass</name>
<classname>java.lang.String</classname>
<description>Space-separated list of CSS style class(es) that are be applied to disabled group of this component</description>
- <defaultvalue><![CDATA["dr-pmenu-disabled-element rich-pmenu-disabled-element"]]></defaultvalue>
+ <defaultvalue><![CDATA["rich-pmenu-disabled-element"]]></defaultvalue>
</property>
<property>
<name>disabledGroupStyle</name>
@@ -272,7 +272,7 @@
<name>hoveredItemClass</name>
<classname>java.lang.String</classname>
<description> Space-separated list of CSS style class(es) that are be applied to hovered item of this component</description>
- <defaultvalue><![CDATA["dr-pmenu-hovered-element rich-pmenu-hovered-element"]]></defaultvalue>
+ <defaultvalue><![CDATA["rich-pmenu-hovered-element"]]></defaultvalue>
</property>
<property>
<name>hoveredItemStyle</name>
@@ -290,7 +290,7 @@
<name>hoveredGroupClass</name>
<classname>java.lang.String</classname>
<description> Space-separated list of CSS style class(es) that are be applied to hovered group of this component</description>
- <defaultvalue><![CDATA["dr-pmenu-hovered-element rich-pmenu-hovered-element"]]></defaultvalue>
+ <defaultvalue><![CDATA["rich-pmenu-hovered-element"]]></defaultvalue>
</property>
<property>
<name>selectedChild</name>
Modified: branches/community/3.3.X/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenu.java
===================================================================
--- branches/community/3.3.X/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenu.java 2009-06-03 08:38:47 UTC (rev 14449)
+++ branches/community/3.3.X/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenu.java 2009-06-03 10:43:41 UTC (rev 14450)
@@ -26,8 +26,7 @@
public static final String COMPONENT_TYPE = "org.richfaces.panelMenu";
- public static final String DEFAULT_SELECTED_CLASS = "dr-pmenu-selected-item";
- public static final String USER_DEFINED_SELECTED_CLASS = "rich-pmenu-selected-element";
+ public static final String SELECTED_CLASS = "rich-pmenu-selected-element";
public abstract String getEvent();
public abstract void setEvent(String event);
Modified: branches/community/3.3.X/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupRenderer.java
===================================================================
--- branches/community/3.3.X/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupRenderer.java 2009-06-03 08:38:47 UTC (rev 14449)
+++ branches/community/3.3.X/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupRenderer.java 2009-06-03 10:43:41 UTC (rev 14450)
@@ -250,12 +250,7 @@
public String getSelectedClass(FacesContext context, UIComponent component) {
if (isSelected(context, component)) {
- StringBuffer selectedClass = null;
- selectedClass= new StringBuffer();
- selectedClass.append(UIPanelMenu.DEFAULT_SELECTED_CLASS).
- append(" ").
- append(UIPanelMenu.USER_DEFINED_SELECTED_CLASS);
- return selectedClass.toString();
+ return UIPanelMenu.SELECTED_CLASS;
}
return "";
}
@@ -299,16 +294,14 @@
public String getDivClass(FacesContext context, UIComponent component) {
String result = "";
if (isTopLevel(component))
- result = "dr-pmenu-top-group-div rich-pmenu-top-group-div";
+ result = "rich-pmenu-top-group-div";
return result;
}
public String getTableClass(FacesContext context, UIComponent component) {
- String result;
+ String result = "";
if (isTopLevel(component))
- result = "dr-pmenu-top-group rich-pmenu-top-group ";
- else
- result = "dr-pmenu-group";
+ result = "rich-pmenu-top-group ";
return result;
}
Modified: branches/community/3.3.X/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java
===================================================================
--- branches/community/3.3.X/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java 2009-06-03 08:38:47 UTC (rev 14449)
+++ branches/community/3.3.X/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java 2009-06-03 10:43:41 UTC (rev 14450)
@@ -207,12 +207,7 @@
public String getSelectedClass(FacesContext context, UIComponent component) {
if (isSelected(context, component)) {
- StringBuffer selectedClass = null;
- selectedClass= new StringBuffer();
- selectedClass.append(UIPanelMenu.DEFAULT_SELECTED_CLASS).
- append(" ").
- append(UIPanelMenu.USER_DEFINED_SELECTED_CLASS);
- return selectedClass.toString();
+ return UIPanelMenu.SELECTED_CLASS;
}
return "";
}
Modified: branches/community/3.3.X/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/css/panelMenu.xcss
===================================================================
--- branches/community/3.3.X/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/css/panelMenu.xcss 2009-06-03 08:38:47 UTC (rev 14449)
+++ branches/community/3.3.X/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/css/panelMenu.xcss 2009-06-03 10:43:41 UTC (rev 14450)
@@ -10,7 +10,7 @@
padding-right: 4px;
}
- .dr-pmenu-top-group {
+ .rich-pmenu-top-group {
height: 20px;
background-repeat: repeat-x;
@@ -19,14 +19,14 @@
cursor: pointer;
}
- .dr-pmenu-group {
+ .rich-pmenu-group {
padding: 2px 1px 1px;
margin-top:1px;
cursor:pointer;
border-top: 1px solid;
}
- .dr-pmenu-item {
+ .rich-pmenu-item {
border-top: 1px solid;
cursor: pointer;
padding: 2px 1px 1px;
@@ -34,7 +34,7 @@
}
- .dr-pmenu-top-group-div {
+ .rich-pmenu-top-group-div {
border: 1px solid;
margin-bottom: 3px;
padding: 1px;
@@ -42,18 +42,18 @@
width: 100%;
}
- .dr-pmenu-group-self-label {
+ .rich-pmenu-group-self-label {
padding-left: 5px;
width: 100%;
}
- .dr-pmenu-nowrap {
+ .rich-pmenu-nowrap {
white-space: nowrap;
}
</f:verbatim>
- <u:selector name=".dr-pmenu-top-group">
+ <u:selector name=".rich-pmenu-top-group">
<u:style name="font-weight" skin="headerWeightFont"/>
<u:style name="font-family" skin="generalFamilyFont"/>
<u:style name="font-size" skin="headerSizeFont"/>
@@ -64,7 +64,7 @@
</u:style>
</u:selector>
- <u:selector name=".dr-pmenu-group">
+ <u:selector name=".rich-pmenu-group">
<u:style name="font-weight" skin="headerWeightFont"/>
<u:style name="font-family" skin="headerFamilyFont"/>
<u:style name="font-size" skin="headerSizeFont"/>
@@ -72,7 +72,7 @@
<u:style name="border-top-color" skin="tableBorderColor"/>
</u:selector>
- <u:selector name=".dr-pmenu-item">
+ <u:selector name=".rich-pmenu-item">
<u:style name="font-family" skin="generalFamilyFont"/>
<u:style name="font-weight" skin="generalWeightFont"/>
<u:style name="font-size" skin="generalSizeFont"/>
@@ -80,23 +80,23 @@
<u:style name="border-top-color" skin="tableBorderColor"/>
</u:selector>
- <u:selector name=".dr-pmenu-top-group-div" >
+ <u:selector name=".rich-pmenu-top-group-div" >
<u:style name="border-color" skin="panelBorderColor"/>
</u:selector>
- <u:selector name=".dr-pmenu-disabled-element" >
+ <u:selector name=".rich-pmenu-disabled-element" >
<u:style name="color" skin="tabDisabledTextColor"/>
</u:selector>
- <u:selector name=".dr-pmenu-hovered-element" >
+ <u:selector name=".rich-pmenu-hovered-element" >
<u:style name="background-color" skin="additionalBackgroundColor"/>
</u:selector>
<f:verbatim>
- .dr-pmenu-disabled-element {
+ .rich-pmenu-disabled-element {
cursor: default;
}
- .dr-pmenu-selected-item {
+ .rich-pmenu-selected-element {
font-style : italic;
}
</f:verbatim>
Modified: branches/community/3.3.X/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
===================================================================
--- branches/community/3.3.X/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2009-06-03 08:38:47 UTC (rev 14449)
+++ branches/community/3.3.X/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2009-06-03 10:43:41 UTC (rev 14450)
@@ -18,8 +18,7 @@
this.expandSingle = so;
this.lastExpanded = null;
this.selectedChild = selectedChild;
- this.defaultSelectedClass = 'dr-pmenu-selected-item';
- this.userDefinedSelectedClass = 'rich-pmenu-selected-element';
+ this.selectedClass = 'rich-pmenu-selected-element';
this.is = 'panelMenu';
this.selectedNameInput = $(myId + 'selectedItemName');
PanelMenuStorage[myId] = this;
@@ -133,7 +132,7 @@
this.leftIcon = Richfaces.lastDescendant(mainCells[0]);
this.labelArea = mainCells[1];
this.rightIcon = Richfaces.firstDescendant(mainCells[2]);
- this.content = this.tdhider.select(".dr-pmenu-group-self-label")[0];
+ this.content = this.tdhider.select(".rich-pmenu-group-self-label")[0];
this.iconAlign = iconAlign;
/*
@@ -400,12 +399,10 @@
setSelectedClass: function(e){
- this.mainRow.addClassName(this.rootMenu.defaultSelectedClass);
- this.mainRow.addClassName(this.rootMenu.userDefinedSelectedClass);
+ this.mainRow.addClassName(this.rootMenu.selectedClass);
},
removeSelectedClass: function(e){
- this.mainRow.removeClassName(this.rootMenu.defaultSelectedClass);
- this.mainRow.removeClassName(this.rootMenu.userDefinedSelectedClass);
+ this.mainRow.removeClassName(this.rootMenu.selectedClass);
},
Modified: branches/community/3.3.X/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx
===================================================================
--- branches/community/3.3.X/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx 2009-06-03 08:38:47 UTC (rev 14449)
+++ branches/community/3.3.X/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx 2009-06-03 10:43:41 UTC (rev 14450)
@@ -29,13 +29,13 @@
<tbody>
<tr id="row_#{clientId}"
class="#{this:getSelectedClass( context, component )}" >
- <td class="dr-pmenu-nowrap #{this:getIconClass( context, component,'left')}">
+ <td class="rich-pmenu-nowrap #{this:getIconClass( context, component,'left')}">
<f:call name="insertSpacerImages" />
<f:call name="insertImage">
<f:parameter value="left" />
</f:call>
</td>
- <td style="width:100%" id="icon#{clientId}" class="dr-pmenu-group-self-label #{this:getLabelClass( context, component )}" >
+ <td style="width:100%" id="icon#{clientId}" class="rich-pmenu-group-self-label #{this:getLabelClass( context, component )}" >
<input type="hidden" name="panelMenuState#{clientId}"
value="#{isNodeOpened}" />
Modified: branches/community/3.3.X/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx
===================================================================
--- branches/community/3.3.X/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx 2009-06-03 08:38:47 UTC (rev 14449)
+++ branches/community/3.3.X/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx 2009-06-03 10:43:41 UTC (rev 14450)
@@ -16,19 +16,19 @@
<div id="#{clientId}" style="#{this:getHideStyle(context, component)}" >
<table cellspacing="0" cellpadding="0" border="0"
id="tablehide#{clientId}"
- class="dr-pmenu-item rich-pmenu-item #{this:getFullStyleClass( context, component )} "
+ class="rich-pmenu-item #{this:getFullStyleClass( context, component )} "
style="#{this:getFullStyle( context, component )}"
x:passThruWithExclusions="cellspacing,cellpadding,border,id,class,styleClass,style">
<tbody>
<tr id="row_#{clientId}"
class="#{this:getSelectedClass( context, component )}" >
- <td class="dr-pmenu-nowrap #{this:getIconClass( context, component,'left')}">
+ <td class="rich-pmenu-nowrap #{this:getIconClass( context, component,'left')}">
<f:call name="insertSpacerImages" />
<f:call name="insertImage">
<f:parameter value="left" />
</f:call>
</td>
- <td style="width:100%" id="icon#{clientId}" class="dr-pmenu-group-self-label #{this:getLabelClass( context, component )}" >
+ <td style="width:100%" id="icon#{clientId}" class="rich-pmenu-group-self-label #{this:getLabelClass( context, component )}" >
<input type="hidden" name="panelMenuAction#{clientId}" value=""/>
<f:call name="insertLabel"/>
<vcp:body>
Modified: branches/community/3.3.X/ui/panelmenu/src/test/java/org/richfaces/component/PanelMenuComponentTest.java
===================================================================
--- branches/community/3.3.X/ui/panelmenu/src/test/java/org/richfaces/component/PanelMenuComponentTest.java 2009-06-03 08:38:47 UTC (rev 14449)
+++ branches/community/3.3.X/ui/panelmenu/src/test/java/org/richfaces/component/PanelMenuComponentTest.java 2009-06-03 10:43:41 UTC (rev 14450)
@@ -199,17 +199,16 @@
assertEquals("div", firstGroupDiv.getNodeName());
String styleClass = firstGroupDiv.getAttributeValue("class");
- assertTrue(styleClass.contains("dr-pmenu-top-group-div"));
+ assertTrue(styleClass.contains("rich-pmenu-top-group-div"));
HtmlElement firstGroupHide = page.getHtmlElementById("tablehide" + group1.getClientId(facesContext));
assertNotNull(firstGroupHide);
assertEquals("table", firstGroupHide.getNodeName());
styleClass = firstGroupHide.getAttributeValue("class");
- assertTrue(styleClass.contains("dr-pmenu-top-group"));
+ assertTrue(styleClass.contains("rich-pmenu-top-group"));
assertTrue(styleClass.contains("rich-pmenu-group"));
assertTrue(styleClass.contains("rich-pmenu-disabled-element"));
- assertTrue(styleClass.contains("dr-pmenu-disabled-element"));
HtmlElement subGroupDiv = page.getHtmlElementById(group3.getClientId(facesContext));
assertNotNull(subGroupDiv);
@@ -220,7 +219,6 @@
assertEquals("table", subGroupHide.getNodeName());
styleClass = subGroupHide.getAttributeValue("class");
- assertTrue(styleClass.contains("dr-pmenu-group"));
assertTrue(styleClass.contains("rich-pmenu-group"));
HtmlElement leftIcon = page.getHtmlElementById("leftIcon" + group1.getClientId(facesContext));
@@ -236,7 +234,6 @@
assertEquals("table", firstItemHide.getNodeName());
styleClass = firstItemHide.getAttributeValue("class");
- assertTrue(styleClass.contains("dr-pmenu-item"));
assertTrue(styleClass.contains("rich-pmenu-item"));
leftIcon = page.getHtmlElementById("leftIcon" + item1.getClientId(facesContext));
16 years, 11 months
JBoss Rich Faces SVN: r14449 - branches/community/3.3.X/ui/dataTable/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-03 04:38:47 -0400 (Wed, 03 Jun 2009)
New Revision: 14449
Modified:
branches/community/3.3.X/ui/dataTable/src/main/config/component/dataGrid.xml
branches/community/3.3.X/ui/dataTable/src/main/config/component/dataTable.xml
branches/community/3.3.X/ui/dataTable/src/main/config/component/subTable.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - correcting the 'onRowMouseUp' attribute description;
Modified: branches/community/3.3.X/ui/dataTable/src/main/config/component/dataGrid.xml
===================================================================
--- branches/community/3.3.X/ui/dataTable/src/main/config/component/dataGrid.xml 2009-06-03 07:18:16 UTC (rev 14448)
+++ branches/community/3.3.X/ui/dataTable/src/main/config/component/dataGrid.xml 2009-06-03 08:38:47 UTC (rev 14449)
@@ -173,7 +173,7 @@
<property>
<name>onRowMouseUp</name>
<classname>java.lang.String</classname>
- <description>The client side script method to be called when a pointer is released over the row
+ <description>The client side script method to be called when a mouse button is released over the row
</description>
</property>
<property>
Modified: branches/community/3.3.X/ui/dataTable/src/main/config/component/dataTable.xml
===================================================================
--- branches/community/3.3.X/ui/dataTable/src/main/config/component/dataTable.xml 2009-06-03 07:18:16 UTC (rev 14448)
+++ branches/community/3.3.X/ui/dataTable/src/main/config/component/dataTable.xml 2009-06-03 08:38:47 UTC (rev 14449)
@@ -171,7 +171,7 @@
<property>
<name>onRowMouseUp</name>
<classname>java.lang.String</classname>
- <description>The client side script method to be called when a pointer is released over the row
+ <description>The client side script method to be called when a mouse button is released over the row
</description>
</property>
<property>
Modified: branches/community/3.3.X/ui/dataTable/src/main/config/component/subTable.xml
===================================================================
--- branches/community/3.3.X/ui/dataTable/src/main/config/component/subTable.xml 2009-06-03 07:18:16 UTC (rev 14448)
+++ branches/community/3.3.X/ui/dataTable/src/main/config/component/subTable.xml 2009-06-03 08:38:47 UTC (rev 14449)
@@ -147,7 +147,7 @@
<property>
<name>onRowMouseUp</name>
<classname>java.lang.String</classname>
- <description>The client side script method to be called when a pointer is released over the row
+ <description>The client side script method to be called when a mouse button is released over the row
</description>
</property>
<property>
16 years, 11 months
JBoss Rich Faces SVN: r14448 - branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-03 03:18:16 -0400 (Wed, 03 Jun 2009)
New Revision: 14448
Modified:
branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/html_events.ent
Log:
https://jira.jboss.org/jira/browse/RF-6233 - correcting the 'onclick' attribute description;
Modified: branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/html_events.ent
===================================================================
--- branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/html_events.ent 2009-06-02 15:45:32 UTC (rev 14447)
+++ branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/html_events.ent 2009-06-03 07:18:16 UTC (rev 14448)
@@ -3,7 +3,7 @@
<property>
<name>onclick</name>
<classname>java.lang.String</classname>
- <description>The clientside script method to be called when the element is clicked</description>
+ <description>The client side script method to be called when the element is clicked</description>
</property>
<property>
<name>ondblclick</name>
16 years, 11 months
JBoss Rich Faces SVN: r14447 - branches/community/3.3.X/ui/togglePanel/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-02 11:45:32 -0400 (Tue, 02 Jun 2009)
New Revision: 14447
Modified:
branches/community/3.3.X/ui/togglePanel/src/main/config/component/togglePanel.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of event handlers descriptions;
Modified: branches/community/3.3.X/ui/togglePanel/src/main/config/component/togglePanel.xml
===================================================================
--- branches/community/3.3.X/ui/togglePanel/src/main/config/component/togglePanel.xml 2009-06-02 15:43:42 UTC (rev 14446)
+++ branches/community/3.3.X/ui/togglePanel/src/main/config/component/togglePanel.xml 2009-06-02 15:45:32 UTC (rev 14447)
@@ -244,30 +244,28 @@
<name>onblur</name>
<classname>java.lang.String</classname>
<description>
- JavaScript code executed when this element loses focus
+ The client side script method to be called when the element loses the focus
</description>
</property>
<property>
<name>onclick</name>
<classname>java.lang.String</classname>
<description>
- JavaScript code executed when a pointer button is
- clicked over this element
+ The client side script method to be called when the element is clicked
</description>
</property>
<property>
<name>ondblclick</name>
<classname>java.lang.String</classname>
<description>
- JavaScript code executed when a pointer button is double
- clicked over this element
+ The client side script method to be called when the element is double-clicked
</description>
</property>
<property>
<name>onfocus</name>
<classname>java.lang.String</classname>
<description>
- JavaScript code executed when this element receives
+ The client side script method to be called when the element gets the
focus
</description>
</property>
@@ -275,64 +273,57 @@
<name>onmousedown</name>
<classname>java.lang.String</classname>
<description>
- JavaScript code executed when a pointer button is
- pressed down over this element
+ The client side script method to be called when a mouse button is pressed down over the element
</description>
</property>
<property>
<name>onmouseup</name>
<classname>java.lang.String</classname>
<description>
- JavaScript code executed when a pointer button is
- released over this element
+ The client side script method to be called when a mouse button is released over the element
</description>
</property>
<property>
<name>onmouseover</name>
<classname>java.lang.String</classname>
<description>
- JavaScript code executed when a pointer button is moved
- onto this element
+ The client side script method to be called when a pointer is moved onto the element
</description>
</property>
<property>
<name>onmousemove</name>
<classname>java.lang.String</classname>
<description>
- JavaScript code executed when a pointer button is moved
- within this element
+ The client side script method to be called when a pointer is moved within the element
</description>
</property>
<property>
<name>onmouseout</name>
<classname>java.lang.String</classname>
<description>
- JavaScript code executed when a pointer button is moved
- away from this element
+ The client side script method to be called when a pointer is moved away from the element
</description>
</property>
<property>
<name>onkeypress</name>
<classname>java.lang.String</classname>
<description>
- JavaScript code executed when a key is pressed and
- released over this element
+ The client side script method to be called when a key is pressed and released over the element
</description>
</property>
<property>
<name>onkeydown</name>
<classname>java.lang.String</classname>
<description>
- JavaScript code executed when a key is pressed down over
- this element
+ The client side script method to be called when a key is pressed down over the element
</description>
</property>
<property>
<name>onkeyup</name>
<classname>java.lang.String</classname>
<description>
- JavaScript code executed when a key is released over
- this element
+ The client side script method to be called when a key is released over
+ the element
</description>
</property>
@@ -437,8 +428,7 @@
<name>oncomplete</name>
<classname>java.lang.String</classname>
<description>
- JavaScript code for call after request completed on
- client side
+ The client side script method to be called after the request is completed
</description>
</property>
16 years, 11 months
JBoss Rich Faces SVN: r14446 - branches/community/3.3.X/ui/simpleTogglePanel/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-02 11:43:42 -0400 (Tue, 02 Jun 2009)
New Revision: 14446
Modified:
branches/community/3.3.X/ui/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of event handlers descriptions;
Modified: branches/community/3.3.X/ui/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml
===================================================================
--- branches/community/3.3.X/ui/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml 2009-06-02 15:42:50 UTC (rev 14445)
+++ branches/community/3.3.X/ui/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml 2009-06-02 15:43:42 UTC (rev 14446)
@@ -112,14 +112,14 @@
<property>
<name>onexpand</name>
<classname>java.lang.String</classname>
- <description> HTML: script expression; before a panel is expanded</description>
+ <description>The client side script method to be called before a panel is expanded</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>oncollapse</name>
<classname>java.lang.String</classname>
- <description> HTML: script expression; before a panel is collapsed</description>
+ <description>The client side script method to be called before a panel is collapsed</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
16 years, 11 months
JBoss Rich Faces SVN: r14445 - branches/community/3.3.X/ui/panelmenu/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-02 11:42:50 -0400 (Tue, 02 Jun 2009)
New Revision: 14445
Modified:
branches/community/3.3.X/ui/panelmenu/src/main/config/component/panelMenu.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of event handlers descriptions;
Modified: branches/community/3.3.X/ui/panelmenu/src/main/config/component/panelMenu.xml
===================================================================
--- branches/community/3.3.X/ui/panelmenu/src/main/config/component/panelMenu.xml 2009-06-02 15:26:24 UTC (rev 14444)
+++ branches/community/3.3.X/ui/panelmenu/src/main/config/component/panelMenu.xml 2009-06-02 15:42:50 UTC (rev 14445)
@@ -302,7 +302,7 @@
&ui_output_attributes;<property>
<name>onclick</name>
<classname>java.lang.String</classname>
- <description> HTML: a script expression; a pointer button is clicked</description>
+ <description>The client side script method to be called when the component is clicked</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
@@ -315,7 +315,7 @@
<name>onmouseout</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a pointer was moved away.
+ The client side script method to be called when a pointer is moved away from the component
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -323,7 +323,7 @@
<name>onmousemove</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a pointer was moved within.
+ The client side script method to be called when a pointer is moved within the component
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -331,26 +331,26 @@
<name>onmouseover</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a pointer was moved onto.
+ The client side script method to be called when a pointer is moved onto the component
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>onitemhover</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; some item was hovered</description>
+ <description>The client side script method to be called when a panel menu item is hovered</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>ongroupcollapse</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; some group was closed</description>
+ <description>The client side script method to be called when some group is closed</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>ongroupexpand</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; some group was activated</description>
+ <description>The client side script method to be called when some group is activated</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
@@ -472,13 +472,13 @@
<property>
<name>oncollapse</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; group was closed</description>
+ <description>The client side script method to be called when a pane menu group is closed</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>onexpand</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; group was opened</description>
+ <description>The client side script method to be called when a pane menu group is opened</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
16 years, 11 months
JBoss Rich Faces SVN: r14444 - branches/community/3.3.X/ui/panelbar/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-02 11:26:24 -0400 (Tue, 02 Jun 2009)
New Revision: 14444
Modified:
branches/community/3.3.X/ui/panelbar/src/main/config/component/panelbar.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of event handlers descriptions;
Modified: branches/community/3.3.X/ui/panelbar/src/main/config/component/panelbar.xml
===================================================================
--- branches/community/3.3.X/ui/panelbar/src/main/config/component/panelbar.xml 2009-06-02 15:24:33 UTC (rev 14443)
+++ branches/community/3.3.X/ui/panelbar/src/main/config/component/panelbar.xml 2009-06-02 15:26:24 UTC (rev 14444)
@@ -82,7 +82,7 @@
<property>
<name>onclick</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; before on the header is clicked</description>
+ <description>The client side script method to be called when a panel bar is clicked</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
@@ -94,7 +94,7 @@
<name>onitemchange</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a item is changed
+ The client side script method to be called when a panel bar item is changed
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -102,7 +102,7 @@
<name>onmouseover</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a pointer was moved onto.
+ The client side script method to be called when a pointer is moved onto the component
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -110,7 +110,7 @@
<name>onmouseout</name>
<classname>java.lang.String</classname>
<description>
- HTML: a script expression; a pointer is moved away
+ The client side script method to be called when a pointer is moved away from the component
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -118,7 +118,7 @@
<name>onmousemove</name>
<classname>java.lang.String</classname>
<description>
- HTML: a script expression; a pointer is moved within
+ The client side script method to be called when a pointer is moved within the component
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -225,7 +225,7 @@
<name>onenter</name>
<classname>java.lang.String</classname>
<description>
- HTML: a script expression; a item is entered
+ The client side script method to be called when a panel bar item is opened
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -234,7 +234,7 @@
<name>onleave</name>
<classname>java.lang.String</classname>
<description>
- HTML: a script expression; a item is leaved
+ The client side script method to be called when a panel bar item is leaved
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
16 years, 11 months