You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 29 Members of 4063 |
| Forum: Seam Users |
05. Jun 2008, 16:16 CET | Link |
Hi,
I am interested in getting available themes from db instead of puting them in components.xml:
<theme:theme-selector cookie-enabled="true">
<theme:available-themes>
<value>blackndecker</value>
<value>stinkypinky</value>
</theme:available-themes>
</theme:theme-selector>
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, KS