[ 
http://issues.apache.org/jira/browse/TOMAHAWK-491?page=comments#action_12442440 
] 
            
sean schofield commented on TOMAHAWK-491:
-----------------------------------------

m having a problemn passing a commandButton parameter inside of a t:column. I 
wonder if this is due to the same problem? The JSF 1.2 
<setPropertyActionListener> is also not working as expected with t:columns. 
Instead of passing the one component that was clicked, all of the components in 
the row are passed.

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