I'm thinking of a way how to put basic elements such main-xhtml-pages, userdialog-xhtml-pages, exception-handling-files, action-classes, configuration-files and so on in jar to reuse all that stuff in a different seam webapp project.
I try to use facelets source tags and JBoss Seam themes.
The main problem seems to be the path definitons..
I.e. in the ..taglib.xml the absolute path to the source xhtml file has to be defined. But it should be dynamic as i want to use the seam theme functionality.
Is there anybody who has experience with putting basic webapp logic into a jar file?
Or if it's possible to load facelets template files from a jar without using a source tag?
Thanks for help..
A possible solution for the last question (not seam related, but from the facelets mailing list):
http://www.nabble.com/Creating-templates-in-jar-files-t3888717.html
So maybe i just go with don't use source tags but use templates loaded from a jar.
Any other ideas?