on 01-23-2017 10:33 AM
We have written an interceptor to validate whether the mandatory fields are filled or not? If not filled it will display a warning message (using Messagebox.show() we are prompting the warning message). But that popup is sometimes prompting twice (Not all the times). Now we want that popup to prompt only once all the time.
Thanks in Advance.
you should replace the out of the box interceptor in interceptor mapping,this is what i have done for B2BCustomerModel
<bean id="customerMandatoryAttributesValidatorMapping" class="de.hybris.platform.servicelayer.interceptor.impl.InterceptorMapping">
<property name="interceptor" ref="customerMandatoryAttributesValidator"/>
<property name="typeCode" value="B2BCustomer"/>
<property name="replacedInterceptors" ref="MandatoryAttributesValidator"/>
<property name="order" value="1"/>
</bean>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.