Note that lineage is missing from assets created during www_add and give examples for assets that need to override www_edit/getEditTemplate.

This commit is contained in:
Colin Kuskie 2011-10-15 17:57:41 -07:00
parent eee4269fe2
commit 7bfcdd1d8c

View file

@ -307,7 +307,14 @@ www_add is now its own page, it is no longer handled by www_edit. www_addSave
is also its own page, it is no longer handled by www_addSave.
If you had previously overrode www_edit to provide a template, you must move
that code into an overridden getEditTemplate.
that code into an overridden getEditTemplate. See WebGUI::Asset::Event,
WebGUI::Asset::Post, WebGUI::Asset::Wobject::GalleryAlbum for examples.
Lineage
--------------------
Assets created for use during www_add do NOT have a lineage. Calling
getLineage on them will return assets from below the root asset, and not
the child. See WebGUI::Asset::Wobject::GalleryAlbum::getFileIds.
WebGUI::Shop::Vendor
====================