Hello!

Seems like I have solved this problem, but I really don't know if it is the right 
thing to do..

I modified the JSPPortlet, to include in request the attributes for the minimize and 
maximize urls, to wich I had to add the portlet id, by inserting the ID, so in the 
result the url is one like the one showed in status bar, when you're with the mouse 
over a minimize/maximize/restore button. Then when I want to maximize the portlet, 
simply I use that url, like <a 
href=<%=request.getAttribute("maximize_url")+myparams%>maximize</a>. Seems that this 
will do the job. However, this is the right thing to do, or there are another ways to 
solve this problem?

Thank you for any advice

        Jancsi


-----Original Message-----
From: Jancsi A. Farkas 
Sent: Saturday, September 21, 2002 4:41 PM
To: Jetspeed (E-mail)
Subject: Maximizing jsp


        Hello again.

 I have the following problem.

 I want to make a portlet, using JSP portlet, to display some items, and then, after 
the displayed items, allow users to add new items (by clicking a link or something, 
like 'i want to add new item'). This will lead the user to another page, where a form 
will be displayed, to add new item. However, for this form, the portlet should be 
maximized. How can I do this, programmatically? Of course, after sumbitting the form, 
the portlet should be redisplayed in its normal state..

        Thank you

                Jancsi


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


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

Reply via email to