I have created a DataMainAttrProcessor extending AbstractStandardAttributeModifierAttrprocessor and associated this with the require dialect
however when I run the application I get a
org.thymeleaf.exceptions.TemplateProcessingException: Could not parse as assignation sequence:
Obviously AbstractStandardAttributeModifierAttrprocessor is not the appropriate class to extend can anybody point me in the right direction with regards to a class that will support URL resolution similar to that provide by th:src
For creating an attribute processor, I think it's best to extend the AbstractAttrProcessor class, then you can do whatever you want in the processAttribute() method, which in your case would be to use the StandardExpressionProcessor.processExpression() method to turn the expression passed to your attribute processor into a URL.