cancel
Showing results for 
Search instead for 
Did you mean: 

Question about AddOns

Former Member
0 Kudos
386

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?

Accepted Solutions (1)

Accepted Solutions (1)

christoph_probst
Active Participant
0 Kudos

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.

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks Christoph!