JBoss Rich Faces SVN: r7930 - branches/3.1.x/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-04-18 08:00:52 -0400 (Fri, 18 Apr 2008)
New Revision: 7930
Modified:
branches/3.1.x/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
Log:
http://jira.jboss.com/jira/browse/RF-2706
Modified: branches/3.1.x/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
===================================================================
--- branches/3.1.x/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-04-18 11:38:55 UTC (rev 7929)
+++ branches/3.1.x/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-04-18 12:00:52 UTC (rev 7930)
@@ -1316,7 +1316,7 @@
Event.extend(event);
//window.status = $(event.relatedTarget).inspect();
if (this.options.onmouseout) {
- if (this.options.onmouseover.call(element, event) == false) {
+ if (this.options.onmouseout.call(element, event) == false) {
Event.stop(event);
return;
};
16 years, 9 months
JBoss Rich Faces SVN: r7929 - trunk/test-applications/jsp/src/main/webapp/InplaceInput.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-18 07:38:55 -0400 (Fri, 18 Apr 2008)
New Revision: 7929
Modified:
trunk/test-applications/jsp/src/main/webapp/InplaceInput/InplaceInput.jsp
Log:
Add some tests
Modified: trunk/test-applications/jsp/src/main/webapp/InplaceInput/InplaceInput.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/InplaceInput/InplaceInput.jsp 2008-04-18 10:53:20 UTC (rev 7928)
+++ trunk/test-applications/jsp/src/main/webapp/InplaceInput/InplaceInput.jsp 2008-04-18 11:38:55 UTC (rev 7929)
@@ -27,7 +27,35 @@
showControls="#{inplaceInput.showControls}"
rendered="#{inplaceInput.rendered}"
immediate="#{inplaceInput.immediate}"
- layout = "#{inplaceInput.layout}">
+ layout = "#{inplaceInput.layout}"
+ onblur="#{event.onblur}"
+ onchange="#{event.onchange}"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ oneditactivated="#{event.oneditactivated}"
+ oneditactivation="#{event.oneditactivation}"
+ onfocus="#{event.onfocus}"
+ oninputclick="#{event.oninputclick}"
+ oninputdblclick="#{event.oninputdblclick}"
+ oninputkeydown="#{event.oninputkeydown}"
+ oninputkeypress="#{event.oninputkeypress}"
+ oninputkeyup="#{event.oninputkeyup}"
+ oninputmousedown="#{event.oninputmousedown}"
+ oninputmousemove="#{event.oninputmousemove}"
+ oninputmouseout="#{event.oninputmouseout}"
+ oninputmouseover="#{event.oninputmouseover}"
+ oninputmouseup="#{event.oninputmouseup}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ onselect="#{event.onselect}"
+ onviewactivated="#{evant.onviewactivated}"
+ onviewactivation="#{event.onviewactivation}">
</rich:inplaceInput>
are easy to exploit.
16 years, 9 months
JBoss Rich Faces SVN: r7928 - trunk/test-applications/facelets/src/main/java/util/event.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-18 06:53:20 -0400 (Fri, 18 Apr 2008)
New Revision: 7928
Modified:
trunk/test-applications/facelets/src/main/java/util/event/Event.java
Log:
Cosmetic changes
Modified: trunk/test-applications/facelets/src/main/java/util/event/Event.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/util/event/Event.java 2008-04-18 10:52:44 UTC (rev 7927)
+++ trunk/test-applications/facelets/src/main/java/util/event/Event.java 2008-04-18 10:53:20 UTC (rev 7928)
@@ -104,78 +104,6 @@
private String onviewactivated;
private String onviewactivation;
- public String getOnviewactivation() {
- return onviewactivation;
- }
-
- public void setOnviewactivation(String onviewactivation) {
- this.onviewactivation = onviewactivation;
- }
-
- public String getOnviewactivated() {
- return onviewactivated;
- }
-
- public void setOnviewactivated(String onviewactivated) {
- this.onviewactivated = onviewactivated;
- }
-
- public String getOninputmouseup() {
- return oninputmouseup;
- }
-
- public void setOninputmouseup(String oninputmouseup) {
- this.oninputmouseup = oninputmouseup;
- }
-
- public String getOninputmouseover() {
- return oninputmouseover;
- }
-
- public void setOninputmouseover(String oninputmouseover) {
- this.oninputmouseover = oninputmouseover;
- }
-
- public String getOninputmouseout() {
- return oninputmouseout;
- }
-
- public void setOninputmouseout(String oninputmouseout) {
- this.oninputmouseout = oninputmouseout;
- }
-
- public String getOninputmousemove() {
- return oninputmousemove;
- }
-
- public void setOninputmousemove(String oninputmousemove) {
- this.oninputmousemove = oninputmousemove;
- }
-
- public String getOninputmousedown() {
- return oninputmousedown;
- }
-
- public void setOninputmousedown(String oninputmousedown) {
- this.oninputmousedown = oninputmousedown;
- }
-
- public String getOninputdblclick() {
- return oninputdblclick;
- }
-
- public void setOninputdblclick(String oninputdblclick) {
- this.oninputdblclick = oninputdblclick;
- }
-
- public String getOneditactivation() {
- return oneditactivation;
- }
-
- public void setOneditactivation(String oneditactivation) {
- this.oneditactivation = oneditactivation;
- }
-
// showEvent('onkeypressInputID', 'onkeypress work!')
public Event() {
onLoadMap = "showEvent('onLoadMapInputID', 'onLoadMap work!')";
@@ -1165,5 +1093,78 @@
public void setOneditactivated(String oneditactivated) {
this.oneditactivated = oneditactivated;
}
+
+ public String getOnviewactivation() {
+ return onviewactivation;
+ }
+
+ public void setOnviewactivation(String onviewactivation) {
+ this.onviewactivation = onviewactivation;
+ }
+
+ public String getOnviewactivated() {
+ return onviewactivated;
+ }
+
+ public void setOnviewactivated(String onviewactivated) {
+ this.onviewactivated = onviewactivated;
+ }
+
+ public String getOninputmouseup() {
+ return oninputmouseup;
+ }
+
+ public void setOninputmouseup(String oninputmouseup) {
+ this.oninputmouseup = oninputmouseup;
+ }
+
+ public String getOninputmouseover() {
+ return oninputmouseover;
+ }
+
+ public void setOninputmouseover(String oninputmouseover) {
+ this.oninputmouseover = oninputmouseover;
+ }
+
+ public String getOninputmouseout() {
+ return oninputmouseout;
+ }
+
+ public void setOninputmouseout(String oninputmouseout) {
+ this.oninputmouseout = oninputmouseout;
+ }
+
+ public String getOninputmousemove() {
+ return oninputmousemove;
+ }
+
+ public void setOninputmousemove(String oninputmousemove) {
+ this.oninputmousemove = oninputmousemove;
+ }
+
+ public String getOninputmousedown() {
+ return oninputmousedown;
+ }
+
+ public void setOninputmousedown(String oninputmousedown) {
+ this.oninputmousedown = oninputmousedown;
+ }
+
+ public String getOninputdblclick() {
+ return oninputdblclick;
+ }
+
+ public void setOninputdblclick(String oninputdblclick) {
+ this.oninputdblclick = oninputdblclick;
+ }
+
+ public String getOneditactivation() {
+ return oneditactivation;
+ }
+
+ public void setOneditactivation(String oneditactivation) {
+ this.oneditactivation = oneditactivation;
+ }
+
}
\ No newline at end of file
16 years, 9 months
JBoss Rich Faces SVN: r7927 - in branches/3.1.x/test-applications/jsp/src/main: webapp/InputNumberSpinner and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-04-18 06:52:44 -0400 (Fri, 18 Apr 2008)
New Revision: 7927
Modified:
branches/3.1.x/test-applications/jsp/src/main/java/inputNumberSpinner/InputNumberSpinner.java
branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp
branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinnerProperty.jsp
Log:
+binding
+accesKey
+converter
+tabindex
+valueChangeListener
Modified: branches/3.1.x/test-applications/jsp/src/main/java/inputNumberSpinner/InputNumberSpinner.java
===================================================================
--- branches/3.1.x/test-applications/jsp/src/main/java/inputNumberSpinner/InputNumberSpinner.java 2008-04-18 10:51:19 UTC (rev 7926)
+++ branches/3.1.x/test-applications/jsp/src/main/java/inputNumberSpinner/InputNumberSpinner.java 2008-04-18 10:52:44 UTC (rev 7927)
@@ -1,5 +1,10 @@
package inputNumberSpinner;
+import org.richfaces.component.html.HtmlInputNumberSpinner;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+import javax.faces.event.ValueChangeEvent;
+
public class InputNumberSpinner {
// private String size;
@@ -13,10 +18,13 @@
private String inputStyle;
private String style;
private String btnLabel = "ON";
+ private String bindLabel;
+ private String changeListenerLabel;
private boolean cycled;
private boolean disabled;
private boolean manualInput;
private boolean rendered;
+ private HtmlInputNumberSpinner mySpinner;
public InputNumberSpinner() {
// size= "200";
@@ -26,13 +34,14 @@
manualInput = true;
max = "100";
min = "10";
- // value="50";
+ //value="50";
// controlPosition="outside";
step = "1";
rendered = true;
style = null;
inputStyle = null;
-
+ mySpinner = new HtmlInputNumberSpinner();
+ changeListenerLabel = "";
}
public void doStyles() {
@@ -218,4 +227,41 @@
setTabindex("5");
setValue("101");
}
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public HtmlInputNumberSpinner getMySpinner() {
+ return mySpinner;
+ }
+
+ public void setMySpinner(HtmlInputNumberSpinner mySpinner) {
+ this.mySpinner = mySpinner;
+ }
+
+ public void checkBinding(ActionEvent actionEvent){
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = mySpinner.getClientId(context).toString();
+ }
+
+ public void valueChangeListener(ValueChangeEvent valueChangeEvent){
+ System.out.println("====valueChangeListener work well=====");
+ StringBuilder sb = new StringBuilder();
+ sb.append("inputNumberSpinner's value is ");
+ sb.append(mySpinner.getValue());
+ changeListenerLabel = sb.toString();
+ }
+
+ public String getChangeListenerLabel() {
+ return changeListenerLabel;
+ }
+
+ public void setChangeListenerLabel(String changeListenerLabel) {
+ this.changeListenerLabel = changeListenerLabel;
+ }
}
Modified: branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp
===================================================================
--- branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp 2008-04-18 10:51:19 UTC (rev 7926)
+++ branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp 2008-04-18 10:52:44 UTC (rev 7927)
@@ -19,6 +19,7 @@
oninputkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" oninputmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
oninputmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" oninputmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')"
oninputmouseup="showEvent('onmouseupInputID', 'onmouseup work!')" ondownclick="showEvent('ondownclickInputID', 'ondownclick work!')"
- onupclick="showEvent('onupclickInputID', 'onupclick work!')"></rich:inputNumberSpinner>
+ onupclick="showEvent('onupclickInputID', 'onupclick work!')"
+ accesskey="y" binding="#{inputNumberSpinner.mySpinner}" valueChangeListener="#{inputNumberSpinner.valueChangeListener}"></rich:inputNumberSpinner>
<rich:spacer height="20px"></rich:spacer>
</f:subview>
Modified: branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinnerProperty.jsp
===================================================================
--- branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinnerProperty.jsp 2008-04-18 10:51:19 UTC (rev 7926)
+++ branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinnerProperty.jsp 2008-04-18 10:52:44 UTC (rev 7927)
@@ -4,51 +4,65 @@
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="iNSpinnerPropertySubviewID">
- <h:panelGrid columns="2" cellpadding="10px" border="1">
- <h:outputText value="Max: "></h:outputText>
- <h:inputText value="#{inputNumberSpinner.max}">
- <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
- </h:inputText>
+ <h:panelGrid columns="2" cellpadding="10px" border="1">
+ <h:outputText value="Max: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.max}">
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
- <h:outputText value="Min: "></h:outputText>
- <h:inputText value="#{inputNumberSpinner.min}">
- <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
- </h:inputText>
+ <h:outputText value="Min: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.min}">
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
- <h:outputText value="Step: "></h:outputText>
- <h:inputText value="#{inputNumberSpinner.step}">
- <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
- </h:inputText>
+ <h:outputText value="Step: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.step}">
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
- <h:outputText value="Size: "></h:outputText>
- <h:inputText value="#{inputNumberSpinner.inputSize}">
- <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
- </h:inputText>
+ <h:outputText value="Size: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.inputSize}">
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
- <h:outputText value="Value: "></h:outputText>
- <h:inputText value="#{inputNumberSpinner.value}">
- <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
- </h:inputText>
+ <h:outputText value="Value: "></h:outputText>
+ <h:inputText value="#{inputNumberSpinner.value}">
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
- <h:outputText value="Cycled:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSpinner.cycled}">
- <a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
- </h:selectBooleanCheckbox>
+ <h:outputText value="Cycled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.cycled}">
+ <a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
+ </h:selectBooleanCheckbox>
- <h:outputText value="Manual Input:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSpinner.manualInput}">
- <a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
- </h:selectBooleanCheckbox>
+ <h:outputText value="Manual Input:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.manualInput}">
+ <a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
+ </h:selectBooleanCheckbox>
- <h:outputText value="Disabled:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSpinner.disabled}">
- <a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
- </h:selectBooleanCheckbox>
+ <h:outputText value="Disabled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.disabled}">
+ <a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
+ </h:selectBooleanCheckbox>
- <h:outputText value="Rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSpinner.rendered}" onclick="submit()">
- </h:selectBooleanCheckbox>
- <h:outputText value="Switch Styles:" />
- <h:commandButton action="#{inputNumberSpinner.doStyles}" value="#{inputNumberSpinner.btnLabel}" />
- </h:panelGrid>
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSpinner.rendered}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+ <h:outputText value="Switch Styles:" />
+ <h:commandButton action="#{inputNumberSpinner.doStyles}"
+ value="#{inputNumberSpinner.btnLabel}" />
+
+ <h:commandButton actionListener="#{inputNumberSpinner.checkBinding}"
+ value="Binding" />
+ <h:outputText value="#{inputNumberSpinner.bindLabel}" />
+
+ <h:outputText value="tabindex:" />
+ <h:inputText value="#{inputNumberSpinner.tabindex}" >
+ <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="valueChangeListener" />
+ <h:outputText value="#{inputNumberSpinner.changeListenerLabel}" />
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 9 months
JBoss Rich Faces SVN: r7926 - trunk/test-applications/facelets/src/main/webapp/InplaceInput.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-18 06:51:19 -0400 (Fri, 18 Apr 2008)
New Revision: 7926
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml
Log:
Add some events
Modified: trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml 2008-04-18 10:51:14 UTC (rev 7925)
+++ trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInput.xhtml 2008-04-18 10:51:19 UTC (rev 7926)
@@ -22,7 +22,35 @@
showControls="#{inplaceInput.showControls}"
rendered="#{inplaceInput.rendered}"
immediate="#{inplaceInput.immediate}"
- layout = "#{inplaceInput.layout}">
+ layout = "#{inplaceInput.layout}"
+ onblur="#{event.onblur}"
+ onchange="#{event.onchange}"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ oneditactivated="#{event.oneditactivated}"
+ oneditactivation="#{event.oneditactivation}"
+ onfocus="#{event.onfocus}"
+ oninputclick="#{event.oninputclick}"
+ oninputdblclick="#{event.oninputdblclick}"
+ oninputkeydown="#{event.oninputkeydown}"
+ oninputkeypress="#{event.oninputkeypress}"
+ oninputkeyup="#{event.oninputkeyup}"
+ oninputmousedown="#{event.oninputmousedown}"
+ oninputmousemove="#{event.oninputmousemove}"
+ oninputmouseout="#{event.oninputmouseout}"
+ oninputmouseover="#{event.oninputmouseover}"
+ oninputmouseup="#{event.oninputmouseup}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ onselect="#{event.onselect}"
+ onviewactivated="#{evant.onviewactivated}"
+ onviewactivation="#{event.onviewactivation}">
</rich:inplaceInput>
are easy to exploit. <h:commandButton value="ok"></h:commandButton>
<h:panelGrid columns="2">
16 years, 9 months
JBoss Rich Faces SVN: r7925 - branches/3.1.x/test-applications/jsp/src/main/java/util/converter.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-04-18 06:51:14 -0400 (Fri, 18 Apr 2008)
New Revision: 7925
Added:
branches/3.1.x/test-applications/jsp/src/main/java/util/converter/inputNumberSpinnerConverter.java
Log:
+inputNumberSpinnerConverter
Added: branches/3.1.x/test-applications/jsp/src/main/java/util/converter/inputNumberSpinnerConverter.java
===================================================================
--- branches/3.1.x/test-applications/jsp/src/main/java/util/converter/inputNumberSpinnerConverter.java (rev 0)
+++ branches/3.1.x/test-applications/jsp/src/main/java/util/converter/inputNumberSpinnerConverter.java 2008-04-18 10:51:14 UTC (rev 7925)
@@ -0,0 +1,27 @@
+package util.converter;
+
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.convert.Converter;
+//import inputNumberSpinner.*;
+
+import util.data.Data;
+
+public class inputNumberSpinnerConverter implements Converter {
+
+ public Object getAsObject(FacesContext arg0, UIComponent arg1, String arg2) {
+ String [] str = arg2.split(":");
+ System.out.println("str:" + str[0]);
+ return new Data(Integer.parseInt(str[0]));
+
+ }
+
+ public String getAsString(FacesContext arg0, UIComponent arg1, Object arg2) {
+ String s = (String)arg2;
+ Integer val = Integer.parseInt(s);
+ System.out.println("data:" + val);
+ //InputNumberSpinner spinner = new InputNumberSpinner();
+ return val.toString();
+ }
+
+}
16 years, 9 months
JBoss Rich Faces SVN: r7924 - trunk/test-applications/facelets/src/main/webapp/pages/Action.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-18 06:50:57 -0400 (Fri, 18 Apr 2008)
New Revision: 7924
Modified:
trunk/test-applications/facelets/src/main/webapp/pages/Action/EventInfo.xhtml
Log:
Add some events
Modified: trunk/test-applications/facelets/src/main/webapp/pages/Action/EventInfo.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/pages/Action/EventInfo.xhtml 2008-04-18 10:50:41 UTC (rev 7923)
+++ trunk/test-applications/facelets/src/main/webapp/pages/Action/EventInfo.xhtml 2008-04-18 10:50:57 UTC (rev 7924)
@@ -1,5 +1,17 @@
<f:subview 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="EventInfoSubview">
+ <f:verbatim><div style="position: relative"><input id="oneditactivatedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oneditactivationInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputdblclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputmousedownInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputmousemoveInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputmouseoutInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputmouseoverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputmouseupInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onviewactivatedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onviewactivationInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+
+
<f:verbatim><div style="position: relative"><input id="onmouseupInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
<f:verbatim><div style="position: relative"><input id="ontabenterInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
<f:verbatim><div style="position: relative"><input id="ontableaveInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
16 years, 9 months
JBoss Rich Faces SVN: r7923 - trunk/test-applications/facelets/src/main/java/util/event.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-18 06:50:41 -0400 (Fri, 18 Apr 2008)
New Revision: 7923
Modified:
trunk/test-applications/facelets/src/main/java/util/event/Event.java
Log:
Add some events
Modified: trunk/test-applications/facelets/src/main/java/util/event/Event.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/util/event/Event.java 2008-04-18 10:22:07 UTC (rev 7922)
+++ trunk/test-applications/facelets/src/main/java/util/event/Event.java 2008-04-18 10:50:41 UTC (rev 7923)
@@ -93,7 +93,89 @@
private String oncontextmenu;
private String ongroupcollapse;
private String opened;
+ private String oneditactivated;
+ private String oneditactivation;
+ private String oninputdblclick;
+ private String oninputmousedown;
+ private String oninputmousemove;
+ private String oninputmouseout;
+ private String oninputmouseover;
+ private String oninputmouseup;
+ private String onviewactivated;
+ private String onviewactivation;
+ public String getOnviewactivation() {
+ return onviewactivation;
+ }
+
+ public void setOnviewactivation(String onviewactivation) {
+ this.onviewactivation = onviewactivation;
+ }
+
+ public String getOnviewactivated() {
+ return onviewactivated;
+ }
+
+ public void setOnviewactivated(String onviewactivated) {
+ this.onviewactivated = onviewactivated;
+ }
+
+ public String getOninputmouseup() {
+ return oninputmouseup;
+ }
+
+ public void setOninputmouseup(String oninputmouseup) {
+ this.oninputmouseup = oninputmouseup;
+ }
+
+ public String getOninputmouseover() {
+ return oninputmouseover;
+ }
+
+ public void setOninputmouseover(String oninputmouseover) {
+ this.oninputmouseover = oninputmouseover;
+ }
+
+ public String getOninputmouseout() {
+ return oninputmouseout;
+ }
+
+ public void setOninputmouseout(String oninputmouseout) {
+ this.oninputmouseout = oninputmouseout;
+ }
+
+ public String getOninputmousemove() {
+ return oninputmousemove;
+ }
+
+ public void setOninputmousemove(String oninputmousemove) {
+ this.oninputmousemove = oninputmousemove;
+ }
+
+ public String getOninputmousedown() {
+ return oninputmousedown;
+ }
+
+ public void setOninputmousedown(String oninputmousedown) {
+ this.oninputmousedown = oninputmousedown;
+ }
+
+ public String getOninputdblclick() {
+ return oninputdblclick;
+ }
+
+ public void setOninputdblclick(String oninputdblclick) {
+ this.oninputdblclick = oninputdblclick;
+ }
+
+ public String getOneditactivation() {
+ return oneditactivation;
+ }
+
+ public void setOneditactivation(String oneditactivation) {
+ this.oneditactivation = oneditactivation;
+ }
+
// showEvent('onkeypressInputID', 'onkeypress work!')
public Event() {
onLoadMap = "showEvent('onLoadMapInputID', 'onLoadMap work!')";
@@ -182,6 +264,16 @@
onupclick = "showEvent('onupclickInputID', 'onupclick work!')";
ongroupcollapse = "showEvent('ongroupcollapseInputID', 'ongroupcollapse work!')";
opened = "showEvent('openedInputID', 'opened work!')";
+ oneditactivated = "showEvent('oneditactivatedInputID', 'oneditactivated work!')";
+ oneditactivation = "showEvent('oneditactivationInputID', 'oneditactivation work!')";
+ oninputdblclick = "showEvent('oninputdblclickInputID', 'oninputdblclick work!')";
+ oninputmousedown = "showEvent('oninputmousedownInputID', 'oninputmousedown work!')";
+ oninputmousemove = "showEvent('oninputmousemoveInputID', 'oninputmousemove work!')";
+ oninputmouseout = "showEvent('oninputmouseoutInputID', 'oninputmouseout work!')";
+ oninputmouseover = "showEvent('oninputmouseoverInputID', 'oninputmouseover work!')";
+ oninputmouseup = "showEvent('oninputmouseupInputID', 'oninputmouseup work!')";
+ onviewactivated = "showEvent('onviewactivatedInputID', 'onviewactivated work!')";
+ onviewactivation = "showEvent('onviewactivationInputID', 'onviewactivation work!')";
}
public String getOncontextmenu() {
@@ -1066,4 +1158,12 @@
this.opened = opened;
}
+ public String getOneditactivated() {
+ return oneditactivated;
+ }
+
+ public void setOneditactivated(String oneditactivated) {
+ this.oneditactivated = oneditactivated;
+ }
+
}
\ No newline at end of file
16 years, 9 months
JBoss Rich Faces SVN: r7922 - branches/3.1.x/test-applications/jsp/src/main/webapp/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-04-18 06:22:07 -0400 (Fri, 18 Apr 2008)
New Revision: 7922
Modified:
branches/3.1.x/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Converter.xml
Log:
+inputNumberSpinnerConverter
Modified: branches/3.1.x/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Converter.xml
===================================================================
--- branches/3.1.x/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Converter.xml 2008-04-18 10:13:12 UTC (rev 7921)
+++ branches/3.1.x/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Converter.xml 2008-04-18 10:22:07 UTC (rev 7922)
@@ -10,4 +10,8 @@
<converter-id>orderingListConverter</converter-id>
<converter-class>util.converter.OrderingListConverter</converter-class>
</converter>
+ <converter>
+ <converter-id>inputNumberSpinnerConverter</converter-id>
+ <converter-class>util.converter.inputNumberSpinnerConverter</converter-class>
+ </converter>
</faces-config>
16 years, 9 months
JBoss Rich Faces SVN: r7921 - branches/3.1.x/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: vbaranov
Date: 2008-04-18 06:13:12 -0400 (Fri, 18 Apr 2008)
New Revision: 7921
Modified:
branches/3.1.x/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
Log:
http://jira.jboss.com/jira/browse/RF-2546
Modified: branches/3.1.x/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
===================================================================
--- branches/3.1.x/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2008-04-18 10:06:23 UTC (rev 7920)
+++ branches/3.1.x/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2008-04-18 10:13:12 UTC (rev 7921)
@@ -219,7 +219,7 @@
if (this.target)
form.target = this.target;
- Richfaces.jsFormSubmit(this.myId, form.name, this.target,this.params);
+ Richfaces.jsFormSubmit(this.myId, form.id, this.target,this.params);
//form.submit();
}
else if ("ajax" == this.mode) {
16 years, 9 months