Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 4
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
The mobi:timeSpinner is an input component used for choosing a time.
Supports both native device time selection components, or optionally its' own time selection UI, consistent on all devices.
Supports both native device time selection components, or optionally its' own time selection UI, consistent on all devices.
Test Results
ICEfaces4 trunk revision# 39920
1) The required / requiredMessage attributes are unusable currently. If the timeSpinner has an empty value and you try to submit it then the default converter gets called and the converterMessage is displayed ("
{0}: Conversion error occurred."). The default converter should let the required attribute handle empty values instead of trying to convert them. When I created my own converter I was able to fix this by returning before conversion on empty/null values.
2) The timeSpinner seems to be submitting at times when it shouldn't be. When changing the date by using the arrows the timeSpinner is firing a submit each time an arrow is clicked. This can be seen in Firebug (Net tab) as well as the required/converter messages being shown on the page. Secondly, when clicking 'Set' the timeSpinner will actually send the value to the server and the date will be set in the bean. This is without singleSubmit or ace:ajax enabled.
3) The style attribute gets applied to the wrapping span but the styleClass attribute gets applied to the input component. Is this expected/desired behaviour?
4) With an ajax tag present and set to disabled=true clicking "Set" on the timeSpinner throws a JS error and the timeSpinner remains open:
Message: Syntax error
Line: 118
Char: 494
Code: 0
URI: http://10.18.39.144:8080/timeSpinner/timeSpinnerAjax.jsf
5) I couldn't find a way to test that the locale and timezone attributes are functioning. I tried various values for each of these but it doesn't seem to change anything. Need further test instructions.