Description
See the following example and notice that the ouput component has the attribute labelLayout="gridLeft" set:
<tc:gridLayout id="grid" columns="100px auto"> <tc:in id="input" label="Input" labelLayout="gridLeft" value="#\{gridLayoutTestController.value}"> <f:ajax render="output"/> </tc:in> <tc:out id="output" label="Output" labelLayout="gridLeft" value="#\{gridLayoutTestController.value}"/> </tc:gridLayout>
Steps to reproduce:
1. select input field
2. change value
3. leave input field
Expected result:
An ajax event is executed and the value in the output field is changed.
Actual result:
The ajax event is executed. The old <label> element stays in DOM. The output field is replaced with a new output field and a second label. There is one <label> element too much.