0 Replies Latest reply on Jun 5, 2008 4:16 PM by kristjan slomsek

    ThemeSelector get available theme names from db

    kristjan slomsek Newbie


      I am interested in getting available themes from db instead of puting them in components.xml:

      <theme:theme-selector cookie-enabled="true">

      I have already overridden getThemeResourceBundle, so I am getting theme keys from db, but am running out of ideas how to put names in db too. I was thinking of overriding setAvailableThemes and implementing db query there but I think it is not such a good idea.

      If somebody already solved that, please let me know.

      tnx and brg,