Am Dienstag 16 Juni 2009 01:26:24 schrieb Edward Zwart:
> I've been limping along for a couple weeks trying to learn this
> framework, and I'm completely stuck, and can barely even form a good
> question... so apologies in advance...
>
> My problem is I'm brand new to Zope, and it's impossible to t
Am Dienstag 12 Mai 2009 22:04:13 schrieb legok...@aol.com:
> Hello,
> i created the permissions in my permissions.zcml, mapped them to roles
> in roles.zcml, and included the files in the configure.zcml. But after
> restarting zope, i still cant see anything interesting on the "grants"
> page. What
Am Donnerstag 08 Januar 2009 01:46:04 schrieb Sebastian Bartos:
> Hello there Zope3 folks,
>
> I'm kind of new to Zope 3. Was playing around with Zope 2 and Plone for
> a while before I settled with Zope 3 a few months ago. Starting to get
> the hang out of it (well, slowly).
>
> Anyway, still have
Am Dienstag 18 November 2008 13:06:31 schrieb Thierry Florac:
> 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 this, and I've seen that several
> packages are available : z3c.zalchemy, z
Am Freitag 14 November 2008 22:55:33 schrieb Jim Pharis:
> Zope3'ers,
>
> I'm struggling with one particular concept in Zope3 and I'm hoping
> someone can provide me with some insight into this.
>
> Let me stage an example to explain the concept I'm struggling with. I
> have 2 content types, a car
Am Donnerstag 06 November 2008 17:30:27 schrieb Marius Gedminas:
> On Thu, Nov 06, 2008 at 02:13:56PM +0100, Hermann Himmelbauer wrote:
> > I quite often have Choice schema fields in my applications. In many
> > cases, these choice fields should have fixed values, thus I do i
Hi,
I quite often have Choice schema fields in my applications. In many cases,
these choice fields should have fixed values, thus I do it like this:
color = Choice( title=u"Color", values=['red', 'green', 'yellow'])
My application then uses the these values for further processing, e.g.:
if colo
Am Dienstag 04 November 2008 07:05:05 schrieb Jaideep Das:
> I am looking for a good tutorial for latest zope 3. I was following the
> tutorial http://www.benjiyork.com/quick_start/ but its not working with
> new version of zope3(3.3.1). So was looking for something latest and up to
> date.
I pe
Am Donnerstag 30 Oktober 2008 15:39:03 schrieb hass:
> Hi,
>
> I have been struggling to extract messageIDs out of my application and
> list save them into a .POT file.
> I only know that this used to be a relatively straightforward process
> untill 3.2 when zope was installed from the source code
Am Mittwoch 15 Oktober 2008 19:28:55 schrieb Christophe Combelles:
> Hermann Himmelbauer a écrit :
> > Am Mittwoch 15 Oktober 2008 16:59:24 schrieb Benji York:
> >> On Wed, Oct 15, 2008 at 10:46 AM, Hermann Himmelbauer <[EMAIL PROTECTED]>
wrote:
> >>> Hi,
&g
Am Mittwoch 15 Oktober 2008 16:59:24 schrieb Benji York:
> On Wed, Oct 15, 2008 at 10:46 AM, Hermann Himmelbauer <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> > It seems that buildout is broken:
>
> Are you referring to the Zope 3 trunk buildout?
Well, Stephan Richter clea
Am Mittwoch 15 Oktober 2008 16:46:06 schrieb Hermann Himmelbauer:
> Hi,
> It seems that buildout is broken:
>
> A "bin/buildout" fetched some new packages, especially:
> zope.app.component-3.5.0
>
> The previous version was:
> zope.app.component-3.4.1
>
Hi,
It seems that buildout is broken:
A "bin/buildout" fetched some new packages, especially:
zope.app.component-3.5.0
The previous version was:
zope.app.component-3.4.1
The problem is, that a file, called "back35" is missing in
zope.app.component-3.5.0 which is, however, imported/needed in sev
Am Mittwoch 08 Oktober 2008 17:14:35 schrieb Tim Cook:
> (Thanks Roger and Adam for your earlier replies.)
>
> On Wed, 2008-10-08 at 16:59 +0200, Hermann Himmelbauer wrote:
> > Moreover, z3c.form is complex, but it isn't hard if one knows what to
> > do/how to do - whic
Am Donnerstag 09 Oktober 2008 04:24:25 schrieb garz:
> thx for your replies! now i have new stuff to think about. :)
>
>
> Can you give an example what you can't do with z3c.form?
> i think z3c.form is in respect of what can be done with it general enough.
> i can realize what i want to do with it
Am Mittwoch 08 Oktober 2008 16:28:07 schrieb Roger Ineichen:
> Hi Hermann
>
> > Betreff: Re: [Zope3-Users] thoughts about z3c.form-package
>
> [...]
> > So, I think two solutions to that could be:
> >
> > - Improve the documentation (however, I'm unsure in what way, though).
> > - Create a WIKI or
Am Mittwoch 08 Oktober 2008 01:11:24 schrieb garz:
> hey,
>
> while using z3c.form-package i reach its limits here and there. thats why i
> started to think about how a more general implemention should look like. my
> intention of writing this is that i want to know what you are thinking
> about it
Am Donnerstag 28 August 2008 11:41:54 schrieb Markus Kemmerling:
> Hi Hermann,
>
> The z3c.form.converter.CalendarDataConverter, on which the
> DateDataConverter is based, explicitely sets the date format to
> 'short'. Overriding the latter with a 'length' attribute set to
> 'medium' will handle
> Hi Hermann
>> So, it may happen, that not all fields are filled out,
>> therefore key/value pairs may be missing. If that happens,
>> the widget routine throws an error.
>> If I manage to overcome this error (e.g. by replacing the
>> get() through
>> query() routine in z3c.form.widget), my form
> Hi Herman
>
>> Betreff: Re: AW: [Zope3-Users] z3c.form: Data Manager -
>> getting value via dm.query() instead of dm.get()
>
> [...]
>
>> But I would nevertheless suggest to implement some kind of
>> "switch" that decides if an error is raised or NOVALUE is
>> returned in case a value is missing
> Hi Herman, Stephan
>
>> Betreff: [Zope3-Users] z3c.form: Data Manager - getting value
>> via dm.query() instead of dm.get()
>>
>> Hi,
>> I'm developing a z3c.form based form, which should store it's
>> form values in the session. To accomplish that, the form
>> needs to retrieve it's values from
Hi,
I'm developing a z3c.form based form, which should store it's form values
in the session. To accomplish that, the form needs to retrieve it's values
from the session.
My idea was to simply store the form data in the button handler method
into the session as a dictionary. z3c.form then offers t
Hi,
We are currently looking out for a Zope3/Python developer for an interesting
project lasting approx. 30 to 35 days. I can't give exact details yet, but
the following profile should be met:
- High Zope3 skills - the project is 100% based on Zope3 technology, moreover,
the project may include
Am Mittwoch, 7. Mai 2008 17:43 schrieb Christian Theune:
> On Wed, May 07, 2008 at 03:41:11PM +0200, Hermann Himmelbauer wrote:
> > Hi,
> > I'd like to know if / which SVN version/branch of z3c.zalchemy works with
> > a current SQLAlchemy distribution.
> &
Hi,
I'd like to know if / which SVN version/branch of z3c.zalchemy works with a
current SQLAlchemy distribution.
If none does, what about z3c.sqlalchemy?
Best Regards,
Hermann
--
[EMAIL PROTECTED]
GPG key ID: 299893C7 (on keyservers)
FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7
_
Am Samstag, 19. April 2008 19:38 schrieb Hermann Himmelbauer:
> 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,
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
> > a
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 t
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 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,
> http://svn.zope.org/zope.session/trunk/src/zope/session/http.py?
Am Montag, 14. April 2008 19:17 schrieb Jonathan:
> - Original Message -
> From: "Peter Bengtsson" <[EMAIL PROTECTED]>
> To: "Hermann Himmelbauer" <[EMAIL PROTECTED]>
> Cc:
> Sent: Monday, April 14, 2008 12:55 PM
> Subject: Re: [Zope3-Us
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 d
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 cookie
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
Hi,
In my Zope3-based site, I use the SessionCredentialsPlugin to extract my
authentication information. This plugin also sets a cookie.
Together with the cookie name, content and host, a path is stored. This path
contains the skin, which I enter in my URL, e.g. for:
http://localhost:8080/++ski
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 SimpleTra
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 t
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 n
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
> >
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
> &g
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 giv
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 ta
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
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 f
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
> > (...)
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."""
> > >
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
> >
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 keyserve
> 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
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-p
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 examp
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. :-)
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 va
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 techn
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 us
Hi,
During the development of my application I suddenly noticed that my
context-objects had no security proxy around them, which is bad, as then data
is open to everyone.
After searching and fiddling around, I recognized that this happens when I use
a layer/skin that inherits from z3c.layer.pag
Am Mittwoch, 6. Februar 2008 18:24 schrieb Baiju M:
> In fact, I started an effort to document this, but I want more help
> from this group. I had announced two book projects to this list earlier.
> The first one was a failure [1], but the second one I succeded with
> help from you all [2]. I am
Hi,
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 the
egg-style way - maybe it's not that hard, but I can't really find a good
entry point to that topic. It w
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 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 b
Am Mittwoch, 16. Januar 2008 19:27 schrieb Achim Domma:
> Hi,
>
> I have a simple view. Here is the entry in configure.zcml:
>
>for=".CMS.Page"
>name="index.html"
>class=".CMS.PageView"
>permission="zope.Public"
>template="index.pt"
>menu="zmi_vie
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 allo
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, are
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 lo
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
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, 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
> >
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)
>
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 ar
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 m
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
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
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 aut
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 va
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 nee
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.getMultiAdap
Am Dienstag, 14. August 2007 12:45 schrieb Peter Piehler:
> Hello,
>
> i have a spreadsheet like z3c.formdemo spreadsheet.
> I copy and paste
> tal:condition="view/widgets/errors"
> metal:define-macro="errors">
>
>
> :
>
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
> >
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 t
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:
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
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
>
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 th
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 wou
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 resulte
Hi,
After updating some z3c packages and changing some of my code, I receive a
very strange traceback from Zope3:
--
Traceback (most recent call last):
File "/local/home/dusty/Zope-3.4.0b1/lib/python/zope/publisher/publish.py",
line 138, in publish
publication.afterCall(req
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
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
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
Hi,
I have form that has two actions, one for searching data, one for storing
parts of this data into the session.
The idea is to have some input fields and a search button. If data is found, a
list of links is displayed. If the user clicks on a link, the other action of
the form should be trig
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 Conta
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):
&g
Hi,
I have a simple z3c.form - based view for a persistent object. My view has a
class attribute, which is set during an action, e.g.:
class ViewFoo(form.Form):
mylist = []
@button.buttonAndHandler(_(u'Suchen'), name='suchen')
def handle_suchen(self, action):
self.m
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
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, e.g
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 strengths/wea
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,
>
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 mis
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 wi
1 - 100 of 141 matches
Mail list logo