Today I was thinking of better/different ways to have content rendered
within Jetspeed.

Currently it is impossible for a controller to determine the best way to
layout content so that maximum space is used.  I was thinking that we
could have some "size" meta info that would be portlet specific.

So a new method layout suggestion would be 

<layout size=""/>

This would be one of the following

maximum
medium
minimum

maximum would mean that the Portlet wants to have the entire screen from
left to right.  You could stack things on top or below but just not next
to it:

 --------------------------
 |   maximum portlet      |
 --------------------------
 ----------- -------------
 | regular | |  regular  |
 ----------- -------------

Medium would be like:

  ------------------- --------
  |   medium        | | reg  |
  ------------------- --------
   ----------- -------------
   | regular | |  regular  |
   ----------- -------------

This would also just mean that regular would be fixed width and stuck to
the right but medium would be 100% width and would resize itself.

Minimum would just be the default and would mean that he Portlet could
run anywhere.

A good example of this would be the JetspeedContentPortlet.  This will
have a *lot* of content and I want it to be a medium portlet.  

Probably another medium portlet would be a "mail" reader like XSP-Mail
that would allow you to keep (or load balance) other portlets to the
right or left.

Thoughts

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