[
https://issues.apache.org/jira/browse/TOBAGO-2465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henning Nöth resolved TOBAGO-2465.
----------------------------------
Fix Version/s: 6.9.1
Resolution: Fixed
> ColumnSelector: immediate in composite component
> ------------------------------------------------
>
> Key: TOBAGO-2465
> URL: https://issues.apache.org/jira/browse/TOBAGO-2465
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Core
> Affects Versions: 6.9.0
> Reporter: Henning Nöth
> Assignee: Henning Nöth
> Priority: Major
> Fix For: 6.9.1
>
>
> If using a columnSelector with immediate=true inside a composite component,
> the sheetState.selectedRows() might have an outdated value.
> Composite component named "columnSelectorImmediate":
> {code:xml}<cc:implementation>
> <tc:sheet id="sheet" ...>
> <tc:columnSelector immediate="true"/>
> ...
> </tc:sheet>
> <cc:renderFacet name="buttons"/>
> </cc:implementation>{code}
> Calling the composite component with buttons-facet:
> {code:xml}<dc:columnSelectorImmediate>
> <f:facet name="buttons">
> <tc:button label="Save selected rows (Ajax)" immediate="true"
> action="#{action}">
> <f:ajax execute="sheet" render="sheet"/>
> </tc:button>
> </f:facet>
> </dc:columnSelectorImmediate>{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)