adding workflow events

19 views
Skip to first unread message

hari...@gmail.com

unread,
Feb 13, 2016, 8:45:26 AM2/13/16
to Hippo Community
Hi i am a beginner to hippo.
I want to customize my work flow to send email on publish.

I dont understande where to add the java class implementing DaemonModule  and the registration it.

Kindly elaborate briefly on module or submodules where the above should be added and which files to edit.

Thanks & Regards 
hari

Mahesh Acharya

unread,
Feb 13, 2016, 10:31:26 AM2/13/16
to hippo-c...@googlegroups.com
Hi Hari

Please see my comments inline, hope that helps.

On Sat, Feb 13, 2016 at 8:45 AM, <hari...@gmail.com> wrote:
> Hi i am a beginner to hippo.
> I want to customize my work flow to send email on publish.
> I am referring to ducomentation at
> http://www.onehippo.org/library/concepts/workflow/workflow-events.html
>
> I dont understande where to add the java class implementing DaemonModule

As mentioned in the documentation, you will add the java class file
(ExampleModule) to cms module (under the package "org.example.modules"
or whatever is your project package, if you don't have one just yet,
create that under cms/src/main/java)

> and the registration it.
The documentation provides details on how to configure this class in
order to register it.
in your cms console, find the path
"/hippo:configuration/hippo:modules" and then add a new node of
primary type "hipposys:module" add a new property to it
"hipposys:className" and assign the value of
"com.example.modules.ExampleModule" or whatever is your class name.

You may want to look at an existing module node (for example
/hippo:configuration/hippo:modules/autoreload ) to gather some hints.

>
> Kindly elaborate briefly on module or submodules where the above should be
> added and which files to edit.
>
> Thanks & Regards
> hari
>
> --
> Hippo Community Group: The place for all discussions and announcements about
> Hippo CMS (and HST, repository etc. etc.)
>
> To post to this group, send email to hippo-c...@googlegroups.com
> RSS:
> https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
> ---
> You received this message because you are subscribed to the Google Groups
> "Hippo Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hippo-communi...@googlegroups.com.
> Visit this group at https://groups.google.com/group/hippo-community.
> For more options, visit https://groups.google.com/d/optout.



--
Mahesh R. ACHARYA
Solution Architect | Mobile: 781-640-5559 | Email: m.ac...@onehippo.com
Boston - 71 Summer Street, Boston, MA 02110
Amsterdam - Oosteinde 11, 1017 WT Amsterdam

US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
http://www.onehippo.com/

hari...@gmail.com

unread,
Feb 14, 2016, 3:27:29 AM2/14/16
to Hippo Community
Thank you acharya.

I have added the class in cms module.

and the xml content in hippoecm-extension.xml file under bootstrap configuration.

project is build but unable to start the  tomcat.

Could you give me steps on
how to add daemon module registry at /hippo:configuration/hippo:modules

Bert Leunis

unread,
Feb 15, 2016, 3:38:26 AM2/15/16
to Hippo Community
You can do this in the console, see [1].
When you're starting as developer with Hippo, consider following the tutorials (see [2]). That most definitely will take you accross these kind of basic things.
Reply all
Reply to author
Forward
0 new messages