[
https://issues.apache.org/jira/browse/TOMAHAWK-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe resolved TOMAHAWK-1378.
--------------------------------------
Assignee: Leonardo Uribe
Fix Version/s: 1.1.10-SNAPSHOT
Resolution: Duplicate
This is a duplicate of TOMAHAWK-1534 t:dataTable detailStamp facet sometimes is
not saved. The typo error on setRowIndex related to getRowIndex() prevented
some rows to be saved correctly. If some rows are not saved, they will not be
restored and this effect happens.
> DetailStamp values overwritten if no datatable
> ----------------------------------------------
>
> Key: TOMAHAWK-1378
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1378
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Extended Datatable
> Affects Versions: 1.1.7
> Environment: Tomcat 5, running on winXP.
> Reporter: bart Boogaerts
> Assignee: Leonardo Uribe
> Fix For: 1.1.10-SNAPSHOT
>
>
> Having a master-detail datatable (with the detailStamp) with one row expanded.
> When toggling the row below, all the input values of already expanded row
> (one higher), are copied into the newly expanded row.
> When working with a nested datatable, it works fine...but with all other
> components it doesn't.
> We currently have :
> <f:facet name="detailStamp">
> <t:div id="detailStampDiv">
> <table id="detailTable">
> <tr>
> <td><b>Street / Nr / Box</b></td>
> <td><t:inputText value="#{persBean.address.street}" size="30"
> label="Street" maxlength="120"/></td>
> </tr>
> </table>
> </t:div>
> </f:facet>
> After debugging through the AbstractHtmlDataTable and commenting out this
> rule in the processDetails method:
> if (!isCurrentDetailExpanded()) {
> continue;
> }
> it seems to work for us!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.