db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Engelbert <c.engelb...@u-form.de>
Subject Re: svn commit: r1024374 - /db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/SourceElement.java
Date Thu, 21 Oct 2010 07:48:14 GMT
Ah ok thanks for the explanation :)

Christoph

Am Donnerstag, den 21.10.2010, 09:09 +0200 schrieb Thomas Fox:

> > would a "return null" not work in this case? So you can prevent a lookup
> > on the null reference or do you think that null could be a possible key?
> 
> null is a possible key. If an xml like
> 
> <element>someText</element>
> 
> ie read by the generator, the someText is represented internally as
> attribute with key null.
> And to access the text from velocity, it must be possible to access the
> attribute with key null. This is what the extra method is for.
> 
>       Thomas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-dev-help@db.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message