> Ok, I'm continuing with this project. So, I'll have call the > setOnClick() method on my button to set an action and this is a > JavaScript call. I have dug into AdminCentral for a bit to see if I > could find anything that I could call to get the content in edit mode > activated/deactivated, but (I'm no JavaScript guru) that all seemed a > bit tied in with the AdminCentral tree interface.
If you want to execute specific activation workflow, you can have a look at the http request produced by Configuration/Workflow when submitting request to start the given workflow on given path. If you want to call the activation command then the executing http request like http://localhost:8080/.magnolia/trees/website.html?treeAction=2&pathSelected=/your/path&comment=somecomment should get you going (that's what the activation js in the tree does in the end) Cheers, Jan ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
