[Zope] Upgrade python product from Zope2.1.6 to Zope2.3.0 problem

Petr Knapek knapek@knapek.pvt.net
21 Mar 2001 10:44:28 +0100


>>>>> On Tue, 20 Mar 2001 12:50:57 -0500 (EST), Shane Hathaway <shane@d=
igicool.com> said:

    SH> On 20 Mar 2001, Petr Knapek wrote:
    >> >>>>> On Tue, 20 Mar 2001 12:05:39 -0500 (EST), Shane Hathaway
    >> <shane@digicool.com> said:
    >>=20
    >> Shane,
    >>=20
    SH> Try it without the extra "self" argument, which is something
    SH> that HTMLFiles wanted but DTMLFiles do not.
    >>
    SH> return self.manage_main(REQUEST, manage_tabs_message=3Dmessage)
    >>  I have tried it but it remains same.  Please see my
    >> manage_options below, is it correct for Zope2.3.0 ?
    >>=20
    >> manage_options=3D( {'label':'Configure', 'action':'manage_main'},
    >> {'label':'Show Groups', 'action':'manage_showgroups'},
    >> {'label':'User Cache', 'action':'manage_usercache'},
    >> {'label':'Show log', 'action':'manage_showlog'},
    >> {'label':'Reinit', 'action':'manage_reinit'}, {'label':'Notes',
    >> 'action':'manage_readme'} )
    >>=20
    >> Now I can see also 'help' key in manage_options python products,
    >> is not the problem here? (I have no 'help')

    SH> It shouldn't matter.

    SH> I'm surprised that didn't work.  Your properties.dtml starts out
    SH> with <dtml-var manage_tabs>, right?

Yes, you are right.  After commenting it I am able to add my modified
LDAPAdapter product.  Is there any documentation how manage_tabs are now
working in 2.3.0 Zope version?

In other pthon products I can see that in dtml file which is used for
adding of product instance there is no <dtml-var manage_tabs>.  I can
see it in others only.  Is there any constraint for using of
manage_tabs?
=20

    SH> Shane

Petr

--=20
Petr Kn=E1pek
NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic
e-mail: mailto:petr.knapek@nextra.cz
tel:+420-5-43 554 150
FAX:+420-5-43 554 214