Sie, Yang wrote:
Yes. I looked into that and as matter of fact I am still trying to dig into 
more.  The issue that I had was to click 'edit' icon does *not* go the action 
handler. It only goes thru the process action when I click the submit button 
*inside* the edit mode view page.

The processAction isn't called because of Portlet Specification rule 
PLT.11.1.1.lii (page 43):
"Commonly, portals provide controls to change the portlet mode and the window 
state of portlets.
 The URLs these controls use are generated by the portal.
 Client requests triggered by those URLs must be treated as render URLs and the 
existing render parameters must be preserved."



---Yang

-----Original Message-----
From: Enrique Perez [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2007 11:27 AM
To: Jetspeed Users List
Subject: Re: Change WindowState and Portlet Mode


Hi,

Can you use "setWindowState()" method from "ActionResponse" object? See the API at http://www.bluesunrise.com/portlet-api/javax/portlet/ActionResponse.html. So if you detect that portlet is minimized when you invoke "ActionRequest", you can change the window state in the response...

It's just an idea... =/ I've never use it...
Hope that helps.

Regards,
Enrique


Sie, Yang escribió:
Hello all:

I am looking for an easy solution to do this:

My portlet supports edit mode. The problem is that when my portlet is in
minimized state (windowState= minimized), I want the portlet to switch
back to "normal" window state when I click on edit (enter edit mode).
It is not so currently: the portlet remains in minimized state after I
clicked the edit mode icon.
I remembered couple of years back in M3 or M4, I brought up similar
question on how to change window state at any time that I want to. I was
told then the function was not implemented. It seems that this still the
same case in 2.1? Or please advise on how to achieve this.
Thank you,

---Yang

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



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


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





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

Reply via email to