[ http://issues.apache.org/jira/browse/TOMAHAWK-491?page=all ]

sean schofield updated TOMAHAWK-491:
------------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 1.1.5-SNAPSHOT
       Resolution: Fixed

I tested the fix and it works great!  It also fixed my 
<f:setPropertyActionListener> issue.  This was actually a pretty serious bug 
because as near as I could tell, all events would be applied to every column 
value instead of only the correct column value.  Thanks for contributing the 
patch.

> 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
>         Assigned To: sean schofield
>             Fix For: 1.1.5-SNAPSHOT
>
>         Attachments: UIColumns.java
>
>
> 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

        

Reply via email to