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

Should I be able to use an adapter to compute the contents of a field when creating content?

I am trying to create a report content type that contains a point-in-time snapshot of the contents of a custom container object over a time interval. I will eventually be storing additional time-variable data with the list so generating the list…
dayne
  • 1
  • 1
0
votes
1 answer

Dexterity content type Hiding setting tab

On my Dexterity content type I have a default tab where all my defined fields are loaded and settings tab where the ExcludeFromNav checkbox is, which I defaulted to checked when a new object is created. I would like to hide this setting tab as user…
webbyfox
  • 1,049
  • 10
  • 22
0
votes
1 answer

Plone Workflow Script KeyError

I have this workflow script; ## parameters = state_change wf = context.portal_worfklow catalog = context.portal_catalog object = state_change.object path = '/'.join(object.getPhysicalPath()) brains = catalog.searchResults(path={'query':path,…
user1225163
  • 127
  • 1
  • 1
  • 9
0
votes
2 answers

Compute Description Based on Specific Field

My custom dexterity type looks like this: class IMyType(form.Schema): title = schema.TextLine( title=_(u"Title"), ) address = schema.TextLine( title=_(u"Address"), required=False, ) class…
marr
  • 861
  • 4
  • 19
0
votes
1 answer

How to undo TTW changes to dexterity content type

I have notices that types created with paster on the file system can be changed using the TTW editor. When I reinstall the product the TTW changes persist, and the model file seems to be ignored. How can I discard these changes? Is there a guide to…
Adrian Garner
  • 5,235
  • 2
  • 23
  • 29
0
votes
0 answers

Is Plone's Dexterity able to be programmed to use a database?

http://developer.plone.org/reference_manuals/external/plone.app.dexterity/advanced/permissions.html In the documentation, I see this, Note All permissions need to be defined before the line in configure.zcml. Otherwise, you may get errors trying…
johnny
  • 19,272
  • 52
  • 157
  • 259
0
votes
2 answers

Can't create Dexterity content type programatically in Plone 4.3.1

I created a new content type using the Dexterity manager in Site Setup. I'm able to successfully add content through the Plone user interface, but I've come to a point where I need to create the same object with a python script. My first attempt was…
ngraves
  • 353
  • 2
  • 6
0
votes
3 answers

Error after adding plone.app.dexterity to Plone 4.3 buildout

I've used https://github.com/plone/plonedev.vagrant to set up a Plone 4.3 development environment on Windows. I've been trying to add Dexterity support to my installation, but have run into problems. The steps I have taken are as follows: Added…
manicminer
  • 33
  • 4
0
votes
2 answers

Dexterity Content Type DateTime Issue & How to modify Content Type Values

First of all: I am running a Plonce Plone 4.3 (4305) instance with Dexterity Content Types 2.0.7 My approach is to write a Python Script (added via ZMI) which creates my dexterity content type using the methods invokeFactory(...) or…
shiriaru
  • 1
  • 1
0
votes
2 answers

getMultiadapter error with custom EditForm in dexterity plone 4.2

I'm trying to open a custom editform which would only show one field from a form with 12 fields: class EditForm(dexterity.EditForm): grok.name('editCustom') grok.context(IInfo) def updateWidgets(self): super(EditForm,…
Don Keillor
  • 115
  • 9
0
votes
1 answer

How to customize dexterity-through-the-web-content view?

I created a content in my Plone 4.3 site (no grok here) with the very nice Dexterity through-the-web editor. Now I'd like to customize the default view for this content. I've read Martn Aspelli's book but the problem is that through-the-web content…
Ben
  • 62
  • 7
0
votes
1 answer

Date fields in Dexterity custom view template - some not rendering

I have a dexterity content type with custom fields that I have added to the "metadata" tab under portal_catalog. I have constructed my view template with the following (it is a modfication of folder_listing):
Dan
  • 958
  • 2
  • 11
  • 25
0
votes
1 answer

Creating sub-content based on csv file in parent (plone dexterity)

I have created two content types in Plone 4.3 via Dexterity and created a Plone Product on the file system. The types are Supplier item Items can only exist in inside Supplier, and I can manually create new items without I'd like to be able to…
Peter B
  • 59
  • 1
  • 7
0
votes
1 answer

Allow Editing Short Name for Dexterity Add/Edit Form

I want some custom Dexterity types can be explicitly edited for their short name (ID, that will be part of the URL) field. If the short name field is left blank, then it will be calculated from the (required) title field value by the enabled…
marr
  • 861
  • 4
  • 19
0
votes
1 answer

can Dexterity store field (include uid or parentid) in sql?

Archetypes has a sqlstorage attribute when design the schema,how about the Dexterity?
1 2 3
18
19