On Friday 14 April 2006 11:00, Stéphane Brault wrote:
> I'm trying to use formlib but I get a problem :
> Traceback (most recent call last):
> File "", line 1, in -toplevel-
> print MyForm(None, request)()
> File "", line 6, in __call__
> widgets = form.setUpWidgets(self.form_fiel
orks (hopefully).
Stéphane
- Message d'origine
De : Jim Washington <[EMAIL PROTECTED]>
À : Stéphane Brault <[EMAIL PROTECTED]>
Cc : zope3-users@zope.org
Envoyé le : Mercredi, 19 Avril 2006, 6h10mn 35s
Objet : Re: Re : Re : [Zope3-Users] formlib problem
Stéphane Brault wrote:
&
- send back the html which is used to update my page.
> Has anyone tried to use formlib this way, I really need to use AJAX and it
> seems that I can't have both working together,
> I must be missing something.
>
> Thanks,
>
> Stéphane
>
> - Message d'
Stéphane Brault wrote:
Hi Jim,
the Items object is my object, linked to my items, table which implements the IItems interface I use for my form:
from neteven.interfaces.items import IItems
from zope.formlib import form
class ItemsForm(form.EditForm):
form_fields = form.Fields(II
rault <[EMAIL PROTECTED]>
Cc : zope3-users@zope.org
Envoyé le : Mercredi, 19 Avril 2006, 5h01mn 09s
Objet : Re: Re : [Zope3-Users] formlib problem
Stéphane Brault wrote:
> Hi again,
> sorry to be a bore ;-)
> I keep on trying to use formlib, I no longer have a problem of adapter
Stéphane Brault wrote:
Hi again,
sorry to be a bore ;-)
I keep on trying to use formlib, I no longer have a problem of adapters for my
fields but I get this error:
2006-04-19T16:13:32 ERROR root
C:\Python24\Lib\site-packages\zope\publisher\publish.py line 138 in publish
=> 'result = publica
127.0.0.1 - - [19/Apr/2006:16:13:32 +0200] "POST
/netevenTest/test/neteven.Accounts.1/ HTTP/1.1" 200 163 "-" "Mozilla/5.0
(Windows; U; Windows NT 5.1; fr-FR; rv:1.7.12) Gecko/20050919 Firefox/1.0.7"
It seems that retrieving my object from code doesn't give me
ther,
I must be missing something.
Thanks,
Stéphane
- Message d'origine
De : Stéphane Brault <[EMAIL PROTECTED]>
À : zope3-users@zope.org
Envoyé le : Mardi, 18 Avril 2006, 4h16mn 55s
Objet : Re : [Zope3-Users] formlib problem
Thanks Michael,
There is ind
: Mardi, 18 Avril 2006, 3h40mn 16s
Objet : Re: [Zope3-Users] formlib problem
Stéphane Brault wrote:
> Hi,
> I can't use formlib, when I run the example in the form.txt I get this error:
> Traceback (most recent call last):
>File "", line 1, in -toplevel-
&
Stéphane Brault wrote:
Hi,
I can't use formlib, when I run the example in the form.txt I get this error:
Traceback (most recent call last):
File "", line 1, in -toplevel-
print MyForm(None, request)()
File "", line 6, in __call__
widgets = form.setUpWidgets(self.form_fields, 'fo
10 matches
Mail list logo