Generating editable grid with Zope2.6/ZopeX3?
Hello, I want to generate an editable grid with Zope (2.6 or X3). E.g. Field 1 | Field 2| Field 3 -------------------------- Id 1 | Edit 2 | Edit 3 Id 2 | Edit 2 | Edit 3 Id 3 | Edit 2 | Edit 3 . . . I've already looked into Formulator for Zope 2.6, but this product doesn't seem to be able to render :records objects. Is it possible to render such a form with zope? Manual alignment is ok, but I would like to use the input validation mechanisms that are provided by Formulator or ZopeX3. Regards Florian -- Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl
Florian Reiser wrote:
Hello,
I want to generate an editable grid with Zope (2.6 or X3). E.g.
Field 1 | Field 2| Field 3 -------------------------- Id 1 | Edit 2 | Edit 3 Id 2 | Edit 2 | Edit 3 Id 3 | Edit 2 | Edit 3 . . .
I've already looked into Formulator for Zope 2.6, but this product doesn't seem to be able to render :records objects.
Is it possible to render such a form with zope?
Manual alignment is ok, but I would like to use the input validation mechanisms that are provided by Formulator or ZopeX3.
In pure-zope (non-cmf-ish) you could very well use Formulator but you would need to provide a custom layout template (or at least you needed that when I last used formulator). If you find a better solution, let me know ;-) -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72 Email: johanc@easypublisher.com SE-113 37 STOCKHOLM
Hello Johan, how do you mean that "you must provide a custom layout template". I think the main problem is to get formulator to generate the field names as e.g. "record_name.field_name:records:int" and validate it accordingly. Greets Florian
Florian Reiser wrote:
Hello,
I want to generate an editable grid with Zope (2.6 or X3). E.g.
Field 1 | Field 2| Field 3 -------------------------- Id 1 | Edit 2 | Edit 3 Id 2 | Edit 2 | Edit 3 Id 3 | Edit 2 | Edit 3 . . .
I've already looked into Formulator for Zope 2.6, but this product doesn't seem to be able to render :records objects.
Is it possible to render such a form with zope?
Manual alignment is ok, but I would like to use the input validation mechanisms that are provided by Formulator or ZopeX3.
In pure-zope (non-cmf-ish) you could very well use Formulator but you would need to provide a custom layout template (or at least you needed that when I last used formulator).
If you find a better solution, let me know ;-)
-- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72 Email: johanc@easypublisher.com SE-113 37 STOCKHOLM _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- 10 GB Mailbox, 100 FreeSMS http://www.gmx.net/de/go/topmail +++ GMX - die erste Adresse f�r Mail, Message, More +++
Le mercredi 26 Janvier 2005 12:18, Florian Reiser a écrit :
I want to generate an editable grid with Zope (2.6 or X3). E.g.
Field 1 | Field 2| Field 3 -------------------------- Id 1 | Edit 2 | Edit 3 Id 2 | Edit 2 | Edit 3 Id 3 | Edit 2 | Edit 3
Hello, you can have a look at ERP5Form.ListBox which just does this, on http://cvs.erp5.org/ . Regards, Alex.
Also take a look at ZNOLK SQL WIZARD: http://www.bluedynamics.org/products/znolk On Wed, 26 Jan 2005 14:59:44 +0000, Alexandre Boeglin <alex@nexedi.com> wrote:
Le mercredi 26 Janvier 2005 12:18, Florian Reiser a écrit :
I want to generate an editable grid with Zope (2.6 or X3). E.g.
Field 1 | Field 2| Field 3 -------------------------- Id 1 | Edit 2 | Edit 3 Id 2 | Edit 2 | Edit 3 Id 3 | Edit 2 | Edit 3
Hello, you can have a look at ERP5Form.ListBox which just does this, on http://cvs.erp5.org/ .
Regards, Alex. _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Hello Remy, thanks for your answer. I'll look into it. When I tried to open version 0.1.10f with WinZip, I got an error "Error reading header after processing 0 entries". But I'll have a look at the 0.1.9 version. Greets Florian
Also take a look at ZNOLK SQL WIZARD:
http://www.bluedynamics.org/products/znolk
On Wed, 26 Jan 2005 14:59:44 +0000, Alexandre Boeglin <alex@nexedi.com> wrote:
Le mercredi 26 Janvier 2005 12:18, Florian Reiser a écrit :
I want to generate an editable grid with Zope (2.6 or X3). E.g.
Field 1 | Field 2| Field 3 -------------------------- Id 1 | Edit 2 | Edit 3 Id 2 | Edit 2 | Edit 3 Id 3 | Edit 2 | Edit 3
Hello, you can have a look at ERP5Form.ListBox which just does this, on http://cvs.erp5.org/ .
Regards, Alex. _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- GMX im TV ... Die Gedanken sind frei ... Schon gesehen? Jetzt Spot online ansehen: http://www.gmx.net/de/go/tv-spot
Florian Reiser wrote:
When I tried to open version 0.1.10f with WinZip, I got an error "Error reading header after processing 0 entries". But I'll have a look at the 0.1.9 version.
Did you make sure you renamed the downloaded file to whatever.tgz because "somethign windoze" stupid saved the file with an extension of .tar? ;-) Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
You should rename the .tar file to .tgz and it will be allright... On Thu, 27 Jan 2005 08:22:27 +0100 (MET), Florian Reiser <florian_reiser@gmx.de> wrote:
Hello Remy,
thanks for your answer. I'll look into it.
When I tried to open version 0.1.10f with WinZip, I got an error "Error reading header after processing 0 entries". But I'll have a look at the 0.1.9 version.
Greets Florian
Also take a look at ZNOLK SQL WIZARD:
http://www.bluedynamics.org/products/znolk
On Wed, 26 Jan 2005 14:59:44 +0000, Alexandre Boeglin <alex@nexedi.com> wrote:
Le mercredi 26 Janvier 2005 12:18, Florian Reiser a écrit :
I want to generate an editable grid with Zope (2.6 or X3). E.g.
Field 1 | Field 2| Field 3 -------------------------- Id 1 | Edit 2 | Edit 3 Id 2 | Edit 2 | Edit 3 Id 3 | Edit 2 | Edit 3
Hello, you can have a look at ERP5Form.ListBox which just does this, on http://cvs.erp5.org/ .
Regards, Alex. _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- GMX im TV ... Die Gedanken sind frei ... Schon gesehen? Jetzt Spot online ansehen: http://www.gmx.net/de/go/tv-spot
Hello Alexandre, the ListBox looks great. Maybe you could send me a screenshot of it in action and the html code it generates? Then I could understand the program more easily, I think. Greets Florian
Le mercredi 26 Janvier 2005 12:18, Florian Reiser a écrit :
I want to generate an editable grid with Zope (2.6 or X3). E.g.
Field 1 | Field 2| Field 3 -------------------------- Id 1 | Edit 2 | Edit 3 Id 2 | Edit 2 | Edit 3 Id 3 | Edit 2 | Edit 3
Hello, you can have a look at ERP5Form.ListBox which just does this, on http://cvs.erp5.org/ .
Regards, Alex. _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl
participants (5)
-
Alexandre Boeglin -
Chris Withers -
Florian Reiser -
Johan Carlsson -
Remy Pinsonnault