Hi Reinier,
Don't mess with the db directly, because it will almost certainly break
the newsletter app. The newsletter app is based on the hippo cummunity
apps.
We've recently done some refactoring to split the cocoon stuff from the
core. You can build the hca-core jar from trunk and include it in you
frontend. You probably need to add some other dependencies as well to
your project (like spring, jpox-core, some commons libs, etc.).
You can find the hca core code at:
http://svn.hippocms.org/repos/hippo/hippo-components/hippo-community-apps/trunk/hca-core/
You can find most usecases in the test, like adding, removing
users/profiles and subscribing and unsubscribing users to a list.
For storing and retrieving objects from the database you should only use
the services interfaces like:
http://svn.hippocms.org/repos/hippo/hippo-components/hippo-community-apps/trunk/hca-core/src/java/nl/hippo/hca/newsletter/services/NewsletterService.java
You shouldn't have to do anything with jpox yourself.
So start with checking out the code from svn and look at the tests.
Regards,
Bart
Hi,
I would like to check/add newsletter subscribers from the frontend
(result of submitting a form).
Frontend is implemented in JSP.
I guess I can mess in the DB tables, but...
Regards,
Reinier van den Born
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
--
Hippo B.V. - Amsterdam
Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466
Hippo USA Inc. - San Francisco
101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646
-----------------------------------------------------------------
http://www.onehippo.com - [EMAIL PROTECTED]
-----------------------------------------------------------------
********************************************
Hippocms-dev: Hippo CMS development public mailinglist