Dear community,
let's say I have a list of strings representing directory-paths:
/bar.csv
/windows/foo.foo
/windows/explorer/bar.exe
/windows/explorer/foo.bar
/windows/system32/foo.dll
/windows/system32/lib/bar.bat
I have successfully parsed those into a tree-structure of nested (default-)
dictionaries which I can output as JSON like this:
{"windows": {"foo.foo": {}, "system32": {"foo.dll": {}, "lib": {"bar.bat":
{}}}, "explorer": {"foo.bar": {}, "bar.exe": {}}}, "bar.csv": {}}
Now I would like to turn this into a nested html-list? How would I
accomplish this task in web2py? (possibly by using html-helpers).
The output should look like this:
- windows
- foo.foo
- system32
- foo.dll
- lib
- bar.bat
- explorer
- foo.bar
- bar.exe
- bar.csv
Thank you for any help and best regards!
D.
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.