RE: defaulting to a matcher when another one is not present

2002-10-15 Thread Hunsberger, Peter
>> http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=103416369316569&w=2 >> >> shows you voting -1 on this issue If that's not correct, or you'd like >> to revoke your vote, then forget the whole issue... > > My vote was about breaking existing systems. > You said that you would put an attri

Re: defaulting to a matcher when another one is not present

2002-10-15 Thread Nicola Ken Barozzi
Hunsberger, Peter wrote: ... > http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=103416369316569&w=2 > > shows you voting -1 on this issue If that's not correct, or you'd like > to revoke your vote, then forget the whole issue... My vote was about breaking existing systems. You said that yo

RE: defaulting to a matcher when another one is not present

2002-10-15 Thread Hunsberger, Peter
How would you suggest handling it with Cocoon today? >>> >>>Since you *have* to define up front between groups which URLS to use, >>>and define them with no general rule, simply make a FixedListMatcher >>>that matches based on fixed names in a list, so that you don't need an >>>expert sys

Re: defaulting to a matcher when another one is not present

2002-10-15 Thread Nicola Ken Barozzi
Hunsberger, Peter wrote: >>>How would you suggest handling it with Cocoon today? >> >>Since you *have* to define up front between groups which URLS to use, >>and define them with no general rule, simply make a FixedListMatcher >>that matches based on fixed names in a list, so that you don't n

RE: defaulting to a matcher when another one is not present

2002-10-14 Thread Hunsberger, Peter
>> >> How would you suggest handling it with Cocoon today? > > Since you *have* to define up front between groups which URLS to use, > and define them with no general rule, simply make a FixedListMatcher > that matches based on fixed names in a list, so that you don't need an > expert system

Re: defaulting to a matcher when another one is not present

2002-10-13 Thread Nicola Ken Barozzi
Hunsberger, Peter wrote: >>>Is this necessary? Probably not. >> >>In fact, in the above scenario it isn't. > > > How would you suggest handling it with Cocoon today? Since you *have* to define up front between groups which URLS to use, and define them with no general rule, simply make a

Re: defaulting to a matcher when another one is not present

2002-10-13 Thread Nicola Ken Barozzi
Hunsberger, Peter wrote: >>>Umm, forgot to comment on this: if I invoke another classes methods I'm >>>certainly free to deal with any exception as I see fit? It seems to me >>>that >>>a sitemap doesn't implement the equivalent of composition either... >> >>A sitemap is not a class either, it doe

RE: defaulting to a matcher when another one is not present

2002-10-10 Thread Hunsberger, Peter
>> Umm, forgot to comment on this: if I invoke another classes methods I'm >> certainly free to deal with any exception as I see fit? It seems to me that >> a sitemap doesn't implement the equivalent of composition either... > > A sitemap is not a class either, it doesn't have methods. > The analo

RE: defaulting to a matcher when another one is not present

2002-10-10 Thread Hunsberger, Peter
>> Is this necessary? Probably not. > > In fact, in the above scenario it isn't. How would you suggest handling it with Cocoon today? >> Is there any reason not to allow it? >> Probably not. > > Let me disagree. > > A sitemap is a *contract*. Well that's the basis for the disagreement.

Re: defaulting to a matcher when another one is not present

2002-10-09 Thread Nicola Ken Barozzi
Hunsberger, Peter wrote: >>>If you think that point 2) is valid, let me ask you; do you ever use >>>inheritance in Java? Do you ever use inheritance where you only want to >>>override part of the behavior of the super class but otherwise let the >> > rest > >>>of the processing continue on as

Re: defaulting to a matcher when another one is not present

2002-10-09 Thread Nicola Ken Barozzi
Hunsberger, Peter wrote: >>>I can think of many use cases where I might >>>want to parcel out handling of a portion of a site to some other group, >>> but >>>still continue processing a request if the other groups sitemap did not >>>handle it. >> >>Please share them with us. > > > The general u

RE: defaulting to a matcher when another one is not present

2002-10-09 Thread Hunsberger, Peter
>> If you think that point 2) is valid, let me ask you; do you ever use >> inheritance in Java? Do you ever use inheritance where you only want to >> override part of the behavior of the super class but otherwise let the rest >> of the processing continue on as normal? > > Usually I never do this

RE: defaulting to a matcher when another one is not present

2002-10-09 Thread Hunsberger, Peter
>> I can think of many use cases where I might >> want to parcel out handling of a portion of a site to some other group, but >> still continue processing a request if the other groups sitemap did not >> handle it. > > Please share them with us. The general use case is where a web site has to han

Re: defaulting to a matcher when another one is not present

2002-10-09 Thread Nicola Ken Barozzi
Hunsberger, Peter wrote: >>I have the following problem. I want to write a >pattern="**.html"> matcher in the top-level sitemap, and have it >>invoked for most of the HTML page generation. However I'd like this >>rule to be overwritten in sub-sitemaps, e.g. if a sub-sitemap >>>

RE: defaulting to a matcher when another one is not present

2002-10-09 Thread Hunsberger, Peter
>> > >> I have the following problem. I want to write a > > >> pattern="**.html"> matcher in the top-level sitemap, and have it >> > >> invoked for most of the HTML page generation. However I'd like this >> > >> rule to be overwritten in sub-sitemaps, e.g. if a sub-sitemap >> > >> implements a

Re: defaulting to a matcher when another one is not present

2002-10-09 Thread tcurdt
Quoting Vadim Gritsenko <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > >>>Could you do a > >>> > >>> > >>> > >>> > >>> > >>>or something as last one and cascade the way up? > >>> > >>> > >>This should work as well, except that it makes another round-trip to > >>the client browser:

Re: defaulting to a matcher when another one is not present

2002-10-09 Thread Vadim Gritsenko
[EMAIL PROTECTED] wrote: >>>Could you do a >>> >>> >>> >>> >>> >>>or something as last one and cascade the way up? >>> >>> >>This should work as well, except that it makes another round-trip to >>the client browser: ugly! >> >> > >you could also use a resource - then it should be an

Re: defaulting to a matcher when another one is not present

2002-10-09 Thread Nicola Ken Barozzi
Stefano Mazzocchi wrote: > Quoting Carsten Ziegeler <[EMAIL PROTECTED]>: > > >> >>>-Original Message- >>>From: Ovidiu Predescu [mailto:[EMAIL PROTECTED]] >>>Sent: Monday, October 07, 2002 10:59 AM >>>To: [EMAIL PROTECTED] >&g

RE: defaulting to a matcher when another one is not present

2002-10-09 Thread Stefano Mazzocchi
Quoting Carsten Ziegeler <[EMAIL PROTECTED]>: > > > > -Original Message- > > From: Ovidiu Predescu [mailto:[EMAIL PROTECTED]] > > Sent: Monday, October 07, 2002 10:59 AM > > To: [EMAIL PROTECTED] > > Subject: Re: defaulting to a matcher when a

Re: defaulting to a matcher when another one is not present

2002-10-08 Thread Giacomo Pati
[EMAIL PROTECTED] wrote: >>>Could you do a >>> >>> >>> >>> >>> >>>or something as last one and cascade the way up? >> >>This should work as well, except that it makes another round-trip to >>the client browser: ugly! > > > you could also use a resource - then it should be an internal redirect

RE: defaulting to a matcher when another one is not present

2002-10-08 Thread Giacomo Pati
On Mon, 7 Oct 2002, Carsten Ziegeler wrote: > > Sylvain Wallez wrote: > > > > Carsten Ziegeler wrote: > > > > >Currently I'm -0 but with a tendency to -1. > > > > > >Why? I see these reasons: > > >1) This is an incompatible change - currently if nothing matches in the > > > subsitemap, the erro

Re: defaulting to a matcher when another one is not present

2002-10-08 Thread Vadim Gritsenko
Carsten Ziegeler wrote: >Sylvain Wallez wrote: > > >>>No, I don't agree here. Yes, components are inherited and yes >>> >>> >>views should imho also be inherited, but this is a >>one-way-street. The main sub sitemap gives control to the sub >>sitemap. You can't use components declared

Re: defaulting to a matcher when another one is not present

2002-10-08 Thread tcurdt
> > Could you do a > > > > > > > > > > > > or something as last one and cascade the way up? > > This should work as well, except that it makes another round-trip to > the client browser: ugly! you could also use a resource - then it should be an internal redirect... btw: do we already hav

Re: defaulting to a matcher when another one is not present

2002-10-07 Thread Ovidiu Predescu
On Monday, October 7, 2002, at 05:27 AM, Christian Haul wrote: > On 06.Oct.2002 -- 10:28 AM, Sylvain Wallez wrote: >> Ovidiu Predescu wrote: >> >>> I have the following problem. I want to write a >> pattern="**.html"> matcher in the top-level sitemap, and have it >>> invoked for most of the HTM

Re: defaulting to a matcher when another one is not present

2002-10-07 Thread Christian Haul
On 06.Oct.2002 -- 10:28 AM, Sylvain Wallez wrote: > Ovidiu Predescu wrote: > > >I have the following problem. I want to write a >pattern="**.html"> matcher in the top-level sitemap, and have it > >invoked for most of the HTML page generation. However I'd like this > >rule to be overwritten in

RE: defaulting to a matcher when another one is not present

2002-10-07 Thread Carsten Ziegeler
Sylvain Wallez wrote: > >> > >No, I don't agree here. Yes, components are inherited and yes > views should imho also be inherited, but this is a > one-way-street. The main sub sitemap gives control to the sub > sitemap. You can't use components declared in the sub-sitemap in > the main sitema

Re: defaulting to a matcher when another one is not present

2002-10-07 Thread Sylvain Wallez
Carsten Ziegeler wrote: >Sylvain Wallez wrote: > > >>Carsten Ziegeler wrote: >> >>>Currently I'm -0 but with a tendency to -1. >>> >>>Why? I see these reasons: >>>1) This is an incompatible change - currently if nothing matches in the subsitemap, >the error handler is invoked and people rely o

Re: defaulting to a matcher when another one is not present

2002-10-07 Thread Torsten Curdt
On Monday 07 October 2002 13:26, Carsten Ziegeler wrote: > Torsten Curdt wrote: > > This reminds me on the cocoon get-together at the cebit where > > someone wanted > > components _not_ to be inherited. > > > > I have to admit that I stumbled over the same question as Ovidiu > > did lately. > > >

RE: defaulting to a matcher when another one is not present

2002-10-07 Thread Carsten Ziegeler
Torsten Curdt wrote: > > This reminds me on the cocoon get-together at the cebit where > someone wanted > components _not_ to be inherited. > > I have to admit that I stumbled over the same question as Ovidiu > did lately. > > What happens (or should happen) if you have an unmatched uri > t

Re: defaulting to a matcher when another one is not present

2002-10-07 Thread Torsten Curdt
> > >2) I think it is more natural if a sub sitemap is invoked that it is > > > the sole responsibility of this sub sitemap to process the request. > > > > That's true if you consider each subsitemap to be a fully autonomous > > subapplication, but not if you consider the top-level sitemap to

RE: defaulting to a matcher when another one is not present

2002-10-07 Thread Robert Koberg
The common term for this in my neck of the woods is 'scope creep' > -Original Message- > From: Morrison, John [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 4:00 AM > To: '[EMAIL PROTECTED]' > Subject: RE: defaulting to a matc

RE: defaulting to a matcher when another one is not present

2002-10-07 Thread Morrison, John
> Flexability Syndrome. ie, doing things because you can, rather than because you should. J. === Information in this email and any attachments are confidential, and may not be copied or used by anyone other than the addressee,

RE: defaulting to a matcher when another one is not present

2002-10-07 Thread Morrison, John
> From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] > > From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] > > Sylvain Wallez wrote: > > > Carsten Ziegeler wrote: > > [...] > > > > > And sorry, I really think that this idea comes near to FS - > > but what do others think about this? > > S

RE: defaulting to a matcher when another one is not present

2002-10-07 Thread Piroumian Konstantin
> From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] > Sylvain Wallez wrote: > > Carsten Ziegeler wrote: [...] > > And sorry, I really think that this idea comes near to FS - > but what do others think about this? Sorry for a OT question, but what is FS? http://www.acronymfinder.com/af-query.

RE: defaulting to a matcher when another one is not present

2002-10-07 Thread Carsten Ziegeler
Sylvain Wallez wrote: > > Carsten Ziegeler wrote: > > >Currently I'm -0 but with a tendency to -1. > > > >Why? I see these reasons: > >1) This is an incompatible change - currently if nothing matches in the > > subsitemap, the error handler is invoked and people rely on this, so > > this w

Re: defaulting to a matcher when another one is not present

2002-10-07 Thread Sylvain Wallez
Carsten Ziegeler wrote: > > >>-Original Message- >>From: Ovidiu Predescu [mailto:[EMAIL PROTECTED]] >>Sent: Monday, October 07, 2002 10:59 AM >>To: [EMAIL PROTECTED] >>Subject: Re: defaulting to a matcher when another one is not present >> >

RE: defaulting to a matcher when another one is not present

2002-10-07 Thread Carsten Ziegeler
> -Original Message- > From: Ovidiu Predescu [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 10:59 AM > To: [EMAIL PROTECTED] > Subject: Re: defaulting to a matcher when another one is not present > > > On Sunday, October 6, 2002, at 01:28

Re: defaulting to a matcher when another one is not present

2002-10-07 Thread Ovidiu Predescu
On Sunday, October 6, 2002, at 01:28 AM, Sylvain Wallez wrote: > Ovidiu Predescu wrote: > >> I have the following problem. I want to write a > pattern="**.html"> matcher in the top-level sitemap, and have it >> invoked for most of the HTML page generation. However I'd like this >> rule to be o

Re: defaulting to a matcher when another one is not present

2002-10-06 Thread Sylvain Wallez
Ovidiu Predescu wrote: > I have the following problem. I want to write a pattern="**.html"> matcher in the top-level sitemap, and have it > invoked for most of the HTML page generation. However I'd like this > rule to be overwritten in sub-sitemaps, e.g. if a sub-sitemap > implements a rule