cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: Using I18nTransformer without catalogue
Date Tue, 03 Jun 2003 06:29:39 GMT
From: "Alex Romayev" <romayev@yahoo.com>
> --- Konstantin Piroumian <kpiroumian@apache.org> wrote:
> > From: "Alex Romayev" <romayev@yahoo.com>
> >
> > > Hi,
> > >
> > > Is is actually possible to use I18nTransformer
> > without
> > > having to specify the catalogue-name and
> > > catalogue-location parameters?
> >
> > AFAIK, not yet, because of this lines in
> > I18nTransformer code:
> >
> > 893:     public void configure(Configuration conf)
> > throws
> > ConfigurationException {
> > 894:        if (factory == null) {
> > 895:            throw new
> > ConfigurationException("BundleFactory component is
> > not found.");
> > 896:        }
> >
> > you can try to remove this check and add other
> > checks to avoid NPE.
> >
> > >
> > > Why? Because I'm only using i18n:when and
> > i18n:date
> > > tags.  At the moment I'm having to create the
> > "dummy"
> > > message files.
> >
> > Yes, I see. If the above method works then please
> > post a patch to Bugzilla.
>
> Will do.  What's the process, do I patch entire file?
> -- I've never done this before.

It's quite simple. Make your modifications, then run this from your CVS
root:
>cvs diff -u > diff.txt

then post this patch thru Bugzilla.

Details can be found here:
http://cocoon.apache.org/2.1/howto/howto-patch.html
http://cocoon.apache.org/2.1/howto/howto-bugzilla.html

-- Konstantin


>
> -Alex
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message