Page 1 of 1

workflows-and-activities [applicationContext]

Posted: Thu Sep 04, 2014 5:39 am
by bibroy
This question is related to the tutorial at http://www.broadleafcommerce.com/docs/c ... activities

The tutorial says "For instance, if you want to put a custom activity in-between the recording offer usage and marking the order as completed, you would define the following in your applicationContext-mycompany.xml"

The question is : can the suffix "mycompany" be arbitrary or does it related to somewhere wherein the "mcompany" has been used.....

If such a file as applicationContext-mycompany.xml is created, does it need to be registered somewhere, say in patchConfigLocations in web.xml?

Re: workflows-and-activities [applicationContext]

Posted: Sat Sep 06, 2014 7:09 pm
by phillipuniverse
The question is : can the suffix "mycompany" be arbitrary or does it related to somewhere wherein the "mcompany" has been used.....


This is a completely arbitrary distinction. Your code should not have any references to 'mycompany' and instead you should replace 'mycompany' with whatever your company name actually is.

If such a file as applicationContext-mycompany.xml is created, does it need to be registered somewhere, say in patchConfigLocations in web.xml?


Yes.