Hi

Using the config.modules.*.*.xml from the first version (1.0.SNAPSHOT) of the 
app-tutorial (version 5.2.3) I fixed that issue but I realized that cloning 
from the git repository is not suitable for my purposes. So I used the 
indications from 
http://dev.magnolia-cms.com/~gjoseph/dont-build-magnolia-build-your-projects 
(thanks to Grégory Joseph) then I place the module descriptor, and the 
bootstrap files as well the nodetype file. I compile with maven using the 
command "tomcat:deploy" and place the resultant jar file in 
<CATALINA_HOME>/webapps/magnoliaAuthor/WEB-INF/lib. I restart the Magnolia 
instance and make the update. It works! Still have a problem because I'd like 
to modify some behaviors like "activate"/"deactivate" using a custom "publish" 
class. I use some classes:

PublishActionDefinition which extends from ConfiguredActionDefinition it has a 
constructor: this.setImplementationClass(PublishAction.class)
PublishAction extends AbstractMultiItemAction<PublishActionDefinition> and here 
is where I have the issue. When I try to use this class when activate (publish) 
it gives me an error saying: 
Could not instantiate action class for action: activate
...
No suitable constructor found for class [class com.acme.app.PublishAction]

I'm using the inherit constructors from the superclass. I need to make it work 
but don't know how...

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=5b5959fe-0676-47fb-8989-f065e5d925e4


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