![]() |
|
|
|
|
Change By:
|
Tobias Mattsson
(22/Oct/13 3:07 PM)
|
|
Description:
|
The Area annotation should allow specifying the maximum number of components that can go in an area. The default should be no limit.
Mentioned in http://forum.magnolia-cms.com/forum/thread.html?threadId=996f7297-07ae-47c7-902e-c64d9d034ccb and http://forum.magnolia-cms.com/forum/thread.html?threadId=5060d187-1d06-4725-b073-f3b327a701b4
The current solution would be to 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:
{code} <bean class="info.magnolia.module.blossom.template.TemplateExporter"> <property name="templateDefinitionBuilder"> <bean class="my.package.MyTemplateDefinitionBuilder" /> </property> </bean> {code}
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
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]>
----------------------------------------------------------------