One way to do this--if you are using the default Jetspeed Home screen-- is
that you could post
your form to /PORTLET/"portlet name" and use the getParameters() method on
RunData
to read the name/value pairs from the form and act on them within your
portlet's getContent() method.

You could also create an action class to read the form data (as above),
process the form data,
and set the RunData object so that an appropriate screen and/or portlet will
be used to 
render the response.  

Rob Revels
-----Original Message-----
From: ZHU Jia [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 18, 2001 10:26 AM
To: Jetspeed Users List
Subject: How do I post HTML-form parameter to my portlet, instead of a
CGI/Servlet?


Hello,

can I pass the parameters I entered into an HTML form in Jetspeed to my
portlet (which also initialized this HTML form), and this same portlet
should display different output according to the parameter, all in the
portlet area and without occupying the whole page?
Which kind of portlet should I use? I understand it couldn't be a normal
HTTP request because then the response would take the whole screen, which I
don't want. I just want to send these parameters to my portlet, the portlet
updates its output and Jetspeed refresh the screen and the new content is
there!
Any hints or tips will be highly appreciated and many thanks in advance!

regards
ZHU Jia


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

Reply via email to