JBoss Rich Faces SVN: r14345 - branches/community/3.3.X/ui/contextMenu/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-05-26 11:22:42 -0400 (Tue, 26 May 2009)
New Revision: 14345
Modified:
branches/community/3.3.X/ui/contextMenu/src/main/config/component/contextMenu.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of event handles descriptions;
Modified: branches/community/3.3.X/ui/contextMenu/src/main/config/component/contextMenu.xml
===================================================================
--- branches/community/3.3.X/ui/contextMenu/src/main/config/component/contextMenu.xml 2009-05-26 14:10:52 UTC (rev 14344)
+++ branches/community/3.3.X/ui/contextMenu/src/main/config/component/contextMenu.xml 2009-05-26 15:22:42 UTC (rev 14345)
@@ -214,7 +214,7 @@
<name>oncollapse</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a menu is collapsed.
+ The client side script method to be called before the menu is collapsed
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -223,7 +223,7 @@
<name>onexpand</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a menu is expanded.
+ The client side script method to be called before the menu is expanded
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -233,7 +233,7 @@
<name>onmouseout</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a pointer was moved away
+ The client side script method to be called when a pointer is moved away from the element
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -242,7 +242,7 @@
<name>onmousemove</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a pointer was moved within
+ The client side script method to be called when a pointer is moved within the element
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -251,7 +251,7 @@
<name>onmouseover</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; a pointer was moved onto
+ The client side script method to be called when a pointer is moved onto the element
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -260,7 +260,7 @@
<name>onitemselect</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; some item was selected
+ The client side script method to be called when some item is selected
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -269,7 +269,7 @@
<name>ongroupactivate</name>
<classname>java.lang.String</classname>
<description>
- HTML: script expression; some group was activated
+ The client side script method to be called when some context menu group is activated
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
15 years, 7 months
JBoss Rich Faces SVN: r14344 - 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-26 10:10:52 -0400 (Tue, 26 May 2009)
New Revision: 14344
Modified:
branches/community/3.3.X/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java
Log:
https://jira.jboss.org/jira/browse/RF-3852
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-26 14:08:59 UTC (rev 14343)
+++ branches/community/3.3.X/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java 2009-05-26 14:10:52 UTC (rev 14344)
@@ -549,12 +549,6 @@
throw new NullPointerException();
}
- if (submittedValueHolder == null) {
- return;
- }
-
-// http://jira.jboss.com/jira/browse/RF-3852
-
Object previousValue = getValue();
Object newValue = null;
@@ -594,6 +588,11 @@
}
validateValue(context, newValue);
+
+ //RF-3852
+ if (submittedValueHolder == null) {
+ return;
+ }
// If our value is valid, store the new value, erase the
// "submitted" value, and emit a ValueChangeEvent if appropriate
15 years, 7 months
JBoss Rich Faces SVN: r14343 - branches/community/3.3.X/test-applications/jsp/src/main/java/tabPanel.
by richfaces-svn-commits@lists.jboss.org
Author: Vadim Mikovoz
Date: 2009-05-26 10:08:59 -0400 (Tue, 26 May 2009)
New Revision: 14343
Modified:
branches/community/3.3.X/test-applications/jsp/src/main/java/tabPanel/TabPanel.java
Log:
Modified: branches/community/3.3.X/test-applications/jsp/src/main/java/tabPanel/TabPanel.java
===================================================================
--- branches/community/3.3.X/test-applications/jsp/src/main/java/tabPanel/TabPanel.java 2009-05-26 14:06:32 UTC (rev 14342)
+++ branches/community/3.3.X/test-applications/jsp/src/main/java/tabPanel/TabPanel.java 2009-05-26 14:08:59 UTC (rev 14343)
@@ -1,63 +1,80 @@
package tabPanel;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+
import org.richfaces.component.html.HtmlTab;
import org.richfaces.component.html.HtmlTabPanel;
import util.componentInfo.ComponentInfo;
public class TabPanel {
-
+
private String width;
private String height;
private String title;
- private String switchType; //"client", "server"(default), "ajax"
- private String headerAlignment; //"left", "center" and "right".
+ private String direction;
+ private String switchType; // "client", "server"(default), "ajax"
+ private String headerAlignment; // "left", "center" and "right".
private String headerSpacing;
private String selectedTab;
- //private String timeout;
+ // private String timeout;
private String labelWidth;
private String label;
private String activeTabStyle;
- private String disabledTabStyle;
- private String inactiveTabStyle;
- private String contentStyle;
- private String BtnLabel="ON";
+ private String disabledTabStyle;
+ private String inactiveTabStyle;
+ private String contentStyle;
+ private String BtnLabel = "ON";
private boolean immediate;
- private HtmlTabPanel htmlTabPanel = null;
+ private HtmlTabPanel htmlTabPanel;
private HtmlTab htmlTab = null;
private boolean rendered;
private boolean disabledTab;
-
- public void addHtmlTabPanel(){
+ private String bindLabel;
+
+ public void checkBinding(ActionEvent e) {
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = htmlTabPanel.getValue().toString() + "---"
+ + htmlTabPanel.getClientId(context);
+ }
+
+ public void validate(FacesContext context, UIComponent component,
+ Object value) {
+ System.out.println("***>> validator");
+ }
+
+ public void addHtmlTabPanel() {
ComponentInfo info = ComponentInfo.getInstance();
info.addField(htmlTabPanel);
info.addField(htmlTab);
}
-
+
public TabPanel() {
- width="75%";
- height="200px";
- title="title goes here...";
- switchType="server";
- headerAlignment="center";
- headerSpacing="20px";
- label="Tab Label";
- labelWidth="150px";
+ width = "75%";
+ height = "200px";
+ title = "title goes here...";
+ switchType = "server";
+ direction = "LTR";
+ headerAlignment = "center";
+ headerSpacing = "20px";
+ label = "Tab Label";
+ labelWidth = "150px";
selectedTab = "tabTwo";
-
- activeTabStyle=null;
- disabledTabStyle=null;
- inactiveTabStyle=null;
- contentStyle=null;
-
+ bindLabel = "Click Binding";
+ activeTabStyle = null;
+ disabledTabStyle = null;
+ inactiveTabStyle = null;
+ contentStyle = null;
+
immediate = false;
- rendered=true;
- disabledTab=false;
-
+ rendered = true;
+ disabledTab = false;
+
}
-
- public void doStyles()
- {
+
+ public void doStyles() {
if (getContentStyle() == null) {
setBtnLabel("Off");
setActiveTabStyle("activeTabStyle");
@@ -72,6 +89,7 @@
setInactiveTabStyle(null);
}
}
+
public String getHeaderAlignment() {
return headerAlignment;
}
@@ -136,6 +154,14 @@
this.switchType = switchType;
}
+ public String getDirection() {
+ return direction;
+ }
+
+ public void setDirection(String direction) {
+ this.direction = direction;
+ }
+
public String getTitle() {
return title;
}
@@ -207,7 +233,7 @@
public void setImmediate(boolean immediate) {
this.immediate = immediate;
}
-
+
public void bTest1() {
setDisabledTab(false);
setHeaderAlignment("left");
@@ -294,4 +320,12 @@
this.htmlTab = htmlTab;
}
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
}
15 years, 7 months
JBoss Rich Faces SVN: r14342 - in branches: archive and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-05-26 10:06:32 -0400 (Tue, 26 May 2009)
New Revision: 14342
Added:
branches/archive/refactor1/
Removed:
branches/refactor1/
Log:
Spring time SVN cleaning
Copied: branches/archive/refactor1 (from rev 14341, branches/refactor1)
15 years, 7 months
JBoss Rich Faces SVN: r14338 - branches.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-05-26 09:59:04 -0400 (Tue, 26 May 2009)
New Revision: 14338
Removed:
branches/3.2.x.SR/
Log:
Spring time SVN cleaning
15 years, 7 months
JBoss Rich Faces SVN: r14337 - branches/3.2.x/ui/orderingList/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-05-26 09:57:18 -0400 (Tue, 26 May 2009)
New Revision: 14337
Modified:
branches/3.2.x/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java
Log:
https://jira.jboss.org/jira/browse/RF-3852
Modified: branches/3.2.x/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java
===================================================================
--- branches/3.2.x/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java 2009-05-26 13:54:51 UTC (rev 14336)
+++ branches/3.2.x/ui/orderingList/src/main/java/org/richfaces/component/UIOrderingList.java 2009-05-26 13:57:18 UTC (rev 14337)
@@ -528,11 +528,6 @@
// Submitted value == null means "the component was not submitted
// at all"; validation should not continue
-// http://jira.jboss.com/jira/browse/RF-3852
-// if (submittedValueHolder == null) {
-// return;
-// }
-
Object previousValue = getValue();
Object newValue = null;
@@ -572,6 +567,10 @@
}
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
15 years, 7 months
JBoss Rich Faces SVN: r14336 - branches/community/3.3.X/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2009-05-26 09:54:51 -0400 (Tue, 26 May 2009)
New Revision: 14336
Modified:
branches/community/3.3.X/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
Log:
inplaceSelect: tab navigation saves value for component with buttons and cancels in the component without controls
https://jira.jboss.org/jira/browse/RF-4422
Modified: branches/community/3.3.X/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
===================================================================
--- branches/community/3.3.X/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2009-05-26 13:51:29 UTC (rev 14335)
+++ branches/community/3.3.X/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2009-05-26 13:54:51 UTC (rev 14336)
@@ -160,9 +160,7 @@
break;
case Event.KEY_TAB :
//https://jira.jboss.org/jira/browse/RF-4422
- /*if (this.attributes.showControls) {
- this.save(event);
- }*/
+ this.save(event);
break;
}
},
15 years, 7 months