Let's take this simple example
Mainly photo albums with photos in them...

Classes.csv :
"Class","Attribute","Type","Copy","IsRequired","Min","Max","Extras"
"Album",,,,,,,
,"name","string",,1,,50,"isUnique"
,"photos","list of Photo",,,,,"onDeleteSelf='cascade'"
,,,,,,,
"Photo",,,,,,,
,"fileID","string",,1,,50,"isUnique"
,"album","Album",,1,,,

Setting is with AccessorStyle : properties

if "a" is an album and "p" a photo, I get different behavior if I do a
a.addToPhotos(p) or a p.album = a.
In the first case, p is immediatly added to a.photos but it is not in
the second case.
Of course, in both cases, if I reload the objects from the database, I
can see p in a.photos...

Looks like if a call to p.album is not updating the album's photos list ?...

(using MK 0.9.1)


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to