Wednesday, May 20, 2009

Another Liferay Theme Gotcha

You are required to include the line
if you want the document library to not have a blank upload screen or if you want the look and feel option in the portlet config to work.  It adds the javascript includes necessary for those two things to function.  I don't know if this was documented anywhere, but if it was I skimmed right over it.

( The look and feel thing I get since that's also part of the theme, but why the heck does the document library portlet depend on the theme to provide any javascript includes?  I feel strongly that portlets should include this stuff themselves, despite yahoo's best practices for fast loading sites. )

No comments: