Closed gashcrumb closed 6 years ago
I'm working on this one.
I'm getting the following error:
Error: [$injector:unpr] Unknown provider: workspaceProvider <- workspace <- hawtioTreeDirective
What is this workspace
dependency that gets injected into the directive?
One more thing, I couldn't find any example of building a tree using the Folder class. Where can I find one?
Ah, 'workspace' is from hawtio-jmx we'll need to figure out how to get rid of that service dependency. Also, I think Folder is an interface we decided that matches the object you get back from dynatree.
Bear with me a bit, am on vacation until next week...
On Aug 21, 2016 11:15 AM, "Alexandre Kieling" notifications@github.com wrote:
I'm getting the following error: Error: [$injector:unpr] Unknown provider: workspaceProvider <- workspace <- hawtioTreeDirective What is this 'workspace' dependency that gets injected into the directive?
One more thing, I couldn't find any example of building a tree using the Folder class. Where can I find one?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hawtio/hawtio-ui/issues/31#issuecomment-241263305, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVdrIOYF2t1o2eZ1P9Os9J8iroeM2Shks5qiGt1gaJpZM4JJfIT .
workspace
is only referenced on line 136 and only gets executed when the onSelect
attribute isn't specified. hawtio-jmx could pass a callback via that attribute instead of injecting workspace
.
Yeah, that's totally worth fixing in hawtio-jmx so we can get rid of that reference.
On Aug 31, 2016 8:28 PM, "Alexandre Kieling" notifications@github.com wrote:
workspace is only referenced on line 136 and only gets executed when the onSelect attribute isn't specified. hawtio-jmx could pass a callback via that attribute instead of injecting workspace.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hawtio/hawtio-ui/issues/31#issuecomment-243942130, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVdrL6XS-fk23PA5A_d7f_NcGRUKY5Gks5qlhwrgaJpZM4JJfIT .
The tree plugin has been replaced with patternfly-bootstrap-treeview.
Would be good to have some documentation and an example for the tree plugin.