On Thu, 2007-05-24 at 14:17 +0200, Andreas Hartmann wrote:
> Thorsten Scherler schrieb:
> > Hi all, 
> > 
> > I have a problem with the PublicationConfiguration.java:
> > (around line 180)
> > ...
> >   Configuration proxyConfig = config.getChild(ELEMENT_PROXIES);
> >   if (proxyConfig != null) {
> > ...
> > 
> > In my publication.xml I commented the <proxies> block so should
> > proxyConfig==null, or?
> > 
> > However debugging the class I get:
> > publication::<no
> > value>:@file:/home/thorsten/src/apache/lenya-1.4.x/build/lenya/webapp/lenya/pubs/default/config/publication.xml:21:70
> > which is not null.
> 
> IIRC there are two getChild() methods:
> 
> getChild(String) - create if it doesn't exist
> getChild(String, false) - return null if it doesn't exist

Cheers dude, air crossed.

getChild(String, String2) is the method and returns Strings2 if not
found.

Thanks for your quick response.

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to