JBoss Rich Faces SVN: r6597 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-03-06 08:33:33 -0500 (Thu, 06 Mar 2008)
New Revision: 6597
Modified:
trunk/docs/userguide/en/src/main/docbook/included/loadBundle.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2193 - Problems with double titled components resolved.
Modified: trunk/docs/userguide/en/src/main/docbook/included/loadBundle.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/loadBundle.desc.xml 2008-03-06 13:30:46 UTC (rev 6596)
+++ trunk/docs/userguide/en/src/main/docbook/included/loadBundle.desc.xml 2008-03-06 13:33:33 UTC (rev 6597)
@@ -1,4 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
+<chapter>
<section>
<sectioninfo>
<keywordset>
@@ -10,4 +11,5 @@
<property><a4j:loadBundle></property>
</emphasis> component is similar to the same component from the JSF Core library. The component loads a resource bundle
localized for the Locale of the current view and exposes it (as a Map) in the request attributes of the current request.</para>
-</section>
\ No newline at end of file
+</section>
+ </chapter>
\ No newline at end of file
16 years, 10 months
JBoss Rich Faces SVN: r6596 - trunk/ui/progressBAR/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-03-06 08:30:46 -0500 (Thu, 06 Mar 2008)
New Revision: 6596
Modified:
trunk/ui/progressBAR/src/main/config/component/progressBar.xml
Log:
http://jira.jboss.com/jira/browse/RF-1690
Some missing attribute were added
Modified: trunk/ui/progressBAR/src/main/config/component/progressBar.xml
===================================================================
--- trunk/ui/progressBAR/src/main/config/component/progressBar.xml 2008-03-06 13:24:04 UTC (rev 6595)
+++ trunk/ui/progressBAR/src/main/config/component/progressBar.xml 2008-03-06 13:30:46 UTC (rev 6596)
@@ -32,6 +32,7 @@
&ui_component_attributes;
&ui_command_attributes;
&html_universal_attributes;
+ &ajax_component_attributes;
&html_events;
<property>
<name>mode</name>
@@ -42,14 +43,14 @@
<property>
<name>parameters</name>
<classname>java.lang.Object</classname>
- <description>Parameters for macrosubstitution in label</description>
+ <description>Parameters for macrosubstitution in the label</description>
</property>
<property>
<name>label</name>
<classname>java.lang.String</classname>
- <description>Attribute defines simple label instead of children component rendering</description>
+ <description>Attribute defines a simple label instead of rendering children component </description>
</property>
- <property>
+ <property hidden="true">
<name>dualColoredLabel</name>
<classname>java.lang.Boolean</classname>
<description>Defines if component renderes as simple markup</description>
@@ -64,13 +65,13 @@
<property>
<name>maxValue</name>
<classname>java.lang.Object</classname>
- <description>Max value after whose complete state should be rendered</description>
+ <description>Max value, after which complete state should be rendered</description>
<defaultvalue>100</defaultvalue>
</property>
<property>
<name>progressVar</name>
<classname>java.lang.String</classname>
- <description>Attribute which should provide access to value of the component on the client</description>
+ <description>Provides access to value of the component on the client</description>
</property>
<property>
<name>styleClass</name>
@@ -131,13 +132,17 @@
<name>enabled</name>
<classname>boolean</classname>
<description>
- <![CDATA[Enable/disable polling]]>
+ <![CDATA[Enables/disables polling]]>
</description>
<defaultvalue>true</defaultvalue>
</property>
<property>
<name>value</name>
<classname>java.lang.Object</classname>
+ <description>
+ Sets the current value of the progress
+ </description>
+
</property>
<property hidden="true">
<name>submitted</name>
16 years, 10 months
JBoss Rich Faces SVN: r6595 - in trunk/docs: xslt/en/src/main/xslt and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-03-06 08:24:04 -0500 (Thu, 06 Mar 2008)
New Revision: 6595
Modified:
trunk/docs/userguide/en/src/main/docbook/master.xml
trunk/docs/xslt/en/src/main/xslt/html_chunk.xsl
Log:
http://jira.jboss.com/jira/browse/RF-1378 - split "The RichFaces Components" chapter done
Modified: trunk/docs/userguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/master.xml 2008-03-06 13:20:44 UTC (rev 6594)
+++ trunk/docs/userguide/en/src/main/docbook/master.xml 2008-03-06 13:24:04 UTC (rev 6595)
@@ -1,74 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
-"../../../../../resources/support/docbook-dtd/docbookx.dtd"
-[ <!ENTITY rfcintro SYSTEM "modules/RFCintro.xml">
-
-<!ENTITY rfctechreqs SYSTEM "modules/RFCtechreqs.xml">
-<!ENTITY rfcGettingStarted SYSTEM "modules/RFCGettingStarted.xml">
-<!ENTITY rfcSettings SYSTEM "modules/RFCSettings.xml">
-<!ENTITY wadParams SYSTEM "modules/AUGWADParams.xml">
-<!ENTITY rfcarchitectover SYSTEM "modules/RFCarchitectover.xml">
-<!ENTITY rfclibrary SYSTEM "modules/RFClibrary.xml">
-<!ENTITY rfcidesupport SYSTEM "modules/RFCidesupport.xml">
-<!ENTITY rfclinks SYSTEM "modules/RFClinks.xml">
-
-
-<!--ENTITY richfaces_table SYSTEM "../../../target/generated/rich.xml"-->
-<!ENTITY dataFilterSlider_table SYSTEM "../../../target/generated/dataFilterSlider.xml">
-<!ENTITY dataScroller_table SYSTEM "../../../target/generated/datascroller.xml">
-<!ENTITY dataTable_table SYSTEM "../../../target/generated/dataTable.xml">
-<!ENTITY dnd_table SYSTEM "../../../target/generated/dnd.xml">
-
-<!ENTITY effect_table SYSTEM "../../../target/generated/effect.xml">
-
-<!ENTITY gmap_table SYSTEM "../../../target/generated/gmap.xml">
-<!ENTITY virtualEarth_table SYSTEM "../../../target/generated/virtualEarth.xml">
-<!ENTITY inputNumberSlider_table SYSTEM "../../../target/generated/inputnumber-slider.xml">
-<!ENTITY inputNumberSpinner_table SYSTEM "../../../target/generated/inputnumber-spinner.xml">
-<!ENTITY modalPanel_table SYSTEM "../../../target/generated/modal-panel.xml">
-<!ENTITY paint2D_table SYSTEM "../../../target/generated/paint2D.xml">
-<!ENTITY panel_table SYSTEM "../../../target/generated/panel.xml">
-<!ENTITY panelBar_table SYSTEM "../../../target/generated/panelbar.xml">
-<!ENTITY separator_table SYSTEM "../../../target/generated/separator.xml">
-<!ENTITY simpleTogglePanel_table SYSTEM "../../../target/generated/simpleTogglePanel.xml">
-<!ENTITY spacer_table SYSTEM "../../../target/generated/spacer.xml">
-<!ENTITY suggestionbox_table SYSTEM "../../../target/generated/suggestionbox.xml">
-<!ENTITY tabPanel_table SYSTEM "../../../target/generated/tabPanel.xml">
-<!ENTITY togglePanel_table SYSTEM "../../../target/generated/togglePanel.xml">
-<!ENTITY toolBar_table SYSTEM "../../../target/generated/toolBar.xml">
-<!ENTITY tree_table SYSTEM "../../../target/generated/tree.xml">
-<!ENTITY dropDownMenu_table SYSTEM "../../../target/generated/dropdown-menu.xml">
-<!ENTITY menuComponents_table SYSTEM "../../../target/generated/menu-components.xml">
-<!ENTITY panelMenu_table SYSTEM "../../../target/generated/panelmenu.xml">
-<!ENTITY message_table SYSTEM "../../../target/generated/message.xml">
-<!ENTITY calendar_table SYSTEM "../../../target/generated/calendar.xml">
-<!ENTITY tooltip_table SYSTEM "../../../target/generated/tooltip.xml">
-<!ENTITY insert_table SYSTEM "../../../target/generated/insert.xml">
-<!ENTITY treeModel_table SYSTEM "../../../target/generated/tree-model.xml">
-<!ENTITY scrollableDataTable_table SYSTEM "../../../target/generated/scrollableDataTable.xml">
-<!ENTITY jQuery_table SYSTEM "../../../target/generated/jQuery.xml">
-<!ENTITY contextMenu_table SYSTEM "../../../target/generated/contextMenu.xml">
-<!ENTITY listShuttle_table SYSTEM "../../../target/generated/listShuttle.xml">
-<!ENTITY orderingList_table SYSTEM "../../../target/generated/orderingList.xml">
-<!ENTITY componentControl_table SYSTEM "../../../target/generated/componentControl.xml">
-<!ENTITY columns_table SYSTEM "../../../target/generated/columns.xml">
-<!ENTITY comboBox_table SYSTEM "../../../target/generated/combobox.xml">
-<!ENTITY pickList_table SYSTEM "../../../target/generated/pickList.xml">
-<!ENTITY progressBar_table SYSTEM "../../../target/generated/progressBar.xml">
-<!ENTITY coreComponents_table SYSTEM "../../../target/generated/a4j.xml">
-
+"http://www.oasis-open.org/docbook/xml/4.3CR3/docbookx.dtd" [
+ <!ENTITY rfcintro SYSTEM "modules/RFCintro.xml">
+ <!ENTITY rfctechreqs SYSTEM "modules/RFCtechreqs.xml">
+ <!ENTITY rfcGettingStarted SYSTEM "modules/RFCGettingStarted.xml">
+ <!ENTITY rfcSettings SYSTEM "modules/RFCSettings.xml">
+ <!ENTITY wadParams SYSTEM "modules/AUGWADParams.xml">
+ <!ENTITY rfcarchitectover SYSTEM "modules/RFCarchitectover.xml">
+ <!--ENTITY rfclibrary SYSTEM "modules/RFClibrary.xml"-->
+ <!ENTITY rfcidesupport SYSTEM "modules/RFCidesupport.xml">
+ <!ENTITY rfclinks SYSTEM "modules/RFClinks.xml">
+ <!--ENTITY richfaces_table SYSTEM "../../../target/generated/rich.xml"-->
+ <!ENTITY dataFilterSlider_table SYSTEM "../../../target/generated/dataFilterSlider.xml">
+ <!ENTITY dataScroller_table SYSTEM "../../../target/generated/datascroller.xml">
+ <!ENTITY dataTable_table SYSTEM "../../../target/generated/dataTable.xml">
+ <!ENTITY dnd_table SYSTEM "../../../target/generated/dnd.xml">
+ <!ENTITY effect_table SYSTEM "../../../target/generated/effect.xml">
+ <!ENTITY gmap_table SYSTEM "../../../target/generated/gmap.xml">
+ <!ENTITY virtualEarth_table SYSTEM "../../../target/generated/virtualEarth.xml">
+ <!ENTITY inputNumberSlider_table SYSTEM "../../../target/generated/inputnumber-slider.xml">
+ <!ENTITY inputNumberSpinner_table SYSTEM "../../../target/generated/inputnumber-spinner.xml">
+ <!ENTITY modalPanel_table SYSTEM "../../../target/generated/modal-panel.xml">
+ <!ENTITY paint2D_table SYSTEM "../../../target/generated/paint2D.xml">
+ <!ENTITY panel_table SYSTEM "../../../target/generated/panel.xml">
+ <!ENTITY panelBar_table SYSTEM "../../../target/generated/panelbar.xml">
+ <!ENTITY separator_table SYSTEM "../../../target/generated/separator.xml">
+ <!ENTITY simpleTogglePanel_table SYSTEM "../../../target/generated/simpleTogglePanel.xml">
+ <!ENTITY spacer_table SYSTEM "../../../target/generated/spacer.xml">
+ <!ENTITY suggestionbox_table SYSTEM "../../../target/generated/suggestionbox.xml">
+ <!ENTITY tabPanel_table SYSTEM "../../../target/generated/tabPanel.xml">
+ <!ENTITY togglePanel_table SYSTEM "../../../target/generated/togglePanel.xml">
+ <!ENTITY toolBar_table SYSTEM "../../../target/generated/toolBar.xml">
+ <!ENTITY tree_table SYSTEM "../../../target/generated/tree.xml">
+ <!ENTITY dropDownMenu_table SYSTEM "../../../target/generated/dropdown-menu.xml">
+ <!ENTITY menuComponents_table SYSTEM "../../../target/generated/menu-components.xml">
+ <!ENTITY panelMenu_table SYSTEM "../../../target/generated/panelmenu.xml">
+ <!ENTITY message_table SYSTEM "../../../target/generated/message.xml">
+ <!ENTITY calendar_table SYSTEM "../../../target/generated/calendar.xml">
+ <!ENTITY tooltip_table SYSTEM "../../../target/generated/tooltip.xml">
+ <!ENTITY insert_table SYSTEM "../../../target/generated/insert.xml">
+ <!ENTITY treeModel_table SYSTEM "../../../target/generated/tree-model.xml">
+ <!ENTITY scrollableDataTable_table SYSTEM "../../../target/generated/scrollableDataTable.xml">
+ <!ENTITY jQuery_table SYSTEM "../../../target/generated/jQuery.xml">
+ <!ENTITY contextMenu_table SYSTEM "../../../target/generated/contextMenu.xml">
+ <!ENTITY listShuttle_table SYSTEM "../../../target/generated/listShuttle.xml">
+ <!ENTITY orderingList_table SYSTEM "../../../target/generated/orderingList.xml">
+ <!ENTITY componentControl_table SYSTEM "../../../target/generated/componentControl.xml">
+ <!ENTITY columns_table SYSTEM "../../../target/generated/columns.xml">
+ <!ENTITY comboBox_table SYSTEM "../../../target/generated/combobox.xml">
+ <!ENTITY pickList_table SYSTEM "../../../target/generated/pickList.xml">
+ <!ENTITY progressBar_table SYSTEM "../../../target/generated/progressBar.xml">
+ <!ENTITY coreComponents_table SYSTEM "../../../target/generated/a4j.xml">
]>
-
<book>
- <bookinfo>
- <title>RichFaces Developer Guide</title>
- <subtitle>RichFaces framework with a huge library of rich components and skinnability support</subtitle>
- <copyright>
+ <bookinfo>
+ <title>RichFaces Developer Guide</title>
+ <subtitle>RichFaces framework with a huge library of rich components and skinnability support</subtitle>
+ <copyright>
<year>2007</year>
<holder>Red Hat</holder>
- </copyright>
-
- </bookinfo>
+ </copyright>
+ </bookinfo>
<toc/>
&rfcintro;
@@ -78,13 +70,16 @@
&rfcarchitectover;
<chapter role="NotInToc" id="RichFacesComponentsLibrary" xreflabel="RichFacesComponentsLibrary">
-<?dbhtml filename="RichFacesComponentsLibrary.html"?>
-<!--?forseChanks?-->
-<title>The RichFaces Components</title>
-<para>The library encompasses ready-made components built based on the <emphasis><property>Rich Faces CDK</property></emphasis>.</para>
-<!--
+ <?dbhtml filename="RichFacesComponentsLibrary.html"?>
+
+ <title>The RichFaces Components</title>
+ <para>The library encompasses ready-made components built based on the <emphasis>
+ <property>Rich Faces CDK</property>
+ </emphasis>.</para>
+ <!--
&richfaces_table;
- -->
+ -->
+<?forseChanks?>
&coreComponents_table;
&calendar_table;
&comboBox_table;
@@ -133,4 +128,4 @@
&rfcidesupport;
&rfclinks;
-</book>
+</book>
Modified: trunk/docs/xslt/en/src/main/xslt/html_chunk.xsl
===================================================================
--- trunk/docs/xslt/en/src/main/xslt/html_chunk.xsl 2008-03-06 13:20:44 UTC (rev 6594)
+++ trunk/docs/xslt/en/src/main/xslt/html_chunk.xsl 2008-03-06 13:24:04 UTC (rev 6595)
@@ -37,7 +37,8 @@
<xsl:param name="chunk.section.depth">'5'</xsl:param>
<xsl:param name="use.id.as.filename">'1'</xsl:param>
<xsl:param name="html.stylesheet">css/html.css</xsl:param>
-
+ <xsl:param name="chunk.fast" select="1"/>
+
<!-- These extensions are required for table printing and other stuff -->
<xsl:param name="use.extensions">1</xsl:param>
<xsl:param name="tablecolumns.extension">0</xsl:param>
@@ -104,7 +105,7 @@
<xsl:choose>
<xsl:when test="not($node/parent::*)">1</xsl:when>
- <xsl:when test="$node/parent::node()/processing-instruction('forseChanks')">1</xsl:when>
+ <xsl:when test="$node/parent::node()/processing-instruction('forseChanks') and local-name($node)!='title' and local-name($node)!='para'">1</xsl:when>
<xsl:when test="local-name($node) = 'sect1'
and $chunk.section.depth >= 1
and ($chunk.first.sections != 0
16 years, 10 months
JBoss Rich Faces SVN: r6594 - trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-03-06 08:20:44 -0500 (Thu, 06 Mar 2008)
New Revision: 6594
Modified:
trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js
Log:
RF-2007
Modified: trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js
===================================================================
--- trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js 2008-03-06 13:13:40 UTC (rev 6593)
+++ trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js 2008-03-06 13:20:44 UTC (rev 6594)
@@ -2,6 +2,27 @@
window.Richfaces = {};
}
+Richfaces.ToolTip = {};
+
+Richfaces.ToolTip.cumulativeOffset = function(element)
+{
+ var valueT = 0, valueL = 0;
+ do {
+ if (window.opera && Richfaces.getComputedStyle(element, 'position') == 'fixed')
+ {
+ valueT += Richfaces.getComputedStyleSize(element,"top");
+ valueL += Richfaces.getComputedStyleSize(element,"left");
+ }
+ else
+ {
+ valueT += element.offsetTop || 0;
+ valueL += element.offsetLeft || 0;
+ }
+ element = element.offsetParent;
+ } while (element);
+ return Element._returnOffset(valueL, valueT);
+};
+
ToolTip = Class.create();
ToolTip.prototype = {
@@ -432,8 +453,8 @@
this.toolTip.style.top = "0px";
this.toolTip.style.left = "0px";
- var offsets = Position.cumulativeOffset(this.toolTip);
-
+ var offsets = Richfaces.ToolTip.cumulativeOffset(this.toolTip);
+
this.toolTip.style.visibility = _visibility;
this.toolTip.style.display = _display;
@@ -459,13 +480,13 @@
coords.x += this.scrollDelta[0];
coords.y += this.scrollDelta[1];
}
+
Element.setStyle(this.toolTip, {"left": coords.x + "px", "top": coords.y + "px"});
if(this.iframe)
{
this.iframe.style.top = (coords.y - this.toolTipBorderHeight) + 'px';
this.iframe.style.left = (coords.x - this.toolTipBorderWidth) + 'px';
}
-
this.eventCopy = A4J.AJAX.CloneObject(e, false);
},
16 years, 10 months
JBoss Rich Faces SVN: r6593 - trunk/ui/inplaceInput/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-03-06 08:13:40 -0500 (Thu, 06 Mar 2008)
New Revision: 6593
Modified:
trunk/ui/inplaceInput/src/main/config/component/inplaceinput.xml
Log:
Modified: trunk/ui/inplaceInput/src/main/config/component/inplaceinput.xml
===================================================================
--- trunk/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2008-03-06 13:10:01 UTC (rev 6592)
+++ trunk/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2008-03-06 13:13:40 UTC (rev 6593)
@@ -33,13 +33,17 @@
<classname>java.lang.String</classname>
<description></description>
</property>
- <property>
+ <property>
+ <name>layout</name>
+ <classname>java.lang.String</classname>
+ <description>inline/block</description>
+ </property>
+ <property>
<name>inputMaxLength</name>
<classname>java.lang.Integer</classname>
<description></description>
<defaultvalue>255</defaultvalue>
</property>
-
<property>
<name>maxInputWidth</name>
<classname>java.lang.String</classname>
16 years, 10 months
JBoss Rich Faces SVN: r6592 - trunk/ui/tree/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2008-03-06 08:10:01 -0500 (Thu, 06 Mar 2008)
New Revision: 6592
Modified:
trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java
Log:
http://jira.jboss.com/jira/browse/RF-765
http://jira.jboss.com/jira/browse/RF-2315
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java 2008-03-06 12:39:55 UTC (rev 6591)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java 2008-03-06 13:10:01 UTC (rev 6592)
@@ -304,12 +304,23 @@
}
public Object saveState(FacesContext context) {
- Object[] state = new Object[5];
+ Object[] state = new Object[16];
state[0] = super.saveState(context);
state[1] = this.dragType;
state[2] = this.acceptedTypes;
state[3] = this.dragIndicator;
state[4] = this.reRender;
+ state[5] = this.oncomplete;
+ state[6] = new Boolean(this.ajaxSingle);
+ state[7] = new Boolean(this.bypassUpdates);
+ state[8] = new Boolean(this.limitToList);
+ state[9] = this.status;
+ state[10] = this.eventsQueue;
+ state[11] = new Integer(this.requestDelay);
+ state[12] = this.focus;
+ state[13] = this.data;
+ state[14] = new Boolean(this.ignoreDupResponses);
+ state[15] = new Integer(this.timeout);
return state;
}
@@ -321,6 +332,17 @@
this.acceptedTypes = _state[2];
this.dragIndicator = (String) _state[3];
this.reRender = (Object) _state[4];
+ this.oncomplete = (String) _state[5];
+ this.ajaxSingle = ((Boolean)_state[6]).booleanValue();
+ this.bypassUpdates = ((Boolean)_state[7]).booleanValue();
+ this.limitToList = ((Boolean)_state[8]).booleanValue();
+ this.status = (String) _state[9];
+ this.eventsQueue = (String) _state[10];
+ this.requestDelay = ((Integer)_state[11]).intValue();
+ this.focus = (String) _state[12];
+ this.data = _state[13];
+ this.ignoreDupResponses = ((Boolean)_state[14]).booleanValue();
+ this.timeout = ((Integer)_state[15]).intValue();
}
public void setDragIndicator(String dragIndicator) {
16 years, 10 months
JBoss Rich Faces SVN: r6591 - trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-03-06 07:39:55 -0500 (Thu, 06 Mar 2008)
New Revision: 6591
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combolist.js
Log:
fix shadow height
Modified: trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combolist.js
===================================================================
--- trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combolist.js 2008-03-06 12:05:46 UTC (rev 6590)
+++ trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combolist.js 2008-03-06 12:39:55 UTC (rev 6591)
@@ -136,15 +136,7 @@
//this.shadowElem.style.visibility = "hidden";
this.listParent.show();
- if (this.shadowElem) {
- if (!Richfaces.browser.isIE6) {
- // shadow offset
- this.shadowElem.style.width = (parseInt(this.width) + 7) + "px";
- this.shadowElem.style.height = (parseInt(height) + 9)+ "px";
- } else {
- this.shadowElem.style.visibility = "hidden";
- }
- }
+
var itemHeight = item.offsetHeight;
@@ -170,6 +162,15 @@
}
height = parseInt(height) + "px";
this.list.style.height = height;
+ if (this.shadowElem) {
+ if (!Richfaces.browser.isIE6) {
+ // shadow offset
+ this.shadowElem.style.width = (parseInt(this.width) + 7) + "px";
+ this.shadowElem.style.height = (parseInt(height) + 9)+ "px";
+ } else {
+ this.shadowElem.style.visibility = "hidden";
+ }
+ }
if (this.iframe) {
this.iframe.style.height = height;
}
16 years, 10 months
JBoss Rich Faces SVN: r6590 - trunk/ui/pickList/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-03-06 07:05:46 -0500 (Thu, 06 Mar 2008)
New Revision: 6590
Modified:
trunk/ui/pickList/src/main/config/component/picklist.xml
Log:
RF-2392
Modified: trunk/ui/pickList/src/main/config/component/picklist.xml
===================================================================
--- trunk/ui/pickList/src/main/config/component/picklist.xml 2008-03-06 12:02:44 UTC (rev 6589)
+++ trunk/ui/pickList/src/main/config/component/picklist.xml 2008-03-06 12:05:46 UTC (rev 6590)
@@ -29,31 +29,12 @@
</tag>
<properties>
-
<property hidden="true">
<name>selectedValues</name>
<classname>java.lang.Object</classname>
</property>
<property>
- <name>valueChangeListener</name>
- <classname>javax.el.MethodExpression</classname>
- <methodargs> javax.faces.event.ValueChangeEvent</methodargs>
- <description>Listener for value changes</description>
- </property>
-
- <property>
- <name>validator</name>
- <classname>javax.el.MethodExpression</classname>
- <methodargs>javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object</methodargs>
- <description>
- MethodBinding pointing at a method that is called during
- Process Validations phase of the request processing lifecycle,
- to validate the current value of this component
- </description>
- </property>
-
- <property>
<name>showButtonsLabel</name>
<classname>java.lang.String</classname>
<defaultvalue>"true"</defaultvalue>
@@ -125,38 +106,32 @@
&html_universal_attributes;
&html_events;
&html_control_events;
-
+ &ui_select_many_attributes;
+
<property>
- <name>converter</name><classname>java.lang.String</classname><description>Id of Converter to be used or reference to a Converter</description>
- </property>
- <property>
<name>converterMessage</name>
<classname>java.lang.String</classname>
<description>A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter</description>
-
</property>
-
-
+
<property>
<name>disabled</name>
<classname>boolean</classname>
<description>If "true", controls is disabled. "false" is default</description>
-
</property>
<property>
<name>disabledStyle</name>
<classname>java.lang.String</classname>
<description>CSS style rules to be applied to disabled controls</description>
-
</property>
<property>
<name>disabledStyleClass</name>
<classname>java.lang.String</classname>
<description>The disabledStyleClass for disabled controls</description>
-
</property>
+
<property>
<name>enabledStyle</name>
<classname>java.lang.String</classname>
@@ -169,18 +144,8 @@
<classname>java.lang.String</classname>
<description>The enabledStyleClass for enabled controls</description>
</property>
-
+
<property>
- <name>immediate</name>
- <classname>boolean</classname>
- <description>
- A flag indicating that this component value must be converted
- and validated immediately (that is, during Apply Request Values
- phase), rather than waiting until a Process Validations phase
- </description>
- </property>
-
- <property>
<name>localValueSet</name>
<classname>java.lang.String</classname>
<description>Id of Converter to be used or reference to a Converter</description>
@@ -191,57 +156,33 @@
<name>moveControlsVerticalAlign</name>
<classname>java.lang.String</classname>
<description>Customizes vertically a position of move/copy controls relatively to lists</description>
-
</property>
-
-
-
<property>
- <name>required</name>
- <classname>boolean</classname>
- <description>
- If "true", this component is checked for non-empty input
- </description>
- </property>
-
- <property>
<name>requiredMessage</name>
<classname>java.lang.String</classname>
<description>A ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used</description>
-
</property>
-
-
+
<property>
<name>size</name>
<classname>int</classname>
<description>This attribute tells the user agent the initial width of the control. The width is given in pixels except when type attribute has the value "text" or "password". In that case, its value refers to the (integer) number of characters</description>
</property>
+
<property>
<name>valid</name>
<classname>java.lang.String</classname>
<description>Id of Converter to be used or reference to a Converter</description>
-
</property>
<property>
<name>validatorMessage</name>
<classname>java.lang.String</classname>
<description>A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator</description>
-
</property>
+
<property>
- <name>value</name>
- <classname>java.lang.Object</classname>
- <description>
- The initial value to set when rendered for the first time
- </description>
- </property>
-
-
-
- <property>
<name>listClass</name>
<classname>java.lang.String</classname>
<description>CSS class for a list</description>
16 years, 10 months
JBoss Rich Faces SVN: r6589 - trunk/cdk/generator/src/main/resources/META-INF/schema/entities.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-03-06 07:02:44 -0500 (Thu, 06 Mar 2008)
New Revision: 6589
Modified:
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ui_select_many_attributes.ent
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ui_select_one_attributes.ent
Log:
fix attributes
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ui_select_many_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ui_select_many_attributes.ent 2008-03-06 11:52:44 UTC (rev 6588)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ui_select_many_attributes.ent 2008-03-06 12:02:44 UTC (rev 6589)
@@ -1,40 +1,63 @@
<properties>
-
-
-
-
-
<property>
<name>id</name><classname>java.lang.String</classname><description>Every component may have a unique id automatically created if omitted</description>
</property>
<property>
- <name>rendered</name><classname>java.lang.String</classname><description>If "false", this component isn't rendered</description>
+ <name>rendered</name>
+ <classname>boolean</classname>
+ <description>
+ If "false", this component is not rendered
+ </description>
</property>
- <property>
- <name>binding</name><classname>java.lang.String</classname><description>The attribute takes a value-binding expression for a component property of
-a backing bean</description>
+ <property existintag="true" exist="true" el="true" elonly="true">
+ <name>binding</name>
+ <classname>java.lang.String</classname>
+ <description>The attribute takes a value-binding expression for a component property of a backing bean</description>
</property>
-
<property>
- <name>value</name><classname>java.lang.String</classname><description>The initial value to set when rendered for the first time</description>
+ <name>value</name>
+ <classname>java.lang.Object</classname>
+ <description>
+ The initial value to set when rendered for the first time
+ </description>
</property>
- <property>
- <name>converter</name><classname>java.lang.String</classname><description>Id of Converter to be used or reference to a Converter</description>
+ <property attachedstate="true">
+ <name>converter</name>
+ <classname>javax.faces.convert.Converter</classname>
+ <description>
+ Id of Converter to be used or reference to a Converter
+ </description>
</property>
-
<property>
- <name>immediate</name><classname>java.lang.String</classname><description>A flag indicating that this component value must be converted and validated immediately (that is, during an Apply Request Values phase), rather than waiting until a Process Validations phase</description>
+ <name>immediate</name>
+ <classname>boolean</classname>
+ <description>
+ A flag indicating that this component value must be converted
+ and validated immediately (that is, during Apply Request Values
+ phase), rather than waiting until a Process Validations phase
+ </description>
</property>
<property>
- <name>required</name><classname>java.lang.String</classname><description>If "true", this component is checked for a non-empty input</description>
+ <name>required</name>
+ <classname>boolean</classname>
+ <description>
+ If "true", this component is checked for non-empty input
+ </description>
</property>
- <property>
- <name>validator</name><classname>java.lang.String</classname><description>MethodBinding pointing at a method that is called during Process Validations phase of the request processing lifecycle, to validate the current value of this component</description>
+ <property attachedstate="true">
+ <name>validator</name>
+ <classname>javax.faces.el.MethodBinding</classname>
+ <methodargs>javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object</methodargs>
+ <description>
+ MethodBinding pointing at a method that is called during
+ Process Validations phase of the request processing lifecycle,
+ to validate the current value of this component
+ </description>
</property>
- <property>
- <name>valueChangeListener</name><classname>java.lang.String</classname><description>Listener for value changes</description>
+ <property attachedstate="true">
+ <name>valueChangeListener</name>
+ <classname>javax.faces.el.MethodBinding</classname>
+ <methodargs>javax.faces.event.ValueChangeEvent</methodargs>
+ <description>Listener for value changes</description>
</property>
-
-
-
-</properties>
+ </properties>
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ui_select_one_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ui_select_one_attributes.ent 2008-03-06 11:52:44 UTC (rev 6588)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ui_select_one_attributes.ent 2008-03-06 12:02:44 UTC (rev 6589)
@@ -1,40 +1,63 @@
<properties>
-
-
-
-
-
<property>
- <name>id</name><classname>java.lang.String</classname><description>Every component may have an unique id. Automatically created if omitted</description>
+ <name>id</name><classname>java.lang.String</classname><description>Every component may have a unique id automatically created if omitted</description>
</property>
<property>
- <name>rendered</name><classname>java.lang.String</classname><description>If "false", this component isn't rendered</description>
+ <name>rendered</name>
+ <classname>boolean</classname>
+ <description>
+ If "false", this component is not rendered
+ </description>
</property>
- <property>
- <name>binding</name><classname>java.lang.String</classname><description>The attribute takes a value-binding expression for a component property of
-a backing bean</description>
+ <property existintag="true" exist="true" el="true" elonly="true">
+ <name>binding</name>
+ <classname>java.lang.String</classname>
+ <description>The attribute takes a value-binding expression for a component property of a backing bean</description>
</property>
-
<property>
- <name>value</name><classname>java.lang.String</classname><description>Initial value to set when rendered for the first time</description>
+ <name>value</name>
+ <classname>java.lang.Object</classname>
+ <description>
+ The initial value to set when rendered for the first time
+ </description>
</property>
- <property>
- <name>converter</name><classname>java.lang.String</classname><description>Id of Converter to be used or reference to a Converter</description>
+ <property attachedstate="true">
+ <name>converter</name>
+ <classname>javax.faces.convert.Converter</classname>
+ <description>
+ Id of Converter to be used or reference to a Converter
+ </description>
</property>
-
<property>
- <name>immediate</name><classname>java.lang.String</classname><description> Flag indicating that this component value must be converted and validated immediately (that is, during an Apply Request Values phase), rather than waiting until Process Validations phase</description>
+ <name>immediate</name>
+ <classname>boolean</classname>
+ <description>
+ A flag indicating that this component value must be converted
+ and validated immediately (that is, during Apply Request Values
+ phase), rather than waiting until a Process Validations phase
+ </description>
</property>
<property>
- <name>required</name><classname>java.lang.String</classname><description>If "true", this component will be checked for non-empty input</description>
+ <name>required</name>
+ <classname>boolean</classname>
+ <description>
+ If "true", this component is checked for non-empty input
+ </description>
</property>
- <property>
- <name>validator</name><classname>java.lang.String</classname><description>MethodBinding pointing at a method that is called during a Process Validations phase of the request processing lifecycle, to validate the current value of this component</description>
+ <property attachedstate="true">
+ <name>validator</name>
+ <classname>javax.faces.el.MethodBinding</classname>
+ <methodargs>javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object</methodargs>
+ <description>
+ MethodBinding pointing at a method that is called during
+ Process Validations phase of the request processing lifecycle,
+ to validate the current value of this component
+ </description>
</property>
- <property>
- <name>valueChangeListener</name><classname>java.lang.String</classname><description>Listener for value changes</description>
+ <property attachedstate="true">
+ <name>valueChangeListener</name>
+ <classname>javax.faces.el.MethodBinding</classname>
+ <methodargs>javax.faces.event.ValueChangeEvent</methodargs>
+ <description>Listener for value changes</description>
</property>
-
-
-
-</properties>
+ </properties>
16 years, 10 months