[ http://issues.apache.org/jira/browse/TOMAHAWK-491?page=all ]
JSC Europe updated TOMAHAWK-491:
--------------------------------
Status: Patch Available (was: Open)
> t:columns generates wrong name in children input fields
> -------------------------------------------------------
>
> Key: TOMAHAWK-491
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-491
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Columns
> Affects Versions: 1.1.3
> Environment: JSF 1.1 reference implementation
> Reporter: Daniele Bernardini
>
> following jsf:
> <t:columns value="#{beanType.attributes}" var="column">
> <t:inputText value="#{bean.attributeValues[column]}" id="stringInput"/>
> </t:columns>
> generates:
> <tr class="row">
> <td><input id="_id0:_id1:0:_id2:stringInput"
> name="_id0:_id1:0:_id2:stringInput" type="text" value="drgsadsadf
> 15324"/></td>
> <td><input id="_id0:_id1:0:_id2:stringInput"
> name="_id0:_id1:0:_id2:stringInput" type="text" value="sdfsadf" /></td>
> </tr>
> <tr class="row">
> <td><input id="_id0:_id1:1:_id2:stringInput"
> name="_id0:_id1:1:_id2:stringInput" type="text" value="dsdfasdf"/></td>
> <td><input id="_id0:_id1:1:_id2:stringInput"
> name="_id0:_id1:1:_id2:stringInput" type="text" value="sdsdfasdgsdgadf"
> /></td>
> </tr>
> t:columns contributes always _id2 independently of the column being rendered,
> this makes saving data from the input fields impossible.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira