[JBoss JIRA] (RF-11565) Showcase: multiple selections in rich:autocomplete doesn't work when "clicking" is used
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11565?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč edited comment on RF-11565 at 1/2/13 11:42 AM:
----------------------------------------------------------
In Google chrome 21.0.1180.83 the bug can be tracked down to line 329 in Autocomplete.js
{code:javascript}
325 var updateInputValue = function (value) {
326 var field = rf.getDomElement(this.fieldId);
327 var inputValue = field.value;
328
329 var cursorPosition = rf.Selection.getStart(field);
{code}
if keys are used to select, no blur event happens, and the currentPosition is correct.
if mouse are used to select, a blur event occurs, and the currentPosition is allways 0.
was (Author: mortenlud):
In Google chrome 21.0.1180.83 the bug can be tracked down to line 329 in Autocomplete.js
325 var updateInputValue = function (value) {
326 var field = rf.getDomElement(this.fieldId);
327 var inputValue = field.value;
328
329 var cursorPosition = rf.Selection.getStart(field);
if keys are used to select, no blur event happens, and the currentPosition is correct.
if mouse are used to select, a blur event occurs, and the currentPosition is allways 0.
> Showcase: multiple selections in rich:autocomplete doesn't work when "clicking" is used
> ---------------------------------------------------------------------------------------
>
> Key: RF-11565
> URL: https://issues.jboss.org/browse/RF-11565
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input, showcase
> Affects Versions: 4.1.0.Milestone3, 4.2.3.CR1, 4.3.0.M3
> Environment: iPhone 4 (Safari)
> Nexus (Android 2.3.6)
> Google Chrome 12.0.742.112
> Reporter: Jan Papousek
> Assignee: Lukáš Fryč
> Fix For: 4.3.0.CR1
>
> Original Estimate: 1 hour, 30 minutes
> Remaining Estimate: 1 hour, 30 minutes
>
> The second a third autocomplete input in Showcase demo http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=autoco... [1] doesn't work properly on the mentioned browsers/devices:
> # type "Al"
> # select "Alabama" -> input field is containing "Alabama"
> # type ", P"
> # select "Pennsylvania" with mouse/finger -> input field is containing "Pennsylvania, P" (it should contain "Alabama, Pennsylvania")
> The Safari developer's console on iPhone doesn't display any error.
> It works properly on:
> - Opera 11.50
> - Firefox 6.0
> [1] http://10.0.2.2:8080/showcase/#autocomplete:modes in movile showcase
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-11067) rich:autocomplete popups with suggestions does not reflect the value in input
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11067?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-11067:
---------------------------------
The issue was that sample autocompletes were using ajax mode which doesn't filter suggestions on client.
Switching autocomplete to client mode have resolved the issue.
> rich:autocomplete popups with suggestions does not reflect the value in input
> -----------------------------------------------------------------------------
>
> Key: RF-11067
> URL: https://issues.jboss.org/browse/RF-11067
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input, mobile, showcase
> Affects Versions: 4.1.0.Milestone1
> Environment: richfaces-showcase
> commit 4a534c358ff5903429609ff065fc27bae6fec2c0
> Reporter: Juraj Húska
> Assignee: Lukáš Fryč
> Fix For: 4.3.0.CR1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> In richfaces-showcase, demo for rich:autocomplete, sample Custom Popup Layouts, popup with suggestions does not reflect what is typed in the input, it always shows the first row of suggestion.
> For example when I type v, it should render popup with suggestion Vermont, but instead of it suggest Alabama.
> This is corrected when something is chosen, for example Alabama, then suggestions work properly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-11067) rich:autocomplete popups with suggestions does not reflect the value in input
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11067?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč resolved RF-11067.
-----------------------------
Resolution: Done
> rich:autocomplete popups with suggestions does not reflect the value in input
> -----------------------------------------------------------------------------
>
> Key: RF-11067
> URL: https://issues.jboss.org/browse/RF-11067
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input, mobile, showcase
> Affects Versions: 4.1.0.Milestone1
> Environment: richfaces-showcase
> commit 4a534c358ff5903429609ff065fc27bae6fec2c0
> Reporter: Juraj Húska
> Assignee: Lukáš Fryč
> Fix For: 4.3.0.CR1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> In richfaces-showcase, demo for rich:autocomplete, sample Custom Popup Layouts, popup with suggestions does not reflect what is typed in the input, it always shows the first row of suggestion.
> For example when I type v, it should render popup with suggestion Vermont, but instead of it suggest Alabama.
> This is corrected when something is chosen, for example Alabama, then suggestions work properly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-12692) rich:select - unknown validator SelectLabelValueValidator
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12692?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12692:
----------------------------
Summary: rich:select - unknown validator SelectLabelValueValidator (was: rich:select regression in 4.3 - unknown validator SelectLabelValueValidator)
> rich:select - unknown validator SelectLabelValueValidator
> ---------------------------------------------------------
>
> Key: RF-12692
> URL: https://issues.jboss.org/browse/RF-12692
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.0.M2, 4.3.0.M3
> Environment: Windows7, Tomee 1.0.0 / Webpshere 8.0.0.3, Myfaces 2.0.2/MyFaces 2.1.7
> Reporter: Erdem YILMAZ
> Assignee: Lukáš Fryč
> Labels: SelectLabelValueValidator, missing
> Fix For: 4.3.0.CR1
>
>
> We have trying our application with the new M3 release/snapshots but have error in all simple pages with rich:select component. We think that on build time SelectLabelValueValidator.class is not added to the richfaces-components-ui-4.3.0.XX.jar
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-12692) rich:select - unknown validator SelectLabelValueValidator
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12692?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12692:
----------------------------
Labels: SelectLabelValueValidator missing regression (was: SelectLabelValueValidator missing)
> rich:select - unknown validator SelectLabelValueValidator
> ---------------------------------------------------------
>
> Key: RF-12692
> URL: https://issues.jboss.org/browse/RF-12692
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.0.M2, 4.3.0.M3
> Environment: Windows7, Tomee 1.0.0 / Webpshere 8.0.0.3, Myfaces 2.0.2/MyFaces 2.1.7
> Reporter: Erdem YILMAZ
> Assignee: Lukáš Fryč
> Labels: SelectLabelValueValidator, missing, regression
> Fix For: 4.3.0.CR1
>
>
> We have trying our application with the new M3 release/snapshots but have error in all simple pages with rich:select component. We think that on build time SelectLabelValueValidator.class is not added to the richfaces-components-ui-4.3.0.XX.jar
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-12692) rich:select - unknown validator SelectLabelValueValidator
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12692?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12692:
----------------------------
Sprint: 4.3.0.CR1 - Bug fixes
> rich:select - unknown validator SelectLabelValueValidator
> ---------------------------------------------------------
>
> Key: RF-12692
> URL: https://issues.jboss.org/browse/RF-12692
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.0.M2, 4.3.0.M3
> Environment: Windows7, Tomee 1.0.0 / Webpshere 8.0.0.3, Myfaces 2.0.2/MyFaces 2.1.7
> Reporter: Erdem YILMAZ
> Assignee: Lukáš Fryč
> Labels: SelectLabelValueValidator, missing, regression
> Fix For: 4.3.0.CR1
>
>
> We have trying our application with the new M3 release/snapshots but have error in all simple pages with rich:select component. We think that on build time SelectLabelValueValidator.class is not added to the richfaces-components-ui-4.3.0.XX.jar
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-12692) rich:select - unknown validator SelectLabelValueValidator
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12692?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12692:
---------------------------------
Regression against {{4.2.3.Final}}
> rich:select - unknown validator SelectLabelValueValidator
> ---------------------------------------------------------
>
> Key: RF-12692
> URL: https://issues.jboss.org/browse/RF-12692
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.0.M2, 4.3.0.M3
> Environment: Windows7, Tomee 1.0.0 / Webpshere 8.0.0.3, Myfaces 2.0.2/MyFaces 2.1.7
> Reporter: Erdem YILMAZ
> Assignee: Lukáš Fryč
> Labels: SelectLabelValueValidator, missing, regression
> Fix For: 4.3.0.CR1
>
>
> We have trying our application with the new M3 release/snapshots but have error in all simple pages with rich:select component. We think that on build time SelectLabelValueValidator.class is not added to the richfaces-components-ui-4.3.0.XX.jar
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-12692) rich:select regression in 4.3 - unknown validator SelectLabelValueValidator
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12692?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12692:
----------------------------
Summary: rich:select regression in 4.3 - unknown validator SelectLabelValueValidator (was: Upgrade from 4.2.3.Final to 4.3.0.M3 breaks)
> rich:select regression in 4.3 - unknown validator SelectLabelValueValidator
> ---------------------------------------------------------------------------
>
> Key: RF-12692
> URL: https://issues.jboss.org/browse/RF-12692
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.0.M2, 4.3.0.M3
> Environment: Windows7, Tomee 1.0.0 / Webpshere 8.0.0.3, Myfaces 2.0.2/MyFaces 2.1.7
> Reporter: Erdem YILMAZ
> Assignee: Lukáš Fryč
> Labels: SelectLabelValueValidator, missing
> Fix For: 4.3.0.CR1
>
>
> We have trying our application with the new M3 release/snapshots but have error in all simple pages with rich:select component. We think that on build time SelectLabelValueValidator.class is not added to the richfaces-components-ui-4.3.0.XX.jar
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-12692) Upgrade from 4.2.3.Final to 4.3.0.M3 breaks
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12692?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12692:
----------------------------
Fix Version/s: 4.3.0.CR1
> Upgrade from 4.2.3.Final to 4.3.0.M3 breaks
> -------------------------------------------
>
> Key: RF-12692
> URL: https://issues.jboss.org/browse/RF-12692
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.0.M2, 4.3.0.M3
> Environment: Windows7, Tomee 1.0.0 / Webpshere 8.0.0.3, Myfaces 2.0.2/MyFaces 2.1.7
> Reporter: Erdem YILMAZ
> Assignee: Lukáš Fryč
> Labels: SelectLabelValueValidator, missing
> Fix For: 4.3.0.CR1
>
>
> We have trying our application with the new M3 release/snapshots but have error in all simple pages with rich:select component. We think that on build time SelectLabelValueValidator.class is not added to the richfaces-components-ui-4.3.0.XX.jar
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-12692) Upgrade from 4.2.3.Final to 4.3.0.M3 breaks
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12692?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12692:
----------------------------
Assignee: Lukáš Fryč
> Upgrade from 4.2.3.Final to 4.3.0.M3 breaks
> -------------------------------------------
>
> Key: RF-12692
> URL: https://issues.jboss.org/browse/RF-12692
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.0.M2, 4.3.0.M3
> Environment: Windows7, Tomee 1.0.0 / Webpshere 8.0.0.3, Myfaces 2.0.2/MyFaces 2.1.7
> Reporter: Erdem YILMAZ
> Assignee: Lukáš Fryč
> Labels: SelectLabelValueValidator, missing
>
> We have trying our application with the new M3 release/snapshots but have error in all simple pages with rich:select component. We think that on build time SelectLabelValueValidator.class is not added to the richfaces-components-ui-4.3.0.XX.jar
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months