-----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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>