Has anyone manage to implement DOM within a 'DOM with has_many' successfully?
Yeah, Nested DOMs have been supported for over a year now.
Silverstripe tips, tutorials, screencasts, and more. http://www.leftandmain.com
This doesnt work if the nest object contains has_many objects
Mu solution was to use ModelAdmin which seems to work well for what I was looking to achieve ( http://silverstripe.org/dataobjectmanager-module-forum/show/15188 )
When I add a nested DOM to an extended DataObject (using ModelAdmin), the DataObject tab for the DOM shows up when in add mode. Is there anyway of testing if I am in add mode so I can do a conditional add of the tab?
btw: This works as expected if I am not using DOM.
bumping this up!
Yeah, I usually just do:
// add DOM