Hi,

I have done this via either one of these below:
<form name="questionForm" action="$jslink.Template" method="post">
<form method=post 
action='$jslink.getAction("controls.Maximize",$portlet).addQueryData("newSearch","true")'>

The first option is more powerful, but you might want to set a hidden 
field, i.e. myAction, based one which button or link is clicked before 
submitting the form. Then your portlet will be able to pick up this 
parameter and decide what to do.

The second option can be used when your current page is in Maximize mode, 
and you want to get back Maximize after your form is posted. You can 
replace Maximize with other modes....you'll have to search for them yourself.

Hope this helps.




At 03:31 PM 9/5/2002 +0300, you wrote:
>                 Hello!
>
>         I'm pretty new in jetspeed world, just installed jetspeed and 
> played with a few portlets. I created a simple portlet, and I don't know 
> how to put a link in that portlet, so when the link is clicked, same page 
> will be reloaded, but with different state of the portlet where the link 
> is. Or how to put a form in portlet, and how to set the action for the 
> form, if I want same page reloaded, but instead the form, forcing the 
> portlet to display the form's result page?
>
>Thank you
>         Jancsi
>
>--
>To unsubscribe, 
>e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>

regards,
Chay Weei Jye



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

Reply via email to