Welcome to Squishdot Websites Squishdot How-To
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main


Showing all postings to web-users
How-To Posted by on Thursday April 03, 05:52PM, 2003
from the dept.
I want to know how to show a web-user all the postings that are have been posted.

The problem is that the method that does that, "postingValues" is a protected method and therefore is not accessible to a web-user. Any idea?

<  |  >

 

Related Links

The Fine Print: The following comments are owned by whoever posted them.
( Reply )

Re: Showing all postings to web-users
by on Thursday April 10, 02:23PM, 2003











[ Reply to this ]
Re: Showing all postings to web-users
by on Tuesday November 11, 10:53AM, 2003

I found it the easiest way to simply alter the posting.py python-skript by inserting

security.declareProtected(View, publicPostingValues) def publicPostingValues(self): # """ return all replies """ return self.data_map(self.ids)

it does not harm and it helps because one is now able to use the tree-tag with puplicPostingValues as branches!

[ Reply to this ]
The Fine Print: The following comments are owned by whoever posted them.
( Reply )

Powered by Zope  Squishdot Powered
  "Any system that depends on reliability is unreliable." -- Nogg's Postulate
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 , ©2000-2002 .