Re: VariableResolver in I18nTransformer

2005-09-25 Thread Joerg Heinicke
On 24.09.2005 09:05, Ralph Goers wrote: XMLResourceBundleFactory was modified recently to fix caching. I am currently using a locations that contain a custom protocol which internally derives the path based upon the website being accessed even though the uri is the same for all websites.

Re: VariableResolver in I18nTransformer

2005-09-25 Thread Ralph Goers
I believe it was item [2] that I suspected was going to be an issue for me. Mind you, I haven't tested the I18nTransformer in a while so I don't actually know if it causes me any problems. That, plus the way in which I am resolving catalogs is why I didn't mention it - I just assumed I'd

Re: VariableResolver in I18nTransformer

2005-09-25 Thread Ralph Goers
You know, we should proably embelish I18nTransformerTestCase to verify some of these things. Maybe I can do that in the next couple of days and see what happens. Ralph Joerg Heinicke wrote: I never really tested it if it works for our application. Jörg

Re: VariableResolver in I18nTransformer

2005-09-24 Thread Ralph Goers
Looking at the code it certainly doesn't look like it. XMLResourceBundleFactory uses a regular source resolver, not the variable source resolver. This is a problem for me as well. XMLResourceBundleFactory was modified recently to fix caching. I am currently using a locations that contain a

Re: VariableResolver in I18nTransformer

2005-09-24 Thread Mark Lundquist
in I18nTransformer itself — the name and location values are already processed through a VariableResolver before they are passed off to the bundle factory. So that should be working, whatever that means :-). I think I just don't understand the semantics of sitemap variables well enough to figure out why

VariableResolver in I18nTransformer

2005-09-23 Thread Mark Lundquist
Hi, I have a sitemap resource that calls an I18nTransformer. Within a catalog entry of the transformer configuration, can I reference a parameter of the resource, like catalogue id=whatever name=messages location={path} ?? thx, —ml—

Re: VariableResolver

2005-08-31 Thread Carsten Ziegeler
Sylvain Wallez wrote: That's a good point. Having to pass the service manager and object model around is a pain and may justify componentization. However, that component would be declared in cocoon.xconf (or even cocoon.roles) when it may need components defined locally in the current

Re: VariableResolver

2005-08-30 Thread Sylvain Wallez
Ralph Goers wrote: I'm a little confused. In treeprocessor we have class NOPVariableResolver class PreparedVariableResolver class VariableResolver class VariableResolverFactory In the portal block we have class DefaultVariableResolverFactory class

Re: VariableResolver

2005-08-30 Thread Carsten Ziegeler
Sylvain Wallez schrieb: Ralph Goers wrote: I'm a little confused. In treeprocessor we have class NOPVariableResolver class PreparedVariableResolver class VariableResolver class VariableResolverFactory In the portal block we have class

Re: VariableResolver

2005-08-30 Thread Sylvain Wallez
Carsten Ziegeler wrote: Sylvain Wallez schrieb: Ralph Goers wrote: I'm a little confused. In treeprocessor we have class NOPVariableResolver class PreparedVariableResolver class VariableResolver class VariableResolverFactory In the portal block we have class

Re: VariableResolver

2005-08-30 Thread Ralph Goers
If it is an older copy then what does moving the code from the portal to the core mean? Does the core already contain all the same functionality and the portal version should just be removed? I'll be happy to do it if I know what to do. Ralph Carsten Ziegeler wrote: Yepp, it's an older

Re: VariableResolver

2005-08-30 Thread Carsten Ziegeler
Sylvain Wallez wrote: Sure, it totally makes sense. Now I'm wondering if we really need this to be components. Will there ever be more than one implementation? The current implementation in the treeprocessor is not usable outside the treeprocessor (at least it wasn't at the time the portal

Re: VariableResolver

2005-08-30 Thread Ralph Goers
OK. It should be easy enough to test with the portal sample site. Ralph Carsten Ziegeler wrote: The core is the most recent version. The only thing that has to be done is remove the code from the portal and make the core version usable and use it then in the portal (or whereever). Carsten

Re: VariableResolver

2005-08-30 Thread Sylvain Wallez
Carsten Ziegeler wrote: Sylvain Wallez wrote: Sure, it totally makes sense. Now I'm wondering if we really need this to be components. Will there ever be more than one implementation? The current implementation in the treeprocessor is not usable outside the treeprocessor (at least

VariableResolver

2005-08-29 Thread Ralph Goers
I'm a little confused. In treeprocessor we have class NOPVariableResolver class PreparedVariableResolver class VariableResolver class VariableResolverFactory In the portal block we have class DefaultVariableResolverFactory class NOPVariableResolver class

RE: [BUG] NPE in VariableResolver

2004-05-07 Thread Carsten Ziegeler
Thanks! Carsten -Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 9:36 PM To: [EMAIL PROTECTED] Subject: Re: [BUG] NPE in VariableResolver Carsten Ziegeler wrote: I just tried some examples for the upcomming release and the input

RE: [BUG] NPE in VariableResolver

2004-05-07 Thread Carsten Ziegeler
Seems like a good change to me. Carsten -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jorg Heymans Sent: Thursday, May 06, 2004 11:20 PM To: [EMAIL PROTECTED] Subject: Re: [BUG] NPE in VariableResolver Coincidentally, i was just clicking through the HEAD

Re: [BUG] NPE in VariableResolver

2004-05-07 Thread Upayavira
] On Behalf Of Jorg Heymans Sent: Thursday, May 06, 2004 11:20 PM To: [EMAIL PROTECTED] Subject: Re: [BUG] NPE in VariableResolver Coincidentally, i was just clicking through the HEAD samples to see if there were any broken links i could (easily) fix. (see also http://issues.apache.org/bugzilla

[BUG] NPE in VariableResolver

2004-05-06 Thread Carsten Ziegeler
I just tried some examples for the upcomming release and the input module sample for baseLink http://localhost:/samples/modules/baselink.html throws an NPE in the variable resolver. Is this due to the variable resolver changes (nested variables)? Carsten Carsten Ziegeler Open Source

Re: [BUG] NPE in VariableResolver

2004-05-06 Thread Jorg Heymans
Coincidentally, i was just clicking through the HEAD samples to see if there were any broken links i could (easily) fix. (see also http://issues.apache.org/bugzilla/show_bug.cgi?id=28810) The baselink module sitemap should be patched to something more appropriate like inlined patch below.