Posted by glohim on Sun, 26 Aug 2012 16:24:14
I have come across some instances where the UI XML inheritance does not appear to work. I was hoping someone here could help me out.
<StatusBar name="SapAlertUI_StatusBar" **inherits="AchievementProgressBarTemplate"** toplevel="true"> ... </StausBar>
instead I had to copy the AchievementProgressBarTemplate content from the Blizzard_AchievementUI.xml to get the visual elements to appear.
While this works, it subverts the benefits of inheritance. I am happy to send working files for review.
Glohim of Icecrown (Author of SapAlert)
Posted by jnwhiteh on Wed, 29 Aug 2012 19:54:40
What doesn't work? Inheritance has always 'just worked', but it MUST be a virtual XMl frame you are inheriting from, i.e. a template. You cannot just inherit from a frame.
Posted by glohim on Fri, 31 Aug 2012 18:03:03
Please try the code posted, and reference the source files. You will see that the status bar visual elements do not appear.
It could be the case that the embedded components need to be explicitly included, but I don't think so.
Posted by jnwhiteh on Fri, 31 Aug 2012 21:07:55
I don't have time to write an addon to try and diagnose this issue. Sorry.