[jboss-user] [JBoss Portal] - I cant' graphically wire two events with different names but
csantos
do-not-reply at jboss.com
Tue Jan 27 07:17:21 EST 2009
I cant' graphically wire two events that have different names but their payload is equal (same <value-type> in portlet.xml)
Description:
I have created two portlets: portletA and portletB, each one in its own WAR file (testing purposes)
When I click in a certain link in portletA, I want an event to be sent to portletB.
Both events have the same payload (<value-type>), but their qnames are different:
portlet.xml (portletA):
| ...
| <supported-publishing-event>
| <qname>a:senderName</qname>
| </supported-publishing-event>
| </portlet>
|
| <event-definition>
| <qname>a:senderName</qname>
| <value-type>java.lang.String</value-type>
| </event-definition>
| ...
|
portlet.xml (portletB):
| ...
| <supported-processing-event>
| <qname>a:remitente</qname>
| </supported-processing-event>
| </portlet>
| <event-definition>
| <qname>a:remitente</qname>
| <value-type>java.lang.String</value-type>
| </event-definition>
|
As you can see, portletA publishes the event senderName and portletB processes remitente.
I've carefully read Chapter 8 of the JBoss Portal Reference Manual, and I understand that I should be able to wire the event senderName and
remitente, so when portletA produces the event, portletB receives it.
I create a page in the default portal and add to it portletA and portletB.
Then I go to the Coordination section of the default page, but the Event wirings section contains:
No available events. Cannot create new event wirings.
Am I doing something wrong, or is a bug in the product?
(Some of you might think that if I'm developing both portlets, I can place them in the same .War file. But I am interested in developing a portlet that interacts with portlets not developed by me)
Thank you.
----------------------------------
My environment:
JBoss Portal Version: 2.7.1 (downloaded from the website, bundled with JBoss AS 4.2.3.GA)
S.O: Win XP Professional Service Pack 3
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204966#4204966
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204966
More information about the jboss-user
mailing list