JBoss Rich Faces SVN: r8362 - trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2008-04-30 07:12:53 -0400 (Wed, 30 Apr 2008)
New Revision: 8362
Modified:
trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/css/panelMenu.xcss
Log:
http://jira.jboss.com/jira/browse/RF-3301
Modified: trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/css/panelMenu.xcss
===================================================================
--- trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/css/panelMenu.xcss 2008-04-30 10:44:15 UTC (rev 8361)
+++ trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/css/panelMenu.xcss 2008-04-30 11:12:53 UTC (rev 8362)
@@ -77,7 +77,7 @@
<u:style name="font-weight" skin="generalWeightFont"/>
<u:style name="font-size" skin="generalSizeFont"/>
<u:style name="color" skin="generalTextColor"/>
- <u:style name="border-top-color" skin="panelBorderColor"/>
+ <u:style name="border-top-color" skin="tableBorderColor"/>
</u:selector>
<u:selector name=".dr-pmenu-top-group-div" >
16 years, 8 months
JBoss Rich Faces SVN: r8361 - trunk/test-applications/jsp/src/main/java/inplaceSelect.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-30 06:44:15 -0400 (Wed, 30 Apr 2008)
New Revision: 8361
Modified:
trunk/test-applications/jsp/src/main/java/inplaceSelect/InplaceSelect.java
Log:
Add test for layout
Modified: trunk/test-applications/jsp/src/main/java/inplaceSelect/InplaceSelect.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/inplaceSelect/InplaceSelect.java 2008-04-30 10:44:01 UTC (rev 8360)
+++ trunk/test-applications/jsp/src/main/java/inplaceSelect/InplaceSelect.java 2008-04-30 10:44:15 UTC (rev 8361)
@@ -30,7 +30,8 @@
private String valueCL;
private HtmlInplaceSelect myInplaceSelect = null;
private String bindLabel;
-
+ private String layout;
+
public InplaceSelect() {
valueCL = "---";
editEvent = "onclick";
@@ -42,7 +43,7 @@
controlsHorizontalPosition = "center";
value = "errors";
listWidth = "200";
- listHeight = "50";
+ listHeight = "150";
showControls = false;
applyFromControlsOnly = false;
editOnTab = false;
@@ -54,7 +55,24 @@
changedClass = false;
required = false;
requiredMessage="requiredMessage";
+ layout = "inline";
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
}
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public String getLayout() {
+ return layout;
+ }
+
+ public void setLayout(String layout) {
+ this.layout = layout;
+ }
public HtmlInplaceSelect getMyInplaceSelect(){
return myInplaceSelect;
16 years, 8 months
JBoss Rich Faces SVN: r8360 - trunk/test-applications/facelets/src/main/java/inplaceSelect.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-30 06:44:01 -0400 (Wed, 30 Apr 2008)
New Revision: 8360
Modified:
trunk/test-applications/facelets/src/main/java/inplaceSelect/InplaceSelect.java
Log:
Add test for layout
Modified: trunk/test-applications/facelets/src/main/java/inplaceSelect/InplaceSelect.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/inplaceSelect/InplaceSelect.java 2008-04-30 10:43:39 UTC (rev 8359)
+++ trunk/test-applications/facelets/src/main/java/inplaceSelect/InplaceSelect.java 2008-04-30 10:44:01 UTC (rev 8360)
@@ -28,7 +28,8 @@
private String valueCL;
private HtmlInplaceSelect myInplaceSelect = null;
private String bindLabel;
-
+ private String layout;
+
public InplaceSelect() {
valueCL = "---";
editEvent = "onclick";
@@ -50,7 +51,16 @@
bindLabel = "Click binding";
required = false;
requiredMessage="requiredMessage";
+ layout = "inline";
+ }
+
+ public String getLayout() {
+ return layout;
}
+
+ public void setLayout(String layout) {
+ this.layout = layout;
+ }
public void setmyInplaceSelect(HtmlInplaceSelect myInplaceSelect){
this.myInplaceSelect = myInplaceSelect;
16 years, 8 months
JBoss Rich Faces SVN: r8359 - trunk/test-applications/facelets/src/main/webapp/InplaceSelect.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-30 06:43:39 -0400 (Wed, 30 Apr 2008)
New Revision: 8359
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml
Log:
Add test for layout
Modified: trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml 2008-04-30 10:43:10 UTC (rev 8358)
+++ trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml 2008-04-30 10:43:39 UTC (rev 8359)
@@ -55,18 +55,13 @@
onmouseup="#{event.onmouseup}"
onselect="#{event.onselect}"
onviewactivated="#{evant.onviewactivated}"
- onviewactivation="#{event.onviewactivation}">
+ onviewactivation="#{event.onviewactivation}"
+ layout="#{inplaceSelect.layout}">
<f:selectItem itemLabel="errors" itemValue="errors" />
<f:selectItem itemLabel="fatals" itemValue="fatals" />
<f:selectItem itemLabel="infos" itemValue="infos" />
<f:selectItem itemLabel="passeds" itemValue="passeds" />
- <f:selectItem itemLabel="warns" itemValue="warns" />
- <f:selectItem itemValue="Option 1" itemLabel="Option 1" />
- <f:selectItem itemValue="Option 2" itemLabel="Option 2" />
- <f:selectItem itemValue="Option 3" itemLabel="Option 3" />
- <f:selectItem itemValue="Option 4" itemLabel="Option 4" />
- <f:selectItem itemValue="Option 5" itemLabel="Option 5" />
-
+ <f:selectItem itemLabel="warns" itemValue="warns" />
</rich:inplaceSelect>
are easy to exploit.
@@ -78,7 +73,7 @@
<h:panelGrid columns="2">
<h:outputText value="value"></h:outputText>
- <h:inputText value="#{inplaceSelect.value}"></h:inputText>
+ <h:outputText value="#{inplaceSelect.value}"></h:outputText>
<h:outputText value="defaultLabel"></h:outputText>
<h:inputText value="#{inplaceSelect.defaultLabel}"
@@ -108,6 +103,7 @@
<h:selectOneRadio value="#{inplaceSelect.controlsVerticalPosition}"
onchange="submit();">
<f:selectItem itemLabel="top" itemValue="top" />
+ <f:selectItem itemLabel="center" itemValue="center" />
<f:selectItem itemLabel="bottom" itemValue="bottom" />
</h:selectOneRadio>
@@ -153,7 +149,10 @@
onchange="submit();"></h:selectBooleanCheckbox>
<h:outputText value="requiredMessage"></h:outputText>
- <h:inputText value="#{inplaceSelect.requiredMessage}" onchange="submit();"></h:inputText>
+ <h:inputText value="#{inplaceSelect.requiredMessage}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="layout"></h:outputText>
+ <h:inputText value="#{inplaceSelect.layout}" onchange="submit();"></h:inputText>
</h:panelGrid>
16 years, 8 months
JBoss Rich Faces SVN: r8358 - trunk/test-applications/jsp/src/main/webapp/InplaceSelect.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-30 06:43:10 -0400 (Wed, 30 Apr 2008)
New Revision: 8358
Modified:
trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelect.jsp
Log:
Add test for layout
Modified: trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelect.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelect.jsp 2008-04-30 10:27:47 UTC (rev 8357)
+++ trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelect.jsp 2008-04-30 10:43:10 UTC (rev 8358)
@@ -60,7 +60,7 @@
onselect="#{event.onselect}"
onviewactivated="#{event.onviewactivated}"
onviewactivation="#{event.onviewactivation}"
- value="qqwer">
+ layout="#{inplaceSelect.layout}">
<f:selectItem itemLabel="errors" itemValue="errors" />
<f:selectItem itemLabel="fatals" itemValue="fatals" />
<f:selectItem itemLabel="infos" itemValue="infos" />
@@ -77,7 +77,7 @@
<h:panelGrid columns="2">
<h:outputText value="value"></h:outputText>
- <h:inputText value="#{inplaceSelect.value}"></h:inputText>
+ <h:outputText value="#{inplaceSelect.value}"></h:outputText>
<h:outputText value="defaultLabel"></h:outputText>
<h:inputText value="#{inplaceSelect.defaultLabel}"
@@ -107,7 +107,9 @@
<h:selectOneRadio value="#{inplaceSelect.controlsVerticalPosition}"
onchange="submit();">
<f:selectItem itemLabel="top" itemValue="top" />
+ <f:selectItem itemLabel="center" itemValue="center" />
<f:selectItem itemLabel="bottom" itemValue="bottom" />
+
</h:selectOneRadio>
<h:outputText value="controlsHorizontalPosition"></h:outputText>
@@ -153,6 +155,9 @@
<h:outputText value="requiredMessage"></h:outputText>
<h:inputText value="#{inplaceSelect.requiredMessage}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="layout"></h:outputText>
+ <h:inputText value="#{inplaceSelect.layout}" onchange="submit();"></h:inputText>
</h:panelGrid>
16 years, 8 months
JBoss Rich Faces SVN: r8357 - trunk/docs/faq/en/src/main/docbook/module.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-04-30 06:27:47 -0400 (Wed, 30 Apr 2008)
New Revision: 8357
Modified:
trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml
Log:
http://jira.jboss.com/jira/browse/RF-3042 - info about optional object selection was added into FAQ
Modified: trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml
===================================================================
--- trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2008-04-30 10:08:50 UTC (rev 8356)
+++ trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2008-04-30 10:27:47 UTC (rev 8357)
@@ -2313,4 +2313,33 @@
</filter>
...]]></programlisting>
</section>
+ <section id="suggestionboxObjectSelection">
+ <?dbhtml filename="suggestionboxObjectSelection.html"?>
+ <title>Optional object selection in <rich:suggestionbox></title>
+ <para>
+ The <emphasis role="bold"><property><rich:suggestionbox></property></emphasis> component provides such feature as
+ object selection. In order to store selected items as objects and then get access to them you could use next scenario:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Add <emphasis><property>"usingSuggestObjects"</property></emphasis> attribute with "true" value to
+ <emphasis role="bold"><property><rich:suggestionbox></property></emphasis>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Use <emphasis><property>"onobjectchanged"</property></emphasis> event attribute
+ to store objects currently selected
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ All selected objects are stored under <property>suggestion.SelectedItems</property> array.
+ Each array element contains of <property>text</property> and <property>object</property> properties.
+ So, you could iterate this array, get <property>not null objects</property> and then get the property you need.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
</chapter>
16 years, 8 months
JBoss Rich Faces SVN: r8356 - trunk/test-applications/seleniumTest/src/main/webapp/pages/keepAlive.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-04-30 06:08:50 -0400 (Wed, 30 Apr 2008)
New Revision: 8356
Modified:
trunk/test-applications/seleniumTest/src/main/webapp/pages/keepAlive/keepAliveTest.xhtml
Log:
Modified: trunk/test-applications/seleniumTest/src/main/webapp/pages/keepAlive/keepAliveTest.xhtml
===================================================================
(Binary files differ)
16 years, 8 months
JBoss Rich Faces SVN: r8355 - trunk/test-applications/facelets/src/main/webapp/InplaceSelect.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-30 05:16:44 -0400 (Wed, 30 Apr 2008)
New Revision: 8355
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml
Log:
Change test for tabbing
Modified: trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml 2008-04-30 09:16:33 UTC (rev 8354)
+++ trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml 2008-04-30 09:16:44 UTC (rev 8355)
@@ -1,7 +1,8 @@
<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="inplaceSelectSubviewID">
-<h:inputText value="For verify tabbing"/> <br/>
+<h:inputText value="For verify tabbing tabindex=3" size="25" tabindex="3"></h:inputText> <br/>
+
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
@@ -24,7 +25,7 @@
binding="#{inplaceSelect.myInplaceSelect}"
required="#{inplaceSelect.required}"
requiredMessage="#{inplaceSelect.requiredMessage}"
-
+ value="qwer"
onblur="#{event.onblur}"
onchange="#{event.onchange}"
onclick="#{event.onclick}"
@@ -60,7 +61,14 @@
<f:selectItem itemLabel="infos" itemValue="infos" />
<f:selectItem itemLabel="passeds" itemValue="passeds" />
<f:selectItem itemLabel="warns" itemValue="warns" />
+ <f:selectItem itemValue="Option 1" itemLabel="Option 1" />
+ <f:selectItem itemValue="Option 2" itemLabel="Option 2" />
+ <f:selectItem itemValue="Option 3" itemLabel="Option 3" />
+ <f:selectItem itemValue="Option 4" itemLabel="Option 4" />
+ <f:selectItem itemValue="Option 5" itemLabel="Option 5" />
+
</rich:inplaceSelect>
+
are easy to exploit.
<h:panelGrid columns="2">
<a4j:commandButton value="refresh" reRender="inplaceSelectValueCLID"></a4j:commandButton>
16 years, 8 months
JBoss Rich Faces SVN: r8354 - trunk/test-applications/jsp/src/main/webapp/InplaceSelect.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-30 05:16:33 -0400 (Wed, 30 Apr 2008)
New Revision: 8354
Modified:
trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelect.jsp
Log:
Change test for tabbing
Modified: trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelect.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelect.jsp 2008-04-30 09:13:59 UTC (rev 8353)
+++ trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelect.jsp 2008-04-30 09:16:33 UTC (rev 8354)
@@ -5,7 +5,7 @@
<f:subview id="inplaceSelectSubviewID">
-<h:inputText value="For verify tabbing"/> <br/>
+<h:inputText value="For verify tabbing tabindex=3" size="25" tabindex="3"></h:inputText> <br/>
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 />
@@ -59,13 +59,14 @@
onmouseup="#{event.onmouseup}"
onselect="#{event.onselect}"
onviewactivated="#{event.onviewactivated}"
- onviewactivation="#{event.onviewactivation}">
+ onviewactivation="#{event.onviewactivation}"
+ value="qqwer">
<f:selectItem itemLabel="errors" itemValue="errors" />
<f:selectItem itemLabel="fatals" itemValue="fatals" />
<f:selectItem itemLabel="infos" itemValue="infos" />
<f:selectItem itemLabel="passeds" itemValue="passeds" />
<f:selectItem itemLabel="warns" itemValue="warns" />
- <f:selectItem itemLabel="warnswarnswarnswarns" itemValue="warnswarnswarnswarns" />
+ <f:selectItem itemLabel="warnswarnswarnswarns" itemValue="warnswarnswarnswarns" />
</rich:inplaceSelect>
are easy to exploit.
<h:panelGrid columns="2">
16 years, 8 months
JBoss Rich Faces SVN: r8353 - trunk/test-applications/facelets/src/main/webapp/InplaceInput.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-30 05:13:59 -0400 (Wed, 30 Apr 2008)
New Revision: 8353
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml
Log:
Change test for tabbing
Modified: trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml 2008-04-30 09:13:47 UTC (rev 8352)
+++ trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml 2008-04-30 09:13:59 UTC (rev 8353)
@@ -1,7 +1,7 @@
<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="inplaceInputSubviewID">
-<h:inputText value="For verify tabbing"></h:inputText> <br/>
+<h:inputText value="For verify tabbing tabindex=3" size="25" tabindex="3"></h:inputText> <br/>
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 />
@@ -53,7 +53,7 @@
onviewactivation="#{event.onviewactivation}"
binding="#{inplaceInput.myInplaceInput}">
</rich:inplaceInput>
- are easy to exploit. <h:commandButton value="ok"></h:commandButton>
+ are easy to exploit.
<h:panelGrid columns="2">
<a4j:commandButton value="refresh" reRender="inplaceInputValueCLID"></a4j:commandButton>
<h:outputText id="inplaceInputValueCLID"
@@ -61,8 +61,8 @@
</h:panelGrid>
<h:panelGrid columns="2">
<h:outputText value="value"></h:outputText>
- <h:inputText id="inplaceInputValueID" value="#{inplaceInput.value}" onchange="submit();">
- </h:inputText>
+ <h:outputText id="inplaceInputValueID" value="#{inplaceInput.value}" onchange="submit();">
+ </h:outputText>
<h:outputText value="defaultLabel"></h:outputText>
16 years, 8 months