Hi Will,

We have the same problem. Funny, our editors also reported this issue this week.

Defining your own ChooseDialogs and their actions is definitately possible, but 
the availability is simply ignored.

I have created a ticket for this issue:
https://jira.magnolia-cms.com/browse/MGNLUI-3386
as well as a support ticket asking for it to be solved.

Please feel free to add your comments.

Regards from Vienna,

Richard

> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:user-list-owner@magnolia-
> cms.com] Im Auftrag von Will Scheidegger (via Magnolia Forums)
> Gesendet: Montag, 23. März 2015 11:51
> An: Magnolia User List
> Betreff: [magnolia-user] Re: Link filed: limit selectable node types
> 
> 
> Well, unfortunately this did not lead to success. What I did:
> 
> - I added a "chooseDialog" definition to /modules/contacts/apps/contacts
> (copied from /modules/forum/apps/forum/chooseDialog)
> - Inside at /modules/contacts/apps/contacts/chooseDialog/actions/commit I
> added an availability definition, restricting the action to the nodeType
> "mgnl:contact"
> - Restarted the pages app
> - Went to an Article page and added a contact component
> 
> What I expected: The "CHOOSE" button should only be active when a
> "mngl:contact" nodeType is selected What actually happened: Same
> behavior as before. The "CHOOSE" button was always active and one could
> still choose a folder. In fact it did not seem like my chooseDialog was used 
> at
> all as the secondaryAction definition (also copied from the forum app) was
> ignored as well.
> 
> The documentation mentions that for content apps no chooseDialog has to
> be created. But this does not mean that it can not be created, right? Any
> ideas what is going wrong here?
> 
> Thanks!
> -will
> 
> --
> Context is everything: http://forum.magnolia-
> cms.com/forum/thread.html?threadId=99068b85-a667-4f19-a879-
> 17ff93a3fdbe
> 
> 
> ----------------------------------------------------------------
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to