cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Romayev <roma...@yahoo.com>
Subject Re: Using I18nTransformer without catalogue
Date Mon, 02 Jun 2003 19:01:00 GMT

--- 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.

-Alex

> 
> Regards,
>   Konstantin
> 
> >
> > Cheers,
> > -Alex
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail:
> cocoon-users-help@xml.apache.org
> >
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> cocoon-users-help@xml.apache.org
> 


---------------------------------------------------------------------
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