-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create th:replace as a synonym for th:substituteby #69
Comments
@ultraq you are a native English speaker... what do you think of this? Do you feel |
I think 'replace' is better than 'substituteby', simply because it's a single word like most of the other processors, and so feels more like a part of the processor family that's been created. All the other two-word processors are there to convey additional meaning and distinguish themselves from their single-word counterparts, eg: |
Set the ApplicationContext to RedirectView to find the RequestDataValueProcessor
AuthenticationAttrProcessor uses EscapedAttributeUtils
Create a new attribute called
th:replace
as a complete synonym forth:substituteby
.The plan is to completely replace
th:substituteby
byth:replace
in a couple of versions, so with 2.1replace
should be added to the documentation instead of every appearance ofsubstituteby
, and a mention tosubstituteby
should appear stating that although having exactly the same effect, it is no longer the preferred option.th:substituteby
should NOT appear as deprecated in 2.1The text was updated successfully, but these errors were encountered: