You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by um...@yahoo.co.in on 2009/08/25 14:24:02 UTC

[jira] Updated: (TOMAHAWK-116) TreeTable doesn't work properly while updating data

Hi All,

While searching for my problem, I found this issue to be quite similar, so thought of posting here. Can anyone please let me know, if we have got any workaround this, or we expect any solution coming nearby? Any help would be much appreciated.

Just a little description of my problem:
I'm using tomahawk tree table component to display checkbox components in the columns, which I generate dynamically, it displays well but when I try to fetch the component id inside valuechangelistener, it always return the last node's Id, so I'm not been able to update the model once the user has made selections.This is kind of blocker and critical for me. Please help!

Thanks,
Umesh
My Faces - Dev mailing list wrote:
> 
>      [ http://issues.apache.org/jira/browse/TOMAHAWK-116?page=all ]
> 
>  updated TOMAHAWK-116:
> ----------------------
> 
> 
>> TreeTable doesn't work properly while updating data
>> ---------------------------------------------------
>>
>>          Key: TOMAHAWK-116
>>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-116
>>      Project: MyFaces Tomahawk
>>         Type: Bug
>>   Components: Tree Table
>>     Reporter: Pawel Czerwinski
>>  Attachments: treeTableTest.zip
>>
>> The TreeTable component cannot handle updating data. If I have inputs
>> instead of static text fields,
>> and I try to modify any node's value, it doesn't work. I've noticed, that
>> if I change a value
>> of the first node in a certain column, the value goes to the last visible
>> node of this particular
>> column. This happens within treeColumn, and ordinary columns as well.
>> I have prepared three simple test files (packed with zip), which will
>> show you the problem:
>> - Test.java (to map in the faces-config.xml as a 'test')
>> - test.jsp
>> - TreeItem.java (stores node value)
>> When you run the example, please try to change following nodes' values
>> and click "Send request" button
>> to see, how the model behaves.
>> Thank you in advance,
>> Pawel
> 
> -- 
> 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
> 
> 
> 
Quoted from: 
http://www.nabble.com/-jira--Updated%3A-%28TOMAHAWK-116%29-TreeTable-doesn%27t-work-properly-while-updating-data-tp3455030p3455030.html