JBoss Rich Faces SVN: r14325 - branches/community/3.3.X/test-applications/richfaces-docs/web/src/main/webapp.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-05-26 08:04:17 -0400 (Tue, 26 May 2009)
New Revision: 14325
Added:
branches/community/3.3.X/test-applications/richfaces-docs/web/src/main/webapp/jQuery.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-7016
Added: branches/community/3.3.X/test-applications/richfaces-docs/web/src/main/webapp/jQuery.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/richfaces-docs/web/src/main/webapp/jQuery.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/richfaces-docs/web/src/main/webapp/jQuery.xhtml 2009-05-26 12:04:17 UTC (rev 14325)
@@ -0,0 +1,37 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="layout/template.xhtml">
+
+ <ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <rich:panel>
+ <f:facet name="header">rich:jQuery</f:facet>
+
+ <h:panelGrid columns="1" columnClasses="cent">
+ <h:panelGroup id="picture1">
+ <h:graphicImage width="50" value="/img/jQuery/dog1.jpg"
+ onmouseover="enlargePic(this, {pwidth:'200px'})" onmouseout="releasePic(this)" />
+ </h:panelGroup>
+ </h:panelGrid>
+
+ <h:panelGrid columns="1" columnClasses="cent">
+ <h:panelGroup id="picture2">
+ <h:graphicImage width="50" value="/img/jQuery/dog2.jpg"
+ onmouseover="enlargePic(this, {pwidth:'200px'})" onmouseout="releasePic(this)" />
+ </h:panelGroup>
+ </h:panelGrid>
+
+ <rich:jQuery name="enlargePic" timing="onJScall" query="animate({width:param.pwidth})" />
+ <rich:jQuery name="releasePic" timing="onJScall" query="animate({width:'50px'})"/>
+ </rich:panel>
+
+ </ui:define>
+</ui:composition>
15 years, 7 months
JBoss Rich Faces SVN: r14324 - in branches/community/3.3.X/ui/inputnumber-spinner/src: main/templates and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-05-26 07:50:39 -0400 (Tue, 26 May 2009)
New Revision: 14324
Modified:
branches/community/3.3.X/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/css/spinner.xcss
branches/community/3.3.X/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx
branches/community/3.3.X/ui/inputnumber-spinner/src/test/java/org/richfaces/component/InputNumberSpinnerComponentTest.java
Log:
RF-7221
Modified: branches/community/3.3.X/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/css/spinner.xcss
===================================================================
--- branches/community/3.3.X/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/css/spinner.xcss 2009-05-26 11:37:16 UTC (rev 14323)
+++ branches/community/3.3.X/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/css/spinner.xcss 2009-05-26 11:50:39 UTC (rev 14324)
@@ -5,7 +5,7 @@
<f:verbatim>
<![CDATA[
-.dr-spnr-e {
+.rich-spinner-input-container {
padding: 0px;
margin: 0px;
@@ -15,14 +15,14 @@
border-width: 1px 0px 1px 1px;
}
-input.dr-spnr-i {
+input.rich-spinner-input {
border: 0px;
padding: 0px 0px 0px 3px;
background: none transparent scroll repeat 0% 0%;
margin: 0px;
}
-.dr-spnr-b {
+.rich-spinner-buttons {
border-width: 1px;
border-style: solid;
padding: 0px;
@@ -32,13 +32,13 @@
font-size: 0px;
}
-.dr-spnr-bn{
+.rich-spinner-bn{
margin: 0px 1px 1px 0px;
display: block;
border-style: none;
}
-.dr-spnr-bp{
+.rich-spinner-bp{
margin: 1px 0px 0px 1px;
display: block;
border-style: none;
@@ -47,7 +47,7 @@
</f:verbatim>
- <u:selector name=".dr-spnr-b">
+ <u:selector name=".rich-spinner-buttons">
<u:style name="background-color" skin="headerBackgroundColor" />
<u:style name="border-color" skin="panelBorderColor" />
<u:style name="background-image">
@@ -55,12 +55,12 @@
</u:style>
</u:selector>
- <u:selector name=".dr-spnr-i">
+ <u:selector name=".rich-spinner-input">
<u:style name="font-size" skin="buttonSizeFont"/>
<u:style name="font-family" skin="buttonFamilyFont"/>
</u:selector>
- <u:selector name=".dr-spnr-e">
+ <u:selector name=".rich-spinner-input-container">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SpinnerFieldGradient" />
</u:style>
Modified: branches/community/3.3.X/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx
===================================================================
--- branches/community/3.3.X/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx 2009-05-26 11:37:16 UTC (rev 14323)
+++ branches/community/3.3.X/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx 2009-05-26 11:50:39 UTC (rev 14324)
@@ -20,7 +20,7 @@
<h:scripts>new org.ajax4jsf.javascript.PrototypeScript(),script/SpinnerScript.js,/org/richfaces/renderkit/html/scripts/browser_info.js</h:scripts>
<h:styles>css/spinner.xcss</h:styles>
-<table width="2%" class="dr-spnr-c rich-spinner-c #{component.attributes['styleClass']}" id="#{clientId}" cellspacing="0" cellpadding="0" border="0" style="#{component.attributes['style']}" onclick="#{component.attributes['onclick']}"
+<table width="2%" class="rich-spinner-c #{component.attributes['styleClass']}" id="#{clientId}" cellspacing="0" cellpadding="0" border="0" style="#{component.attributes['style']}" onclick="#{component.attributes['onclick']}"
ondblclick="#{component.attributes['ondblclick']}"
onmousedown="#{component.attributes['onmousedown']}"
onmousemove="#{component.attributes['onmousemove']}"
@@ -29,7 +29,7 @@
onmouseup="#{component.attributes['onmouseup']}">
<tbody>
<tr>
- <td style="width:1%" class="dr-spnr-e rich-spinner-input-container" id="#{clientId}Edit">
+ <td style="width:1%" class="rich-spinner-input-container" id="#{clientId}Edit">
<jsp:scriptlet><![CDATA[
String autocomplete = "";
boolean disableBrowserAutoComplete = getUtils().isBooleanAttribute(component, "disableBrowserAutoComplete");
@@ -41,7 +41,7 @@
]]></jsp:scriptlet>
<input
- class="dr-spnr-i rich-spinner-input #{component.attributes['inputClass']}"
+ class="rich-spinner-input #{component.attributes['inputClass']}"
onchange="#{component.attributes['onchange']}"
onselect="#{component.attributes['onselect']}"
onfocus="#{component.attributes['onfocus']}"
@@ -67,7 +67,7 @@
autocomplete='#{autocomplete}'
/>
</td>
- <td id="#{clientId}For" class="dr-spnr-b rich-spinner-buttons" style="width:1%">
+ <td id="#{clientId}For" class="rich-spinner-buttons" style="width:1%">
<table id="#{clientId}Buttons" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
@@ -79,12 +79,12 @@
<input
type="image"
src="#{up_arrow}"
- class="dr-spnr-bn rich-spinner-button"
+ class="rich-spinner-bn rich-spinner-button"
style="border:0"
onclick="return false"
- onmousedown="this.className='dr-spnr-bp rich-spinner-button'"
- onmouseup="this.className='dr-spnr-bn rich-spinner-button'"
- onmouseout="this.className='dr-spnr-bn rich-spinner-button'"
+ onmousedown="this.className='rich-spinner-bp rich-spinner-button'"
+ onmouseup="this.className='rich-spinner-bn rich-spinner-button'"
+ onmouseout="this.className='rich-spinner-bn rich-spinner-button'"
tabindex="#{component.attributes['tabindex']}" />
<jsp:scriptlet><![CDATA[
} else {
@@ -92,7 +92,7 @@
<input
type="image"
src="#{up_arrow}"
- class="dr-spnr-bn rich-spinner-button"
+ class="rich-spinner-bn rich-spinner-button"
style="border:0"
onclick="return false"
tabindex="#{component.attributes['tabindex']}" />
@@ -106,12 +106,12 @@
<jsp:scriptlet><![CDATA[
if (! disabled) {
]]></jsp:scriptlet>
- <input type="image" src="#{down_arrow}" class="dr-spnr-bn rich-spinner-button" style="border:0" onclick="return false"
- onmousedown="this.className='dr-spnr-bp rich-spinner-button'" onmouseup="this.className='dr-spnr-bn rich-spinner-button'" onmouseout="this.className='dr-spnr-bn rich-spinner-button'" />
+ <input type="image" src="#{down_arrow}" class="rich-spinner-bn rich-spinner-button" style="border:0" onclick="return false"
+ onmousedown="this.className='rich-spinner-bp rich-spinner-button'" onmouseup="this.className='rich-spinner-bn rich-spinner-button'" onmouseout="this.className='rich-spinner-bn rich-spinner-button'" />
<jsp:scriptlet><![CDATA[
} else {
]]></jsp:scriptlet>
- <input type="image" src="#{down_arrow}" class="dr-spnr-bn rich-spinner-button" style="border:0" onclick="return false" />
+ <input type="image" src="#{down_arrow}" class="rich-spinner-bn rich-spinner-button" style="border:0" onclick="return false" />
<jsp:scriptlet><![CDATA[
}
]]></jsp:scriptlet>
Modified: branches/community/3.3.X/ui/inputnumber-spinner/src/test/java/org/richfaces/component/InputNumberSpinnerComponentTest.java
===================================================================
--- branches/community/3.3.X/ui/inputnumber-spinner/src/test/java/org/richfaces/component/InputNumberSpinnerComponentTest.java 2009-05-26 11:37:16 UTC (rev 14323)
+++ branches/community/3.3.X/ui/inputnumber-spinner/src/test/java/org/richfaces/component/InputNumberSpinnerComponentTest.java 2009-05-26 11:50:39 UTC (rev 14324)
@@ -122,18 +122,18 @@
assertNotNull(htmlSpinner);
assertTrue(htmlSpinner.getAttributeValue("class").contains(
- "dr-spnr-c rich-spinner-c"));
+ "rich-spinner-c"));
HtmlElement htmlSpinnerEdit = (HtmlElement) renderedView
.getHtmlElementById(spinner.getClientId(facesContext) + "Edit");
assertNotNull(htmlSpinnerEdit);
assertTrue(htmlSpinnerEdit.getAttributeValue("class").contains(
- "dr-spnr-e rich-spinner-input-container"));
+ "rich-spinner-input-container"));
HtmlInput htmlSpinnerInput = (HtmlInput) htmlSpinnerEdit.getLastChild();
assertNotNull(htmlSpinnerInput);
assertTrue(htmlSpinnerInput.getAttributeValue("class").contains(
- "dr-spnr-i rich-spinner-input"));
+ "rich-spinner-input"));
HtmlElement buttonsContainer = (HtmlElement) renderedView
.getHtmlElementById(spinner.getClientId(facesContext)
@@ -144,7 +144,7 @@
HtmlInput child = (HtmlInput) iter.next();
assertTrue(child.getTypeAttribute().equals("image"));
assertTrue(child.getAttributeValue("class").contains(
- "dr-spnr-bn rich-spinner-button"));
+ "rich-spinner-bn rich-spinner-button"));
}
}
15 years, 7 months
JBoss Rich Faces SVN: r14323 - branches/community/3.3.X/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-05-26 07:37:16 -0400 (Tue, 26 May 2009)
New Revision: 14323
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_page.xml
Log:
https://jira.jboss.org/jira/browse/RF-7231 - adding the note to the 'Details of usage' section;
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_page.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_page.xml 2009-05-26 10:14:56 UTC (rev 14322)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_page.xml 2009-05-26 11:37:16 UTC (rev 14323)
@@ -111,6 +111,12 @@
</rich:page>
...]]></programlisting>
+ <note>
+ <title>Note:</title>
+ <para>Note, the <emphasis role="bold"><property><rich:page></property></emphasis> component encodes the full page structure. Therefore, be sure you don't
+ use the doctype declaration, root html element, head and body elements on the same page where you've put this component.</para>
+ </note>
+
<para>The implementation of the <emphasis role="bold"><property><rich:page></property></emphasis> component provides four facets that you can use to arrange the layout of the page: "header", "subheader", "sidebar" and "footer". Their behavior is quite self-explanatory. </para>
<para>The position of the panel rendered by the "sidebar" facet can be set with the <emphasis><property>"sidebarPosition"</property></emphasis> attribute that can take either "right" or "left" as values, you can also specify the width for this facet with the <emphasis><property>"sidebarWidth"</property></emphasis> attribute. </para>
<para>
15 years, 7 months
JBoss Rich Faces SVN: r14322 - branches/community/3.3.X/docs/userguide/en/src/main/docbook.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-05-26 06:14:56 -0400 (Tue, 26 May 2009)
New Revision: 14322
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/master.xml
Log:
https://jira.jboss.org/jira/browse/RF-7081 - reverting the last modifications;
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/master.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/master.xml 2009-05-26 10:13:47 UTC (rev 14321)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/master.xml 2009-05-26 10:14:56 UTC (rev 14322)
@@ -7,125 +7,60 @@
<!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 extendedDataTable_table SYSTEM "../../../target/generated/extendedDataTable.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 inplaceInput_table SYSTEM "../../../target/generated/inplaceInput.xml">
+ <!ENTITY inplaceSelect_table SYSTEM "../../../target/generated/inplaceSelect.xml">
+ <!ENTITY fileUpload_table SYSTEM "../../../target/generated/fileUpload.xml">
+ <!ENTITY hotKey_table SYSTEM "../../../target/generated/hotKey.xml">
+ <!ENTITY coreComponents_table SYSTEM "../../../target/generated/a4j.xml">
+ <!ENTITY beanValidator_table SYSTEM "../../../target/generated/beanValidator.xml">
+ <!ENTITY editor_table SYSTEM "../../../target/generated/editor.xml">
+ <!ENTITY colorPicker_table SYSTEM "../../../target/generated/colorPicker.xml">
+ <!ENTITY layout_table SYSTEM "../../../target/generated/layout.xml">
- <!ENTITY a4j_actionparam SYSTEM "../../../target/generated/a4j_actionparam.xml">
- <!ENTITY a4j_form SYSTEM "../../../target/generated/a4j_form.xml">
- <!ENTITY a4j_region SYSTEM "../../../target/generated/a4j_region.xml">
- <!ENTITY a4j_support SYSTEM "../../../target/generated/a4j_support.xml">
- <!ENTITY a4j_commandButton SYSTEM "../../../target/generated/a4j_commandButton.xml">
- <!ENTITY a4j_commandLink SYSTEM "../../../target/generated/a4j_commandLink.xml">
- <!ENTITY a4j_jsFunction SYSTEM "../../../target/generated/a4j_jsFunction.xml">
- <!ENTITY a4j_poll SYSTEM "../../../target/generated/a4j_poll.xml">
- <!ENTITY a4j_push SYSTEM "../../../target/generated/a4j_push.xml">
- <!ENTITY a4j_queue SYSTEM "../../../target/generated/a4j_queue.xml">
- <!ENTITY a4j_status SYSTEM "../../../target/generated/a4j_status.xml">
- <!ENTITY a4j_ajaxListener SYSTEM "../../../target/generated/a4j_ajaxListener.xml">
-
- <!ENTITY a4j_loadBundle SYSTEM "../../../target/generated/a4j_loadBundle.xml">
- <!ENTITY a4j_loadScript SYSTEM "../../../target/generated/a4j_loadScript.xml">
- <!ENTITY a4j_loadStyle SYSTEM "../../../target/generated/a4j_loadStyle.xml">
- <!ENTITY a4j_keepAlive SYSTEM "../../../target/generated/a4j_keepAlive.xml">
-
- <!ENTITY rich_ajaxValidator SYSTEM "../../../target/generated/rich_ajaxValidator.xml">
- <!ENTITY rich_beanValidator SYSTEM "../../../target/generated/rich_beanValidator.xml">
- <!ENTITY rich_graphValidator SYSTEM "../../../target/generated/rich_graphValidator.xml">
-
- <!ENTITY a4j_mediaOutput SYSTEM "../../../target/generated/a4j_mediaOutput.xml">
- <!ENTITY a4j_include SYSTEM "../../../target/generated/a4j_include.xml">
- <!ENTITY a4j_outputPanel SYSTEM "../../../target/generated/a4j_outputPanel.xml">
-
- <!ENTITY a4j_page SYSTEM "../../../target/generated/a4j_page.xml">
- <!ENTITY a4j_portlet SYSTEM "../../../target/generated/a4j_portlet.xml">
- <!ENTITY a4j_htmlCommandLink SYSTEM "../../../target/generated/a4j_htmlCommandLink.xml">
- <!ENTITY a4j_log SYSTEM "../../../target/generated/a4j_log.xml">
-
- <!ENTITY rich_column SYSTEM "../../../target/generated/rich_column.xml">
- <!ENTITY rich_columnGroup SYSTEM "../../../target/generated/rich_columnGroup.xml">
- <!ENTITY rich_columns SYSTEM "../../../target/generated/rich_columns.xml">
- <!ENTITY rich_dataDefinitionList SYSTEM "../../../target/generated/rich_dataDefinitionList.xml">
- <!ENTITY rich_dataFilterSlider SYSTEM "../../../target/generated/rich_dataFilterSlider.xml">
- <!ENTITY rich_dataGrid SYSTEM "../../../target/generated/rich_dataGrid.xml">
- <!ENTITY rich_dataList SYSTEM "../../../target/generated/rich_dataList.xml">
- <!ENTITY rich_dataOrderedList SYSTEM "../../../target/generated/rich_dataOrderedList.xml">
- <!ENTITY rich_datascroller SYSTEM "../../../target/generated/rich_datascroller.xml">
- <!ENTITY rich_dataTable SYSTEM "../../../target/generated/rich_dataTable.xml">
- <!ENTITY rich_subTable SYSTEM "../../../target/generated/rich_subTable.xml">
- <!ENTITY rich_extendedDataTable SYSTEM "../../../target/generated/rich_extendedDataTable.xml">
- <!ENTITY a4j_repeat SYSTEM "../../../target/generated/a4j_repeat.xml">
- <!ENTITY rich_scrollableDataTable SYSTEM "../../../target/generated/rich_scrollableDataTable.xml">
-
- <!ENTITY rich_dragIndicator SYSTEM "../../../target/generated/rich_dragIndicator.xml">
- <!ENTITY rich_dragSupport SYSTEM "../../../target/generated/rich_dragSupport.xml">
- <!ENTITY rich_dndParam SYSTEM "../../../target/generated/rich_dndParam.xml">
- <!ENTITY rich_dropSupport SYSTEM "../../../target/generated/rich_dropSupport.xml">
- <!ENTITY rich_dropListener SYSTEM "../../../target/generated/rich_dropListener.xml">
- <!ENTITY rich_dragListener SYSTEM "../../../target/generated/rich_dragListener.xml">
-
- <!ENTITY rich_contextMenu SYSTEM "../../../target/generated/rich_contextMenu.xml">
- <!ENTITY rich_dropDownMenu SYSTEM "../../../target/generated/rich_dropDownMenu.xml">
- <!ENTITY rich_menuGroup SYSTEM "../../../target/generated/rich_menuGroup.xml">
- <!ENTITY rich_menuItem SYSTEM "../../../target/generated/rich_menuItem.xml">
- <!ENTITY rich_menuSeparator SYSTEM "../../../target/generated/rich_menuSeparator.xml">
-
- <!ENTITY rich_recursiveTreeNodesAdaptor SYSTEM "../../../target/generated/rich_recursiveTreeNodesAdaptor.xml">
- <!ENTITY rich_tree SYSTEM "../../../target/generated/rich_tree.xml">
- <!ENTITY rich_treeNode SYSTEM "../../../target/generated/rich_treeNode.xml">
- <!ENTITY rich_treeNodesAdaptor SYSTEM "../../../target/generated/rich_treeNodesAdaptor.xml">
- <!ENTITY rich_changeExpandListener SYSTEM "../../../target/generated/rich_changeExpandListener.xml">
- <!ENTITY rich_nodeSelectListener SYSTEM "../../../target/generated/rich_nodeSelectListener.xml">
-
- <!ENTITY rich_modalPanel SYSTEM "../../../target/generated/rich_modalPanel.xml">
- <!ENTITY rich_paint2D SYSTEM "../../../target/generated/rich_paint2D.xml">
- <!ENTITY rich_panel SYSTEM "../../../target/generated/rich_panel.xml">
- <!ENTITY rich_panelBar SYSTEM "../../../target/generated/rich_panelBar.xml">
- <!ENTITY rich_panelBarItem SYSTEM "../../../target/generated/rich_panelBarItem.xml">
- <!ENTITY rich_panelMenu SYSTEM "../../../target/generated/rich_panelMenu.xml">
- <!ENTITY rich_panelMenuItem SYSTEM "../../../target/generated/rich_panelMenuItem.xml">
- <!ENTITY rich_panelMenuGroup SYSTEM "../../../target/generated/rich_panelMenuGroup.xml">
- <!ENTITY rich_progressBar SYSTEM "../../../target/generated/rich_progressBar.xml">
- <!ENTITY rich_separator SYSTEM "../../../target/generated/rich_separator.xml">
- <!ENTITY rich_simpleTogglePanel SYSTEM "../../../target/generated/rich_simpleTogglePanel.xml">
- <!ENTITY rich_spacer SYSTEM "../../../target/generated/rich_spacer.xml">
- <!ENTITY rich_tabPanel SYSTEM "../../../target/generated/rich_tabPanel.xml">
- <!ENTITY rich_tab SYSTEM "../../../target/generated/rich_tab.xml">
- <!ENTITY rich_togglePanel SYSTEM "../../../target/generated/rich_togglePanel.xml">
- <!ENTITY rich_toggleControl SYSTEM "../../../target/generated/rich_toggleControl.xml">
- <!ENTITY rich_toolBar SYSTEM "../../../target/generated/rich_toolBar.xml">
- <!ENTITY rich_toolBarGroup SYSTEM "../../../target/generated/rich_toolBarGroup.xml">
- <!ENTITY rich_toolTip SYSTEM "../../../target/generated/rich_toolTip.xml">
-
- <!ENTITY rich_calendar SYSTEM "../../../target/generated/rich_calendar.xml">
- <!ENTITY rich_colorPicker SYSTEM "../../../target/generated/rich_colorPicker.xml">
- <!ENTITY rich_comboBox SYSTEM "../../../target/generated/rich_comboBox.xml">
- <!ENTITY rich_editor SYSTEM "../../../target/generated/rich_editor.xml">
- <!ENTITY rich_fileUpload SYSTEM "../../../target/generated/rich_fileUpload.xml">
- <!ENTITY rich_inplaceInput SYSTEM "../../../target/generated/rich_inplaceInput.xml">
- <!ENTITY rich_inplaceSelect SYSTEM "../../../target/generated/rich_inplaceSelect.xml">
- <!ENTITY rich_inputNumberSlider SYSTEM "../../../target/generated/rich_inputNumberSlider.xml">
- <!ENTITY rich_inputNumberSpinner SYSTEM "../../../target/generated/rich_inputNumberSpinner.xml">
- <!ENTITY rich_suggestionbox SYSTEM "../../../target/generated/rich_suggestionbox.xml">
-
- <!ENTITY rich_listShuttle SYSTEM "../../../target/generated/rich_listShuttle.xml">
- <!ENTITY rich_orderingList SYSTEM "../../../target/generated/rich_orderingList.xml">
- <!ENTITY rich_pickList SYSTEM "../../../target/generated/rich_pickList.xml">
-
- <!ENTITY rich_page SYSTEM "../../../target/generated/rich_page.xml">
- <!ENTITY rich_layout SYSTEM "../../../target/generated/rich_layout.xml">
- <!ENTITY rich_layoutPanel SYSTEM "../../../target/generated/rich_layoutPanel.xml">
-
-
- <!ENTITY rich_componentControl SYSTEM "../../../target/generated/rich_componentControl.xml">
- <!ENTITY rich_effect SYSTEM "../../../target/generated/rich_effect.xml">
- <!ENTITY rich_gmap SYSTEM "../../../target/generated/rich_gmap.xml">
- <!ENTITY rich_virtualEarth SYSTEM "../../../target/generated/rich_virtualEarth.xml">
- <!ENTITY rich_hotKey SYSTEM "../../../target/generated/rich_hotKey.xml">
- <!ENTITY rich_insert SYSTEM "../../../target/generated/rich_insert.xml">
- <!ENTITY rich_message SYSTEM "../../../target/generated/rich_message.xml">
- <!ENTITY rich_messages SYSTEM "../../../target/generated/rich_messages.xml">
- <!ENTITY rich_jQuery SYSTEM "../../../target/generated/rich_jQuery.xml">
]>
<book>
<bookinfo>
@@ -166,184 +101,69 @@
&rfcarchitectover;
<chapter role="NotInToc" id="RichFacesComponentsLibrary" xreflabel="RichFacesComponentsLibrary">
- <?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>
- <?forseChanks?>
- <section id="ajaxSupport" xreflabel="ajaxSupport">
- <?dbhtml filename="ajaxSupport.html"?>
- <title>Ajax Support</title>
- <?forseChanks?>
- &a4j_ajaxListener;
- &a4j_actionparam;
- &a4j_form;
- &a4j_region;
- &a4j_support;
- &a4j_commandButton;
- &a4j_commandLink;
- &a4j_jsFunction;
- &a4j_poll;
- &a4j_push;
- &a4j_queue;
- &a4j_status;
- </section>
- <section id="resourcesBeansHandling" xreflabel="resourcesBeansHandling">
- <?dbhtml filename="resourcesBeansHandling.html"?>
- <title>Resources/Beans Handling</title>
- <?forseChanks?>
- &a4j_loadBundle;
- &a4j_keepAlive;
- &a4j_loadScript;
- &a4j_loadStyle;
- </section>
- <section id="ajaxValidators" xreflabel="ajaxValidators">
- <?dbhtml filename="ajaxValidators.html"?>
- <title>Ajax Validators</title>
- <?forseChanks?>
- &rich_ajaxValidator;
- &rich_beanValidator;
- &rich_graphValidator;
- </section>
- <section id="ajaxOutput" xreflabel="ajaxOutput">
- <?dbhtml filename="ajaxOutput.html"?>
- <title>Ajax Output</title>
- <?forseChanks?>
- &a4j_include;
- &a4j_mediaOutput;
- &a4j_outputPanel;
- </section>
- <section id="ajaxMiscellaneous" xreflabel="ajaxMiscellaneous">
- <?dbhtml filename="ajaxMiscellaneous.html"?>
- <title>Ajax Miscellaneous</title>
- <?forseChanks?>
- &a4j_page;
- &a4j_portlet;
- &a4j_htmlCommandLink;
- &a4j_log;
- </section>
- <section id="dataIteration" xreflabel="dataIteration">
- <?dbhtml filename="dataIteration.html"?>
- <title>Data Iteration</title>
- <?forseChanks?>
- &rich_column;
- &rich_columnGroup;
- &rich_columns;
- &rich_dataDefinitionList;
- &rich_dataFilterSlider;
- &rich_dataGrid;
- &rich_dataList;
- &rich_dataOrderedList;
- &rich_datascroller;
- &rich_dataTable;
- &rich_subTable;
- &rich_extendedDataTable;
- &a4j_repeat;
- &rich_scrollableDataTable;
- </section>
- <section id="dndSupport" xreflabel="dndSupport">
- <?dbhtml filename="dndSupport.html"?>
- <title>Drag-Drop Support</title>
- <?forseChanks?>
- &rich_dragIndicator;
- &rich_dragSupport;
- &rich_dragListener;
- &rich_dropListener;
- &rich_dropSupport;
- &rich_dndParam;
- </section>
- <section id="richMenu" xreflabel="richMenu">
- <?dbhtml filename="richMenu.html"?>
- <title>Rich Menu</title>
- <?forseChanks?>
- &rich_contextMenu;
- &rich_dropDownMenu;
- &rich_menuGroup;
- &rich_menuItem;
- &rich_menuSeparator;
- </section>
- <section id="richTrees" xreflabel="richTrees">
- <?dbhtml filename="richTrees.html"?>
- <title>Rich Trees</title>
- <?forseChanks?>
- &rich_tree;
- &rich_treeNode;
- &rich_treeNodesAdaptor;
- &rich_recursiveTreeNodesAdaptor;
- &rich_changeExpandListener;
- &rich_nodeSelectListener;
- </section>
- <section id="richOutput" xreflabel="richOutput">
- <?dbhtml filename="richOutput.html"?>
- <title>Rich Output</title>
- <?forseChanks?>
- &rich_modalPanel;
- &rich_paint2D;
- &rich_panel;
- &rich_panelBar;
- &rich_panelBarItem;
- &rich_panelMenu;
- &rich_panelMenuGroup;
- &rich_panelMenuItem;
- &rich_progressBar;
- &rich_separator;
- &rich_simpleTogglePanel;
- &rich_spacer;
- &rich_tabPanel;
- &rich_tab;
- &rich_togglePanel;
- &rich_toggleControl;
- &rich_toolBar;
- &rich_toolBarGroup;
- &rich_toolTip;
- </section>
- <section id="richInput" xreflabel="richInput">
- <?dbhtml filename="richInput.html"?>
- <title>Rich Input</title>
- <?forseChanks?>
- &rich_calendar;
- &rich_colorPicker;
- &rich_comboBox;
- &rich_editor;
- &rich_fileUpload;
- &rich_inplaceInput;
- &rich_inplaceSelect;
- &rich_inputNumberSlider;
- &rich_inputNumberSpinner;
- &rich_suggestionbox;
- </section>
- <section id="richSelects" xreflabel="richSelects">
- <?dbhtml filename="richSelects.html"?>
- <title>Rich Selects</title>
- <?forseChanks?>
- &rich_listShuttle;
- &rich_orderingList;
- &rich_pickList;
- </section>
- <section id="richSemanticLayouts" xreflabel="richSemanticLayouts">
- <?dbhtml filename="richSemanticLayouts.html"?>
- <title>Rich Semantic Layouts</title>
- <?forseChanks?>
- &rich_page;
- &rich_layout;
- &rich_layoutPanel;
- </section>
- <section id="richMiscellaneous" xreflabel="richMiscellaneous">
- <?dbhtml filename="richMiscellaneous.html"?>
- <title>Rich Miscellaneous</title>
- <?forseChanks?>
- &rich_componentControl;
- &rich_effect;
- &rich_gmap;
- &rich_virtualEarth;
- &rich_hotKey;
- &rich_insert;
- &rich_message;
- &rich_messages;
- &rich_jQuery;
- </section>
+ <?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>
+<!--ulink url="http://richfaces.ajax4jsf.org/rich">http://richfaces.ajax4jsf.org/rich</ulink-->
+ </emphasis>.</para>
+ <!--
+&richfaces_table;
+ -->
+<?forseChanks?>
+
+&coreComponents_table;
+&beanValidator_table;
+&calendar_table;
+&colorPicker_table;
+&comboBox_table;
+&componentControl_table;
+&contextMenu_table;
+&dataFilterSlider_table;
+&dataScroller_table;
+&columns_table;
+&dataTable_table;
+&editor_table;
+&dnd_table;
+&dropDownMenu_table;
+&extendedDataTable_table;
+&menuComponents_table;
+&effect_table;
+&fileUpload_table;
+&gmap_table;
+&graphValidator_table;
+&virtualEarth_table;
+&hotKey_table;
+&inplaceInput_table;
+&inplaceSelect_table;
+&inputNumberSlider_table;
+&inputNumberSpinner_table;
+&insert_table;
+&jQuery_table;
+&layout_table;
+&listShuttle_table;
+&message_table;
+&modalPanel_table;
+&orderingList_table;
+&paint2D_table;
+&panel_table;
+&panelBar_table;
+&panelMenu_table;
+&pickList_table;
+&progressBar_table;
+&scrollableDataTable_table;
+&separator_table;
+&simpleTogglePanel_table;
+&spacer_table;
+&suggestionbox_table;
+&tabPanel_table;
+&togglePanel_table;
+&toolBar_table;
+&tooltip_table;
+&tree_table;
+&treeModel_table;
+
</chapter>
&rfcidesupport;
15 years, 7 months
JBoss Rich Faces SVN: r14321 - branches/community/3.3.X/docs/common-resources/en/src/main/xslt.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-05-26 06:13:47 -0400 (Tue, 26 May 2009)
New Revision: 14321
Modified:
branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl
Log:
https://jira.jboss.org/jira/browse/RF-7081 - reverting the last modifications;
Modified: branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl
===================================================================
--- branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl 2009-05-26 09:11:58 UTC (rev 14320)
+++ branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl 2009-05-26 10:13:47 UTC (rev 14321)
@@ -3,21 +3,20 @@
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
xmlns:u="http:/jsf.exadel.com/template/util"
xmlns:f='http:/jsf.exadel.com/template'
- version="1.0" exclude-result-prefixes="javaee u f">
- <xsl:output name="xmlOutput" method="xml" version="1.0" encoding="UTF-8" indent="yes"
+ version="1.0" exclude-result-prefixes="javaee">
+ <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"
omit-xml-declaration="yes" />
<xsl:param name="lang" />
<xsl:param name="title" />
<xsl:param name="separator" />
<xsl:param name="prefix" />
<xsl:param name="xcssPath" />
- <xsl:param name="outputDir" />
<xsl:variable name="rowsAmount">
<xsl:value-of select="count(.)" />
</xsl:variable>
- <!--xsl:template match="//f:template">
+ <xsl:template match="//f:template">
<table>
<xsl:for-each select="u:selector">
<xsl:sort select="@name" />
@@ -42,7 +41,7 @@
</table>
</xsl:template>
- <xsl:template match="/f:template/f:verbatim"/-->
+ <xsl:template match="/f:template/f:verbatim"/>
<xsl:template match="javaee:taglib | taglib">
@@ -54,46 +53,29 @@
<!--xsl:value-of select="./name/text()" /-->
- <xsl:if test="not(contains($excluded-tag-names, javaee:name))">
+ <xsl:if
+ test="not(contains($excluded-tag-names, javaee:name))">
<xsl:call-template name="tag" />
</xsl:if>
- <xsl:if test="not(contains($excluded-tag-names, ./name/text()))">
- <xsl:call-template name="tag" />
+ <xsl:if
+ test="not(contains($excluded-tag-names, ./name/text()))">
+ <xsl:call-template name="tag" />
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template name="tag">
-
- <xsl:variable name="tag_name">
- <xsl:choose>
- <xsl:when test="javaee:name">
- <xsl:value-of select="javaee:name" />
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="./name/text()" />
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="descPrefixExistence" select="boolean(document(concat($lang, $separator, 'included', $separator, $prefix, '_', $tag_name, '.desc.xml')))" />
- <xsl:variable name="prefixExistence" select="boolean(document(concat($lang, $separator, 'included', $separator, $prefix, '_', $tag_name, '.xml')))" />
-
- <!--xsl:variable name="hrefForResultDoc">
- <xsl:choose>
- <xsl:when test="$descPrefixExistence and $prefixExistence">
- <xsl:value-of select="concat($outputDir, $prefix, '_', $tag_name, '.xml')" />
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="concat($outputDir, $tag_name, '.xml')" />
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable-->
-
-
- <xsl:result-document href="{concat($outputDir, $prefix, '_', $tag_name, '.xml')}" format="xmlOutput">
<section role="NotInToc">
-
+ <xsl:variable name="tag_name">
+ <xsl:choose>
+ <xsl:when test="javaee:name">
+ <xsl:value-of select="javaee:name" />
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="./name/text()" />
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
<!--
<xsl:variable name="prefix">
<xsl:choose>
@@ -106,8 +88,7 @@
</xsl:choose>
</xsl:variable>
-->
- <xsl:attribute name="id">
- <xsl:value-of select="concat($prefix, '_', $tag_name)" />
+ <xsl:attribute name="id"><xsl:value-of select="concat($prefix, '_', $tag_name)" />
</xsl:attribute>
<title>
<
@@ -116,7 +97,7 @@
</title>
<xsl:choose>
- <xsl:when test="$descPrefixExistence">
+ <xsl:when test="document(concat($lang, $separator, 'included', $separator, $prefix, '_', $tag_name, '.desc.xml'))">
<xsl:for-each select="document(concat($lang, $separator,'included',$separator, $prefix, '_', $tag_name, '.desc.xml'))/*">
<xsl:copy-of select="./*" />
</xsl:for-each>
@@ -127,8 +108,7 @@
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
-
-
+
<table>
<title>
<xsl:value-of select="$prefix" />
@@ -189,9 +169,8 @@
</tgroup>
</table>
</xsl:if-->
-
<xsl:choose>
- <xsl:when test="$prefixExistence">
+ <xsl:when test="document(concat($lang, $separator, 'included', $separator, $prefix, '_', $tag_name, '.xml'))">
<xsl:for-each select="document(concat($lang, $separator,'included',$separator, $prefix, '_', $tag_name, '.xml'))/*">
<xsl:copy-of select="./*" />
</xsl:for-each>
@@ -203,7 +182,7 @@
</xsl:otherwise>
</xsl:choose>
+
</section>
-</xsl:result-document>
</xsl:template>
-</xsl:transform>
+</xsl:transform>
\ No newline at end of file
15 years, 7 months
JBoss Rich Faces SVN: r14320 - branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6338.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2009-05-26 05:11:58 -0400 (Tue, 26 May 2009)
New Revision: 14320
Modified:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6338/Test.java
Log:
correction.
Modified: branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6338/Test.java
===================================================================
--- branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6338/Test.java 2009-05-25 17:02:06 UTC (rev 14319)
+++ branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6338/Test.java 2009-05-26 09:11:58 UTC (rev 14320)
@@ -7,20 +7,17 @@
@org.testng.annotations.Test
public void testExecute() throws Exception {
renderPage();
-
- selenium.assignId("iconform:group1", "group1");
- selenium.assignId("iconform:group2", "group2");
- clickById("group1");
- pause(500, null);
+
+ clickById("iconform:group1");
AssertVisible("iconform:item1_1");
- clickById("group2");
- pause(500, null);
+
+ clickById("iconform:group2");
AssertVisible("iconform:item1_2");
- clickById("group1");
- pause(500, null);
+
+ clickById("iconform:group1");
AssertNotVisible("iconform:item1_1");
- clickById("group2");
- pause(500, null);
+
+ clickById("iconform:group2");
AssertNotVisible("iconform:item1_2");
}
15 years, 7 months
JBoss Rich Faces SVN: r14319 - in branches/community/3.3.X/ui/inputnumber-slider/src: main/resources/org/richfaces/renderkit/html/script and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-05-25 13:02:06 -0400 (Mon, 25 May 2009)
New Revision: 14319
Modified:
branches/community/3.3.X/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/css/slider.xcss
branches/community/3.3.X/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
branches/community/3.3.X/ui/inputnumber-slider/src/main/templates/inputNumberSlider.jspx
branches/community/3.3.X/ui/inputnumber-slider/src/test/java/org/richfaces/component/InputNumberSliderComponentTest.java
Log:
RF-7221
Modified: branches/community/3.3.X/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/css/slider.xcss
===================================================================
--- branches/community/3.3.X/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/css/slider.xcss 2009-05-25 16:47:53 UTC (rev 14318)
+++ branches/community/3.3.X/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/css/slider.xcss 2009-05-25 17:02:06 UTC (rev 14319)
@@ -4,41 +4,41 @@
xmlns="http://www.w3.org/1999/xhtml" >
<f:verbatim><![CDATA[
-.dr-insldr {
+.rich-inslider {
/*width : 200px;*/
height : 20px;
}
-.dr-insldr-vertical {
+.rich-inslider-vertical {
width : 20px;
}
-.dr-insldr-tip {
+.rich-inslider-tip {
position : absolute;
white-space : nowrap;
padding : 2px 2px 2px 2px;
border : 1px solid;
}
-.dr-insldr-size {
+.rich-inslider-size {
width: 100%;
}
-.dr-insldr-size-height {
+.rich-inslider-size-height {
height: 100%;
width: 7px;
padding: 0px 3px;
}
-.dr-insldr-left-num {
+.rich-inslider-left-num {
text-align : left;
border-left: 1px solid;
padding : 0px 3px 0px 3px;
}
-.dr-insldr-right-num{
+.rich-inslider-right-num{
text-align : right;
border-right : 1px solid;
padding : 0px 3px 0px 3px;
}
-.dr-insldr-top-num {
+.rich-inslider-top-num {
text-align : left;
border-top: 1px solid;
border-color: #C4C0B9;
@@ -48,7 +48,7 @@
line-height: 11px;
vertical-align: top;
}
-.dr-insldr-bottom-num{
+.rich-inslider-bottom-num{
text-align : left;
border-bottom : 1px solid;
padding : 0px 3px 0px 3px;
@@ -59,11 +59,11 @@
line-height: 11px;
vertical-align: bottom;
}
-.dr-insldr-vert-spacer{
+.rich-inslider-vert-spacer{
padding : 3px 0px;
vertical-align: bottom;
}
-.dr-insldr-handler{
+.rich-inslider-handler{
background-color : transparent;
width : 7px;
height : 8px;
@@ -73,7 +73,7 @@
z-index : 1;
}
-.dr-insldr-handler-vertical {
+.rich-inslider-handler-vertical {
background-color : transparent;
width : 7px;
height : 8px;
@@ -83,14 +83,14 @@
z-index : 1;
}
-.dr-insldr-tip {
+.rich-inslider-tip {
position : absolute;
white-space : nowrap;
padding : 2px 2px 2px 2px;
border : 1px solid;
}
-.dr-insldr-handler-sel{
+.rich-inslider-handler-selected{
background-color : transparent;
width : 7px;
height : 8px;
@@ -99,13 +99,13 @@
text-align : center;
z-index : 1;
}
-.dr-insldr-track{
+.rich-inslider-track{
background-position: left top;
background-repeat: repeat-x;
height : 8px;
font-size : 1px;
}
-.dr-insldr-track-vertical{
+.rich-inslider-track-vertical{
background-position: left top;
background-repeat: repeat-y;
height : 100%;
@@ -113,15 +113,15 @@
width: 7px;
background-color:#FFFFFF;
}
-.dr-insldr-track-decor-1 {
+.rich-inslider-track-decor-1 {
height : 100%;
width : 100%;
border : 1px solid;
}
-.dr-insldr-track-decor-2 {
+.rich-inslider-track-decor-2 {
border : 1px solid white;
}
-.dr-insldr-field {
+.rich-inslider-field {
border:1px inset;
padding: 0px 0px 0px 3px;
margin-top:0px;
@@ -130,48 +130,48 @@
background-repeat:repeat-x;
}
-.dr-insldr-field-left {
+.rich-inslider-field-left {
margin-right: 10px;
}
-.dr-insldr-field-right {
+.rich-inslider-field-right {
margin-left: 10px;
}
-.dr-insldr-field-top {
+.rich-inslider-field-top {
margin-bottom: 7px;
}
-.dr-insldr-field-bottom {
+.rich-inslider-field-bottom {
margin-top: 7px;
}
-.dr-insldr-arrow {
+.rich-inslider-arrow {
background-repeat:no-repeat;
width: 15px;
height: 15px;
}
-.dr-insldr-dec-horizontal {
+.rich-inslider-dec-horizontal {
background-position: 5px 4px;
}
-.dr-insldr-inc-horizontal {
+.rich-inslider-inc-horizontal {
background-position: 4px 4px;
}
-.dr-insldr-inc-vertical {
+.rich-inslider-inc-vertical {
background-position: 3px 5px;
}
-.dr-insldr-dec-vertical {
+.rich-inslider-dec-vertical {
background-position: 3px 3px;
}
-.dr-insldr-dec-horizontal-sel {
+.rich-inslider-dec-horizontal-selected {
background-position: 5px 4px;
}
-.dr-insldr-inc-horizontal-sel {
+.rich-inslider-inc-horizontal-selected {
background-position: 4px 4px;
}
-.dr-insldr-inc-vertical-sel {
+.rich-inslider-inc-vertical-selected {
background-position: 3px 5px;
}
-.dr-insldr-dec-vertical-sel {
+.rich-inslider-dec-vertical-selected {
background-position: 3px 3px;
}
-.dr-insldr-td-arrow {
+.rich-inslider-td-arrow {
text-align: left;
vertical-align: bottom;
}
@@ -179,21 +179,21 @@
]]>
</f:verbatim>
- <u:selector name=".dr-insldr-tip">
+ <u:selector name=".rich-inslider-tip">
<u:style name="background-color" skin="tipBackgroundColor"/>
<u:style name="border-color" skin="tipBorderColor"/>
<u:style name="font-family" skin="generalFamilyFont"/>
<u:style name="font-size" skin="generalSizeFont"/>
</u:selector>
- <u:selector name=".dr-insldr-tip-step">
+ <u:selector name=".rich-inslider-tip-step">
<u:style name="background-color" skin="tipBackgroundColor"/>
<u:style name="border-color" skin="tipBorderColor"/>
<u:style name="font-family" skin="generalFamilyFont"/>
<u:style name="font-size" skin="generalSizeFont"/>
</u:selector>
- <u:selector name=".dr-insldr-left-num">
+ <u:selector name=".rich-inslider-left-num">
<u:style name="font-family" skin="generalFamilyFont"/>
<u:style name="font-size" skin="generalSizeFont"/>
<u:style name="color" skin="generalTextColor"/>
@@ -201,7 +201,7 @@
<u:style name="line-height" skin="generalSizeFont"/>
</u:selector>
- <u:selector name=".dr-insldr-right-num">
+ <u:selector name=".rich-inslider-right-num">
<u:style name="font-family" skin="generalFamilyFont"/>
<u:style name="font-size" skin="generalSizeFont"/>
<u:style name="color" skin="generalTextColor"/>
@@ -209,94 +209,94 @@
<u:style name="line-height" skin="generalSizeFont"/>
</u:selector>
- <u:selector name=".dr-insldr-track">
+ <u:selector name=".rich-inslider-track">
<u:style name="background-color" skin="controlBackgroundColor"/>
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderTrackGradient" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-track-decor-1">
+ <u:selector name=".rich-inslider-track-decor-1">
<u:style name="border-color" skin="panelBorderColor"/>
</u:selector>
- <u:selector name=".dr-insldr-handler">
+ <u:selector name=".rich-inslider-handler">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderArrowImage" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-handler-vertical">
+ <u:selector name=".rich-inslider-handler-vertical">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderArrowImageRight" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-track-vertical">
+ <u:selector name=".rich-inslider-track-vertical">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderTrackGradientVertical" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-dec-horizontal">
+ <u:selector name=".rich-inslider-dec-horizontal">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderArrowImageLeft" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-inc-horizontal">
+ <u:selector name=".rich-inslider-inc-horizontal">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderArrowImageRight" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-inc-vertical">
+ <u:selector name=".rich-inslider-inc-vertical">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderArrowImageTop" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-dec-vertical">
+ <u:selector name=".rich-inslider-dec-vertical">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderArrowImage" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-dec-horizontal-sel">
+ <u:selector name=".rich-inslider-dec-horizontal-selected">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderArrowSelectedImageLeft" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-inc-horizontal-sel">
+ <u:selector name=".rich-inslider-inc-horizontal-selected">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderArrowSelectedImageRight" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-inc-vertical-sel">
+ <u:selector name=".rich-inslider-inc-vertical-selected">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderArrowSelectedImageTop" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-dec-vertical-sel">
+ <u:selector name=".rich-inslider-dec-vertical-selected">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderArrowSelectedImage" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-handler-sel">
+ <u:selector name=".rich-inslider-handler-selected">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderArrowSelectedImage" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-handler-sel-vertical">
+ <u:selector name=".rich-inslider-handler-selected-vertical">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderArrowSelectedImageRight" />
</u:style>
</u:selector>
- <u:selector name=".dr-insldr-track-decor-2">
+ <u:selector name=".rich-inslider-track-decor-2">
<u:style name="border-color" skin="controlBackgroundColor"/>
</u:selector>
- <u:selector name=".dr-insldr-field">
+ <u:selector name=".rich-inslider-field">
<u:style name="background-image">
<f:resource f:key="org.richfaces.renderkit.html.images.SliderFieldGradient" />
</u:style>
Modified: branches/community/3.3.X/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
===================================================================
--- branches/community/3.3.X/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2009-05-25 16:47:53 UTC (rev 14318)
+++ branches/community/3.3.X/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2009-05-25 17:02:06 UTC (rev 14319)
@@ -24,15 +24,15 @@
this.orientation = this.options.orientation;
this.classes = {};
- this.classes.arrow = "dr-insldr-handler rich-inslider-handler";
- this.classes.arrowSelected = "dr-insldr-handler-sel rich-inslider-handler-selected";
+ this.classes.arrow = "rich-inslider-handler";
+ this.classes.arrowSelected = "rich-inslider-handler-selected";
this.classes.temp = this.handle.className;
- this.classes.base = " " + this.trim(this.classes.temp.replace("dr-insldr-handler rich-inslider-handler",""));
+ this.classes.base = " " + this.trim(this.classes.temp.replace("rich-inslider-handler",""));
if(this.orientation=="vertical"){
- this.classes.arrow = "dr-insldr-handler-vertical rich-inslider-handler-vertical";
- this.classes.arrowSelected = "dr-insldr-handler-sel-vertical rich-inslider-handler-selected-vertical";
- this.classes.base = " " + this.trim(this.classes.temp.replace("dr-insldr-handler-vertical rich-inslider-handler-vertical",""));
+ this.classes.arrow = "rich-inslider-handler-vertical";
+ this.classes.arrowSelected = "rich-inslider-handler-selected-vertical";
+ this.classes.base = " " + this.trim(this.classes.temp.replace("rich-inslider-handler-vertical",""));
}
this.classes.handleSelected = " " + handleSelectedClass;
@@ -472,7 +472,7 @@
increaseDown : function(event){
this.arrowButton = $(event.target);
- this.arrowButton.className = this.arrowButton.className.replace("Class","SelectedClass").replace("al","al-sel");
+ this.arrowButton.className = this.arrowButton.className.replace("Class","SelectedClass").replace("al","al-selected");
window.document.onmouseup = this.eventIncreaseUp.bindAsEventListener(this);
if(!this.disabled){
if (this.options.currValue){
@@ -485,7 +485,7 @@
decreaseDown : function(event){
this.arrowButton = $(event.target);
- this.arrowButton.className = this.arrowButton.className.replace("Class","SelectedClass").replace("al","al-sel");
+ this.arrowButton.className = this.arrowButton.className.replace("Class","SelectedClass").replace("al","al-selected");
window.document.onmouseup = this.eventDecreaseUp.bindAsEventListener(this);
if(!this.disabled){
if (this.options.currValue){
@@ -501,7 +501,7 @@
if (this.options.currValue){
Element.hide(this.tipArrowInc);
}
- this.arrowButton.className = this.arrowButton.className.replace("SelectedClass","Class").replace("al-sel","al");
+ this.arrowButton.className = this.arrowButton.className.replace("SelectedClass","Class").replace("al-selected","al");
window.document.onmouseup = this.prevMouseUp;
},
@@ -510,7 +510,7 @@
if (this.options.currValue){
Element.hide(this.tipArrowDec);
}
- this.arrowButton.className = this.arrowButton.className.replace("SelectedClass","Class").replace("al-sel","al");
+ this.arrowButton.className = this.arrowButton.className.replace("SelectedClass","Class").replace("al-selected","al");
window.document.onmouseup = this.prevMouseUp;
},
Modified: branches/community/3.3.X/ui/inputnumber-slider/src/main/templates/inputNumberSlider.jspx
===================================================================
--- branches/community/3.3.X/ui/inputnumber-slider/src/main/templates/inputNumberSlider.jspx 2009-05-25 16:47:53 UTC (rev 14318)
+++ branches/community/3.3.X/ui/inputnumber-slider/src/main/templates/inputNumberSlider.jspx 2009-05-25 17:02:06 UTC (rev 14319)
@@ -56,7 +56,7 @@
]]>
</jsp:scriptlet>
- <table id="#{clientId}" border="0" cellpadding="0" cellspacing="0" class="dr-insldr-vertical rich-slider #{component.attributes['styleClass']}"
+ <table id="#{clientId}" border="0" cellpadding="0" cellspacing="0" class="rich-inslider-vertical rich-slider #{component.attributes['styleClass']}"
style="height: #{height};#{style}" x:passThruWithExclusions="id,boundClass,tipClass,class,width,height,style,border">
<tbody>
<tr>
@@ -71,7 +71,7 @@
name="#{clientId}"
value="#{this:getInputValue(context,component)}"
type="text"
- class="dr-insldr-field dr-insldr-field-top rich-inslider-field #{component.attributes['inputClass']}"
+ class="rich-inslider-field-top rich-inslider-field #{component.attributes['inputClass']}"
style="#{component.attributes['inputStyle']}; #{color}"
readonly="#{inputReadOnly}"
disabled="#{inputDisabled}"
@@ -113,15 +113,15 @@
if (((Boolean)variables.getVariable("showArrows")).booleanValue()) {
]]></jsp:scriptlet>
<tr>
- <td class="dr-insldr-td-arrow">
+ <td class="rich-inslider-td-arrow">
<div style="position : relative">
- <div id="#{clientId}TipArrowInc" class="dr-insldr-tip rich-inslider-tip #{component.attributes['tipClass']}" style="display: none; #{component.attributes['tipStyle']}">
+ <div id="#{clientId}TipArrowInc" class="rich-inslider-tip #{component.attributes['tipClass']}" style="display: none; #{component.attributes['tipStyle']}">
<jsp:scriptlet><![CDATA[
writer.write(" ");
]]></jsp:scriptlet>
</div>
<div id="#{clientId}ArrowInc"
- class="dr-insldr-inc-vertical dr-insldr-arrow #{component.attributes['increaseClass']}"
+ class="rich-inslider-inc-vertical rich-inslider-arrow #{component.attributes['increaseClass']}"
style="#{component.attributes['increaseStyle']}"
/>
</div>
@@ -135,13 +135,13 @@
<table border="0" cellpadding="0" cellspacing="0" style="height: 100%;">
<tbody>
<tr>
- <td rowspan="2" id="#{clientId}Track" class="dr-insldr-size-height">
- <div class="dr-insldr-track-vertical rich-inslider-track #{component.attributes['barClass']}"
+ <td rowspan="2" id="#{clientId}Track" class="rich-inslider-size-height">
+ <div class="rich-inslider-track-vertical rich-inslider-track #{component.attributes['barClass']}"
style="#{component.attributes['barStyle']}">
- <table class="dr-insldr-track-decor-1 rich-inslider-track-border" cellpadding="0" cellspacing="0" >
+ <table class="rich-inslider-track-decor-1 rich-inslider-track-border" cellpadding="0" cellspacing="0" >
<tbody>
<tr style="height: 98%">
- <td class="dr-insldr-track-decor-2">
+ <td class="rich-inslider-track-decor-2">
<img src="#{spacer}" style="display: block;" />
</td>
</tr>
@@ -149,12 +149,12 @@
</table>
</div>
<div style="position : relative">
- <div id="#{clientId}Tip" class="dr-insldr-tip rich-inslider-tip #{component.attributes['tipClass']}" style="display: none;left: 9px; #{component.attributes['tipStyle']}">
+ <div id="#{clientId}Tip" class="rich-inslider-tip #{component.attributes['tipClass']}" style="display: none;left: 9px; #{component.attributes['tipStyle']}">
<jsp:scriptlet><![CDATA[
writer.write(" ");
]]></jsp:scriptlet>
</div>
- <div class="dr-insldr-handler-vertical #{component.attributes['handleClass']}" id="#{clientId}Handle" style="visibility:visible; top: -7px; left:1px;">
+ <div class="rich-inslider-handler-vertical #{component.attributes['handleClass']}" id="#{clientId}Handle" style="visibility:visible; top: -7px; left:1px;">
<jsp:scriptlet><![CDATA[
writer.write(" ");
]]></jsp:scriptlet>
@@ -164,7 +164,7 @@
<jsp:scriptlet><![CDATA[
if (attributeToBoolean(component, "showBoundaryValues")){
]]></jsp:scriptlet>
- <td class="dr-insldr-top-num #{component.attributes['boundClass']}">
+ <td class="rich-inslider-top-num #{component.attributes['boundClass']}">
#{component.attributes['maxValue']}
</td>
<jsp:scriptlet><![CDATA[
@@ -179,7 +179,7 @@
<jsp:scriptlet><![CDATA[
if (attributeToBoolean(component, "showBoundaryValues")){
]]></jsp:scriptlet>
- <td class="dr-insldr-bottom-num #{component.attributes['boundClass']}">
+ <td class="rich-inslider-bottom-num #{component.attributes['boundClass']}">
#{component.attributes['minValue']}
</td>
<jsp:scriptlet><![CDATA[
@@ -199,15 +199,15 @@
if (((Boolean)variables.getVariable("showArrows")).booleanValue()) {
]]></jsp:scriptlet>
<tr>
- <td class="dr-insldr-td-arrow">
+ <td class="rich-inslider-td-arrow">
<div style="position : relative">
- <div id="#{clientId}TipArrowDec" class="dr-insldr-tip rich-inslider-tip #{component.attributes['tipClass']}" style="display: none; #{component.attributes['tipStyle']}">
+ <div id="#{clientId}TipArrowDec" class="rich-inslider-tip #{component.attributes['tipClass']}" style="display: none; #{component.attributes['tipStyle']}">
<jsp:scriptlet><![CDATA[
writer.write(" ");
]]></jsp:scriptlet>
</div>
<div id="#{clientId}ArrowDec"
- class="dr-insldr-dec-vertical dr-insldr-arrow #{component.attributes['decreaseClass']}"
+ class="rich-inslider-dec-vertical rich-inslider-arrow #{component.attributes['decreaseClass']}"
style="#{component.attributes['decreaseStyle']}"
/>
</div>
@@ -228,7 +228,7 @@
name="#{clientId}"
value="#{this:getInputValue(context,component)}"
type="text"
- class="dr-insldr-field dr-insldr-field-bottom rich-inslider-field #{component.attributes['inputClass']}"
+ class="rich-inslider-field-bottom rich-inslider-field #{component.attributes['inputClass']}"
style="#{component.attributes['inputStyle']}; #{color}"
readonly="#{inputReadOnly}"
disabled="#{inputDisabled}"
@@ -310,7 +310,7 @@
]]>
</jsp:scriptlet>
- <table id="#{clientId}" border="0" cellpadding="0" cellspacing="0" class="dr-insldr rich-slider #{component.attributes['styleClass']}"
+ <table id="#{clientId}" border="0" cellpadding="0" cellspacing="0" class="rich-inslider rich-slider #{component.attributes['styleClass']}"
style="width: #{width};#{style}" x:passThruWithExclusions="id,boundClass,tipClass,class,width,height,style,border">
<tbody>
<tr>
@@ -325,7 +325,7 @@
name="#{clientId}"
value="#{this:getInputValue(context,component)}"
type="text"
- class="dr-insldr-field dr-insldr-field-left rich-inslider-field #{component.attributes['inputClass']}"
+ class="rich-inslider-field-left rich-inslider-field #{component.attributes['inputClass']}"
style="#{component.attributes['inputStyle']}; #{color}"
readonly="#{inputReadOnly}"
disabled="#{inputDisabled}"
@@ -366,15 +366,15 @@
<jsp:scriptlet><![CDATA[
if (((Boolean)variables.getVariable("showArrows")).booleanValue()) {
]]></jsp:scriptlet>
- <td rowspan="2" class="dr-insldr-td-arrow">
+ <td rowspan="2" class="rich-inslider-td-arrow">
<div style="position : relative">
- <div id="#{clientId}TipArrowDec" class="dr-insldr-tip rich-inslider-tip #{component.attributes['tipClass']}" style="display: none; #{component.attributes['tipStyle']}">
+ <div id="#{clientId}TipArrowDec" class="rich-inslider-tip #{component.attributes['tipClass']}" style="display: none; #{component.attributes['tipStyle']}">
<jsp:scriptlet><![CDATA[
writer.write(" ");
]]></jsp:scriptlet>
</div>
<div id="#{clientId}ArrowDec"
- class="dr-insldr-dec-horizontal dr-insldr-arrow #{component.attributes['decreaseClass']}"
+ class="rich-inslider-dec-horizontal rich-inslider-arrow #{component.attributes['decreaseClass']}"
style="#{component.attributes['decreaseStyle']}"
/>
</div>
@@ -383,7 +383,7 @@
}
]]></jsp:scriptlet>
- <td class="dr-insldr-left-num rich-inslider-left-num #{component.attributes['boundClass']}">
+ <td class="rich-inslider-left-num #{component.attributes['boundClass']}">
<jsp:scriptlet><![CDATA[
if (attributeToBoolean(component, "showBoundaryValues")){
]]></jsp:scriptlet>
@@ -392,7 +392,7 @@
}
]]></jsp:scriptlet>
</td>
- <td class="dr-insldr-right-num rich-inslider-right-num #{component.attributes['boundClass']}">
+ <td class="rich-inslider-right-num #{component.attributes['boundClass']}">
<jsp:scriptlet><![CDATA[
if (attributeToBoolean(component, "showBoundaryValues")){
]]></jsp:scriptlet>
@@ -405,15 +405,15 @@
<jsp:scriptlet><![CDATA[
if (((Boolean)variables.getVariable("showArrows")).booleanValue()) {
]]></jsp:scriptlet>
- <td rowspan="2" class="dr-insldr-td-arrow">
+ <td rowspan="2" class="rich-inslider-td-arrow">
<div style="position : relative">
- <div id="#{clientId}TipArrowInc" class="dr-insldr-tip rich-inslider-tip #{component.attributes['tipClass']}" style="display: none; #{component.attributes['tipStyle']}">
+ <div id="#{clientId}TipArrowInc" class="rich-inslider-tip #{component.attributes['tipClass']}" style="display: none; #{component.attributes['tipStyle']}">
<jsp:scriptlet><![CDATA[
writer.write(" ");
]]></jsp:scriptlet>
</div>
<div id="#{clientId}ArrowInc"
- class="dr-insldr-inc-horizontal dr-insldr-arrow #{component.attributes['increaseClass']}"
+ class="rich-inslider-inc-horizontal rich-inslider-arrow #{component.attributes['increaseClass']}"
style="#{component.attributes['increaseStyle']}"
/>
</div>
@@ -433,7 +433,7 @@
name="#{clientId}"
value="#{this:getInputValue(context,component)}"
type="text"
- class="dr-insldr-field dr-insldr-field-right rich-inslider-field #{component.attributes['inputClass']}"
+ class="rich-inslider-field-right rich-inslider-field #{component.attributes['inputClass']}"
style="#{component.attributes['inputStyle']}; #{color}"
readonly="#{inputReadOnly}"
disabled="#{inputDisabled}"
@@ -472,28 +472,28 @@
]]></jsp:scriptlet>
</tr>
<tr>
- <td colspan="2" class="dr-insldr-size dr-insldr-vert-spacer">
- <table border="0" cellpadding="0" cellspacing="0" class="dr-insldr-size">
+ <td colspan="2" class="rich-inslider-size rich-inslider-vert-spacer">
+ <table border="0" cellpadding="0" cellspacing="0" class="rich-inslider-size">
<tbody>
<tr>
<td id="#{clientId}Track">
<div style="position : relative">
- <div id="#{clientId}Tip" class="dr-insldr-tip rich-inslider-tip #{component.attributes['tipClass']}" style="display: none;#{component.attributes['tipStyle']}">
+ <div id="#{clientId}Tip" class="rich-inslider-tip #{component.attributes['tipClass']}" style="display: none;#{component.attributes['tipStyle']}">
<jsp:scriptlet><![CDATA[
writer.write(" ");
]]></jsp:scriptlet>
</div>
- <div class="dr-insldr-handler rich-inslider-handler #{component.attributes['handleClass']}" id="#{clientId}Handle" style="visibility:hidden;">
+ <div class="rich-inslider-handler #{component.attributes['handleClass']}" id="#{clientId}Handle" style="visibility:hidden;">
<jsp:scriptlet><![CDATA[
writer.write(" ");
]]></jsp:scriptlet>
</div>
</div>
- <div class="dr-insldr-track rich-inslider-track #{component.attributes['barClass']}" style="#{component.attributes['barStyle']}">
- <table class="dr-insldr-track-decor-1" cellpadding="0" cellspacing="0">
+ <div class="rich-inslider-track #{component.attributes['barClass']}" style="#{component.attributes['barStyle']}">
+ <table class="rich-inslider-track-decor-1" cellpadding="0" cellspacing="0">
<tbody>
<tr>
- <td class="dr-insldr-track-decor-2">
+ <td class="rich-inslider-track-decor-2">
<img src="#{spacer}" alt="" style="display: block;" />
</td>
</tr>
Modified: branches/community/3.3.X/ui/inputnumber-slider/src/test/java/org/richfaces/component/InputNumberSliderComponentTest.java
===================================================================
--- branches/community/3.3.X/ui/inputnumber-slider/src/test/java/org/richfaces/component/InputNumberSliderComponentTest.java 2009-05-25 16:47:53 UTC (rev 14318)
+++ branches/community/3.3.X/ui/inputnumber-slider/src/test/java/org/richfaces/component/InputNumberSliderComponentTest.java 2009-05-25 17:02:06 UTC (rev 14319)
@@ -134,7 +134,7 @@
assertNotNull(htmlSlider);
assertTrue(htmlSlider.getAttributeValue("class").contains(
- "dr-insldr rich-slider"));
+ "rich-inslider rich-slider"));
HtmlInput htmlSliderInput = (HtmlInput) renderedView.getHtmlElementById(
slider.getClientId(facesContext) + "Input");
@@ -143,31 +143,31 @@
String a = htmlSliderInput.getClassAttribute();
assertTrue(htmlSliderInput.getClassAttribute().contains(
- "dr-insldr-field dr-insldr-field-right rich-inslider-field"));
+ "rich-inslider-field-right rich-inslider-field"));
assertTrue(htmlSliderInput.getTypeAttribute().equals("text"));
DomNode numContainer = htmlSliderInput.getParentNode()
.getPreviousSibling();
assertTrue(((HtmlElement) numContainer).getAttributeValue(
"class").contains(
- "dr-insldr-right-num rich-inslider-right-num"));
+ "rich-inslider-right-num"));
assertTrue(((HtmlElement) (numContainer.getPreviousSibling()))
.getAttributeValue("class").contains(
- "dr-insldr-left-num rich-inslider-left-num"));
+ "rich-inslider-left-num"));
HtmlElement tip = renderedView.getHtmlElementById(slider.getClientId(
facesContext) + "Tip");
assertTrue(tip.getAttributeValue("class").contains(
- "dr-insldr-tip rich-inslider-tip"));
+ "rich-inslider-tip"));
HtmlElement handle = renderedView.getHtmlElementById(slider.getClientId(
facesContext) + "Handle");
assertTrue(handle.getAttributeValue("class").contains(
- "dr-insldr-handler rich-inslider-handler"));
+ "rich-inslider-handler"));
HtmlElement track = (HtmlElement) tip.getParentNode().getNextSibling();
assertTrue(track.getAttributeValue("class").contains(
- "dr-insldr-track rich-inslider-track"));
+ "rich-inslider-track"));
}
public void testHiddenInput() throws Exception {
@@ -367,7 +367,7 @@
assertNotNull(htmlSlider);
assertTrue(htmlSlider.getAttributeValue("class").contains(
- "dr-insldr-vertical rich-slider "));
+ "rich-inslider-vertical rich-slider "));
HtmlInput htmlSliderInput = (HtmlInput) renderedView
.getHtmlElementById(slider.getClientId(facesContext) + "Input");
@@ -375,7 +375,7 @@
assertNotNull(htmlSliderInput);
assertTrue(htmlSliderInput.getClassAttribute().contains(
- "dr-insldr-field dr-insldr-field-top rich-inslider-field "));
+ "rich-inslider-field-top rich-inslider-field "));
assertTrue(htmlSliderInput.getTypeAttribute().equals("text"));
HtmlDivision track = (HtmlDivision) ((HtmlElement) renderedView
@@ -383,26 +383,26 @@
.getFirstDomChild();
assertTrue(track.getAttributeValue("class").contains(
- "dr-insldr-track-vertical rich-inslider-track"));
+ "rich-inslider-track-vertical rich-inslider-track"));
DomNode numContainer = track.getParentDomNode().getParentDomNode()
.getNextDomSibling().getFirstDomChild();
assertTrue(((HtmlElement) numContainer).getAttributeValue("class")
- .contains("dr-insldr-bottom-num "));
+ .contains("rich-inslider-bottom-num "));
assertTrue(((HtmlElement) track.getParentDomNode().getNextDomSibling())
- .getAttributeValue("class").contains("dr-insldr-top-num "));
+ .getAttributeValue("class").contains("rich-inslider-top-num "));
HtmlElement tip = renderedView.getHtmlElementById(slider
.getClientId(facesContext)
+ "Tip");
assertTrue(tip.getAttributeValue("class").contains(
- "dr-insldr-tip rich-inslider-tip"));
+ "rich-inslider-tip"));
HtmlElement handle = renderedView.getHtmlElementById(slider
.getClientId(facesContext)
+ "Handle");
assertTrue(handle.getAttributeValue("class").contains(
- "dr-insldr-handler-vertical "));
+ "rich-inslider-handler-vertical "));
}
public void testShowArrows() throws Exception {
@@ -412,19 +412,19 @@
.getHtmlElementById(slider.getClientId(facesContext)
+ "ArrowInc");
assertTrue(htmlSliderArrowInc.getClassAttribute().equals(
- "dr-insldr-inc-horizontal dr-insldr-arrow "));
+ "rich-inslider-inc-horizontal rich-inslider-arrow "));
HtmlDivision htmlSliderArrowDec = (HtmlDivision) renderedView
.getHtmlElementById(slider.getClientId(facesContext)
+ "ArrowDec");
assertTrue(htmlSliderArrowDec.getClassAttribute().equals(
- "dr-insldr-dec-horizontal dr-insldr-arrow "));
+ "rich-inslider-dec-horizontal rich-inslider-arrow "));
HtmlDivision htmlSliderTipArrowInc = (HtmlDivision) renderedView
.getHtmlElementById(slider.getClientId(facesContext)
+ "TipArrowInc");
assertTrue(htmlSliderTipArrowInc.getClassAttribute().equals(
- "dr-insldr-tip rich-inslider-tip "));
+ "rich-inslider-tip "));
assertTrue(htmlSliderTipArrowInc.getStyleAttribute().equals(
"display: none; "));
@@ -432,7 +432,7 @@
.getHtmlElementById(slider.getClientId(facesContext)
+ "TipArrowDec");
assertTrue(htmlSliderTipArrowDec.getClassAttribute().equals(
- "dr-insldr-tip rich-inslider-tip "));
+ "rich-inslider-tip "));
assertTrue(htmlSliderTipArrowDec.getStyleAttribute().equals(
"display: none; "));
}
15 years, 7 months
JBoss Rich Faces SVN: r14318 - branches/community/3.3.X/ui/orderingList/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-05-25 12:47:53 -0400 (Mon, 25 May 2009)
New Revision: 14318
Modified:
branches/community/3.3.X/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java
Log:
https://jira.jboss.org/jira/browse/RF-7251
Modified: branches/community/3.3.X/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java
===================================================================
--- branches/community/3.3.X/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java 2009-05-25 16:37:29 UTC (rev 14317)
+++ branches/community/3.3.X/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java 2009-05-25 16:47:53 UTC (rev 14318)
@@ -280,14 +280,6 @@
this.submittedValueHolder = (SubmittedValue) object;
}
- protected Object saveIterationState() {
- return valueHolder;
- }
-
- protected void restoreIterationState(Object object) {
- this.valueHolder = (ValueHolder) object;
- }
-
public abstract void setImmediate(boolean immediate);
public abstract void setRequired(boolean required);
@@ -444,7 +436,7 @@
ValueBinding vb = getValueBinding("value");
if (vb != null) {
vb.setValue(context, valueHolder.value);
- setValue(null);
+ valueHolder.value = null;
setLocalValueSet(false);
}
}
@@ -557,6 +549,10 @@
throw new NullPointerException();
}
+ if (submittedValueHolder == null) {
+ return;
+ }
+
// http://jira.jboss.com/jira/browse/RF-3852
Object previousValue = getValue();
@@ -599,10 +595,6 @@
validateValue(context, newValue);
- if (submittedValueHolder == null) {
- return;
- }
-
// If our value is valid, store the new value, erase the
// "submitted" value, and emit a ValueChangeEvent if appropriate
if (isValid()) {
@@ -686,7 +678,9 @@
}
public void setValue(Object value) {
- if (value instanceof ValueHolder) {
+ if (value == null) {
+ this.valueHolder = null;
+ } else if (value instanceof ValueHolder) {
this.valueHolder = (ValueHolder) value;
} else {
createValueHolder();
15 years, 7 months
JBoss Rich Faces SVN: r14317 - branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2009-05-25 12:37:29 -0400 (Mon, 25 May 2009)
New Revision: 14317
Added:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf6338.xhtml
Log:
Test page for RF-6338 added.
Added: branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf6338.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf6338.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf6338.xhtml 2009-05-25 16:37:29 UTC (rev 14317)
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+
+<ui:composition template="/layout/layout.xhtml">
+
+ <ui:define name="template">
+ <h:form id="form">
+ <rich:panelMenu>
+ <rich:panelMenuGroup label="group 1" id="group1">
+ <rich:panelMenuItem label="it 1.1" action="#{rf6338.action}" id="item1_1"/>
+ <rich:panelMenuItem label="it 1.2" action="#{rf6338.action}" />
+ <rich:panelMenuItem label="it 1.3" action="#{rf6338.action}" />
+ </rich:panelMenuGroup>
+ <rich:panelMenuGroup label="group 2" id="group2">
+ <rich:panelMenuItem label="it 2.1" action="#{rf6338.action}" id="item1_2"/>
+ <rich:panelMenuItem label="it 2.2" action="#{rf6338.action}" />
+ <rich:panelMenuItem label="it 2.3" action="#{rf6338.action}" />
+ </rich:panelMenuGroup>
+ </rich:panelMenu>
+ </h:form>
+ </ui:define>
+</ui:composition>
+</html>
15 years, 7 months
JBoss Rich Faces SVN: r14316 - in branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues: rf6338 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2009-05-25 12:36:55 -0400 (Mon, 25 May 2009)
New Revision: 14316
Added:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf6338/
branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf6338/Bean.java
Log:
java bean for RF-6338 added
Added: branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf6338/Bean.java
===================================================================
--- branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf6338/Bean.java (rev 0)
+++ branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf6338/Bean.java 2009-05-25 16:36:55 UTC (rev 14316)
@@ -0,0 +1,16 @@
+package org.richfaces.regressionarea.issues.rf6338;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("rf6338")
+(a)Scope(ScopeType.SESSION)
+public class Bean {
+
+ public Bean() {
+ }
+
+ public void action() {
+ }
+}
15 years, 7 months