It turned out that the problem was the viewlet manager. It was using the
zope.viewlet.manager instead of the Five.viewlet.manager baseclasses. Once
I changed the viewlet manager it worked fine.
Kevin
I am getting a ForbiddenAttribute error on 'render' when I try to display
a viewlet in my
On Wed, Jan 07, 2009 at 01:28:24PM -, kevin gill wrote:
I am having a problem on my live site. The problem is todo with a
DataBase
connector object which ends up in an incorrect state:
This is the important part of the traceback.
File
/home/kevin/src/castingzone.tables/castingzone
Hi,
I am having a problem on my live site. The problem is todo with a DataBase
connector object which ends up in an incorrect state:
This is the important part of the traceback.
File
/home/kevin/src/castingzone.tables/castingzone/tables/person/extraaccount_db.py,
line 460, in IsValidUser
are going with SQL database only, have a look at lovey.zetup.
This provides a ZODB'less mechanims for building your site.
I hope this helps,
Kevin
Hi,
I currently have to integrate an SQL database (PostgreSQL, with PostGIS
extensions) into my Zope3 application.
I'd like to use SQLAlchemy to handle
the code that it looks up a registered adapter, but I don't
understand how to control this on a view instance basis.
Thanks
Kevin
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
and the schema field:
zope.component.adapts(
zope.interface.Interface,
z3c.form.interface.IFormLayer,
ViewClass,
LocalChoice,
z3c.form.interfaces.IWidget)
3. Put in the zcml
adapter ...
And it is picked up fine.
Thanks
Kevin
I want
with these changes.
I will be interested in seeing where you are going with formjs. I am
really using it to get the AjaxRequestHandler at the moment.
Thanks
Kevin
- Paul
On Tue, Jul 15, 2008 at 7:51 AM, kevin gill [EMAIL PROTECTED] wrote:
Hi,
I am integrating z3c.formjs to a new site
z3c.formjs.jsclientevent.caughtEvents. These cannot be pickled.
I tried both the PersisentSessionDataContainer and the RamSessionData
Container.
Does anyone have suggestions on how I might proceed with this?
Thanks,
Kevin
This is the tail of the exception
2008-07-15T15:31:38 ERROR SiteError rm.commit(self
own listings. That information
is stored on the relational database. I use a PrincipalRoleMap to map
owners to objects. In my environment the 'owner' has less privileges than
administrators so it is a bit different for the standard Zope concept of
an owner.
Regards,
Kevin
includeOverrides but that just gave a duplication error.
I tried registering a new adapter, but the original adapter was always used.
Thanks
Kevin
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
So, I am now thinking that I will have to have instructions in my
installation instructions that tell developers to edit the
'eggs-directory' line; correct? Also they will need to install
buildout
(or zopeproject) and create a project space before doing the checkout?
You can avoid storing
the
IDatabaseOpenedEvent and opening the database and getting the Application
object and the root local registry. However, the local utilities I
instantiate believe that they are in the global Registry.
There is also a problem deleting a site which registered itself with a
parent.
Thanks
Kevin
Thanks for the pointer, Stephen.
I have changed the tests from using TestRequest to using etestbrowser.
I also found that I was doing unit test things (placefulSetup) in
my functional tests (which cleared down the configurations setup via ZCML).
Thanks,
Kevin
On Tuesday 22 April 2008, kevin
to? :-)
Thanks,
Kevin
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
Thanks for that Jim,
The code does what I want. I will have a good look at it and respond on
zope-dev on Tuesday (I only work Tuesday, Wedensdays and Thurday).
Thanks
Kevin
Let's move this discussion to zope-dev.
On Apr 2, 2008, at 5:36 AM, kevin gill wrote:
Please check in the code
Please check in the code to the sandbox and I will have a look at it. The
coding looks straight-forward, but choosing how to work it into the
existing components.
I will look at the code and come back with questions.
Thanks
Kevin
On Apr 1, 2008, at 12:33 PM, kevin gill wrote:
During my
During my registration process I want to automatically login the user (in
Zope3).
I can see how to programatically logout a user using
ILogout().logout(request), but I don't see an equivalent for logging in.
I intend to use session cookies for tracking users.
Thanks
Kevin
Nabble provides a web forum bridge to the mailing lists. I use both
the mailing list and the forums, depending on which forum/computer
I'm using at the time. Here are the links:
http://www.nabble.com/Zope-f6706.html
http://www.nabble.com/Grok-f28342.html
We've also embedded the Grok-Nabble
The userschema package works in ways similar to what you are
describing, and demonstrates how to instantiate new interfaces:
http://agendaless.com/Members/tseaver/software/userschema/
___
Zope3-users mailing list
Zope3-users@zope.org
should I work around this problem?
- I can mark the view in advance
- I can render the subscriptions in the viewlet and thus
have javascript in the body of the html result
- I can give up and put the form in an IFrame
Any suggestions?
Thanks
Kevin
I am having a problem configuring a layout template. It works with
z3c.form.DisplayForm but not with z3c.form.EditForm.
formdemo works fine for me. It seems to use an identical approach.
Thanks, Kevin
---
Here is the details
In answer to my own question, the EditForm must also inherit from the
z3c.formuilayout.FormLayoutSupport class. This code now works:
from z3c.form import form
from z3c.formui import layout
class IndexForm(layout.FormLayoutSupport, form.EditForm):
pass
Thanks,
Kevin
I am
Is it possible to pass parameters from a skin page template to a Viewlet
Manager?
The requirement is to use the same Viewlet Manager in different places on
a page, and control the content based on configuration information.
For example:
Adverts are served on pages with unique slot information
time to review the tutorial I would appreciate any feedback,
http://wiki.zope.org/zope3/HowDoIConfigureSecurityInARelationalDatabase
The SQLScipt Tutorial is at:
http://wiki.zope.org/zope3/HowDoIUseSQLScript
Thanks,
Kevin
___
Zope3-users
style as well as
the content. This is my first attempt to add to the documentation body for
Zope.
Thanks,
Kevin
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
.
If you're interested in responding but have any questions, feel free to
respond to me off of the list. If I shouldn't post these here anymore
- please feel free to flame me and I won't do it again :-)
-Kevin
p.s. Don't hate me for cross posting ways to make money doing cool
things like working
it correctly,
recursively touching all of my objects.
Kevin Smith
Markus Kemmerling wrote:
Am 16.09.2007 um 21:00 schrieb [EMAIL PROTECTED]:
Is there away to prevent the catalog from auto-indexing upon creation
of the catalog?
Why would you want to do this on the catalog level?
You can
Is there away to prevent the catalog from auto-indexing upon creation
of the catalog?
Thanks,
Kevin Smith
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
Further to my last email, it appears that my error is using the
FoundPrincipalFactory. I changed the code to use the getPrincipal method
of the PAU and it works fine.
pau = getUtility(IAuthentication)
principal = pau.getPrincipal(principal_id)
Thanks
Kevin
I am following
? Would it be easier to
replace the InternalPrincipal with a content object which contains my
new data? If I do that can I access that data via the standard
principal machinery?
Thanks in advance
Kevin Gill
30 matches
Mail list logo