AnsweredAssumed Answered

Contraint ListOfValuesConstraint: inject searchService

Question asked by denis_miorandi on Sep 7, 2012
Latest reply on Mar 1, 2017 by alstresh
I'm using a customized ListOfValuesContraint. It work but i need to inject searchService to do something more.
Constraint definition allow only parameters. How can i pass property ref searchService to injectit?

    <constraints>
        <constraint name="docks:CustomerListConstraint" type="com.lion.ecm.model.contraints.ListOfCustomersQueryConstraint" >      
            <!– NEED TO INJECT searchService here to pass to contraint class–>
            <parameter name="caseSensitive">
                <value>true</value>
            </parameter>
        </constraint>
    </constraints>

Outcomes