Logging in Cocoon

2006-10-17 Thread Sumedh Shirodkar
Some questions on logging: what does the logger attribute for all the components in the sitemap refer to? eg: logger=sitemap.transformer.include Does changing the log-level attribute in logkit.xconf change the level of logging in all the loggers? If I create a new custom component (reader,

difference betn configuration and parameters

2006-10-12 Thread Sumedh Shirodkar
Hi, I was looking at some of the cocoon source-code that has some configurable entries in the sitemap (eg: ResourceReader, TraxTransformer etc.) in the configure method, it retreives the entry from sitemap in the following way, Configuration child; child =

RE: difference betn configuration and parameters

2006-10-12 Thread Sumedh Shirodkar
thanks Ard. well.. the use-request-parameters was just an example. actually, I am writing a reader and I dont want to hardcode a value. So, thot of passing it from sitemap. So, where in the sitemap shud I be putting this value and where in the reader code shud I be reading it? thanks -S.

Re: difference betn configuration and parameters

2006-10-12 Thread Sumedh Shirodkar
here is the config method public void configure(Configuration config) throws ConfigurationException { Configuration child; child = config.getChild(solid_exe); this.pathToExe = child.getValue(); child = config.getChild(temp_dir); this.tempDir = child.getValue(); } inside the

Re: difference betn configuration and parameters

2006-10-12 Thread Sumedh Shirodkar
jus ignore my prev mail guys dont know... a restart of tomcat did the trick. no code changes...just a restart and it worked. thanks again for all your help -S. _ Search—Your way, your world, right now!

Application Scope variable

2006-10-10 Thread Sumedh Shirodkar
All, I am a total newbie to cocoon and am a bit confused out here. We are using cocoon to interact with documentum. Documentum creates a session manager that handles all future documentum sessions. If a session is already alive, it can pass that on...if Now, we need a way to keep this

RE: Custom Serializer

2006-09-27 Thread Sumedh Shirodkar
thats what I did actually. Used the ZipArchiveSerializer and modified it. thanks guys!!! -S. From: Geert Josten [EMAIL PROTECTED] Reply-To: users@cocoon.apache.org To: users@cocoon.apache.org,George V. Prascharuk [EMAIL PROTECTED] Subject: RE: Custom Serializer Date: Wed, 27 Sep 2006

Custom Serializer

2006-09-26 Thread Sumedh Shirodkar
All, I am a novice in the Cocoon space but have been programming in Java for quite some time now. Was going thru the Cocoon docs/tutorials on the cocoon.apache.org website to get acquainted with Cocoon. However, couldnt find material that specifies how to write a custom serializer. Can