Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha3
-
Fix Version/s: 2.0-Alpha2, 2.0.0
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces 2.0
Description
The selection components in ICEfaces 2.0 compat/component-showcase do not select. There are also focus problems in the demo.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
For the language selection, this is the relevant snippet being passed to the server:
iceform%3ASlctLang=true&iceform%3ASlctLang=false&iceform%3ASlctLang=false&iceform%3ASlctLang=false&iceform%3ASlctLang=true
In contrast, here is what we send with ICEfaces 1.8 trunk:
iceform%3Aicepnltabset%3A0%3ASlctLang=bean.selection.language.lang5.value&iceform%3Aicepnltabset%3A0%3ASlctLang=bean.selection.language.lang2.value&iceform%3Aicepnltabset%3A0%3ASlctLang=bean.selection.language.lang1.value
The component hierarchy is slightly different, but the important point to notice is that the values are not true or false, they are of the form "bean.selection.language.lang5.value".
It is possible that the JSF standard JavaScript is encoding the values incorrectly.
I will test with an updated JSF implementation.
Excellent; this fix was also needed to clear the input field in the chat portion of the auction demo.
Focus is working well in component-showcase now, however, the chat field mentioned above loses focus (I will add this investigation to an auction-specific bug).