metawidget/metawidget — pull request #14 by ryanbradley (2012-05-10 20:50:56+00:00)
Title: initNestedMetawidget for StaticSpringMetawidget

Hi Richard,

I've added an initNestedMetawidget method for StaticSpringMetawigdet. I think that it is necessary because, as it now stands, if the nested metawidget has no set value, the StaticJspMetawidget initNestedMetawidget method will set one for it, which will be wrapped using the JSP EL. This creates problems with Spring as, when processed by its PathProcessor, widgets are left with a path like path="name}.id", as the PathProcessor looks for the first instance of the '.' character. The initNestedMetawidget method that I created determines the value in the exact same method as the StaticJspMetawidget method, it just does not wrap it. Let me know if you have any questions or concerns, as usual.

Cheers,
Ryan