[jboss-user] [JBoss Portal] - Define interportlet communication listener
valant
do-not-reply at jboss.com
Wed May 7 11:02:38 EDT 2008
Hi to all
i need a hand about the configuration of a jboss portal event listener, useful for creating a portlet "A" that communicates with a portlet "B" sending some parameters that the second potlet receive and use.
well, i have written all classes, but i can't make the listener work because the server consolle returns an error of type: java.lang.ClassNotFoundException: No ClassLoaders found for: ch.teamlab.ristur.demo.RisTurJsp$Listener
can you help me to fix this bug please?
i have some other questions too:
1) in order to execute the portlet method processAction() is necessary that a client submit an html form?
2) the signature of the method onEvent() , into the listener definition, exists in two different flavours, one i have found in the jboss portal reference guide(chapter 12) , and another a different manual(chapter 6)
public PortalNodeEvent onEvent(PortalNodeEventBubbler bubbler, PortalNodeEvent event)
public PortalNodeEvent onEvent(PortalNodeEventContext context, PortalNodeEvent event)
the main difference is the type of the first parameter passed to the method: a class of type PortalNodeEventBubbler in one case and PortalNodeEventContext in the other : what are the differences beetween this 2 approaches and witch one works better?
thank you very much.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149170#4149170
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149170
More information about the jboss-user
mailing list