You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xaloon
Hi,
Using the project structure of xaloon, how would I chain my event
listener (hibernate entity event listener) declared in the start-up
project's infrastructure context to xaloon wickets jpa entity?
Do you know how I could work around this? Other suggestions are
highly appreciated.
Thanks,
Vytautas
unread,
Oct 30, 2010, 2:59:14 PM10/30/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xaloon
Hi,
i am not sure, but maybe this might help you:
6.3. XML definition
this section says that xml descriptors may override JPA annotations.
I was able to run the web app but whenever I create a new blog entry
this method is not called.
I'm actually basing my orm setup from a openjpa reference, i don't
know if hibernate doesn't support this.
ferjon
unread,
Oct 31, 2010, 11:56:59 AM10/31/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xaloon
This seems like the wrong concern.
It shouldn't be BlogEntryItem from jpa but the saving to repository.
I'm not quite acquianted yet with jcr, Could you point me to some
reference for adding event listener to a content repository
particularly to jackrabbit
TIA,
Vytautas
unread,
Oct 31, 2010, 2:16:17 PM10/31/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xaloon
There are two solutions to use blogging in xaloon:
a) using JPA (store blog in database);
b) using JCR (store blog in JCR repository);
Neither first one nor second one provides availability of event
listeners in current implementations.
I am curious what specific actions do you need? add additional
information? on form submit perform additional actions?
ferjon
unread,
Oct 31, 2010, 9:33:21 PM10/31/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xaloon
I'm having problems using JPA for storing blog after removing xaloon-
*repository-blog from web xml. This made me decide to just use the
JCR.
I just want to get a callback if a blog is successfully saved through
the event listener. From here, I could call my manager class to do the
necessary action in the front-end.
Having received the event by the manager, this will perform an
asynchronous call to my wicket component.