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
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.