Questions tagged [dexterity]

Dexterity is a content type framework for CMF applications, with particular emphasis on Plone. It can be viewed as an alternative to Archetypes that is more light-weight and modular

Dexterity is a system for building content types, both through-the-web and as filesystem code. It is aimed at Plone, although this package should work with plain Zope + CMF systems.

Dexterity is included by default in Plone 4.3 as an alternative to Archetypes and will be the main content type framework in upcoming Plone 5.0.

282 questions
0
votes
1 answer

how to add a "next fieldset" button to an add/edit form for a Dexterity Plone type

I have a Dexterity type that has multiple fieldsets, and the built-in Javascript that allows showing one fieldset at a time when adding or editing is wonderful. But I'd like to invite the user to walk through the fieldsets in sequence, so my ideal…
mjtrac
  • 187
  • 9
0
votes
2 answers

Plone and Dexterity - How can I add a form for one of my content types to my page?

So I have a web page that has to do with games. I want users to be able to add information about their own games to this website. I have a tab called "Add A Game". When a user clicks on this tab I would like a form to appear which they can fill…
tadasajon
  • 14,276
  • 29
  • 92
  • 144
0
votes
1 answer

Dexterity: validating data before programmatic creation

When creating Dexterity types programmatically, is it possible to validate the data being passed to the factory as if it was coming from a form? I have a Dexterity content type with a number of constraints, invariants & validators: from zope import…
Matthew Trevor
  • 14,354
  • 6
  • 37
  • 50
0
votes
1 answer

Canoncial way to retrieve the IntID of an content object based on Dexterity

The five.intid documentation states the following pattern for retrieving the IntID for an object: from five.intid import site intids = site.get_intids(app.plone) intid_obj = intids.getId(app.plone.restrictedTraverse('path/to/object') Is this the…
user2665694
0
votes
1 answer

Delete Button Trigger not work - dexterity Dynamics GP

I am looking on Microsoft Dynamics Customization and create trigger on Purchase Transaction Entry Form. When i click on delete trigger wont execute because GP ask message "Are you sure you want to delete this record" Here is cde snippets local…
0
votes
1 answer

Using invariant with Dexterity form and fieldsets

I have a content type derived from plone.directives.form.Schema; it has several dozen fields across four fieldsets. I'm trying to create a zope.interface.invariant that looks at fields from two different fieldsets. From tracing the behaviour, it…
Matthew Trevor
  • 14,354
  • 6
  • 37
  • 50
0
votes
1 answer

Dexterity image on Summary View

I have a Dexterity folderish type which contains standard ATImages. I'd like it to display the first of its contained images when it is listed in a folder or collection Summary View. I tried setting an image property on the view but that wasn't even…
Davi Lima
  • 800
  • 1
  • 6
  • 20
0
votes
4 answers

How can I change the URL of an object serverd by Dexterity in Plone

I defined some content types based on Plone Dexterity, I want any content type has his own ID. So I used the zope.schema.Id . class IArticle(form.Schema, IImageScaleTraversable): """ Article """ form.model("models/article.xml") …
AiTine
  • 1
-1
votes
1 answer

How to include a image gallery to a plone dexterity view?

I defined TTW (Through The Web) a Plone (4.3.4) Dexterity Content Type. The content type should contain images, which I defined in the content type settings. I paced an own view for this content type as a page template in portal_skins->custom, which…
Nik
  • 1
  • 1
-1
votes
1 answer

How to reference custom fields in a collection template

I am trying to create a custom collection template, which includes some of my custom fields. This is what I have at the moment: https://gist.github.com/adrigen/06bdc88bda6e9cf20a44 But the error is: NameError: name 'resource_type' is not defined. I…
Adrian Garner
  • 5,235
  • 2
  • 23
  • 29
-1
votes
1 answer

Plone and dexterity custom index

I've created a custom folderish content type (bobo) using dexterity and a custom index (ibobo) in the catalog. I'm able to put images inside bobo with no problem. The problem is the images are being indexed in ibobo and I don't want this. The ibobo…
Ricardo R
  • 25
  • 2
-2
votes
2 answers

collective.z3cform.datagridfield Dexterity and behavior

I am working on an behavior for Dexterity and I use collective.z3cform.datagridfield for it. This should it be: +----+-------+----+ | title | value | link | +----+-------+----+ tile = schema.TextLine value = schema.TextLine link =…
user966660
  • 634
  • 1
  • 8
  • 20
1 2 3
18
19