Author: Alex.Kolonitsky
Date: 2009-09-04 13:17:33 -0400 (Fri, 04 Sep 2009)
New Revision: 15470
Added:
branches/community/3.3.X/samples/combobox-sample/src/main/webapp/pages/RF-7258.xhtml
branches/community/3.3.X/samples/combobox-sample/src/main/webapp/pages/RF-7701.xhtml
branches/community/3.3.X/samples/combobox-sample/src/main/webapp/pics/
branches/community/3.3.X/samples/combobox-sample/src/main/webapp/pics/info.gif
Log:
ComboBox: pop up can not be closed if it was opened during combobox rerender.
https://jira.jboss.org/jira/browse/RF-7258
comboBox: onselect event doesn't work
https://jira.jboss.org/jira/browse/RF-7701
Added:
branches/community/3.3.X/samples/combobox-sample/src/main/webapp/pages/RF-7258.xhtml
===================================================================
--- branches/community/3.3.X/samples/combobox-sample/src/main/webapp/pages/RF-7258.xhtml
(rev 0)
+++
branches/community/3.3.X/samples/combobox-sample/src/main/webapp/pages/RF-7258.xhtml 2009-09-04
17:17:33 UTC (rev 15470)
@@ -0,0 +1,29 @@
+<!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:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:cmb="http://labs.jboss.com/jbossrichfaces/ui/combobox"
+
xmlns:a4j="http://richfaces.org/a4j"
+ >
+ <head>
+ <title></title>
+ </head>
+ <body>
+ <f:view>
+ <h:form id="form">
+ <cmb:comboBox id="combo" >
+ <f:selectItem itemValue="val-1" />
+ <f:selectItem itemValue="val-2" />
+ <f:selectItem itemValue="val-3" />
+ <f:selectItem itemValue="val-4" />
+ <f:selectItem itemValue="val-5" />
+ </cmb:comboBox>
+ <a4j:commandButton
+ reRender="combo"
+ value="reRender"
+ onclick="$('form:combo').component.showList()"
/>
+ </h:form>
+ </f:view>
+ </body>
+</html>
\ No newline at end of file
Added:
branches/community/3.3.X/samples/combobox-sample/src/main/webapp/pages/RF-7701.xhtml
===================================================================
--- branches/community/3.3.X/samples/combobox-sample/src/main/webapp/pages/RF-7701.xhtml
(rev 0)
+++
branches/community/3.3.X/samples/combobox-sample/src/main/webapp/pages/RF-7701.xhtml 2009-09-04
17:17:33 UTC (rev 15470)
@@ -0,0 +1,32 @@
+<!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:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:cmb="http://labs.jboss.com/jbossrichfaces/ui/combobox"
+
xmlns:p="http://labs.jboss.com/jbossrichfaces/ui/panel"
+
xmlns:a4j="http://richfaces.org/a4j"
+ >
+ <head>
+ <title></title>
+ </head>
+ <body>
+ <f:view>
+ <h:form>
+ <cmb:comboBox
+ onchange="#{bean.onchangeScript}"
+ onlistcall="#{bean.onlistcallScript}"
+ onselect="alert('Hi Alex!');"
+ buttonIcon="/pics/info.gif"
+ >
+
+ <f:selectItem itemValue="Oregon" />
+ <f:selectItem itemValue="Pennsylvania Oregonfdsf fdsfdsfds
dsffdsfdsfdsf fdsfdsfwdsfsfsd fdsfdsfdsfds dfsfdsfdsfds"/>
+ <f:selectItem itemValue="Rhode Island"/>
+ <f:selectItem itemValue="South Carolina"/>
+ <f:selectItem itemValue="J'uneau"/>
+ </cmb:comboBox>
+ </h:form>
+ </f:view>
+ </body>
+</html>
Added: branches/community/3.3.X/samples/combobox-sample/src/main/webapp/pics/info.gif
===================================================================
(Binary files differ)
Property changes on:
branches/community/3.3.X/samples/combobox-sample/src/main/webapp/pics/info.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream