Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.2
-
Fix Version/s: EE-4.2.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 4 trunk r51643, tomcat 8, all browsers. Does not affect ICEfaces 4.1
-
Assignee Priority:P2
Description
ace:resizeable
When the resizeable image value uses a non-ajax submit after being resized, the image snaps back to it's original size. On subsequent resizes and submits this is not an issue. This was not a problem with 4.1 release but is with 4.2.
To reproduce:
1.) Use test page /resizableOnly.jsf found at:
http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/resizable
2.) Resize the image to about double it's current size
3.) Press Submit. Notice that the image snaps back to it's original dimensions.
4.) Resize the image again and press Submit. Notice that the image stays resized.
When the resizeable image value uses a non-ajax submit after being resized, the image snaps back to it's original size. On subsequent resizes and submits this is not an issue. This was not a problem with 4.1 release but is with 4.2.
To reproduce:
1.) Use test page /resizableOnly.jsf found at:
http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/resizable
2.) Resize the image to about double it's current size
3.) Press Submit. Notice that the image snaps back to it's original dimensions.
4.) Resize the image again and press Submit. Notice that the image stays resized.
Introduce 'width' and 'height' attributes for ace:resizable. Keep track of the resized dimensions and reset these on partial update.