Liferay: Get a list of Colour schemes for a theme in Portlet

Just trying to work out how to set theme colour schemes in a portlet, and I’m no step closer, but I did find out how to get a list of colour schemes in a portlet, and it goes a bit like this:

ThemeDisplay themeDisplay = (ThemeDisplay) request.getAttribute(WebKeys.THEME_DISPLAY);
List<ColorScheme> colors = themeDisplay.getTheme().getColorSchemes();
for(ColorScheme color : colors) {
System.out.println(“color: “+color.getName()+ “(“+color.getColorSchemeId()+”)”);
}

I know, I know, there’s a system.out in the code, it’s only for people to see, I would never do that in a production portlet ;-)

Oracle Service Bus (OSB) and csv to XML Transformations using MFL

Help required!

I have been using ESB/OSB for the last five years and have had to do most things, but never integrate using files!  I don’t like it, and companies should really make sure that there products have web services or some other XML based real-time integration (that works) .  For me, if it doesn’t have this, I’m not sure I can agree that it should be called an enterprise solution!  Anyway, enough of my rant, and on to the good stuff (Well, awkward stuff that’s not working for me!)

Joomla 2.5 Template (theme) development

I need to develop a Joomla template for version 2.5.  I created a site a few years back using Joomla 1.0.15 and cheated a bit as I was short on time, I took a template that had been developed by someone else and tweaked it to make it work with my design.

This time I’m doing it from scratch as I really like to know how these things work.  I have read various blogs and posts to get some ideas and hints and looked at the structure of an existing template, the very basic structure of the template looks like this:

Rss Feed, Client retrieval or Server Retrieval

I have been tasked write the technical specification for an RSS (Really Simple Syndication) feed portlet for a Liferay! This is an Agile development, so I will be producing a very small amount of documentation based on features.

Sounds easy, and it will be to build, the difficulty is deciding how.  The first consideration is:

  • Retrieving RSS feed by the Client (browser)?
  • or do I get the Server to retrieve the RSS feed?

Lets look at the pros and cons I guess.