> From: Majcen, Kurt [mailto:[EMAIL PROTECTED]] > > Thanks, it worked.
Fine! > > In addition I had to change other locations e.g. for the > standard mapping for *.css as well. > > This opened a general question to me. What is a good > directory structure with cocoon (with sub sitemaps) for a > multilingual website providing several functions like > - user registration > - search for users > - search for objects > - annotate objects > .... > > What are the (dis-)advantages of having something like: > > root > ------| > | > +--- images > | > +--- xhtml/xsp > | > +--- scripts > | > +--- styles (.css) > | > +--- stylesheets > | > +--- translations > | > +--- validation > | > +--- Web-INF > | > +--- User Registration -- > | | > | +--- xhtml/xsp > | | > | +--- stylesheets > | | > | +--- translations > | | > | +--- validation > | | > | sitemap.xmap > | > +--- Search for User > | > ... > | > sitemap.xmap One thing I'd do for sure: move some of the used resources to the WEB-INF, so they would not be accidentally sent to the user. So, WEB-INF can look like: WEB-INF\ translations\ common.xml common_de.xml ... search.xml search_de.xml ... validation\ rules.xml ... etc. I understand that Cocoon allows to place _all_ the webapp resources inside of the WEB-INF and define paths in the sitemap, but I don't like this approach and like to see all webapp contents in their usual places (/, images/, css/, etc.). But for the translations, validation rules, etc. - they are some kind of a meta-data that are used by several componenets to process the response and they are never referred from the user's browser - so the best place for them is a sub-directory of WEB-INF. -- Konstantin Piroumian > > Thanks, Kurt > > > -----UrsprØngliche Nachricht----- > Von: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 07. Oktober 2002 16:10 > An: '[EMAIL PROTECTED]' > Betreff: RE: i18n with sub sitemaps > > > > From: Majcen, Kurt [mailto:[EMAIL PROTECTED]] > > > > Hi all! > > > > Is it possible to tell the i18n transformer to use a fixed > > catalogue-location from the projects root directory (so > > something like '/translations' instead of 'translations') > > > > I'm working with mounted sitemaps in sub-directories. This > > always creates a wrong path when entering such a sub sitemap. > > Try to use "context://path-to-catalogue". Not sure that it > will work though. > > Konstantin > > > > > Thanks > > Kurt > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been > answered in the > > FAQ before posting. > <http://xml.apache.org/cocoon/faq/index.html> > > > > To > unsubscribe, e-mail: <[EMAIL PROTECTED]> > > For additional commands, e-mail: > <[EMAIL PROTECTED]> > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>