Hi,
I tested the window state mode and it passed.
I don'nt know why the doEdit method can'nt maximum but the portlet taglib can.
Both of them act as the same funtion.
 
I attached my java, jsp file. I hope that would easier for you to test it.

[EMAIL PROTECTED] wrote:

Hi,

Check to make sure the Window State Test in the Test portlet  works on your Pluto portal. It works on mine (rc3). If so, look at the source code to see how it was accomplished in the Test portlets (I didn't write that code).
/Craig



Nguyen Viet Trieu <[EMAIL PROTECTED]>

06/17/2005 12:00 PM

Please respond to
[email protected]

To
[email protected]
cc
Subject
Is this a bug when change the window state ?





Hello everybody,
I am building a weather portlet. I want the portlet to change the window state to maximum
when it change to edit portlet mode.
So i did as following in doEdit method :

PortletURL portletURL = response.createActionURL();
portletURL.setWindowState(WindowState.MAXIMIZED);

There have not any exception but  the window state have not been changed.
But when i use portlet taglib
<portlet:actionURL windowState="MAXIMIZED">            
</portlet:actionURL>
in jsp file. The window state have not been changed.

Is this a bug ?
Viet Trieu


Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Attachment: CityPortlet.java
Description: 2329964229-CityPortlet.java

Attachment: editPage.jsp
Description: 3037554869-editPage.jsp

Reply via email to