Re: [jira] Reopened: (COCOON-2065) huge performance increase of LuceneIndexTransformer on large Lucene indexes

2007-07-24 Thread Felix Knecht
It seems to be bad luck that it always hits you ;-) I'm used to this - somehow I attract those kind of problems. So please be patient with me I'm sure to fall into the next trap pretty soon ;-) Felix

Re: [heads-up] cocoon-template is little broken in trunk

2007-07-24 Thread Felix Knecht
I advice everyone to test their applications that use template or forms blocks so we can hunt all bugs early and fix them easily. Thanks for your ongoing big works :-) The problems I had are resolved with commit 558681 and everything in my applications runs smoothly again. Felix

Re: [heads-up] cocoon-template is little broken in trunk

2007-07-24 Thread Grzegorz Kossakowski
Felix Knecht pisze: I advice everyone to test their applications that use template or forms blocks so we can hunt all bugs early and fix them easily. Thanks for your ongoing big works :-) No problem, it's my GSoC duty. To be honest, I'm still not satisfied with peace of changes applied to

Re: Move from HTMLArea to Xinha

2007-07-24 Thread Felix Knecht
Thanks to servlet-service-fw migration in CForms we can be pretty sure that files will be accessed through our matcher. I'm not uptodate with the servlet-service-fw. Can you point me to this matcher please? Not sure if this is the case, but when we need to add a specific 'deprecation'-filter

Re: Move from HTMLArea to Xinha

2007-07-24 Thread Grzegorz Kossakowski
Felix Knecht pisze: Thanks to servlet-service-fw migration in CForms we can be pretty sure that files will be accessed through our matcher. I'm not uptodate with the servlet-service-fw. Can you point me to this matcher please? Take a look at sitemap[1] in cocoon-forms-impl; there is

Re: Move from HTMLArea to Xinha

2007-07-24 Thread Felix Knecht
I was completely at the wrong corner. I saw a kind of DebugFilter you can add and thought your talking about this kind of (servlet)-filter :-( This make things much clearer. Thanks Felix Knecht pisze: Thanks to servlet-service-fw migration in CForms we can be pretty sure that files will be

Set depraction for client side javascripts [WAS: Re: Move from HTMLArea to Xinha]

2007-07-24 Thread Felix Knecht
Take a look at sitemap[1] in cocoon-forms-impl; there is following snippet: map:match pattern=resource/external/forms/**.js map:read src=resource://org/apache/cocoon/forms/resources/{1}.js type=servletLinkRewriter/ /map:match It matches all request for js files so in your case

Re: Set depraction for client side javascripts [WAS: Re: Move from HTMLArea to Xinha]

2007-07-24 Thread Grzegorz Kossakowski
Felix Knecht pisze: I propose to have a a parameter we can set in the sitemap for readers indicating that the read resource is deprecated. This parameter will be read in the o.a.c..r.AbstractReader and log a warning in case of (is a System.out.println also needed?). map:match

Re: Set depraction for client side javascripts [WAS: Re: Move from HTMLArea to Xinha]

2007-07-24 Thread Grzegorz Kossakowski
Felix Knecht pisze: I propose to have a a parameter we can set in the sitemap for readers indicating that the read resource is deprecated. This parameter will be read in the o.a.c..r.AbstractReader and log a warning in case of (is a System.out.println also needed?). map:match

Re: Set depraction for client side javascripts [WAS: Re: Move from HTMLArea to Xinha]

2007-07-24 Thread Carsten Ziegeler
Felix Knecht wrote: Take a look at sitemap[1] in cocoon-forms-impl; there is following I propose to have a a parameter we can set in the sitemap for readers indicating that the read resource is deprecated. This parameter will be read in the o.a.c..r.AbstractReader and log a warning in case of

Re: Set depraction for client side javascripts [WAS: Re: Move from HTMLArea to Xinha]

2007-07-24 Thread Sylvain Wallez
Carsten Ziegeler wrote: Felix Knecht wrote: Take a look at sitemap[1] in cocoon-forms-impl; there is following I propose to have a a parameter we can set in the sitemap for readers indicating that the read resource is deprecated. This parameter will be read in the

Re: Set depraction for client side javascripts [WAS: Re: Move from HTMLArea to Xinha]

2007-07-24 Thread Carsten Ziegeler
Sylvain Wallez wrote: Or a new map:log statement we talked about a long time ago, e.g. map:log level=warn msg={1} is deprecated/ Yeah, sounds good as well - this statement has the advantage that it's always configured and it looks a little bit nicer. Nothing that can be done with an action

How to register MockProcessInfoProvider?

2007-07-24 Thread Grzegorz Kossakowski
Hi, I'll give you some background to my problem. I use ProcessInfoProvider for accessing environmental data because I've read[1] that it is a proffered way to do this in Cocoon 2.2. Now, I would like to write tests for Spring beans depending on ProcessInfoProvider. I thought that it makes

Re: Set depraction for client side javascripts

2007-07-24 Thread Felix Knecht
Or a new map:log statement we talked about a long time ago, e.g. map:log level=warn msg={1} is deprecated/ Nothing that can be done with an action though... I'm not quite sure but I think this [1] is the discussion about it. Reading across I think at that time the problem was how to

Re: Set depraction for client side javascripts

2007-07-24 Thread Carsten Ziegeler
Felix Knecht wrote: Or a new map:log statement we talked about a long time ago, e.g. map:log level=warn msg={1} is deprecated/ Nothing that can be done with an action though... I'm not quite sure but I think this [1] is the discussion about it. Reading across I think at that time the

Re: Set depraction for client side javascripts [WAS: Re: Move from HTMLArea to Xinha]

2007-07-24 Thread Sylvain Wallez
Carsten Ziegeler wrote: Sylvain Wallez wrote: Or a new map:log statement we talked about a long time ago, e.g. map:log level=warn msg={1} is deprecated/ Yeah, sounds good as well - this statement has the advantage that it's always configured and it looks a little bit nicer.

Re: How to register MockProcessInfoProvider?

2007-07-24 Thread Grzegorz Kossakowski
Grzegorz Kossakowski pisze: Hi, I'll give you some background to my problem. I use ProcessInfoProvider for accessing environmental data because I've read[1] that it is a proffered way to do this in Cocoon 2.2. Now, I would like to write tests for Spring beans depending on

Re: How to register MockProcessInfoProvider?

2007-07-24 Thread Carsten Ziegeler
Grzegorz Kossakowski wrote: After exploring code for a while I came to conclusion that I need to implement stub implementation of HttpServletRequest, HttpServletResponse and ServletContext that will forward to Cocoon's corresponding classes. Hmm, or the other way round - if the tests would

Re: How to register MockProcessInfoProvider?

2007-07-24 Thread Grzegorz Kossakowski
Carsten Ziegeler pisze: Hmm, or the other way round - if the tests would create httpservlet classes first, perhaps the current cocoon environment wrappers could just be used to wrap them. Hmmm, something worth trying. Do you think that changing o.a.c.environment.* classes (like MockRequest)

[Fwd: Re: XML parser config in 2.2]

2007-07-24 Thread Grzegorz Kossakowski
I'm forwarding this message to dev so people more familiar with Spring Configurator can comment on it. Does Kazó is right with his comments and we need to adjust documentation or not? Respond to user list, thanks. Wiadomość oryginalna Thank you, this ([2]) is indeed the

Re: How to register MockProcessInfoProvider?

2007-07-24 Thread Carsten Ziegeler
Grzegorz Kossakowski wrote: Carsten Ziegeler pisze: Hmm, or the other way round - if the tests would create httpservlet classes first, perhaps the current cocoon environment wrappers could just be used to wrap them. Hmmm, something worth trying. Do you think that changing

Re: How to register MockProcessInfoProvider?

2007-07-24 Thread Grzegorz Kossakowski
Carsten Ziegeler pisze: Grzegorz Kossakowski wrote: Carsten Ziegeler pisze: Hmmm, something worth trying. Do you think that changing o.a.c.environment.* classes (like MockRequest) so they implement Servlet interfaces and wrapping them in AbstractTestCase won't break anything? Hmm, it *should*

[jira] Updated: (COCOON-2085) Implement new, universal Object Model

2007-07-24 Thread Grzegorz Kossakowski (JIRA)
[ https://issues.apache.org/jira/browse/COCOON-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grzegorz Kossakowski updated COCOON-2085: - Assignee: Grzegorz Kossakowski Implement new, universal Object Model

Re: How to register MockProcessInfoProvider?

2007-07-24 Thread Grzegorz Kossakowski
Carsten Ziegeler pisze: Grzegorz Kossakowski wrote: After exploring code for a while I came to conclusion that I need to implement stub implementation of HttpServletRequest, HttpServletResponse and ServletContext that will forward to Cocoon's corresponding classes. Hmm, or the other way round

Re: Set depraction for client side javascripts [WAS: Re: Move from HTMLArea to Xinha]

2007-07-24 Thread Felix Knecht
Felix, I see that you are going to deprecate HTMLArea right now. No. Have you seen Reinhard's response[1], especially this:? Yes. There are also others who think that not even depracation is needed [2]. For now I'm just going to implement a LogAction. [2]

Re: How to register MockProcessInfoProvider?

2007-07-24 Thread Carsten Ziegeler
Grzegorz Kossakowski wrote: Carsten Ziegeler pisze: Grzegorz Kossakowski wrote: Carsten Ziegeler pisze: Hmmm, something worth trying. Do you think that changing o.a.c.environment.* classes (like MockRequest) so they implement Servlet interfaces and wrapping them in AbstractTestCase won't

Re: How to register MockProcessInfoProvider?

2007-07-24 Thread Carsten Ziegeler
Grzegorz Kossakowski wrote: What about getParameters() sort of methods that enable you to have expressions like cocoon.request.parameters.param1 ? Since ProcessInfoProvider returns implementation of HttpServletRequest there is no access to these methods. Any idea on this? Yes, this is