If you use the VelocityPortlet as a basis for your portlet (which you probably should if you start with Jetspeed), you notice that the default Action associated with the Portlet (VelocityPortletAction) has 3 default calls:
buildNormalContent() -> standard data to be used in "regular" mode buildCustomizeContent() -> data to be used when the portlet wants to implement its own attributes customizer screen buildMaximizedContent() -> invoked when the portlet is in "meximized" mode. By default buildMaximizedContent() delegates everything to buildNormalContent() but you can overload it to add more content in maximized mode. Most of the default example portlets do not use this feature currently. -- Raphaël Luta - [EMAIL PROTECTED] Jakarta Jetspeed - Enterprise Portal in Java http://jakarta.apache.org/jetspeed/ > -----Message d'origine----- > De : Stephen Riek [mailto:[EMAIL PROTECTED]] > Envoyé : jeudi 3 octobre 2002 06:05 > À : Jetspeed Users List > Objet : Customizing the maximized content ? > > > > Hello again Jetspeeders, > > I'm actually starting to wonder if Jetspeed is suitable > for my intended application, or whether I understand the > portal paradigm completely. > > I've noticed that when you click on the "Maximize" icon > for the portlets that come with Jetspeed, you pretty much > see the same content but across the page, which doesn't > actually strike me as that useful. I would have thought > it more useful to have just the abstracts or a summary of > information when the portlet is "restored"* and much more > indepth content when it is maximized. How can this be > achieved ? > > What I'm trying to do is build a company intranet. > We'll have different portlets for HR/payroll, training, > maintenance, inventory. Now, let's take the "training" > portlet, I'd like a user to be able to customize it > by checking the skills that she is interested in. She > will see just 3 of the most recent courses in the portlet > module when it is "restored"* but when it is maximized, > she will see all the courses that she has expressed > interest in, perhaps listed over multiple webpages. > > > Is this possible ? If so, could somebody please point me > in the right direction for this ? I'm looking at the > AbstractPortlet in the API javadoc but there seems to be > just one getContent(), where I would have expected a portlet > to have something like getMaximizedContent(). Also, where > would the user's preferences on the customize page be stored? > > Or have I completely misunderstood the portal paradigm and > in fact, each portlet is just a jumping off point to a > standalone webapp or website ? (which is the way that > the Jetspeed examples seem to be implemented). > > Thank you very much > > Stephen. > > * Sorry, I made up this terminology. How do you refer to > a portlet that is not "maximized" and not "minimized" ? > I'm going to call it "restored" since that's the ALT tag > of the icon I have to click in order to reach this state. > > > > > --------------------------------- > Get a bigger mailbox -- choose a size that fits your needs. > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>