Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.1
-
Fix Version/s: 1.7
-
Component/s: ICE-Components
-
Labels:None
-
Environment:any
-
Assignee Priority:P1
-
Support Case References:
-
Affects:Sample App./Tutorial
Description
the ValueChangeListener is invoked for each row in the background, but the list of the autocomplete textfield is not shown even though
an appropriate value is found. instead the textfield is cleared on each keypress and nothing happens. the DOM update seems to be just fine.
-
Hide
- Test_SelectInputText.war
- 4.66 MB
- Michael Thiem
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/classes/.../AutoCompleteBean.class 4 kB
- WEB-INF/.../AutoCompleteDictionary$1.class 0.9 kB
- WEB-INF/.../AutoCompleteDictionary.class 2 kB
- WEB-INF/classes/test/City.class 3 kB
- WEB-INF/classes/test/Person.class 1 kB
- WEB-INF/classes/test/TestBean.class 2 kB
- WEB-INF/faces-config.xml 1 kB
- WEB-INF/html_basic.tld 244 kB
- WEB-INF/jsf_core.tld 25 kB
- WEB-INF/lib/backport-util-concurrent.jar 343 kB
- WEB-INF/lib/commons-beanutils.jar 100 kB
- WEB-INF/lib/commons-collections.jar 164 kB
- WEB-INF/lib/commons-digester.jar 96 kB
- WEB-INF/lib/commons-fileupload.jar 52 kB
- WEB-INF/lib/commons-logging.jar 27 kB
- WEB-INF/lib/el-api.jar 24 kB
- WEB-INF/lib/el-ri.jar 97 kB
- WEB-INF/lib/jsf-api.jar 324 kB
- WEB-INF/lib/jsf-impl.jar 602 kB
- WEB-INF/lib/jstl.jar 17 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/lib/standard.jar 343 kB
- WEB-INF/lib/xercesImpl.jar 1.15 MB
- WEB-INF/lib/xml-apis.jar 190 kB
- WEB-INF/resources/city.xml.zip 273 kB
- WEB-INF/web.xml 3 kB
- index.jsp 0.2 kB
- main.jspx 2 kB
- WEB-INF/lib/icefaces.jar 690 kB
-
- Test_SelectInputText.rar
- 27 kB
- Michael Thiem
Issue Links
- depends on
-
ICE-2610 value of inputText/selectInputDate inside dataTable not stored
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
source code
the value of inputtext inside data table is not stored when its value not binded to the bean. thus the drop-down list disappeared. Adding the value binding to the selectinputtext fixed the problem confirms that it's the same problem with inputtext.
This is a result of how UIData intentionally works. You simply cannot use UIInput/EditableValueHolder components in a UIData without using a ValueBinding/ValueExpression for their value attribute. Check ICE-2610 for more info.
then why don't we use it in the component showcase this way? if users use the component showcase examples as best practice they wonder why they see such strange behaviour even though they applied the best practices.
Michael, I believe that Patrick is working on updating the component-showcase. If it's doing something wrong, then he's probably the best one to reassign this to.
Re-opened. We need to update the Comp. Showcase to use the correct technique.
The selectInputController has been update to use best practises. Value binding is used to insure that the selected value is stored and the valueChangeListener is used to update the list of of possibilities. Closing bug unless anyone has an objection and reopens.
demo application showing the behaviour