Hi Francisco,
I've created http://jira.magnolia-cms.com/browse/BLOSSOM-147 for this feature.
Until its ready you can use a custom DialogDescriptionBuilder to set the
maximum number. Either by checking for an annotation of your own that allows
for specifying the limit or by hardcoding checks for specific classes and
setting the limit based on that.
Add this to use a custom TemplateDefinitionBuilder:
<bean class="info.magnolia.module.blossom.template.TemplateExporter">
<property name="templateDefinitionBuilder">
<bean class="my.package.MyTemplateDefinitionBuilder" />
</property>
</bean>
Hope that helps, Tobias
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=996f7297-07ae-47c7-902e-c64d9d034ccb
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------