on 2016 Jun 16 8:30 PM
Struggling to find much decent info on addOns on the wiki.
Question: If I wanted to just override a particular tag, can I just have the tag in the addOn and not the containing jsp etc?
This not possible in an easy and clean way. For jsp you have the view resolver to change behavior how to load a file but tags are hard wired. Hence, you need to replace the whole chain from jsp to the tag or the original tag file. You have the following possibilities to replace the original tag file (sorted ascending from easy to achieve to a lot of work).
use the customize feature of hybris build process. With this you can replace files in every folder within hybris/bin. (tag file has to be checked on platform update if there were changes)
commit only the tag file to your SCM (side effects possible)
commit the whole addon to your scm and do changes there (updates are more effort)
integrate the addon into your extension. no more add-on logic for the build process (only suitable if you need to adapt a lot of stuff)
If you really need to replace one tag go for option number one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Christoph!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
29 | |
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.