You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-user@portals.apache.org by Matthew Carey <ma...@ssl.co.uk> on 2004/07/23 18:21:25 UTC
SwingConsumer
On the instruction page "Configuring Portlets"
http://ws.apache.org/wsrp4j/gettingstarted/config.html
after describing how to set up a portlet in the producer in section 3,
it suggests adding an xml file to the
driver/SwingConsumer/persistence/portlets
folder in the same form as the existing folders.
So I added another portlet that was a reference to the same portlet
(testportlet) as 0 and 99 giving the number 59
I configured the producer files as per the instructions.
But it is not displayed in the consumer.
I can get the producer to display the "59" portlet if I use telnet to
POST a request and it is also in the list of available portlets.
One of the new files in persistance/portlets looks like this
?xml version="1.0"?>
<Portlet>
<portlet-key>
<portlet-handle>59.1</portlet-handle>
<producer-id>1</producer-id>
</portlet-key>
<parent-handle>59.1</parent-handle>
</Portlet>
And it is called.
org.apache.wsrp4j.consumer.driver.WSRPPortletImpl@WSRP4J_59_1.xml
I presume that I am missing something very obvious.
I am attempting now to trace the operation of the SwingConsumer (I have
it built a working version in an IDE GUI) so I can step through the code
where this decision is made.