[
https://issues.apache.org/jira/browse/TOBAGO-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henning Nöth resolved TOBAGO-2224.
----------------------------------
Fix Version/s: 5.9.1
6.1.1
Resolution: Fixed
> Ajax rendering for grid layout doesn't work correctly
> -----------------------------------------------------
>
> Key: TOBAGO-2224
> URL: https://issues.apache.org/jira/browse/TOBAGO-2224
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Core
> Affects Versions: 5.7.0
> Reporter: Henning Nöth
> Assignee: Henning Nöth
> Priority: Minor
> Fix For: 5.9.1, 6.1.1
>
>
> See the following example and notice that the ouput component has the
> attribute labelLayout="gridLeft" set:
> {code:xml}
> <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>
> {code}
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)