Commit Graph

36 Commits

Author SHA1 Message Date
hvelarde 7f6e993c75 import getSite from zope.component to avoid dependency on zope.app.component 2012-09-19 18:44:40 -03:00
hvelarde 7c62d523ff import ViewPageTemplateFile from zope.browserpage to avoid dependency on zope.app.pagetemplate 2012-09-19 18:36:40 -03:00
philippe.gross c3d1fce338 Adjust translation of label_contenttree_browse, and updated all po files. 2012-09-04 20:37:22 +02:00
Franklin Kingma db1e431bb5 Use ajax fetch for initial content
Use bound source for initial path
2012-08-25 12:33:03 -07:00
Franklin Kingma e0170627e0 Use a ajax fetch for initial call, hardcoded for now 2012-08-25 12:33:03 -07:00
Franklin Kingma 620067afaa Trigger change handler to work with auto-insert in datagrid
Get runtime id instead of fixed id
2012-08-25 12:26:49 -07:00
Franklin Kingma 077bcc9d19 Use ajax fetch for initial content
Use bound source for initial path
2012-08-25 12:26:49 -07:00
Franklin Kingma 96165904fc Use a ajax fetch for initial call, hardcoded for now 2012-08-25 12:26:49 -07:00
Joscha Krutzki 7a610fb916 pep8 & Fix term title genration to use the brain id if there is not brain title 2012-07-09 16:11:30 +02:00
Maurits van Rees fbf56d5154 By default filter out nodes that are not selectable and not folderish.
This can be overridden on the widget by setting show_all_nodes to True.
2012-03-06 20:09:00 +01:00
David Glick dac7777534 fix for old jquery
svn path=/plone.formwidget.contenttree/trunk/; revision=50896
2011-07-02 18:33:58 +00:00
Maurits van Rees 43a186e30b Hi. My name is Maurits and I am a pep8 fetishist. [From the annals of the pep8 fetishists anonymous support group.]
svn path=/plone.formwidget.contenttree/trunk/; revision=49408
2011-05-11 10:19:31 +00:00
Jamie Lentin 375702d539 Use javascript function from plone.formwidget.autocomplete to add new input boxes. Just use full widget name in ++widget++ URL
svn path=/plone.formwidget.contenttree/trunk/; revision=49401
2011-05-10 13:20:57 +00:00
Jamie Lentin 0bcebf7378 Change UUIDSource so it uses path tokens too
svn path=/plone.formwidget.contenttree/trunk/; revision=49400
2011-05-10 13:20:38 +00:00
Jamie Lentin a23f0d3120 Add a UUIDSource that has plone.uuid values. Refactor so public methods have public names
svn path=/plone.formwidget.contenttree/trunk/; revision=49394
2011-05-09 15:08:44 +00:00
Jamie Lentin 8d9598a414 Alter terms so that token is the full path to an item
svn path=/plone.formwidget.contenttree/trunk/; revision=49393
2011-05-09 15:08:22 +00:00
Jamie Lentin e91be6e44b Copy-paste code from right place
svn path=/plone.formwidget.contenttree/trunk/; revision=49392
2011-05-09 15:08:00 +00:00
Jamie Lentin 78a70122de Move term-to-path generation out of templates
svn path=/plone.formwidget.contenttree/trunk/; revision=49391
2011-05-09 15:07:42 +00:00
Maurits van Rees e57d420bad Nuke trailing white space.
svn path=/plone.formwidget.contenttree/trunk/; revision=48748
2011-04-12 15:26:54 +00:00
Jonas Baumann 74f133f56e Use `zope.i18n.translate` instead of translation_service, since translation_service was removed in plone4.
svn path=/plone.formwidget.contenttree/trunk/; revision=40821
2010-10-26 13:23:16 +00:00
Israel Saeta Pérez 7a6dbfadf7 Merge dukebody-context branch 37522:37945.
svn path=/plone.formwidget.contenttree/trunk/; revision=38231
2010-07-25 10:36:05 +00:00
Gaudenz Steinlin ee5799b890 Update widget in the contenttree-fetch browser view
The widget.update() call rebinds to source which previously
was only bound during traversal. This avoids problems with
sources that only work after security is applied.

svn path=/plone.formwidget.contenttree/trunk/; revision=37120
2010-06-09 08:58:55 +00:00
Martin Aspeli 2aa2177c9e Make the widget compatible with Zope 2.12 security
svn path=/plone.formwidget.contenttree/trunk/; revision=33965
2010-02-14 08:52:33 +00:00
Carsten Senger 2418f18cef add a template for hidden mode
svn path=/plone.formwidget.contenttree/trunk/; revision=33011
2010-01-13 15:14:43 +00:00
Carsten Senger 086966009b cleanups: pep 8 and sort imports
svn path=/plone.formwidget.contenttree/trunk/; revision=32939
2010-01-10 16:13:59 +00:00
Jonas Baumann 5de68d6e55 Added message IDs for translations and added locales directory with german translations
svn path=/plone.formwidget.contenttree/trunk/; revision=32603
2009-12-23 15:46:57 +00:00
Martin Aspeli 8a325217d1 Fix browsing on add form
svn path=/plone.formwidget.contenttree/trunk/; revision=27705
2009-06-29 03:16:27 +00:00
Martin Aspeli fb0c53ea24 Borrowed from plone.formwidget.autocomplete
svn path=/plone.formwidget.contenttree/trunk/; revision=26521
2009-04-15 02:26:30 +00:00
Martin Aspeli cebd03e20a Add display mode template
svn path=/plone.formwidget.contenttree/trunk/; revision=26287
2009-04-04 16:04:57 +00:00
David Glick ccd5653325 handle stripping off the portal path a different way to avoid acquisition trouble with the portal_url tool; fix the callback URL and validate_url method by copying the working version from the autocomplete widget
svn path=/plone.formwidget.contenttree/trunk/; revision=25824
2009-03-12 06:56:18 +00:00
David Glick f2209c54c0 meant path, of course
svn path=/plone.formwidget.contenttree/trunk/; revision=25812
2009-03-11 12:00:15 +00:00
David Glick e4ed4010c9 a few fixes to the path handling, and added ObjPathSource
svn path=/plone.formwidget.contenttree/trunk/; revision=25810
2009-03-11 11:44:16 +00:00
Rob Gietema 4551d2591d Fixed multi select
Small layout fixes

svn path=/plone.formwidget.contenttree/trunk/; revision=25783
2009-03-10 18:32:20 +00:00
Rob Gietema 4b555af1cc Tree is now in a dialog box behind a "browse" button
Add button inserts a new value into radio button/checkbox list

svn path=/plone.formwidget.contenttree/trunk/; revision=25772
2009-03-09 22:43:24 +00:00
Martin Aspeli 0762368b12 Base tree widget on autocomplete widget. Make fallback handler more robust.
svn path=/plone.formwidget.contenttree/trunk/; revision=22463
2008-09-01 22:01:23 +00:00
Martin Aspeli 3055d0d10f Initial checkin
svn path=/plone.formwidget.contenttree/trunk/; revision=22458
2008-08-31 23:57:55 +00:00