Rapha�l Luta wrote:
> 
> Now that we have PortletSet(s) and panes, I think the current content generation
> model is not really well-suited handling complex portlet layouts:
> basically, the controller has to calculate the complete layout from the
> individual portlets info, which can get quite hairy if we enable of lot of
> skin and layout customizations in the portlet markup.
> 
> My proposal is to change the way the classes work together to better
> mirror standard java.awt layout machanism.
> 
> Basically, I propose to base the layout process on the PortletSet which would
> be modified to implement the Portlet interface.
> The Controller would be associated to a PortletSet just like a LayoutManager
> is associated to a Container in awt.
> The PortletCntrol would be used for all Portlet (including PortletSet)
> except that the default control for a PortletSet is transparent (but may be
> caching...)
> 
> Advantages:
> - more intuitive mechanism since it's closer to the well-known AWT layout
> system
> - more regular because if PortletSer are portlets, they can have their
> PortletConfig too
> - allows for simpler controller implementation, with XMLController,
> PaneController, RowController and ColumnController, we can do nearly anything.

So is this just for more control over presentation?  Or to fix a bug?

+1 if someone wants to do a gridbag layout.  The only thing is that I
think they should still be suggestions so that we can have a
FlatPortletController that doesn't use a table or anything and then we
can have portlets on a Palm V.

So it would be good if there was more control.  

The other thing is the white space at the bottom.  This has been
bothering me. The problem with using the AWT Layout model is that we
don't know how high a Portlet is going to be until it is rendered.  The
only problem I can see right now is that towards the end of Jetspeed's
page there is a lot of white space.  In Jetspeed 1.0 and earlier this
was even across the bottom.  This was because the size was was the same
across all Portlets.

-- 
Kevin A Burton ([EMAIL PROTECTED])
http://relativity.yi.org
Message to SUN:  "Please Open Source Java!"
"For evil to win is for good men to do nothing."


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to