Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Parameters on Drop Target #73

Open
pmichelotti opened this issue Feb 16, 2018 · 0 comments
Open

Add Support for Parameters on Drop Target #73

pmichelotti opened this issue Feb 16, 2018 · 0 comments

Comments

@pmichelotti
Copy link
Collaborator

pmichelotti commented Feb 16, 2018

Currently the Drop Target rendering does not allow for the production of a parameters child resource under the drop target definition in the edit config. This means there is no way to indicate how resources should be instantiated (ie, what type they should be) when the drop target is used. If you are dragging and dropping components onto a page prior to using the drop target this is not a problem, but if you have baked in the components, using the drop target will not properly instantiate the underlying resource (or at least, it won't do it in the way you probably want it to).

Specifically I am recommending adding a parameters attribute to the DropTarget annotation which takes a list of @Parameter annotations each having a name and value property and an optional namespace property (or we may be able to just reuse the @ContentProperty annotation for this purpose)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant