Tuesday, November 22, 2011

Blossom 1.2.3 & Blossom Data Extension 1.0 Released

Today I have released version 1.2.3 of Blossom and Blossom Data Extension 1.0, an extension for using Blossom style dialogs with the Magnolia Data Module. It introduces a new annotation @DataTypeDialogFactory which is used for creating dialogs for data module types. It has the same feature set as @DialogFactory and is used in the same way.

In this release the feature set TabBuilder is expanded adding support for the multi select control, the include control and for adding any control by type. It's now also possible to get the dialog and the DialogCreationContext from the TabBuilder.

This is an example of how a dialog used for the type 'category':
public class CategoryDialog {

    public void settingsTab(TabBuilder tab) {
        tab.addEdit("name", "Name", "");
        tab.addEdit("maxResults", "Max results", "");

To use the Data Extension you need to add it to your pom.xml

Add this line to your blossom-servlet.xml or equivalent.

<bean class="info.magnolia.module.blossom.extension.data.DataDialogExporter" />

And if you're using classpath scanning you'll also want to add an include-filter for the new annotation.

<context:component-scan base-package="package-containing-dialogs" use-default-filters="false">
  <context:include-filter type="annotation" expression="info.magnolia.module.blossom.extension.data.DataTypeDialogFactory"/>

For more details see the Blossom Data Extension wiki page.

Monday, November 7, 2011

Webinar - How US Navy used Blossom to integrate Spring Applications with Magnolia CMS

I have some exciting news to share!

As many Blossom users are already aware, Campbell Ewald used Magnolia CMS and Spring Framework for building navy.com. On November 15th there will be a webinar on how they did it and how Blossom made their app integrations straightforward. It will be hosted by Campbell Ewald's Matt Dertinger, Magnolia's Sean McMains and myself.

The webinar is for Spring developers of all levels and you will learn how to develop content rich websites with Spring. It will take you through setting up your project and with examples show how Blossom solved real use cases for the navy. Matt will also show how they used it with RESTEasy and took advantage of Bean Validation (JSR-303).

Register now, I've been told it's starting to fill up already.

See you there!

The webinar recording is now online.