Hi Dean,

I have exactly the same problem for the pages app.

I've added a custom action (to create a new subpage from within the 
PagesEditorSubApp) and now need to refresh the contents of the 
PagesEditorSubApp after the action succeeds.

I can't figure out how this is done. Can I use the event-bus for this? It seems 
not, as the PagesEditorSubApp itself pushes "page changed" events onto the 
eventbus, but doesn't react to them.
The "locationChanged()" function can't be used as it first checks if the 
location is a new one, and doesn't do anything if you call it with the same 
location.
The "updateNodePath()" function would do what I want, as far as I can tell, but 
it is private...

So, to add to Dean's question: how can I get the pages app to refresh its 
current content (programmatically, from an Action class)?

Thanks!

Regards from Vienna,

Richard



> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:user-list-owner@magnolia-
> cms.com] Im Auftrag von Dean Pullen (via Magnolia Forums)
> Gesendet: Freitag, 07. Februar 2014 15:13
> An: Magnolia User List
> Betreff: [magnolia-user] Re: 'Refreshing' a contentapp
> 
> No unfortunately not, this is in regards to a contentapp. It's not in 
> relation to
> 'contacts', nor deletion or publication of items.
> 
> We're defining our own actions (extending
> info.magnolia.ui.api.action.AbstractAction) that relate to a browser
> workbench of jcr items.
> Our actions change the state of these items, and I was pondering on how to
> 'refresh' the state of the browser workbench which now shows the previous
> state, i.e. some UI hook-in that updates the view.
> 
> --
> Context is everything: http://forum.magnolia-
> cms.com/forum/thread.html?threadId=4ac3261f-9e28-4546-a32d-
> cdc561af07bf
> 
> 
> ----------------------------------------------------------------
> 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