Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.RC2
-
Fix Version/s: 3.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:HideICEfaces3 Trunk Revision# 27084
Server: Tomcat6
Browsers: Firefox/Chrome/IE
Test app located at: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/dialogShowICEfaces3 Trunk Revision# 27084 Server: Tomcat6 Browsers: Firefox/Chrome/IE Test app located at: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/dialog
-
Assignee Priority:P1
Description
I have a dialog with an ace:ajax tag embedded inside of it. There event type is 'close' and there is a listener call:
<ace:ajax event="close" listener="${ajaxTestBean.closeEventListener}" />
The default execute and render modes are being used which are "@all" for both.
The form also contains three values bound to a bean:
1. There is "message". This value is updated via the closeEventListener. (This is being updated on the page successfully)
2. There is "valueA". This value increments itself in its setter. (This value is not being incremented or updated on the page)
3. There is "valueB". This value also increments itself in its setter. (This value is not being incremented or updated on the page)
When closing the dialog I would expect all values in the form to be updated (including valueA / valueB). However, this is not the case.
To reproduce:
1. Build / deploy test application.
2. Navigate to 'Dialog Ajax ' test page.
3. Follow the instructions on the page for the 'close Event Test'.
Notice that the actual result is not what is expected (valueA & valueB are not updated).
<ace:ajax event="close" listener="${ajaxTestBean.closeEventListener}" />
The default execute and render modes are being used which are "@all" for both.
The form also contains three values bound to a bean:
1. There is "message". This value is updated via the closeEventListener. (This is being updated on the page successfully)
2. There is "valueA". This value increments itself in its setter. (This value is not being incremented or updated on the page)
3. There is "valueB". This value also increments itself in its setter. (This value is not being incremented or updated on the page)
When closing the dialog I would expect all values in the form to be updated (including valueA / valueB). However, this is not the case.
To reproduce:
1. Build / deploy test application.
2. Navigate to 'Dialog Ajax ' test page.
3. Follow the instructions on the page for the 'close Event Test'.
Notice that the actual result is not what is expected (valueA & valueB are not updated).
Problem has nothing to do with ajax close event. The event gets through successfully.
The problem is with the input text field on the page. Somehow, when you submit by ice.ace.ab(), the input text field setter doesn't get called on the server side, as if there was no execute for the input text field, even though the submit params are exactly the same as submitting via a command button: execute = all, render = all, input text field value = entered value. See screenshot-1.png.
Tried out a lot of scenarios and traced a lot of code. Still no idea why.