Title: RE: Useful directory structure (was AW: i18n with sub sitemaps)

Hi Piroumian

I found that you declare that :



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

you used common_de and search_de so how to declare in the sitemap?? because as fas as i read sitemap just allows us to declare one messages name!!!

i think i want this structure much
Thanks a lot

Reply via email to