[Helma-user] Adding objects to generic object reference in onPersist()

Joshua Paine joshua at papercrown.org
Fri Sep 7 14:11:06 CEST 2007


Anton Pirker wrote:
>>   var venue = new Venue("Supervenue");
>>   var ch = new Change(u);
>>   venue.changes.add(ch);

This is probably a thread hijack, but what are you passing to these 
constructors and what does it do? I tried writing my own constructors 
before and wasn't able to do it in a way that allowed the constructed 
object to keep its HopObject nature. (Which consequently meant that the 
object would not be stored, which is the only plausible connection with 
your problem.)


More information about the Helma-user mailing list