Hi Magnolians!
Ok, my Metadata-Import for images is working nicely, with one little problem
remaining:
I'm using a custom tree (image-catalogue), which is based on the DMS tree, and
uses the DMS repo.
After uploading a new zip file, there is a refresh of the underlying window.
My Problem is that after refresh the tree shown is the standard DMS tree,
rather than my custom tree.
I've spent hours, and I can't figure this one out (the admin-js and
TemplateMVCHandler stuff is so confusing!!).
Some pointers:
n If I use the "refresh" command from the right-click menu in my tree,
everything is refreshed correctly.
n If I call "document.location.reload()" on my tree (eg. using firebug),
everything is refreshed correctly.
n I see that the ZipUpload form contains a hidden field:
<input type="hidden" value="opener.document.location.reload();window.close();"
id="mgnlJsCallback" name="mgnlJsCallback">
-- where is this field coming from?? I can't find it in ZipUpload or any
of its parent classes? Is this field being used?
n After submitting the ZipUpload Dialog, how is the underlying window
refreshed? If the above mgnlJsCallback is used, then why is the tree not
refreshed correctly? Is there some additional logic in the DMS ZipUpload that I
haven't been able to find?
Thanks a lot for any pointers on this, it's driving me crazy!!
Regards from Vienna,
Richard
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------