[Zope-dev] manage_tabs

2001-05-04 Thread Magnus Heino (Rivermen)


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  -  [EMAIL PROTECTED]
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 )



RE: [Zope-dev] manage_tabs

2001-05-04 Thread Adrian Hungate
Title: RE: [Zope-dev] manage_tabs





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:[EMAIL PROTECTED]]
Sent: Friday, 04 May 2001 13:09
To: '[EMAIL PROTECTED]'
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 - [EMAIL PROTECTED]
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 )





SV: [Zope-dev] manage_tabs

2001-05-04 Thread Magnus Heino (Rivermen)
Title: RE: [Zope-dev] manage_tabs



Well, 
right now I'm doing it like this...

security = 
ClassSecurityInfo()

security.declarePublic('manage_editForm')manage_editForm = 
DTMLFile('dtml/editForm', 
globals())security.declarePublic('manage_main')manage_main = 
manage_editForm



Browser doesn't change anything.

/Magnus



  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:[EMAIL PROTECTED]] 
  Sent: Friday, 04 May 2001 13:09 To: 
  '[EMAIL PROTECTED]' 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 - [EMAIL PROTECTED] 
  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 
  )