views:

90

answers:

0

Hi,

In continuation to my earlier post on having threaded comments, I have some updates and changes as well.

One of the functionalities in my current flex application requires me to maintain a comments section. Here, the users can post the comments and the replies to existing comments. All I want is like the usual thread style commenting.

Let say, I am replying to someone else's comment, so, it will align my comment by a tab or so and people can easily see the comments and replies.

e.g.

USER ABC : COMMENT 1

[REPLY]

-----USER XYZ: RE:COMMENT1

  [REPLY]

----------USER DEF: RE:RE:COMMENT1

     [REPLY]

and so on...

Now, I need this to be implemented as a tree control. So, I need to have a TreeItemRenderer which will have the COMMENT component. I happened to look at the TreeItemRenderers and most of them are checkbox trees. I am really not sure how to override the TreeItemRenderer. Can anyone suggest me the way and also let me know what methods i need to override for this?

Thanks :)