Hi,
I'd like to develop a little Zope3 package which I also want to use with a
recent Zope2/Plone release.
Is this possible? If yes, what do I have to do to be compatible?
Best Regards,
Hermann
--
[EMAIL PROTECTED]
GPG key ID: 299893C7 (on keyservers)
FP: 0124 2584 8809 EF2A DBF9 4902 64B4
Am Samstag, 31. März 2007 00:32 schrieb Rich C:
Hello all,
I've just started using Zope 3 and am having some
difficulty finding examples on a good way to access a
MySQL database. For the moment, I'd just like to be
able to read from the database and display it in a web
page with decent
Am Samstag, 7. April 2007 18:06 schrieb Christophe Combelles:
Hello,
I have a regular content object which uses the formlib for its edit view.
Nothing special, just like a Recipe.
But I want this object to only reside in the Site Manager, because it will
be used as a configurable local
Am Samstag, 7. April 2007 18:43 schrieb Christophe Combelles:
Jürgen Kartnaller a écrit :
Christophe Combelles wrote:
Hello,
I have a regular content object which uses the formlib for its edit
view. Nothing special, just like a Recipe.
But I want this object to only reside in the Site
Am Donnerstag, 12. April 2007 17:22 schrieb Christian Theune:
Hi,
I didn't find anything in the documentation or google on this:
I want to define an interface like:
class IMySchema(zope.interface.Interface):
pass
Later, I want to use ore.alchemist which currently is able to take a
Am Freitag, 13. April 2007 20:27 schrieb Kapil Thangavelu:
i would suggest some alternatives approaches to consider first.
potentially this would be easier going the other way around with zs2sa,
and generating the mapper from there, you don't need to annotations as
well since the zope schemas
Am Freitag, 13. April 2007 20:33 schrieb Kapil Thangavelu:
On Fri, 13 Apr 2007 02:36:07 -0400, Hermann Himmelbauer [EMAIL PROTECTED]
wrote:
Am Donnerstag, 12. April 2007 17:22 schrieb Christian Theune:
Hi,
I didn't find anything in the documentation or google on this:
I want
Hi,
I wonder if it's possible to define attributes in a schema that reference
other interfaces. For instance, I have a schema for a car and another one for
a wheel and what I want to do is something like that:
class IWheel(Interface):
type = TextLine()
class ICar(Interface):
Am Mittwoch, 18. April 2007 23:24 schrieb Darryl Cousins:
Hi,
On Wed, 2007-04-18 at 09:21 -0700, Martin Aspeli wrote:
Hermann Himmelbauer wrote:
Hi,
I wonder if it's possible to define attributes in a schema that
reference other interfaces. For instance, I have a schema for a car
Am Donnerstag, 19. April 2007 17:06 schrieb Sascha Ottolski:
Am Donnerstag 19 April 2007 schrieb Hermann Himmelbauer:
Tried it out and it seems to work for Objects() in the schema.
However, for Lists(value_type=Object()), I get permission problems:
not a real answer, but another hint
Hi,
As already mentioned before, I use interfaces that contain lists of other
interfaces via the following syntax:
emails = List(value_type=Object(schema=IEmail))
In my formlib-based class, I have use the following, so that the widgets are
displayed correctly:
email_widget =
Am Donnerstag, 26. April 2007 18:50 schrieb Rupert Redington:
Hermann Himmelbauer wrote:
Hi,
As already mentioned before, I use interfaces that contain lists of other
interfaces via the following syntax:
emails = List(value_type=Object(schema=IEmail))
In my formlib-based class, I
Am Donnerstag, 3. Mai 2007 08:57 schrieb Darryl Cousins:
Hi,
On Wed, 2007-05-02 at 15:07 +0200, Hermann Himmelbauer wrote:
Hi,
I'd like to know how to arrange (e.g. group) widgets in a form with
formlib.
One way would be to create a custom template file, where each widget is
placed
Am Donnerstag, 10. Mai 2007 18:13 schrieb David Pratt:
Hi. Has anyone got a bit of a blueprint for a remote authentication in
zope 3. I wish to authenticate on a z3 site (site 1) using credentials
stored on a different z3 site (site 2) over the Internet (otherwise
would likely use LDAP). I do
Hi,
I have to write an Authenticator Plugin for my application. My login/pass data
is stored in a relational database, which I access via zsqlalchemy.
I have several objects, which are secured by certain permissions. Moreover I
granted permissions to several roles, which I also defined.
My
Am Donnerstag, 31. Mai 2007 08:09 schrieb Maciej Wisniowski:
It would be very interesting to see RDBMS interaction. Formlib for
example is not trivial to use with RDBMS especially because of a lack
of documentation and because everything seems to be written with ZODB
objects in mind.
Am Donnerstag, 31. Mai 2007 10:16 schrieb Stephan Richter:
On Thursday 31 May 2007 03:48, Hermann Himmelbauer wrote:
Anyway, in my case a decent ORM-integration with Zope3 forms is still a
key issue to me.
If you provide me with a simple hello world-like example of the ORM stuff
you
Hi,
I have the problem here that I have to configure several classes, which I
currently do via zope's zope:class directive, such as:
class class=.foo.f1
require
permission = zope.View
interface=.interfaces.If1
/
require
permission=zope.ManageContent
set_schema=.interfaces.IEmail
/
Hi,
During development and especially refactoring, I'm often confronted with
cleaning up import statements.
Missing imports are reported by Python, however, unneeded imports are not. I
don't know if unneded imports are a performance issue, nevertheless it
probably makes sense to clean them up
Hi,
I've read the doctests of z3c.forms and have to say that the package is really
impressive. Many things look a lot cleaner and more customizeable than
formlib. Thanks!
However, what I don't know is how to read/write values of multiple widgets
into one context attribute. A common example of
Hi,
I'm currently testing z3c.form in my project, however I could not get it
running until I found out that the request object must provide IFormLayer.
I temporarily solved this through a dirty hack in the form.py file
(alsoProvides(self.request, IFormLayer)), but I'd rather like to have a
Am Freitag, 15. Juni 2007 19:52 schrieb gnosis:
I've been trying out the new z3c form package and like what I see. I am
having problems getting a subform in an AddForm though. The subform.txt
covers EditForms where you have a context object to work on, in an AddForm
the context is the
Am Montag, 18. Juni 2007 13:36 schrieb Brian Sutherland:
On Mon, Jun 18, 2007 at 07:57:10PM +1000, John Maddison wrote:
Hi all,
I've just started playing around with using z3c.layer to create
applications that don't use the ZMI at all. Everything is pretty
simple so far, except for one
Hi,
Is there a way to assign a skin/layer to a specific site? In my case I'd like
to have the rotterdam skin for the root folder, for root['mysite1'], I'd like
to have MySkin1, and for root['mysite2'] MySkin2.
Moreover I do not want to have the ++skin++ directive in the URL.
The only way I
Am Mittwoch, 20. Juni 2007 00:24 schrieb Stephan Richter:
On Friday 15 June 2007 12:10, Hermann Himmelbauer wrote:
So, at first, what's the idea with this IFormLayer? Why does any request
to provide this interface? How can I tell Zope that all requests
implement this interface
Hi,
It seems that the z3c.formdemo examples are based on pagelets, as they seem to
perfectly integrate with z3c.form. Therefore I had a look at it and moreover
at z3c.layer.pagelet, which is a minimal skin for a pagelet based
application.
What I don't fully understand is if a pagelet-based
Am Dienstag, 26. Juni 2007 12:43 schrieb Arne Nordmann:
Hi,
I tried to create my own skin for a website of mine. I used Phillip's
book (2nd version) and tried to do everything analog (just different
names and a slightly different file structure).
If I call a test view (registered for
Hi,
I wonder if there's a package that extends Zope's schemas and widgets as Zope
covers only basic ones.
There are several missing schemas that derive from a TextLine but have custom
validation methods, e.g. for URLs, for an email address etc. Moreover there
are several widgets missing, e.g.
Am Mittwoch, 4. Juli 2007 00:33 schrieb Matt Bowen:
That was not at all a silly question! That got me a little closer -- I am
new enough not to have understood that i needed the ++skin++. Now, instead
of a 404 page, I get the following when I try to display my object:
127.0.0.1 - -
Hi,
After playing around with subforms, I think some parts could be more implicit.
What I don't like so much is that there's quite some boilerplate code which
is not easily understandable for a newbie, moreover the explicit code is also
hard to understand (at least for me) unless one does have
Am Freitag, 6. Juli 2007 03:14 schrieb Matt Bowen:
Stephan and Hermann,
maximum recursion depth exceeded
That is a good hint, so you're recursively calling something.
/opt/zope/zope-3.4.0a1
/lib/python/zope/tal/talinterpreter.py(379)do_startEndTag()
- self.do_startTag(stuff, self.endsep,
Am Freitag, 6. Juli 2007 16:29 schrieb Mikael Moutakis:
Hello
I wrote a feed aggregator using the module FeedParser. I stored the RSS
feed url in a persistant content component and retrieved the feed data in
the view class. But I thought that I should move the feed data into the
content
Hi,
I wonder what happens with the field description during widget creation - it
seems that it is currently not regarded. However, in forms.txt, a widget
attribute called hint is mentioned (line 238), which seems not to be
available.
I assume that the field description should be converted to
Hi,
I extended the z3c.form package a little bit by form snippets, which eases the
development of custom form templates. Widget Snippets are a way to
automatically surround widget code by custom HTML code, e.g. by error
handling, a label etc.
Snippets can be accessed over a sub-object of the
Am Freitag, 13. Juli 2007 16:08 schrieb Stephan Richter:
On Wednesday 11 July 2007 12:14, Hermann Himmelbauer wrote:
Please tell me what you think, if you like it, perhaps it could be
included in z3c.form?
I have the same question as Roger.
Hmmm, I missed that one, I think...
What do
Am Freitag, 13. Juli 2007 16:33 schrieb Stephan Richter:
On Thursday 05 July 2007 04:54, Hermann Himmelbauer wrote:
My problem is that when requests are marked with IPageletBrowserLayer,
there are no error messages, no 404's, nothing. In case of a zope error,
the browser displays Traversal
Am Montag, 16. Juli 2007 22:44 schrieb Stephan Richter:
On Monday 16 July 2007 15:58, Benji York wrote:
This reminds me of something I've been curious about but haven't had
time to research lately. What are the differences between pagelets and
viewlets and their various
Hi,
In one of my forms, one field is defined like that:
foobarid = Int(
title=u'ID',
description=u'ID of Foobar',
required=False)
When I add this field in a z3c.form based form, e.g.:
fields = field.Fields(IFoo['foobarid'])
Then the validation of the field fails,
Am Mittwoch, 1. August 2007 20:37 schrieb Markus Leist:
Hi,
do you have a
from zope.schema.fieldproperty import FieldProperty
class Foo:
implements(IFoo)
foobarid = FieldProperty( IFoo['foobarid'])
I do have an object that implements my IFoo interface, however, I don't use
Am Donnerstag, 2. August 2007 13:37 schrieb Fred Drake:
On 8/2/07, Hermann Himmelbauer [EMAIL PROTECTED] wrote:
mylist = []
@button.buttonAndHandler(_(u'Suchen'), name='suchen')
def handle_suchen(self, action):
self.mylist.append(123)
When I output mylist
Am Montag, 6. August 2007 14:21 schrieb Greg Baker:
How can I specify a template to render a sub-object within one of my
content objects?
For example, pretend I have a Contact object which contains a Person
object. I am rendering the Contact object through a page template.
class Contact:
Hi,
I have a simple function that is registered a vocabulary for a Choice-widget.
My problem is that the vocabulary should access the session, which seems to be
only possible if I somehow get the request variable, which is available in
a view. (A common way to retrieve the session seems to
be
Am Montag, 6. August 2007 19:08 schrieb Benji York:
Adam Groszer wrote:
I'm using something like this:
def getCurrentRequest():
return getInteraction().participations[0]
It is, of course, better if you can structure your app so you don't have
to pull the request out of thin air,
Am Mittwoch, 8. August 2007 05:45 schrieb Stephan Richter:
On Wednesday 01 August 2007 13:15, Hermann Himmelbauer wrote:
In one of my forms, one field is defined like that:
The entered value is not a valid integer literal.
Interestingly, if I set 1,123 as value, zope outputs
Am Donnerstag, 9. August 2007 15:44 schrieb Hermann Himmelbauer:
Hi,
After updating some z3c packages and changing some of my code, I receive a
very strange traceback from Zope3:
Ah, after fiddling around I found out that the svn update of the zalchemy
package resulted in this error
Am Donnerstag, 9. August 2007 04:08 schrieb Stephan Richter:
On Monday 06 August 2007 10:41, Hermann Himmelbauer wrote:
Is there a way simple way to accomplish this? Perhaps via a hidden=True
attribute in the buttonAndHandler decorator method?
I would override the ``updateActions
Am Freitag, 10. August 2007 04:14 schrieb Andrew Groom:
Hi All,
I've been battling with formlib for the last three days now and, while
Uh oh, sorry, formlib.
My example was based on z3c.form.
Anyway, I would recommend you to have a decent look at this library, as I
struggled a lot with
Am Freitag, 10. August 2007 04:14 schrieb Andrew Groom:
Hi All,
I've been battling with formlib for the last three days now and, while
I've learnt a lot, it's nearly driven me crazy. I'm trying to use it to
create simple search form, i.e., a form that does input validation,
remembers the
Am Freitag, 10. August 2007 08:28 schrieb Christian Theune:
Hey,
Am Freitag, den 27.07.2007, 11:18 +1000 schrieb Catriona Johnson:
Hello
I am a novice zope 3 user and would appreciate any help on this.
I am trying to follow a few examples using zalchemy but am unable to
progress
Am Montag, 13. August 2007 08:10 schrieb Christian Zagrodnick:
On 2007-08-09 17:21:57 +0200, Christian Zagrodnick
[EMAIL PROTECTED] said:
On 2007-08-09 16:27:23 +0200, Hermann Himmelbauer
[EMAIL PROTECTED] said:
Am Donnerstag, 9. August 2007 15:44 schrieb Hermann Himmelbauer:
Hi
Am Montag, 13. August 2007 12:01 schrieb Darryl Cousins:
Hi,
This was answered recently me thinks.
http://mail.zope.org/pipermail/zope3-users/2007-August/006648.html
I think this covers a z3c.form-related issue, but not formlib...
Best Regards,
Hermann
--
[EMAIL PROTECTED]
GPG key ID:
Hi,
I have a case where an error may occur in the form-action method (z3c.form,
not formlib!), e.g. when data is not found in my database. I'd then like to
output this error, similar when a widget error occurs. Moreover there are two
simple cases:
1) Errors that are related to a widget (hence
Am Montag, 13. August 2007 19:42 schrieb Stephan Richter:
On Monday 13 August 2007 12:02, Hermann Himmelbauer wrote:
I have a case where an error may occur in the form-action method
(z3c.form, not formlib!), e.g. when data is not found in my database. I'd
then like to output this error
Am Dienstag, 14. August 2007 12:45 schrieb Peter Piehler:
Hello,
i have a spreadsheet like z3c.formdemo spreadsheet.
I copy and paste
ul class=errors
tal:condition=view/widgets/errors
metal:define-macro=errors
li tal:repeat=error
Am Samstag, 18. August 2007 12:53 schrieb Florian Lindner:
Hello,
I try to create an edit form with z3c.form but it gives me an system error
only:
File /home/florian/Desktop/zope/lib/python/z3c/form/form.py, line 120,
in updateWidgets
self.widgets = zope.component.getMultiAdapter(
Am Montag, 20. August 2007 12:09 schrieb Florian Lindner:
Am Sonntag, 19. August 2007 schrieb Hermann Himmelbauer:
Am Samstag, 18. August 2007 12:53 schrieb Florian Lindner:
Hmmm, perhaps the browser request is not marked with the IFormLayer
layer? (Hence you need a skin that derives from
Am Sonntag, 2. September 2007 18:26 schrieb Markus Leist:
Hi list,
z3c.form has a very generic, well approach - but at the moment it's to
complicated to me.
I have an interface defined like:
100 osList = List (
101 title = _(operating systems),
103 value_type =
Hi,
After thoroughly studying Philipp's book and the PAU-doctests, I unfortunately
still have no clue how to do my authentication. My (simple) scenario is the
following:
- I wrote a Zope package that can be added as a site
- I have one Zope instance with several of these sites
- Users should
Am Sonntag, 9. September 2007 09:55 schrieb Christian Theune:
Hi,
Am Samstag, den 08.09.2007, 20:46 +0200 schrieb Peter Piehler:
Does anybody know if there is a zalchemy version, which supports
sqlalchemy 0.4?
There isn't, right now. 0.4 introduced some incompatibilities.
At this time
Am Samstag, 15. September 2007 18:08 schrieb Jesper Petersen:
Hello!I'm trying to implement a DropdownWidget for my country list. In my
app i'd like to have a dropdown menu where a user can choose a country (for
my main content object, a job). My vocabulary is created from a list of
strings,
Hi,
I have the problem that I cannot include parts of my Zope3 project in
external, Zope3-unrelated projects due to import errors.
For instance, I currently build a LaTeX converter that automatically converts
SQL-Alchemy table definitions into nicely formatted LaTeX that I can then
include in
Hi,
Does someone know how to create interfaces with circular references?
E.g.:
class IHusband(Interface):
wife = Object(schema=IWife)
class IWife(Interface):
husband = Object(schema=IHusband)
What's the suggested solution to this problem?
Perhaps I should modify the classes after they
Am Freitag, 9. November 2007 01:31 schrieb Jeff Shell:
Oops. Forgot to send this to the list as well as Stephan. Goddamn Gmail.
On Nov 8, 2007 8:28 AM, Stephan Richter [EMAIL PROTECTED]
wrote:
Hi Jeff,
- zope.component 3.4.0 (or anything built into the zope 3.4 tarball)
-
Am Freitag, 9. November 2007 18:44 schrieb Jeff Shell:
On Nov 9, 2007 12:04 AM, Hermann Himmelbauer [EMAIL PROTECTED] wrote:
Am Freitag, 9. November 2007 01:31 schrieb Jeff Shell:
- zope.component 3.4.0 (or anything built into the zope 3.4
tarball) - sqlalchemy 0.4.0
Hi,
I am currently writing a doctest for one of my persistent classes. It's
purpose is to check, if object modifications, e.g. through methods, are
really persistent, however, my objects are magically remembered, therefore I
cannot properly test them.
My doctest looks like this:
from ZODB
Am Freitag, 30. November 2007 19:34 schrieb Yuan HOng:
Hi,
It seems that I can not get list attribute of an persistent object
changed. I have the following class, which has a list as one of its
attributes:
class Cart(Persistent):
items = []
amount = 0
Hehe, I had the same pitfall
Hi,
I'm currently trying to build a viewlet-based menu. As any common menu, it
should consist of entries, which link in my case to certain object views. If
such a link is clicked, the menu entry should change (no link) to denote that
the entry is selected.
Therefore I built a base class that
Hi,
I have the following scenario here (somehow similar to hard links on a UNIX
system):
- Users should be able to create documents (then they are owners)
- Users may grant ownership of their document to other users
- Users may abandon their document (no owner)
- Documents, who have no owner,
Am Donnerstag, 10. Januar 2008 23:00 schrieb john saponara:
I want to allow the user to create car and driver objects in a
limoService container. Car objects will stand alone, but each driver
object should contain a car object by reference (not by value) and the
driver add form should allow
Am Mittwoch, 16. Januar 2008 19:27 schrieb Achim Domma:
Hi,
I have a simple view. Here is the entry in configure.zcml:
browser:page
for=.CMS.Page
name=index.html
class=.CMS.PageView
permission=zope.Public
template=index.pt
menu=zmi_views
Hi,
I'm currently trying to integrate the SessionCredentialsPlugin with
z3c.pagelets / z3c.form. I currently set up a simple z3c.form-based login
page and configured the loginfield/passwordfield
to form.widgets.login/password. Now I can login, but I still have some
problems:
1) I'd like to be
Am Montag, 4. Februar 2008 22:51 schrieb Christophe Combelles:
Below is the translation status of Zope 3.4.0c1,
as generated by the i18nstats tool.
Is there anyone willing to update the translation for his/her language
before 3.4.0 final is (soon) released?
Maybe I could do so for german
Hi,
I'm creating a simple user-administration, which requires the user to type in
the password and a password confirmation. For that, I have an interface which
contains the attributes password and password_confirm. Of course, only
the password is stored as an object attribute.
When I now use
Am Donnerstag, 7. Februar 2008 17:36 schrieb Philipp von Weitershausen:
Hermann Himmelbauer wrote:
At first, thanks to the newest Zope-3.4.0c1 release. I just installed it
from the tarball and it seems to work.
However, I'm still somehow technically overwhelmed by installing Zope3
Am Freitag, 8. Februar 2008 01:33 schrieb Christophe Combelles:
Stephan Richter a écrit :
On Thursday 07 February 2008, Christophe Combelles wrote:
Maybe the best way to have a password validation would be to let the
PasswordWidget display two password fields and check itself the values
Am Freitag, 8. Februar 2008 00:48 schrieb Stephan Richter:
On Thursday 07 February 2008, Christophe Combelles wrote:
Maybe the best way to have a password validation would be to let the
PasswordWidget display two password fields and check itself the values
are the same?
Bingo. :-) I Would
Am Freitag, 8. Februar 2008 09:33 schrieb Christophe Combelles:
Hermann Himmelbauer a écrit :
Am Freitag, 8. Februar 2008 00:48 schrieb Stephan Richter:
Right, that seems to be a perfect solution. Btw., it seems that there are
quite some generic widget/field-patterns that a lot of people
Am Freitag, 8. Februar 2008 10:10 schrieb Kai Diefenbach:
I've also started to dive into plain Zope 3 development (coming from
Plone) and I like it very much. But as you mentioned I also found it
somewhat hard to start. What I have found helpful so far is:
Thanks for the links!
Code
Hi,
Are there any login/logout/redirect templates for z3c.pagelet?
I could reuse the templates from zope.app.authentication, but they
obviously
contain some macros that need some registrations I don't have, such as
@@standard_macros. And my layout template does not contain any macro.
Hi,
For a simple menu, I need to check if the current principal has permissions to
access a view. I understand that I can use the canAccess()/canWrite()
function on object attributes but how could I do this for views?
Best Regards,
Hermann
--
[EMAIL PROTECTED]
GPG key ID: 299893C7 (on
Am Sonntag, 17. Februar 2008 12:41 schrieb Roger Ineichen:
Hi Hermann
Betreff: Re: [Zope3-Users] How to check access on a view?
[...]
Hi,
For a simple menu, I need to check if the current principal has
permissions to access a view. I understand that I can use the
Am Sonntag, 10. Februar 2008 19:39 schrieb Roger Ineichen:
Hi Christophe
Betreff: Re: AW: [Zope3-Users] z3c.form - howto ignore the
context for singlewidgets in an Edit form?
[...]
class ISubscribeSchema(zope.interface.Interface):
The subscription form.
password =
Am Sonntag, 10. Februar 2008 15:09 schrieb Roger Ineichen:
Hi Christophe
Betreff: [Zope3-Users] eggsplosion again
[...]
But I fear that in a near future we will need to start any
interfaces.py with :
import zope.schema
import foo.schema
import bar.schema
(...)
import
Hi,
I'm over and over confronted with a simple pattern, where I need to clone
interface field. For instance, I have the content object, which has an
interface, e.g.:
class IPerson(Interface):
name = TextLine()
address = TextLine()
Then, I have for instance a search form, which consists of
Am Dienstag, 19. Februar 2008 20:13 schrieb Marius Gedminas:
On Tue, Feb 19, 2008 at 04:46:29PM +0100, Hermann Himmelbauer wrote:
class SearchFrom(z3c.form.EditForm):
fields = z3c.form.field.Fields(copy.deepcopy(IPerson).select('name'))
Strike out the deepcopy and you've got the correct
Am Dienstag, 19. Februar 2008 16:22 schrieb [EMAIL PROTECTED]:
Hello, *
How do you develop in zope 3?
*) Is it the way the experienced zope developers work? How do you set the
environment for a site or a package development?
I personally do it the old fashioned way: I downloaded the
Hi,
Hi, I have here an add form which is based on an interface like this:
class IMyObj(Interface):
value1 = TextLine()
value2 = TextLine()
In my add form, I need to display a default value for value2. This default
value is stored in another object, however, no default value should be
Am Donnerstag, 21. Februar 2008 04:41 schrieb Stephan Richter:
On Monday 18 February 2008, Hermann Himmelbauer wrote:
- Only widgets?
- Combinations of schemas and widgets?
- Also schemas without widgets (like an Email schema that inherits from a
TextLine and thus uses a TextWidget
Am Donnerstag, 21. Februar 2008 17:34 schrieb Marius Gedminas:
On Wed, Feb 20, 2008 at 01:12:18PM -0500, Stephan Richter wrote:
On Wednesday 20 February 2008, Hermann Himmelbauer wrote:
Yes, I also use z3c.form, but my problem is that the field has the
required flag set to True, which
Hi,
I have a class looking similar to this:
class person
birthdate = None # Some date
name = None # First name
gender = None # Male/Femail
Objects of this class are then added to a catalog, for which I defined an
index (zc.catalog - ValueIndex) for each attribute.
What I want to do
Am Sonntag, 27. Januar 2008 18:25 schrieb Stephan Richter:
On Tuesday 08 January 2008, Hermann Himmelbauer wrote:
My question is: How would I store these documents in the ZODB? If I
create a container object for each user and store the document there, how
would then other users get a link
Hi,
I have the quite generic problem that I need to translate strings that contain
strings which also should be translated, for instance:
--- snip
from zope.component import provideUtility
from zope.i18n import translate
from zope.i18n.simpletranslationdomain import
Am Donnerstag, 27. März 2008 18:26 schrieb Kurt Zitze:
if you want to raise the userbase of zope, the first and most obvious thing
to do is, get a forum running! mailing lists are bu*** and completly
out of date. it is max cumbersome to login into your email account to do a
post and so on,
Hi,
I'm developing a Zope3-based application which is used on mobile phones. The
problem here is that cookies don't always work with mobile browsers.
Therefore it seems, the way to go is to put a session key in the URL.
Therefore I need some authentication system that first tries to set a
Am Montag, 14. April 2008 18:55 schrieb Peter Bengtsson:
Slightly off-topic: What mobile browsers that support XHTML don't
support cookies these days? Don't need an accurate answer but I'm
curious about rough numbers.
Well, I have a SonyEricsson K750i which seems not to support cookies. It
Am Montag, 14. April 2008 19:17 schrieb Jonathan:
- Original Message -
From: Peter Bengtsson [EMAIL PROTECTED]
To: Hermann Himmelbauer [EMAIL PROTECTED]
Cc: zope3-users@zope.org
Sent: Monday, April 14, 2008 12:55 PM
Subject: Re: [Zope3-Users] Authentication without cookies
Am Montag, 14. April 2008 20:07 schrieb Jim Fulton:
All you need to do is to get non-cookie based sessions, and then you
can use the existing session-authentication machinery.
Look at the client id framework in zope.session,
Hi,
In my application, namely for URL-Rewriting for session handling, I need to
stop the current request and redirect to another url (including the session
key).
For that reason, I issue the following statement:
from zope.publisher.interfaces import Redirect
raise Redirect('http://my.new.url')
Am Samstag, 19. April 2008 14:05 schrieb Roger Ineichen:
Hi Hermann
Betreff: [Zope3-Users] raise Redir(newurl) not working -
can someoneconfirm this?
Hi,
In my application, namely for URL-Rewriting for session
handling, I need to stop the current request and redirect to
another url
Am Samstag, 19. April 2008 15:43 schrieb Jim Fulton:
On Apr 19, 2008, at 6:20 AM, Hermann Himmelbauer wrote:
To confirm this, I'd like to know if this scenario is only happening
for me,
so, can you please simply insert the above statement in some
arbitrary view
and tell me if it works
1 - 100 of 124 matches
Mail list logo