trevordevore / levurehelper-file_browser

Levure helper for creating a file browser control in your application
MIT License
1 stars 2 forks source link

Doesn't render? #2

Closed macMikey closed 5 years ago

macMikey commented 5 years ago

Still debugging, but does not render. I got the group to install, and the behaviors all seem to be current. Firing the (corrected) example code (see PR #1) seems to generate the array, but the rendering never happens.

macMikey commented 5 years ago

Somehow in this installed project, dataView is not passed ``renderView. When I look at the projectBrowser, everything looks ok, and I can open the three behavior scripts, but when DVT passesrenderView```, DV doesn't get the message.

trevordevore commented 5 years ago

If you are adding this to an existing project then make sure you update Levure to 0.9.12. It adds support for dependencies. The DataView helper needs to be loaded first, then the DataView Tree, and finally the File Browser. Dependencies allow this.

macMikey commented 5 years ago

When I updated I ran into the problem with the infinite loop when the framework tries to handle dependencies (see the issue in levure itself).

trevordevore commented 5 years ago

I just fixed that in develop. But making sure you have all of the helpers present will fix the issue as well.

macMikey commented 5 years ago

See new error message. It sure looks like all the helpers are present. See screenshot

screen shot 2019-01-20 at 00 40 14

and the app.yml:

screen shot 2019-01-20 at 00 40 32
macMikey commented 5 years ago

OK, with latest helpers and latest levure, all is good.