Ed Knutson wrote:
>
> On Tue, 11 Apr 2000, Rapha�l Luta wrote:
> > 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.
> >
> > Comments ? Objections ?
>
> [insert my best Arnold Horshak impression] OOH! OOH!
>
[Insert blank expression as I look up a glossary a famous people this side of
the
Atlantic... :) ]
> A while back I said it would be nice to have a layoutmanager like awt's gridbag
> for dealing with the fact that most portlets are not a uniform size and there's
> often lots of whitespace on generated pages....
>
Well, the PanedPortletController already addresses a few of these issues but it
is still far from being as flexible as the gridbaglayout.
Currently:
DefaultPortletController <=> GridLayout
XMLPortletController <=> whatever you want but doesn't work with ECS
PanedPortletController <=> CardLayout combined with a mixed Grid/FlowLayout
> +1 all day long----and let me know if I can help in some _specific_ way.
>
If I don't get any objection I think I'll have this implemented for next
week with simple controllers. I'll let you write the GridBagPortletController if
you *REALLY* wish something as flexible... ;)
--
Rapha�l Luta - [EMAIL PROTECTED]
--
--------------------------------------------------------------
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]