Unfortunately it's not applicable to c2.0.1 I am using (for stability reasons).
Christian Haul wrote: > On 01.Jul.2002 -- 02:16 PM, KOZLOV Roman wrote: > > Hello, > > > > Is it possible to externally parametrize sitemap ? > > > > Problem is : there is external (to cocoon application) storage of xml > > and non-xml data located in same filesystem. Currently it's referenced > > in sitemap by > > specifying relative path (from sitemap.xmap file to storage) and the > > references are quite numerous. So it is not flexible in case the storage > > location > > changes. > > The final goal is to customize application settings without interfering > > the sitemap.xmap file, changing one line in some other file > > (xml/property/any > > other). So, is there a way to specify parameter to sitemap externally to > > use it like {1} or {STORAGE_PATH}etc. Via properties of cocoon , via > > sitemap/xconf > > file details? > > In CVS HEAD there's support for using InputModules directly from > sitemap(*) using a rather similar syntax "{module-name:parameter}" You > could now implement a component implementing the > o.a.c.c.modules.InputModule interface to access these parameters. > This interface is very simple and implementing it should be trivial. > > (*) only with the interpreted sitemap aka "treeprocessor" > > In 2.0.[23] InputModules exists in the scratchpad area, but the > sitemap syntax mentioned is not available. > > Chris. > > Please follow up summarizing your problem and which suggested solution / > information worked for you. Add "SUMMARY: " to the subject line. This > will make FAQ generation and searching the list easier. In addition, > it makes helping you more fun. Thank you. > > -- > C h r i s t i a n H a u l > [EMAIL PROTECTED] > fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 > > --------------------------------------------------------------------- > 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]>