portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David G. Powers" <jetspeed-...@pssp.com>
Subject Re: min/max portlets
Date Tue, 05 Feb 2002 02:31:38 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 04 February 2002 05:16 pm, Java Mails wrote:
> Can someone explain how maximization/minimization of
> portlets work(like class or tags invoked)? How could I
> detect that the portlet is maximized/minimized? Is
> there a means by which trying to maximize a portlet,
> additional information will be displayed? and bringing
> it back to its original size would hide those data? I
> would presume this could be done in rendering the
> templates. Or is it?


Within your portlet inspect the return value of rundata.getAction();.

If the porlet is "Maximized" this method should return "controls.Maximize"
Upon restoration you will find "controls.Restore"

Perhaps the easiest way to see how these is to inspect the URL for the 
little control icons in the Jetspeed demo.  Actions are passed via the 
querystring:

action=controls.Customize
action=controls.Close
action=controls.Maximize
action=controls.Minimize
action=controls.Restore

	
The default action is dependent upon the portlet controller.





- -- 
David G. Powers
PowerSource
-----BEGIN PGP SIGNATURE-----
Comment: Verify the authenticity of this message with the public key available at http://pssp.com/dgp_pk.asc

iD8DBQE8X0QOjmjAPDT0/nERArWAAKCJsAG4KlstC4XAgoScy1josfHn1wCfebVC
gaTdV0OdTkvo39tcJp9rXig=
=Jfob
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message