Il giorno mer, 04/01/2006 alle 19.07 -0500, Jim Fulton ha scritto:
> Did you have the problem with beta 2?
Sorry, I'm an idiot. Yesterday I didn't read the access log, so I didn't
notice that the problem was Firefox... The problem was due to a Firefox
extension (FasterFox) which I installed somet
On Thursday 05 January 2006 06:10, Marco Groppo wrote:
> Il giorno mer, 04/01/2006 alle 19.07 -0500, Jim Fulton ha scritto:
> > Did you have the problem with beta 2?
>
> Sorry, I'm an idiot. Yesterday I didn't read the access log, so I didn't
> notice that the problem was Firefox... The problem was
Łukasz Łakomy napisał(a):
Hi all
My use case:
Create content type 'Portlet' that could have TAL as its content and when
watched in browser TAL should be redered. My code is below.
class PortletView:
def renderText(self):
portlet = IPortlet(self.context)
format = portlet.form
On Wednesday 04 January 2006 07:55, Łukasz Łakomy wrote:
> Create content type 'Portlet' that could have TAL as its content and when
> watched in browser TAL should be redered. My code is below.
You really should not call this a portlet. A portlet is very well defined by
JSR 168. Note that the Zo
On Wednesday 04 January 2006 01:07, Alen Stanisic wrote:
> I think I am lacking in understanding of traversable, locatable concepts
> and if they can be of any relevance to non-persistent objects. Any
> explanation of this or pointers to documents I could read is much
> appreciated.
First of all,
from TAL.TALInterpreter import TALInterpreter
from Products.PageTemplates.Expressions import getEngine
from Products.PageTemplates.PageTemplate import PageTemplate
from cStringIO import StringIO
data = {
'test': 'Testing text',
}
Stephan Richter wrote:
On Wednesday 04 January 2006 07:55, Łukasz Łakomy wrote:
Create content type 'Portlet' that could have TAL as its content and when
watched in browser TAL should be redered. My code is below.
You really should not call this a portlet. A portlet is very well defin
I like the Eric3 python IDE. http://www.die-offenbachs.de/detlev/eric3.html
I've been using it for a while, mainly for file organization and its SVN
and Bicycle Repair Man integration. It claims support for unit testing
and debugging, but the setup for those seems to be more oriented toward
f
On Thursday 05 January 2006 08:28, Jean-Marc Orliaguet wrote:
> PS: note that "viewlets" are known outside the Zope3 world as being
> small tutorial movies:
> http://psptips.com/6/viewlets/
> http://www.pmwdc.com/skies/
> http://www.geek.com/tipstrix/qarbon/
> http://www.djdenham.com/Basic_Windows.
Marco Groppo wrote:
Il giorno mer, 04/01/2006 alle 19.07 -0500, Jim Fulton ha scritto:
Did you have the problem with beta 2?
Sorry, I'm an idiot. Yesterday I didn't read the access log, so I didn't
notice that the problem was Firefox... The problem was due to a Firefox
extension (FasterFox)
Stephan Richter wrote:
On Thursday 05 January 2006 08:28, Jean-Marc Orliaguet wrote:
PS: note that "viewlets" are known outside the Zope3 world as being
small tutorial movies:
http://psptips.com/6/viewlets/
http://www.pmwdc.com/skies/
http://www.geek.com/tipstrix/qarbon/
http://www.djdenham.
Jean-Marc Orliaguet wrote:
> Stephan Richter wrote:
>
>> On Wednesday 04 January 2006 07:55, Łukasz Łakomy wrote:
>>
>>
>>> Create content type 'Portlet' that could have TAL as its content and
>>> when
>>> watched in browser TAL should be redered. My code is below.
>>>
>>
>>
>> You really sho
Jeff Shell wrote:
> What about using zope.app.component.hooks.setSite? It sets the site on
> a zope.thread.local based object, and I believe most utility lookups
> fall back on that setting if context is not supplied.
All component look-ups *first* look at the closest site (which comes
from the th
On 1/4/06, Benji York <[EMAIL PROTECTED]> wrote:
> Jeff Shell wrote:
> > Viewlets are a new feature in Zope 3.2.
>
> They are? I don't recall it being so (and would prefer it not).
Why not? They're great! I've been using them in a new application I've
been developing against the 3.2 betas.
I try
Jeff Shell wrote:
On 1/4/06, Benji York <[EMAIL PROTECTED]> wrote:
Jeff Shell wrote:
Viewlets are a new feature in Zope 3.2.
They are? I don't recall it being so (and would prefer it not).
Why not? They're great!
It's not so much a value judgment as a combination of: there was no
prop
Jeff Shell wrote:
> What about using zope.app.component.hooks.setSite? It sets the site on
> a zope.thread.local based object, and I believe most utility lookups
> fall back on that setting if context is not supplied.
All component look-ups *first* look at the closest site (which comes
from the th
Hi Stephan,
Actually, my users don't have that role(permission?), because I got
the impression that having it would give them access to a number of
things I don't want them to see, such as the metadata and introspector
tabs. Is that strictly required for any kind of
renaming/copying/pasting? Is th
Il giorno gio, 05/01/2006 alle 09.01 -0500, Jim Fulton ha scritto:
> Of course, this doesn't explain the test failures or the "Shouldn't
> load state for ... when the connection is closed" errors.
I've reinstalled Zope and now the functional tests pass! And I can't
reproduce the other error ("sho
Marco Groppo wrote:
Il giorno gio, 05/01/2006 alle 09.01 -0500, Jim Fulton ha scritto:
Of course, this doesn't explain the test failures or the "Shouldn't
load state for ... when the connection is closed" errors.
I've reinstalled Zope and now the functional tests pass! And I can't
reproduce
Il giorno gio, 05/01/2006 alle 07.47 -0500, Stephan Richter ha scritto:
> Darn, this is a dangerous feature. Sigh.
The latest version doesn't enable it by default (I was using an old
version). However the feature can also be disabled server-side:
(from the FAQ)
+++
Prior to generating any prefet
Hi!
The differentiation of the 'contents' and 'add' attributes of
browser:containerViews seems weird.
To actually 'add' content the permission which is set for 'contents'
nescessarily has to be granted to the principal. To put more formal: not
permission('contents') => not permission('add')
All Pr
One option that you have is to protect the View object that you use to
do the renaming, unless you're using views that are provided by
someone/something else (the default Zope UI, etc). You can protect
your 'rename' view and inside of it use
'zope.security.proxy.removeSecurityProxy' to get access t
Hm, I think I have to put it even more excat:
A user excluded from 'contents' but included in 'add' can call an
IAdding view for the Interface in question. Even though the addMenuItems
are gone, the user can query the page by hand in the browser address
field. When he presses the add-button he is r
Hi!
The directive is not being processed consequently.
Sometimes it gets ignored.
The criterion for being ignored or not has nothing to do with absolute
or relative urls. The difference rather seems whether the view from
which an unspecific object-view is called uses the 'view' or the 'page'
sta
24 matches
Mail list logo