Hello!
I develop Zope3 wrapper for SQLObject (sqlos-alternative).
Features:
1. you can make multi-level containers tree: ZODB-Folder->SQL
Container->SQL Container ...-> SQL Item
2. zsqlmap use DA-wrapper
Hello!
My content object A has attributes 'cost' & 'tax' - Decimal (from
decimal). I try: A.cost + A.tax ---> security error '+' method for
Decimal-class. I solve problem by 'zope.proxy.removeAllProxies' , but i
think it's b
В Сбт, 04/02/2006 в 21:01 +0100, Jean-Marc Orliaguet пишет:
>
> David Johnson wrote:
>
> >>>I have created a ZPT Page which I have no trouble access
Do you register the 'centershock'skin?
Write this part of zcml-code, please.
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
В Птн, 10/02/2006 в 14:22 +0100, Florian Lindner пишет:
> Am Freitag, 10. Februar 2006 14:05 schrieb Garanin Michael:
> > Do you register the 'centershock'skin?
> > Write this part of zcml-code, please.
>
> Yes, there are a number of page directives that use
I simulate this for Buddy from buddydemo (see attached) ==> it is normal
work for Buddy-object!
I think you make mistakes:
1) __init__ for 'view' always get 3-parameters (self, context, request)
2) getData must return dictionary.
http://namespaces.zope.org/browser";
xmlns:zope="http://
;browser:form').
В Птн, 10/02/2006 в 15:34 +0100, Florian Lindner пишет:
> Am Freitag, 10. Februar 2006 15:18 schrieb Garanin Michael:
> > I simulate this for Buddy from buddydemo (see attached) ==> it is normal
> > work for Buddy-object!
> >
> > I think you
В Птн, 10/02/2006 в 17:18 +0300, Garanin Michael пишет:
> I simulate this for Buddy from buddydemo (see attached) ==> it is normal
> work for Buddy-object!
for work my example don't forget insert
"""
"""
to - tag.
I think 'browser:form' will be 'deprecated'.
Try use 'zope.formlib' for new automatic-generated forms. It's easy and
more undestandable and more flexibility.
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-u
В Птн, 10/02/2006 в 17:47 +0100, Florian Lindner пишет:
> Am Freitag, 10. Februar 2006 15:55 schrieb Garanin Michael:
> > I think 'browser:form' will be 'deprecated'.
> > Try use 'zope.formlib' for new automatic-generated forms. It's easy and
&g
> I've played with zope.formlib before that. I didn't manage to generate a
> entire form, just the statemenets were generated, without any
> headers or anything like that. So I need to add them manually with
> python code or a template. Can you tell me how I can generate a form.
> Basically t
> File "/home/florian/Zope3/src/zope/schema/_bootstrapfields.py", line 171,
> in
> get
> return getattr(object, self.__name__)
> ForbiddenAttribute: ('blablubb', object at 0xb757a46c>)
>
That is problem? You object don't have '__name__' attribute.
See 'buddydemo.Buddy' please.
There ar
Announcement zsqlmap-project:
zsqlmap - it's Zope3-wrapper for SQLObject. i borrow idea from sqlos
(http://codespeak.net/z3/sqlos) and add features.
Homepage:
https://code.keysolutions.ru/trac/zsqlmap/
Enjoy.
___
Zope3-users mailing list
Zope3-users@zo
Difference beetween AddView and EndView
1) for AddView: 'self.context' is view (name '+')
2) for EditView : 'self.context' is content-object
I think this is 'standart' behavior. Use 'zope.formlib' for advanced
customization your forms.
В Птн, 17/02/2006 в 13:42 -0500, Shaun Cutts пишет:
> Ok,
>
В Птн, 17/02/2006 в 17:02 -0500, Shaun Cutts пишет:
> Ok --
>
> Thanks Gary and Michael.
>
> I've defined "changed" in my mixin, and it works:
>
> def changed( self ):
> self.request.response.redirect(self.nextURL())
>
> And I can still use the same mixin to do redirect for both ed
Where are exists 'agreement about standart views'?
I think it's need for development components for site.
Example of my problem:
I have two 3th-party components 'Forum' and 'News'. And i want easy
insert 'Last Forums Items'-box and 'Last News'-box into left column of
my site pages. I think authors
e.zcml:
>
> name="tfws_i18ninfo"
> for="*"
> manager="zope.app.boston.ILeft"
> permission="zope.Public"
> class=".browser.I18nInfoViewlet"
> template="viewlet.pt"
> layer="tfws
Sorry, i think i mistake in my question.
I only want offer rule for develop components: if you develop component
for use in web-sites, then develop few 'slot-box views' for easy insert
into sites. 'slot-box views' it's little box with standart zope3-css
(div.box etc.)
Example:
1) I develop 'NewsM
I mistake in my 'stadart views' post. My question is transformed.
'Boston' layer has 'standart' viewlet managers (IHead, ICSS, ILeft,
etc.). But 'Boston' layer it's layer for ZMI, and he not include
right-side slot.
Question: Where layer for web-site (not ZMI)? I offer create
'z3site'-layer and de
I very want modified layout ('skin_macros') of my site throw web.
How i can do it?
I try create 'PageFolder'-utility but after create 'skin_macros'-ZPT my
site down & crach (is it bug?).
Thanks.
___
Zope3-users mailing list
Zope3-users@zope.org
http://
Hello!
I see url ' http://www.zope3.org:8080/++skin++tracker/tracker/49' in
'bugtracker/TODO.txt'.
But 'zope3.org' - it's television company site. Why?
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
Hello!
I publish simple theme-engine for Zope3-sites. I use it for customize
GUI(and ZMI) of Zope3-sites through browser. It's dynamics skin and
local utitlity for theme storage.
Features:
1) you can change GUI of web-site (and ZMI) through web (on fly,
without restart server, and without Zope3-
В Сбт, 18/03/2006 в 00:22 +, Martin Aspeli пишет:
> On Fri, 17 Mar 2006 20:37:04 -0000, Garanin Michael
> <[EMAIL PROTECTED]> wrote:
>
> > Hello!
> > I publish simple theme-engine for Zope3-sites. I use it for customize
> > GUI(and ZMI) of Zope3-sites throug
В Сбт, 18/03/2006 в 00:22 +, Martin Aspeli пишет:
> On Fri, 17 Mar 2006 20:37:04 -0000, Garanin Michael
> <[EMAIL PROTECTED]> wrote:
>
> > Hello!
> > I publish simple theme-engine for Zope3-sites. I use it for customize
> > GUI(and ZMI) of Zope3-sites throug
Hello!
I have not empty Folder on computer. How can i import Folder to other
computer? Where is analog of Zope2 import\export (zexp)?
Thanks!
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
> >
> Hi,
> I'm getting this error.
> I guess your product uses boston app.
> is this dependent on http://svn.zope.org/Zope3/branches/roger-bostonskin/ ?
>
>
Sorry, i use Zope3-trunk-version. I think boston-skin include to
release...
For solve problem you can remove "zope.app.boston.boston" fr
В Втр, 21/03/2006 в 19:21 +0100, Lorenzo Gil Sanchez пишет:
> Just for the record, the following implementation works:
>
I think i known.
Simple experiment for second implementation: try add simple
Field-attribute to IMyContent and you get error again ;-)
For more details about error see:
http:
> Hi,
> I'm getting this error.
>
> I guess your product uses boston app.
> is this dependent on http://svn.zope.org/Zope3/branches/roger-bostonskin/ ?
>
>
I make new release 0.02:
- add viewlet managers: IHead, ICSS, IJavaScript
- remove 'zop.app.boston' dependency
- remove 'create demo t
Hello!
In new branch zsqlmap-project i develop light plugable ORM for
Zope3(only!).
It's NOT wrapper for sqlobject, but i use sqlobject naming style.
Supported: StringCol and other; ForeignKey & MulitpleJoin; AND\OR
\BETWEEN\...\LIKE-sql conditions for select\selectBy;
Now exist two orm-adapters
Hello!
I use 'zope.thread.local', but Python2.4 has 'threading.local'-class
from Jim Fulton. Where diff?
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
Hello!
I use Zope3-trunk (with 'Twisted'-instance). I want use
'thread.get_ident' for identify requests (and use with 'zope.thread'),
but 'thread.get_ident' always return one value and 'zope.thread' return
always one result. Why? How i can do 'identify' requests?
With ZServer i use 'get_ident'&'zo
Hello!
I try run "svn export svn://svn.zope.org/repos/main/Zope3/trunk Zope3"
but i don't get few packages: transactions, twisted etc. How i can do
get full 'trunk-version' without '.svn' (i have disk quote in my
hosting)?
Thanks!
___
Zope3-users mailin
В Вск, 07/05/2006 в 15:46 +0400, Dmitry Vasiliev пишет:
> Garanin Michael wrote:
> > I try run "svn export svn://svn.zope.org/repos/main/Zope3/trunk Zope3"
> > but i don't get few packages: transactions, twisted etc. How i can do
> > get full 'trunk-version
В Вск, 07/05/2006 в 19:44 +0400, Garanin Michael пишет:
> svn export svn://svn.zope.org/repos/main/Zope3/trunk Zope3
sorry. it's my mistake.
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
В Пнд, 29/05/2006 в 20:26 +0200, Achim Domma пишет:
> Hi,
>
> I have implemented ArticleFolder and Article like this:
>
>
> class Article(Persistent,Contained):
> implements(IArticle)
> title=u''
> body=u''
>
> class ArticleFolder(Folder):
> implements(IArticleFolder)
>
>
В Вск, 19/03/2006 в 21:57 +0300, Garanin Michael пишет:
> Hello!
> I have not empty Folder on computer. How can i import Folder to other
> computer? Where is analog of Zope2 import\export (zexp)?
> Thanks!
>
How i can make backup
> />
> name="ViewProject.html"
> permission="zope.Public"
> template="projectview.pt"
> for="finance.project.Project"
try:
for="finance.interfaces.IProject"
> menu="zmi_views" title="ViewI
В Вск, 27/08/2006 в 05:02 -0500, David Johnson пишет:
> Good morning. I’ve built and application for Zope 3 and it seems to
> run fairly slow (the logs show 2-5 seconds for a single page load).
> The graphic usage is relatively low (I’ve tested the same html file in
> PHP and the speed is 0.10-0.20
Hello!
I want use zope.sendmail.
There are "pollingInterval"-attribute in "IMailQueueProcessor" but i
not find his in implementations (grep -r 'pollingInterval' . => only
interfaces.py).
But i find hardcode "time.sleep(3) " in delivery.py.
Q: it's bug?
___
FB wrote:
Hi,
is there any reason why a registered utility which is persistently stored
inside the site
manager is never found via zapi.getUtility(IMyInterface) ?
More information:
I wrote a package ( fb ) containing some components making the developer's life
easier. The package
provides a
FB wrote:
On Tue, Dec 12, 2006 at 04:42:56PM +0300, Garanin Michael wrote:
traceback, please.
Hmm ... how? It just doesn't return the utility as expected (it returns
None). There is no error shown in any way.
from APIDOC:
"""
* *|getUtility(interface, n
FB wrote:
Hi,
On Tue, Dec 12, 2006 at 12:39:37PM -0500, Benji York wrote:
Tom Gross wrote:
you are trying to lookup the utility with the name None. If you don't specify a name when registering the
utility,
omit the second parameter: zapi.getUtility(IInitIndicator)
In other
Stefan Krumbiegel (Galileo Press) wrote:
3.3 Also there is 'zsqlmap: Zope3 wrapper for SQLObject'
(http://www.zope.org/Members/garanin/zsqlmap). This is not really a
solution for us because the version number is 0.01b and the author says:
'NOTE: i tested only postgres.' Not really a capable prod
Shailesh Kumar wrote:
Hi,
Is it possible to control the default page for a particular object
based on the roles/permissions that a user has?
The browser:defaultPage directive as such doesn't support this.
Will I have to write a custom traverser or something like that for this?
Thanx in a
Christophe Combelles wrote:
.
I want to define objects that represent Companies.
A company can be either a client, or a provider, or both,
or in the future it could be of another type.
When the user creates a company, it must choose "client", "provider",
or both.
The choice would assign a
Christophe Combelles wrote:
Christophe Combelles a écrit :
Hi,
I'm playing again with the notion of categories of objects.
I have two main goals:
-
1) I must let the user choose the category of an object added to the
zodb. For this, I must be able to retrieve the list of c
Douglas Douglas wrote:
Hi everyone.
I've been fighting with this for a while now. So I mail the list for a
suggestion.
I have a `Variable` class wich I subclass from OOBTree, because I need a
dictionary with the min, max options that OOBTree methods give. My object is
supposed to store datetime
Hello!
How i can get IRequest in my event handler (i has only context)?
Thanks!
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
48 matches
Mail list logo