I am raising this event in code after an delete operation....
Events.instance().raiseTransactionSuccessEvent("com.foo.item.myItemRefresh");
The above code is called from an action button of a modal panel.
Do I need anything in components.xml for enabling events?
<event type="com.foo.item.myItemRefresh"> <action execute="#{myItems.refresh}" /> </event>
does nothing.
How do I ensure that events are fired and is there a way of testing them ?
Thanks,
KB
That looks good to me. Looks like you need to break out the debugger and take a look at what is happening.