JBoss Rich Faces SVN: r8436 - trunk/docs/userguide/en/src/main/docbook/modules.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2008-05-03 10:03:27 -0400 (Sat, 03 May 2008)
New Revision: 8436
Modified:
trunk/docs/userguide/en/src/main/docbook/modules/RFCidesupport.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-318
Edititng link name.
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCidesupport.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCidesupport.xml 2008-05-03 13:44:02 UTC (rev 8435)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCidesupport.xml 2008-05-03 14:03:27 UTC (rev 8436)
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<ulink></ulink><?xml version='1.0' encoding='UTF-8'?>
<chapter id="IDESupport" xreflabel="IDESupport">
<?dbhtml filename="IDESupport.html"?>
<chapterinfo>
16 years, 8 months
JBoss Rich Faces SVN: r8435 - trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-05-03 09:44:02 -0400 (Sat, 03 May 2008)
New Revision: 8435
Modified:
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js
Log:
http://jira.jboss.com/jira/browse/RF-3343
Modified: trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js
===================================================================
--- trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js 2008-05-03 13:41:15 UTC (rev 8434)
+++ trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js 2008-05-03 13:44:02 UTC (rev 8435)
@@ -88,6 +88,10 @@
}
this.observeEvents();
+
+ this.previousTextClassNames = null;
+ this.highlightedTextClassNames = null;
+ this.selectedTextClassNames = null;
},
destroy: function() {
@@ -302,15 +306,10 @@
if (this.isMouseIn) {
this.isMouseIn = false;
var eText = this.elements.textElement;
- var hClass = Richfaces.getNSAttribute("highlightedclass", eText);
- if (hClass) {
- var classNames = hClass.split(' ')
- for (var i = 0; i < classNames.length; i++) {
- Element.removeClassName(eText, classNames[i]);
- }
- if (window.drag){
- this.dragLeave(e);
- }
+ eText.className = this.previousTextClassNames;
+ this.previousTextClassNames = null;
+ if (window.drag){
+ this.dragLeave(e);
}
}
},
@@ -319,16 +318,17 @@
if(!this.isMouseIn) {
this.isMouseIn = true;
var eText = this.elements.textElement;
- var hClass = Richfaces.getNSAttribute("highlightedclass", eText);
- if (hClass) {
- var classNames = hClass.split(' ')
- for (var i = 0; i < classNames.length; i++) {
- Element.addClassName(eText, classNames[i]);
- }
- if (window.drag) {
- this.dragEnter(e);
- }
+ this.previousTextClassNames = eText.className;
+ if (!this.highlightedTextClassNames)
+ {
+ this.highlightedTextClassNames = Richfaces.getNSAttribute("highlightedclass", eText);
}
+ if (this.highlightedTextClassNames) {
+ eText.className += " "+this.highlightedTextClassNames;
+ }
+ if (window.drag) {
+ this.dragEnter(e);
+ }
}
},
@@ -374,13 +374,19 @@
*/
var eText = this.elements.textElement;
- var sClass = Richfaces.getNSAttribute("selectedclass", eText);
- if (sClass) {
-
- var classNames = sClass.split(' ')
+ if (!this.selectedTextClassNames)
+ {
+ this.selectedTextClassNames = Richfaces.getNSAttribute("selectedclass", eText);
+ }
+ if (this.selectedTextClassNames) {
+ var classNames = this.selectedTextClassNames.split(' ')
for (var i = 0; i < classNames.length; i++) {
Element.addClassName(eText, classNames[i]);
}
+ if (this.previousTextClassNames && this.previousTextClassNames.indexOf(this.selectedTextClassNames)==-1)
+ {
+ this.previousTextClassNames += " " + this.selectedTextClassNames;
+ }
this.tree.input.value = this.id;
this.tree.selectionManager.activeItem = this;
@@ -402,9 +408,8 @@
deselect: function() {
var eText = this.elements.textElement;
- var sClass = Richfaces.getNSAttribute("selectedclass", eText);
- if (sClass) {
- var classNames = sClass.split(' ')
+ if (this.selectedTextClassNames) {
+ var classNames = this.selectedTextClassNames.split(' ')
for (var i = 0; i < classNames.length; i++) {
Element.removeClassName(eText, classNames[i]);
}
16 years, 8 months
JBoss Rich Faces SVN: r8434 - trunk/test-applications/facelets/src/main/java/inplaceInput.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-05-03 09:41:15 -0400 (Sat, 03 May 2008)
New Revision: 8434
Modified:
trunk/test-applications/facelets/src/main/java/inplaceInput/InplaceInput.java
Log:
Erase test for inputMaxLength
Modified: trunk/test-applications/facelets/src/main/java/inplaceInput/InplaceInput.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/inplaceInput/InplaceInput.java 2008-05-03 13:39:35 UTC (rev 8433)
+++ trunk/test-applications/facelets/src/main/java/inplaceInput/InplaceInput.java 2008-05-03 13:41:15 UTC (rev 8434)
@@ -7,7 +7,6 @@
import org.richfaces.component.html.HtmlInplaceInput;
public class InplaceInput {
- private String inputMaxLength;
private String inputWidth;
private String maxInputWidth;
private String minInputWidth;
@@ -50,7 +49,6 @@
}
public InplaceInput() {
- inputMaxLength = "200";
inputWidth = "150";
maxInputWidth = "250";
minInputWidth = "100";
@@ -74,13 +72,6 @@
public void valueChangeListener(ValueChangeEvent event){
valueCL = "valueChangeListener work!";
}
-
- public String getInputMaxLength() {
- return inputMaxLength;
- }
- public void setInputMaxLength(String inputMaxLength) {
- this.inputMaxLength = inputMaxLength;
- }
public String getInputWidth() {
return inputWidth;
}
16 years, 8 months
JBoss Rich Faces SVN: r8433 - trunk/test-applications/facelets/src/main/webapp/InplaceInput.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-05-03 09:39:35 -0400 (Sat, 03 May 2008)
New Revision: 8433
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml
Log:
Erase test for inputMaxLength
Modified: trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml 2008-05-03 13:31:38 UTC (rev 8432)
+++ trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml 2008-05-03 13:39:35 UTC (rev 8433)
@@ -6,7 +6,7 @@
This is because such an error can easily be made at programming level, <br />
and while invisible for the user who does not understand or cannot <br />
acquire the source code, many of those
-<rich:inplaceInput id = "inplaceInputId1" inputMaxLength="#{inplaceInput.inputMaxLength}"
+<rich:inplaceInput id = "inplaceInputId1"
inputWidth="#{inplaceInput.inputWidth}"
maxInputWidth="#{inplaceInput.maxInputWidth}"
minInputWidth="#{inplaceInput.minInputWidth}"
@@ -17,7 +17,7 @@
defaultLabel="#{inplaceInput.defaultLabel}"
controlsVerticalPosition="#{inplaceInput.controlsVerticalPosition}"
controlsHorizontalPosition="#{inplaceInput.controlsHorizontalPosition}"
- value="#{inplaceInput.value}"
+
selectOnEdit="#{inplaceInput.selectOnEdit}"
showControls="#{inplaceInput.showControls}"
rendered="#{inplaceInput.rendered}"
@@ -52,6 +52,7 @@
onviewactivated="#{evant.onviewactivated}"
onviewactivation="#{event.onviewactivation}"
binding="#{inplaceInput.myInplaceInput}">
+ <f:convertNumber pattern="###,###,##0.00"/>
</rich:inplaceInput>
are easy to exploit.
<h:panelGrid columns="2">
@@ -69,10 +70,6 @@
<h:inputText value="#{inplaceInput.defaultLabel}" onchange="submit();">
</h:inputText>
- <h:outputText value="inputMaxLength"></h:outputText>
- <h:inputText value="#{inplaceInput.inputMaxLength}" onchange="submit();">
- </h:inputText>
-
<h:outputText value="inputWidth"></h:outputText>
<h:inputText value="#{inplaceInput.inputWidth}" onchange="submit();">
</h:inputText>
16 years, 8 months
JBoss Rich Faces SVN: r8432 - trunk/samples/richfaces-demo/src/main/webapp/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-05-03 09:31:38 -0400 (Sat, 03 May 2008)
New Revision: 8432
Modified:
trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml
Log:
standard components(e.g. formated output) produce parser errors without filter
Modified: trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml 2008-05-03 13:30:29 UTC (rev 8431)
+++ trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml 2008-05-03 13:31:38 UTC (rev 8432)
@@ -45,7 +45,7 @@
</context-param>
<context-param>
<param-name>org.ajax4jsf.xmlparser.ORDER</param-name>
- <param-value>NONE, NEKO, TIDY</param-value>
+ <param-value>NEKO, TIDY</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.CONTROL_SKINNING</param-name>
16 years, 8 months
JBoss Rich Faces SVN: r8431 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-05-03 09:30:29 -0400 (Sat, 03 May 2008)
New Revision: 8431
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/extendedDataModel.xhtml
Log:
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/extendedDataModel.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/extendedDataModel.xhtml 2008-05-03 12:51:00 UTC (rev 8430)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/extendedDataModel.xhtml 2008-05-03 13:30:29 UTC (rev 8431)
@@ -26,6 +26,7 @@
<h:form>
<rich:datascroller for="auction" maxPages="5"/>
<rich:spacer height="30" />
+ <rich:messages style="color:red"></rich:messages>
<rich:dataTable id="auction" value="#{auctionDataModel}" columnClasses="col1,col2,col3,col4"
var="item" rows="10" width="100%">
<rich:column>
@@ -63,7 +64,7 @@
<f:convertNumber pattern="$#,##0.00"/>
</h:outputText>
</rich:column>
- </rich:dataTable>
+ </rich:dataTable>
+ <rich:messages style="color:red"></rich:messages>
</h:form>
-
</ui:composition>
\ No newline at end of file
16 years, 8 months
JBoss Rich Faces SVN: r8430 - trunk/docs/userguide/en/src/main/resources/images.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-05-03 08:51:00 -0400 (Sat, 03 May 2008)
New Revision: 8430
Modified:
trunk/docs/userguide/en/src/main/resources/images/tab1.png
trunk/docs/userguide/en/src/main/resources/images/tab2.png
Log:
RF-3208 - updated screens
Modified: trunk/docs/userguide/en/src/main/resources/images/tab1.png
===================================================================
(Binary files differ)
Modified: trunk/docs/userguide/en/src/main/resources/images/tab2.png
===================================================================
(Binary files differ)
16 years, 8 months
JBoss Rich Faces SVN: r8429 - in trunk/docs/userguide/en/src/main: resources/images and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-05-03 08:50:07 -0400 (Sat, 03 May 2008)
New Revision: 8429
Added:
trunk/docs/userguide/en/src/main/resources/images/tab_oc.png
trunk/docs/userguide/en/src/main/resources/images/tab_pc.png
Modified:
trunk/docs/userguide/en/src/main/docbook/included/tab.xml
Log:
RF-1052 - added screens and information for tab
Modified: trunk/docs/userguide/en/src/main/docbook/included/tab.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2008-05-03 11:59:41 UTC (rev 8428)
+++ trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2008-05-03 12:50:07 UTC (rev 8429)
@@ -97,19 +97,23 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:tabPanel width="20%">
- <rich:tab label="Tab">
- <h:outputText value="Active Tab content"/>
- </rich:tab>
- <rich:tab label="Disabled Tab" disabled="true">
- ...
- </rich:tab>
- <rich:tab label="Next Enabled Tab">
- ...
- </rich:tab>
+ <tabs:tab label="Canon">
+ <h:outputText value="Canon EOS Digital Rebel XT" />
+ ...
+ </tabs:tab>
+ <tabs:tab label="Nikon">
+ <h:outputText value="Nikon D70s" />
+ ...
+ </tabs:tab>
+ <tabs:tab label="Olympus">
+ <h:outputText value="Olympus EVOLT E-500" />
+ ...
+ </tabs:tab>
+ <tabs:tab disabled="true" name="disabled" label="Disabled"/>
</rich:tabPanel>
...]]></programlisting>
<para>With this example it's possible to generate the <property>tab panel</property>
- with the second disabled and two active <property>tabs</property> (see the picture).</para>
+ with the last disabled and three active <property>tabs</property> (see the picture).</para>
<figure>
<title><emphasis role="bold"><property><rich:tabPanel></property></emphasis> with disabled <emphasis role="bold"><property><rich:tab></property></emphasis></title>
<mediaobject>
@@ -306,7 +310,7 @@
</figure>
- <table>
+ <table id="tab_tab">
<title>Classes names that define a tab</title>
<tgroup cols="2">
<thead>
@@ -356,14 +360,63 @@
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:tab></property>
</emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
+ same names (possible classes could be found in the tables <link linkend="tab_tab"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:tab></property>
- </emphasis> components define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:tab></property>
- </emphasis>attribute.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-tab-header{
+ font-weight: bold;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/tab_pc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example a header font weight was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:tab></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:tab></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+ border-color: #5d9ffc;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:tab> </property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:tab ... styleClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/tab_oc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the border color was changed.</para>
</section>
</section>
\ No newline at end of file
Added: trunk/docs/userguide/en/src/main/resources/images/tab_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/tab_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/tab_pc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/tab_pc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 8 months
JBoss Rich Faces SVN: r8428 - trunk/docs/userguide/en/src/main/resources/images.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2008-05-03 07:59:41 -0400 (Sat, 03 May 2008)
New Revision: 8428
Added:
trunk/docs/userguide/en/src/main/resources/images/dataDefinitionList_cn.png
trunk/docs/userguide/en/src/main/resources/images/dataList_cn.png
trunk/docs/userguide/en/src/main/resources/images/dataList_oc.png
trunk/docs/userguide/en/src/main/resources/images/dataList_pc.png
trunk/docs/userguide/en/src/main/resources/images/dataOrderedList_cn.png
trunk/docs/userguide/en/src/main/resources/images/dataOrderedList_init.png
trunk/docs/userguide/en/src/main/resources/images/datadefinitionlist2.png
trunk/docs/userguide/en/src/main/resources/images/datalist2.png
trunk/docs/userguide/en/src/main/resources/images/datalist3.png
trunk/docs/userguide/en/src/main/resources/images/dataorderedlist2.png
Log:
http://jira.jboss.com/jira/browse/RF-2905
Unifying screenshots names.
Correcting links to them in XML files.
Added: trunk/docs/userguide/en/src/main/resources/images/dataDefinitionList_cn.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/dataDefinitionList_cn.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/dataList_cn.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/dataList_cn.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/dataList_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/dataList_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/dataList_pc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/dataList_pc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/dataOrderedList_cn.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/dataOrderedList_cn.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/dataOrderedList_init.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/dataOrderedList_init.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/datadefinitionlist2.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/datadefinitionlist2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/datalist2.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/datalist2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/datalist3.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/datalist3.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/dataorderedlist2.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/dataorderedlist2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 8 months
JBoss Rich Faces SVN: r8427 - trunk/ui/listShuttle/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-05-03 07:59:13 -0400 (Sat, 03 May 2008)
New Revision: 8427
Modified:
trunk/ui/listShuttle/src/main/config/component/listShuttle.xml
Log:
http://jira.jboss.com/jira/browse/RF-2204 - sourceRequired, targetRequired attributes description was added into Table of attributes
Modified: trunk/ui/listShuttle/src/main/config/component/listShuttle.xml
===================================================================
--- trunk/ui/listShuttle/src/main/config/component/listShuttle.xml 2008-05-03 10:55:16 UTC (rev 8426)
+++ trunk/ui/listShuttle/src/main/config/component/listShuttle.xml 2008-05-03 11:59:13 UTC (rev 8427)
@@ -32,6 +32,22 @@
&ui_input_attributes;
&html_style_attributes;
&ui_data_attributes;
+ <property>
+ <name>sourceRequired</name>
+ <classname>boolean</classname>
+ <description>
+ Defines the case when source value is being validated.
+ If the value is "true", there should be at least one item in the source list
+ </description>
+ </property>
+ <property>
+ <name>targetRequired</name>
+ <classname>boolean</classname>
+ <description>
+ Defines the case when target value is being validated.
+ If the value is "true", there should be at least one item in the target list
+ </description>
+ </property>
<property>
<name>columnClasses</name>
<classname>java.lang.String</classname>
16 years, 8 months