Friday, January 22, 2010

WebFlow on dmServer

It should be easy to use webflow on dmServer right? Well, not if you depend on maven to copy dependencies.
Just ran into few issues and wanted to share:

1. Bundle-Import both org.springframework.webflow and org.springframework.binding (too many packages to import individually)
WebFlow xml config will try to add a ConversionService from binding to your app context and if you don't have binding packages imported - BOOM...
2. Don't forget el libraries
WebFlow libd (library) has an optional dependency on and does not even lists ognl. org.springframework.binding imports javax.el, org.jboss.el and ognl as optional so resolution does not fail until you try to create an app context and webflow can't find any el parser to use and throws up.

That is it for now.

No comments: