Tree Selection Primefaces

Asked

Viewed 68 times

0

I want to make a resource in the application that lists the folders and files of a directory, so I thought about Tree Selection of Primefaces, but I want to expand Tree Selection at the level of the folders and the files to be opened next to in a frame. It would work as a Windows Explorer.

Consign doing this with Tree Selection? Is there any other way to do it?

1 answer

1

The idea is to bring in your Tree List only folders and, when selecting an item (folder), you click on the side the files of the selected folder using list components (Datatable or Datalist).

  • @Marconcíliosouza this was a suggested implementation. Should have put source code of the suggestion?!

  • 1

    Yes, it would be much better

  • 1

    @Marconcíliosouza just a hint, maybe the quality is low, but it seems to me that answers the question, no? I am not saying that the answer has no problems and should not be improved, but it seems to me that the reason cannot be "it is not an answer".

  • @Hugoleonardo Wants to improve something?

  • Yes, a suggestion was asked how to do it and the suggestion was given. To implement the code would be to do it for the requesting user. The question is more logical than technical.

  • @bigown I intend yes, make the example and post. But as I said, I will be doing for him and I think the idea is not this.

  • @Hugoleonardo I agree that the question is also not the best.

  • @bigown agree, but if need be, I can post the complete solution to it.

  • 2

    I agree with @bigown that the question could be better. Hugo, either you give an answer with everything explained and we hope that it is recognized (and voted) or it gives some light to the AP not to get everything done and have to learn to solve the last steps.

Show 4 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.