You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by sa...@women-at-work.org on 2004/08/21 12:46:32 UTC

Visit object and a "configuration" object

Hey guys!

I want to do java based webengine that can be configured
with xml/property files and to every domain name that points
to the tapestry application, the corresponding configuration files
will be read.

For instance domain name "aaaa.com" will be in English 
and the title will be "aaa.com - some english text" and the layout will
be different than for the french version.

To do that i was thinking of having a configuration object similiar to the
visit object that is only read once when the tapestry application is
started.

My questions:

1. is should not implement serializable ? i am not sure
2. within the BasePage i will read the configuration files for the
corresponding domains ?

I am confused and dont know a good solution and best practice.....

It will be one tapestry application and different configurations
corresponding to different domain names. the configurations are not
like visit objects and are not different for every user. they are only
different for every "user/domain group"


Any ideas? Or have you dont anything similiar yet?


Cheers!





---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org