portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Java Mails <avaj_m...@yahoo.com>
Subject Re: min/max portlets
Date Tue, 05 Feb 2002 03:08:34 GMT
Thanks David for the quick reply...

So..
If I have a portlet that displays data, and I would
want it to display the same data but now with an
applet when maximized, all I have to do is to check
the   

    rundata.getAction()=controls.Maximize;

before rendering the applet?

Or is there other way of doing it?


 

--- "David G. Powers" <jetspeed-dev@pssp.com> wrote:
> -----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>
> 


__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

--
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