Henning Nöth created TOBAGO-2465:
------------------------------------
Summary: 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
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)