[
https://issues.apache.org/jira/browse/TOBAGO-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henning Nöth resolved TOBAGO-2543.
----------------------------------
Fix Version/s: 6.12.1
Resolution: Fixed
> Panel cannot be expanded/collapsed if using f:ajax
> --------------------------------------------------
>
> Key: TOBAGO-2543
> URL: https://issues.apache.org/jira/browse/TOBAGO-2543
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: JavaScript
> Affects Versions: 6.12.0
> Reporter: Henning Nöth
> Assignee: Henning Nöth
> Priority: Major
> Fix For: 6.12.1
>
>
> If a button collapse/expland a tc:panel AND simultaneously send an Ajax
> request to render another component, the collapse/expland operation is not
> executed.
> {code:xml}
> <tc:out id="timestamp" label="Timestamp" value="..."/>
> <tc:panel id="panel" collapsedMode="hidden">
> <tc:in value="Content"/>
> </tc:panel>
> <tc:button label="Show" omit="true">
> <tc:operation for="panel" name="show"/>
> <f:ajax render="timestamp"/>
> </tc:button>
> <tc:button label="Hide" omit="true">
> <tc:operation for="panel" name="hide"/>
> <f:ajax render="timestamp"/>
> </tc:button>
> {code}
> If a collapsible operation is executed together with an Ajax request, then
> the Ajax request should send the new collapsible status.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)