AnsweredAssumed Answered

Alfresco 4.0c Modules Evaluators

Question asked by m_scapoli on Jun 14, 2012
Latest reply on Jul 18, 2012 by m_scapoli
Hello, it's not so clear on how we can use Evaluators in Extensibility Module Deployment; can we use the "out of the box" evaluators also in module configuration file in the subcomponent evauation?
Like:
<module>
    <id>Blog Module (Conditionally Hide Title)</id>
    <components>
        <component>
            <scope>page</scope>
            <region-id>title</region-id>
            <source-id>site/{site}/dashboard</source-id>
            <sub-components>
                <sub-component id="default">
                    <evaluations>
                        <evaluation id="HideIfBlogDemoSite">
                            <evaluators>
                                <evaluator type="evaluator.doclib.action.isMimetype"></evaluator>
                            </evaluators>
                            <render>false</render>
                        </evaluation>
                    </evaluations>
                </sub-component>
            </sub-components>
        </component>
    </components>
</module>

or it's only possible to implements a new evaluator writing it in Java?

Thanks

Outcomes