[Zope-dev] manage_tabs

Adrian Hungate ahungate@acucorp.com
Fri, 4 May 2001 05:42:34 -0700


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0D497.B455B7E0
Content-Type: text/plain;
	charset="iso-8859-1"

Could this be an "Internet Explorer failing to pass the AUTH info" problem?

It sounds as though you are getting access to the edit tab via Anonymous
permissions (Have you restricted access to the manage_main method using the
__permissions__ settings)? In that case, Zope will not show you the other
tabs because the Anonymous User is not allow to see them.

(Does it show that this one got me too???)

What version of which browser are you using?

Adrian...
--
Adrian Hungate
Manager, European I.S.
Acucorp UK Limited


-----Original Message-----
From: Magnus Heino (Rivermen) [mailto:magnus.heino@rivermen.se]
Sent: Friday, 04 May 2001 13:09
To: 'zope-dev@zope.org'
Subject: [Zope-dev] manage_tabs



Hi.

In my Zope product, I've got this;

 manage_options = SimpleItem.manage_options+(
        {'label':'Edit', 'action':'manage_main'},
    )

If I view the management sceen of this product, I get four tabs (Undo,
Ownership, Security and Edit).

But If I click on "Edit", all tabs but the edit tab is removed. Why?

My "Edit" dtml looks like this;

<dtml-var manage_page_header>
<dtml-var manage_tabs>
 
<p class="form-help">
This is the edit form.
</p>
 
<dtml-var manage_page_footer>

Thanks,

/Magnus

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

------_=_NextPart_001_01C0D497.B455B7E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: [Zope-dev] manage_tabs</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Could this be an &quot;Internet Explorer failing to =
pass the AUTH info&quot; problem?</FONT>
</P>

<P><FONT SIZE=3D2>It sounds as though you are getting access to the =
edit tab via Anonymous permissions (Have you restricted access to the =
manage_main method using the __permissions__ settings)? In that case, =
Zope will not show you the other tabs because the Anonymous User is not =
allow to see them.</FONT></P>

<P><FONT SIZE=3D2>(Does it show that this one got me too???)</FONT>
</P>

<P><FONT SIZE=3D2>What version of which browser are you using?</FONT>
</P>

<P><FONT SIZE=3D2>Adrian...</FONT>
<BR><FONT SIZE=3D2>--</FONT>
<BR><FONT SIZE=3D2>Adrian Hungate</FONT>
<BR><FONT SIZE=3D2>Manager, European I.S.</FONT>
<BR><FONT SIZE=3D2>Acucorp UK Limited</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Magnus Heino (Rivermen) [<A =
HREF=3D"mailto:magnus.heino@rivermen.se">mailto:magnus.heino@rivermen.se=
</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, 04 May 2001 13:09</FONT>
<BR><FONT SIZE=3D2>To: 'zope-dev@zope.org'</FONT>
<BR><FONT SIZE=3D2>Subject: [Zope-dev] manage_tabs</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>Hi.</FONT>
</P>

<P><FONT SIZE=3D2>In my Zope product, I've got this;</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;manage_options =3D =
SimpleItem.manage_options+(</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
{'label':'Edit', 'action':'manage_main'},</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; )</FONT>
</P>

<P><FONT SIZE=3D2>If I view the management sceen of this product, I get =
four tabs (Undo,</FONT>
<BR><FONT SIZE=3D2>Ownership, Security and Edit).</FONT>
</P>

<P><FONT SIZE=3D2>But If I click on &quot;Edit&quot;, all tabs but the =
edit tab is removed. Why?</FONT>
</P>

<P><FONT SIZE=3D2>My &quot;Edit&quot; dtml looks like this;</FONT>
</P>

<P><FONT SIZE=3D2>&lt;dtml-var manage_page_header&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;dtml-var manage_tabs&gt;</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>&lt;p class=3D&quot;form-help&quot;&gt;</FONT>
<BR><FONT SIZE=3D2>This is the edit form.</FONT>
<BR><FONT SIZE=3D2>&lt;/p&gt;</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>&lt;dtml-var manage_page_footer&gt;</FONT>
</P>

<P><FONT SIZE=3D2>Thanks,</FONT>
</P>

<P><FONT SIZE=3D2>/Magnus</FONT>
</P>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Zope-Dev maillist&nbsp; -&nbsp; =
Zope-Dev@zope.org</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope-dev" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope-dev</A></F=
ONT>
<BR><FONT SIZE=3D2>**&nbsp; No cross posts or HTML encoding!&nbsp; =
**</FONT>
<BR><FONT SIZE=3D2>(Related lists - </FONT>
<BR><FONT SIZE=3D2>&nbsp;<A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope-announce" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope-announce</=
A></FONT>
<BR><FONT SIZE=3D2>&nbsp;<A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope</A> =
)</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0D497.B455B7E0--