web.xml parameters in cocoon action classes

2004-04-27 Thread Anna Bikkina
Hi, I have a n application which runs on cocoon. I have to get some parameters from web.xml or cocoon.xconf into my action classes and use them there. I tried using ObjectModelHelper.getContext(objectModel).getInitParameter("timelimit"); but it didnt work. It is returning null. How can I acces

RE: web.xml parameters in cocoon action classes

2004-04-28 Thread Leonid Chumanov
ttribute("myAttrName"); -Original Message- From: Anna Bikkina [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 10:35 PM To: [EMAIL PROTECTED] Subject: web.xml parameters in cocoon action classes >Hi, >I have a n application which runs on cocoon. I have to get some param

Re: web.xml parameters in cocoon action classes

2004-04-28 Thread Anna Bikkina
Attribute("myAttrName"); > > > -Original Message- > From: Anna Bikkina [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 27, 2004 10:35 PM > To: [EMAIL PROTECTED] > Subject: web.xml parameters in cocoon action classes > > >Hi, > > > >I hav

Re: web.xml parameters in cocoon action classes

2004-04-28 Thread Joerg Heinicke
On 28.04.2004 17:28, Anna Bikkina wrote: Thank you for the response. Does any have a different solution for this problem. Everyone must be facing this problem. For such questions I would always have a look into existing code. So for example the CocoonServlet class reads the init params from web