Hello Hippo,

 

I am having troubles while including HCA manager in my FE. 

I am using cocoon. 

I have a simple form for subscribing visitors, with only name and email
should be stored.

I want to call "newsletterService" and "profileService" from my *.js file,
but I get error:

 

TypeError: Cannot convert null to an object.

 

Here is my call:

var newsletterService = getFacade("newsletterService");

 

How can I make my code to see services from HCA core?

 

I have jars included:

<dependency>

                                    <groupId>hippo</groupId>

 
<artifactId>hippo-community-apps-core</artifactId>

                                    <version>2.02.00</version>

                                    <type>jar</type>

                                    <properties>

 
<cocoon.bundle>true</cocoon.bundle>

                                    </properties>

                        </dependency>

                        

                        <dependency>

                                    <groupId>hippo</groupId>

 
<artifactId>hippo-community-apps-cocoon</artifactId>

                                    <version>2.02.00</version>

                                    <type>jar</type>

                                    <properties>

 
<cocoon.bundle>true</cocoon.bundle>

                                    </properties>

                        </dependency>

 

I have used community-apps before, and somehow I did what I wanted. 

Now, everything is inside the HCA (it's good that you did all the work:-)),
but please give me some example or tell me where can I find all the
necessary settings so I can start enjoying HCA. 

 

I have found some Struts example at
http://hst.hippocms.org/technical-documentation/building-a-JSP-front-end/exa
mples/newsletter-frontend.html, but I don't recognize 'NewsletterSubscriber'
class, so it's not helpful. 
 
Don't get me wrong, but if you already made a component that is very useful,
I think that you should spent some time to explain how it should be used a
bit deeper.
 
Thanks for understanding,
Biljana

__________________________________________________________

Biljana Boskovic
Software Developer
Levi9 Global Sourcing
*   +381 (0)64 8509308 
*     E-mail: [EMAIL PROTECTED] 
*    Mail :  Zorana Djindjica 9, 18000 Nis, Serbia and Montenegro 
http://www.levi9.com/ 

 

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to