on 2019 Mar 12 6:08 AM
I have an attribute which needs to be modified often, so I moved the attribute to CMS site model. Whenever the value needs to be changed, I will update the attribute directly in CMS site model and it will get reflected without server restart. The same attribute is used in one config xml, I need to take that also from CMSsite model. Is there any way to use the CMS site service in config xml or in project.properties file?
Request clarification before answering.
Hi - you can use Spring Expression Language (SpEL) to achieve this. You can find many examples from google search. I have mentioned below a couple of links:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
1 | |
1 | |
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.