#set( $rootpath = "${apphome}/components/categorize")
#set ($existing = $context.getRequestParameter($property.getId() + ".values") )
#if( $existing && !$existing.trim().isEmpty() )
#set ($existing = $existing.replace("||","|"))
#foreach($categoryid in $existing.split("\s*\|\s*"))
#set($category = $mediaarchive.getCategory($categoryid))
-
#if( $longform)
#foreach( $parent in $category.getParentCategoriesFrom(1))
#if( ${foreach.count} > 1) \ #end
$parent
#end
#end
#end
#end
[[Pick Categories]]