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 J. Dovey" <ma...@oucs.ox.ac.uk> on 2004/08/13 13:21:22 UTC

RE: SwingConsumer

Any idea when it might move off the todo list into the done list?

I'm having trouble with a forms based WSRP portlet and am trying to work
out whether I'm at fault or the portal container I'm using!

Matthew 

> -----Original Message-----
> From: Lai, Patrick [mailto:Patrick.Lai@broadvision.com] 
> Sent: 26 July 2004 09:41
> To: 'wsrp4j-user@ws.apache.org'
> Subject: RE: SwingConsumer
> 
> Yes, form support in SwingConsumer is on the to-do list: 
> http://wiki.apache.org/portals/WSRP4JTodoList.
> 
> -- Patrick
> 
> > -----Original Message-----
> > From: Matthew Carey [mailto:matthew@ssl.co.uk]
> > Sent: Sunday, July 25, 2004 10:22 AM
> > To: wsrp4j-user@ws.apache.org
> > Subject: Re: SwingConsumer
> > 
> > 
> > Looking at the SwingConsumer code I cannot see any support for a 
> > listener that would listen to html form events. The SwingConsumer 
> > class extends JFrame and implements the HyperLinkListener and 
> > ChangeListener interfaces only, the other listener being a 
> > WindowListener, that is added as the GUI is initiated.
> > 
> > Matthew
> > 
> > 
> > Lai, Patrick wrote:
> > > You also need to update the
> > > 
> > org.apache.wsrp4j.consumer.app.driver.PageImpl@WSRP4JTestPortl
> > ets.xml file
> > > under driver/SwingConsumer/persistence/pages/.
> > > 
> > > By the way, is there a problem with FORM support in
> > SwingConsumer?  Clicking
> > > "Submit" on test4.jsp does not seem to do anything.  There
> > is no traffic
> > > according to TCPMonitor.
> > > 
> > > -- Patrick
> > > 
> > > 
> > >>-----Original Message-----
> > >>From: Matthew Carey [mailto:matthew@ssl.co.uk]
> > >>Sent: Friday, July 23, 2004 9:21 AM
> > >>To: wsrp4j-user@ws.apache.org
> > >>Subject: 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.
> > >>
> > >>
> > 
> 

Re: SwingConsumer

Posted by Richard Jacob <ja...@apache.org>.
Matthew J. Dovey wrote:

>Any idea when it might move off the todo list into the done list?
>  
>

pretty busy right now.
conributions are graetly welcome.

>I'm having trouble with a forms based WSRP portlet and am trying to work
>out whether I'm at fault or the portal container I'm using!
>
>Matthew 
>  
>
In the meantime you could use the proxy portlet with pluto. Here you 
have full form support.

cu
Richard