Hi Mika

I was thinking about heading in this direction. Thanks for the confirmation! 

-will


> On 10.11.2014, at 12:03, Mikaƫl Geljic (via Magnolia Forums) 
> <[email protected]> wrote:
> 
> Hi Will,
> 
> Indeed, at the moment there is only one 'defaultAction' per action bar; this 
> is a known limitation. I dug the ticket for this in our JIRA: 
> http://jira.magnolia-cms.com/browse/MGNLUI-1411.
> 
> We have however worked around this limitation in data module's migrated 
> content apps.
> In a nutshell, we indeed have one single 'defaultAction'; it opens the 
> corresponding detail sub-app based on node-type + some configured 
> "subAppMappings" in the definition (node-type to sub-app mappings).
> 
> In your case, you don't need the location parts nor having those mappings 
> configured. You might want to extend the OpenEditDialogAction and do the 
> node-type => dialogName mapping upfront, i.e. before super#execute().
> 
> Meanwhile, here's the source code for the EditDataAction:
> https://nexus.magnolia-cms.com/service/local/repositories/magnolia.public.releases/archive/info/magnolia/magnolia-module-data/2.3.2/magnolia-module-data-2.3.2-sources.jar/!/info/magnolia/module/data/app/actions/EditDataAction.java
> 
> Cheers,
> 
> Mika
> 
> -- 
> Context is everything: 
> http://forum.magnolia-cms.com/forum/thread.html?threadId=96703e32-f9e5-4d7a-bf1a-ef218095cfd8
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to