"Kevin A. Burton" wrote:
> 
> Rapha�l Luta wrote:
> >
> > Ed Knutson wrote:
> > >
> > > > - I'd like to present portlets in several "panes" to avoid cluttering
> > > >   the screen with to many portlets.
> > >
> > > How would you implement that?
> > >
> >
> > By writing a PanePortletController which would show tabs with the pane names
> > on top of the current pane content (creating a presentation somewhat like
> > the tabbed dialog box in windows).
> > I proposed the change in the markup for public comment because the inclusion
> > of a <pane> layer between <portlets> and <portlet> require all the existing
> > controller to deal with it (but if they don't want to process the tags they
> > can either simply ignore them or process only the defaultpane).
> <snip>
> 
> We could have this integrated into the DefaultPortletController.  If it
> only has one pane then it wouldn't display the "tab".
> 
> But I am still up in the air as to whether this should be done with the
> CocoonPortletController.  IMO this is a really close decision to go
> either way.  On one end you can control all your content.  On the other
> you have more things that can break and aren't coding in Java anymore
> but in something that could get out of control pretty quick.
> 

Currently the XMLPortletController has the major drawback that it requires 
well-formed XML to output anything, thus it breaks with ECS code outputting 
HTML instead of XHTML, and may break with FilePortlet... 
I really think all portlets should be forced to output XML compliant 
markup in order to be able to switch controller at will. I assume it's only
a configuration issue in ECS but I don't have any satisfactory solution for
FilePortlet.

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

Reply via email to