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]>
----------------------------------------------------------------

Reply via email to