Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03
-
Fix Version/s: EE-4.1.0.GA, EE-3.3.0.GA_P04
-
Component/s: Framework
-
Labels:None
-
Environment:All, ACE, MOBI
-
Assignee Priority:P1
-
Support Case References:Support Case #13629 - https://icesoft.my.salesforce.com/5007000001VfqUz
-
Workaround Exists:Yes
-
Workaround Description:
Description
A page includes an inputText field and a button which clears out the field on the server side via an actionListener
The button uses an ajax tag with the following set (bodyTextarea is the id of the input field):
execute="@this" render="bodyTextarea"
On click of button any text entered into the field should be cleared out but the field is not being rendered in the update.
This issue is reproducible with the mobi:commandButton/mobi:ajax, h:commandButton/f:ajax and ace:pushButton/ace:ajax components.
When testing the same code in a pure JSF sample (no ICEfaces), the input field gets cleared out correctly.
The button uses an ajax tag with the following set (bodyTextarea is the id of the input field):
execute="@this" render="bodyTextarea"
On click of button any text entered into the field should be cleared out but the field is not being rendered in the update.
This issue is reproducible with the mobi:commandButton/mobi:ajax, h:commandButton/f:ajax and ace:pushButton/ace:ajax components.
When testing the same code in a pure JSF sample (no ICEfaces), the input field gets cleared out correctly.
The issue occurs when the render IDs specified in the f:ajax facet represent component IDs. These IDs need to be translated to client IDs so that the visiting VisitContext for the subtree is receiving the client IDs it expects.
The fix normalises the render and execute IDs to represent only client IDs.