<com.ibm.btt.element.impl.ElementProcessorChain id="elementProcessor"> <list Injection="elementProcessors"> <yourPackage.YourElementProcessor1 /> <yourPackage.YourElementProcessor2 /> </list> </com.ibm.btt.element.impl.ElementProcessorChain>
You must define it in your TagProvider, together with your element definition. You must use elementprocessors as the id.
public interface ElementProcessor { public Tag beforeCreateElement(Tag tag) throws ElementException; public Object beforeInitializeElement(Tag tag, Object element) throws ElementException; public Object afterInitializeElement(Tag tag, Object element) throws ElementException; }