Am Freitag, 4. November 2005 11:33 schrieb Krzysztof Kubacki:
When I do it this way context.Control_Panel.Database.mounted_database.manage_minimize() it minimizes main database but not mounted_database,
but when I do it this way context.REQUEST.RESPONSE.redirect('Control_Panel/Database/mounted_database/ manage_minimize') it works.
Why??? I have to use the first solution becouse I'm going to place more code after minimizing.
I believe something like container.Control_Panel.Database['mounted_storage'].manage_minimize() should to the trick; and would think that your version should throw an AttributeError. strange that it doesn't :-) Hope it helps, Sascha -- Gallileus - the power of knowledge Gallileus GmbH http://www.gallileus.info/ Pintschstraße 16 fon +49-(0)30-41 93 43 43 10249 Berlin fax +49-(0)30-41 93 43 45 Germany +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ AKTUELLER HINWEIS (November 2005) Lesen Sie bei Gallileus über aktuelle Forschungsergebnisse aus den Hochschulen: http://www.gallileus.info/gallileusnews/gInstitutionen/ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++