Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.1
-
Fix Version/s: EE-4.1.0.RC1, EE-4.1.0.GA, 4.2.BETA, 4.2
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 4 trunk r47630, Tomcat 8, all browsers
-
Assignee Priority:P2
Description
Issue found when using the Clear button in a form that has an ace:textEntry with a preloaded value and an inField label. If the Clear button is pressed before entering input into the ace:textEntry, newly entered input becomes part of the inField label. This issue seems to be exclusive to ace:textEntry. It is not an issue with ace:textAreaEntry, ace:maskedEntry, ace:dateTimeEntry etc.
To reproduce:
1.) Use the QA test application /ClearResetSubmit.jsf found at:
http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/pushButton.
2.) Scroll down to Form 2. Notice the preloaded values in each input.
3.) Press the Clear button at the bottom of the form. Notice all inputs display the inField label.
4.) Insert the cursor into the ace:textEntry. The inField label is not removed as it should be.
5.) Type into the ace:textEntry. The new input becomes part of the inField label.
6.) Press the submit button. The newly typed input is removed and the inField label is redisplayed.
To reproduce:
1.) Use the QA test application /ClearResetSubmit.jsf found at:
http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/pushButton.
2.) Scroll down to Form 2. Notice the preloaded values in each input.
3.) Press the Clear button at the bottom of the form. Notice all inputs display the inField label.
4.) Insert the cursor into the ace:textEntry. The inField label is not removed as it should be.
5.) Type into the ace:textEntry. The new input becomes part of the inField label.
6.) Press the submit button. The newly typed input is removed and the inField label is redisplayed.
r47790: fix to make sure to send to the client a flag indicating that the component has an infield label, even if the component has a preloaded value and is initially rendered with it