Hello,
I use virtual attribute access to provide access to my SQL database.
However, I want to use the Rack.newItem facility to create new records
in the database.
But it fails because in virtual mode, an item always exists.
This patch solves the problem, at least for me
--- Rack.py.orig
(URL:
http://www.zope.org/Members/michel/Projects/Interfaces/RestrictedCreation)
Restricted Creation of Objects
The problem - certain types of objects should not be added except in certain
places or with certain restrictions. For example, we may want to make sure
Laundry objects are only added i
Are there (or better yet, what are) any potential problems here? My gut
feeling was that it wouldn't work, but you can at the very least add objects
in instances of the ZClass - deleting and renaming don't work though.
--
Itamar S.T. [EMAIL PROTECTED]
Fingerprint = D365 7BE8 B81E 2B18 6534 02
Hi!
Where can i find S_I_M_P_L_E example of using document templates with
zope/python. I have this external method, wich return several variables from
object class. I want to embed to results in DTML page.
The method is called from Zope by HTML form with 3 input attributes. Right
now i have onl
Jarkko Veijalainen wrote:
>
> Hi!
>
> Where can i find S_I_M_P_L_E example of using document templates with
> zope/python. I have this external method, wich return several variables from
> object class. I want to embed to results in DTML page.
>
> The method is called from Zope by HTML form wit
Description: Zope/Python contract programmer. MTNI is a wireless media
startup in Atlanta, GA. We're seeking a freelance developer with experience
in Zope and Python to develop a messaging app. We offer wireless
software/hardware solutions to a potential market of nearly 10 million US
users/day.
Itamar Shtull-Trauring wrote:
> I propose a Restricted Creation Interface - when an ObjectManager constructs
> it's Add list in manage_main, it first checks with each addable class if
> it's instances can be added in this specific ObjectManager.
The place where this is needed most (IMHO) is for Z
Shane Hathaway wrote:
> The place where this is needed most (IMHO) is for ZClass factories. So
> there needs to be a way to create meta type filters through the Web.
Yes, but in Python products too, where you have Items that should only go in
specific ItemHolders. This is very common.
> On th
Hi,
i have a very important question. Is there a way to search in a
mysql-database with the ZCatalog.
Could i create a temporary file from a table and search it with the
ZCatalog.
If there are any Ideas please tell me.
Thanks, as
___
Zope-Dev maillis
Hi all --
surely I'm not the first to deal with this: I use 'isinstance()' a lot,
and 'issubclass()' occasionally, for run-time type-checking. This
breaks when using ZODB Persistent classes, or any other type of
ExtensionClass for that matter.
I see no use of 'issubclass()' in the Zope lib/pyth
According to Andrew Kuchling's and Moshe Zadka's "Python 2.0 what's new
list", isinstance() and issubclass() already works on
ExtensionClass-based stuff in Python 1.6. See
http://starship.python.net/crew/amk/python/writing/new-python/new-python
.html#SECTION00090
That said, as fo
Hi,
I wrote an external method from which I call a ZSQL-method, this runs fine
and returns the correct results, but when I look at the ZODB transactions,
I see that for each call of the method a transaction is recorded. Even
worse, when I make an error in my method, the folder from which I invoke
"Phillip J. Eby" wrote:
[snip]
> Peter Coad's design approach (which ZPatterns is heavily based on/biased
> towards) emphasizes four major layers of classes in an application:
>
> 1) User Interface (GUI, forms, etc.)
> 2) Problem Domain (the actual application purpose)
> 3) Data Management (objec
At 03:12 PM 7/5/00 -0500, Jimmie Houchin wrote:
>"Phillip J. Eby" wrote:
>[snip]
>> Peter Coad's design approach (which ZPatterns is heavily based on/biased
>> towards) emphasizes four major layers of classes in an application:
>>
>> 1) User Interface (GUI, forms, etc.)
>> 2) Problem Domain (the
Hi all --
looks like ExtensionClass doesn't recognize/implement the '__radd__()'
protocol. Speculation below; first, a demonstration. Normal case: a
regular class Number that knows how to add itself to other number-like
things:
class Number:
def __init__ (self, n):
self.n = n
OK, I am working on a CVS dump from yesterday of Zope2. I am upgrading
from 2.1.6. I did so by making new folder, copying products that I
actually used over, and building Zope, then bringing over the Data.fs.
Oh, and ZEO is there too (Damn that thing is cool!).
And now I have a very weird probl
I'm looking for a new job where I can continue to use Zope for website
management and applications development.
Contract or full-time.
Silicon Valley California or telecommute.
If you know of any openings, please let me know.
-- Thanks
-- Loren Stafford
[EMAIL PROTECTED]
http://www.d
At 12:01 PM 7/5/00 -0400, Shane Hathaway wrote:
>Itamar Shtull-Trauring wrote:
>> I propose a Restricted Creation Interface - when an ObjectManager
constructs
>> it's Add list in manage_main, it first checks with each addable class if
>> it's instances can be added in this specific ObjectManager.
At 01:58 PM 7/5/00 +0300, Itamar Shtull-Trauring wrote:
>Are there (or better yet, what are) any potential problems here? My gut
>feeling was that it wouldn't work, but you can at the very least add objects
>in instances of the ZClass - deleting and renaming don't work though.
When you say delet
At 11:14 AM 7/5/00 +0400, Jephte CLAIN wrote:
>Hello,
>
>I use virtual attribute access to provide access to my SQL database.
>However, I want to use the Rack.newItem facility to create new records
>in the database.
>But it fails because in virtual mode, an item always exists.
>This patch solves t
Subject carries the question. Anyone tried this yet, or have any
insights about it?
I am considering giving a go this week, thought I'd see if there are any
heads-up notices I should be aware of. :)
Back-to-the-migrations-to-ZEO-ly y'rs Bill
--
"Linux: the operating system with a CLUE...
Comm
It's on my list, but I'm not going to get to it for a week or so.
Anthony, building a MountRegistry...
>>> Bill Anderson wrote
>
> Subject carries the question. Anyone tried this yet, or have any
> insights about it?
>
> I am considering giving a go this week, thought I'd see if there are an
Thus spake Phillip J. Eby ([EMAIL PROTECTED]):
> >and when I ask one of my TableInfo instances for their footnote it
> >comes right out of MySQL! Cool. Now.. I can't seem to figure out how
> >to *change* the data in the database when the user 'edits' the
>
> Here's some more top-secret documenta
At 03:10 AM 7/6/00 +, Scott Parish wrote:
>
>Anyway, Under Zope 2.2, the 'Upon' property of a trigger doesn't have a list
>of 'event_kinds'. I think this is related to an earlier post where i
>complained about zope 2.2 not being able to get such values (for select
>types) from aquisition,
24 matches
Mail list logo