Frédéric Péters
af32e5d4b4
do not consider empty brains ( #4550 )
2014-03-24 13:58:50 +01:00
Frédéric Péters
7f7c2558b0
do not fail on non-string missing value ( #4535 )
2014-03-24 10:56:13 +01:00
Patrick Gerken
b2ec35c636
proper messaging
2013-08-17 19:53:33 +02:00
Jamie Lentin
ce0522fe91
Some binder instances for use with plone.supermodel schemas
...
See https://github.com/plone/plone.app.relationfield/pull/1 for when
they are useful. I'm guessing this is where they were supposed to be
moved, but it never happened.
2013-06-28 16:03:03 +01:00
Gaudenz Steinlin
f6d79e8b94
Ignore missing values
...
Content objects can go away or the content of a source may change. Don't
throw an exception in this case.
2013-06-06 15:35:09 +02:00
Patrick Gerken
2a5d645723
Revert "feat(templates) Add support for plone.formwidget.autocomplete 2.0"
...
I am going to do some changes on autocomplete which I can't finish
right now and I fear it might take longer, so I'll revert
autocomplete and this one for now.
This reverts commit af35485096
.
2013-05-23 01:04:12 +02:00
Patrick Gerken
af35485096
feat(templates) Add support for plone.formwidget.autocomplete 2.0
2013-05-15 17:24:27 +02:00
Daniel Widerin
f9302254c7
Add css and js registry installation tests
2013-03-12 20:37:22 +01:00
Daniel Widerin
5c720d3776
Switch to plone.app.testing
2013-03-12 20:06:35 +01:00
Eric BREHAULT
92ebb82fa6
remove portal_type criteria according a widget attribute (True by default)
2013-03-05 11:30:28 +01:00
Eric BREHAULT
55515e6b6b
remove portal_type criteria when searching for contents
2013-03-01 16:53:26 +01:00
philippe.gross
fa49b277e3
Added check in tree generation if it allready exists (reopening the contenttree window).
2012-11-12 09:46:46 +01:00
Laurence Rowe
d99c518c83
Use object id as context may not be hashable.
2012-09-28 12:30:52 +01:00
Laurence Rowe
598204639d
Tweak CSS to use outline instead of border.
2012-09-27 20:03:35 +01:00
Laurence Rowe
5b6d974902
Avoid theming ajax response.
2012-09-27 20:02:51 +01:00
Laurence Rowe
1a10c0e309
Ensure context is a content item of some sort.
2012-09-27 20:00:24 +01:00
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
5654369f6b
Added french translation.
2012-09-06 15:10:38 +02:00
philippe.gross
c3d1fce338
Adjust translation of label_contenttree_browse, and updated all po files.
2012-09-04 20:37:22 +02:00
philippe.gross
125a8c95d5
Revert "Updated translations"
...
This reverts commit 0ed4118b77
.
2012-09-04 20:27:47 +02:00
Franklin Kingma
0ed4118b77
Updated translations
2012-08-25 12:33:32 -07: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
philippe.gross
49da321b69
Fix url in display templates, so that it uses absolute urls.
2012-07-25 16:07:33 +02: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
Giorgio Borelli
053174ed55
added italian translation
2012-06-14 14:38:19 +02:00
Patrick Gerken
5cfe8d8670
The LookupError lets one think that the database is missing an object, but in reality the select criterias are wrong
2012-05-29 19:59:41 +03:00
Kai Lautaportti
f7110cc930
Added Finnish (fi) translation.
2012-05-11 15:33:06 +03: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
Maurits van Rees
5163112c72
Added Dutch translation.
2012-03-01 17:09:25 +01:00
hvelarde
1d4de17ac2
added Spanish translation
2011-12-14 14:53:12 -06:00
Nathan Van Gheem
9c97e00245
fix _getBrainByValue to check if value is traversable
...
first so we can provide the correct token.
2011-10-03 20:36:34 -05:00
Jian Aijun
583d8ae289
add zh_CN translation
...
svn path=/plone.formwidget.contenttree/trunk/; revision=51033
2011-07-05 00:49:22 +00:00
David Glick
dac7777534
fix for old jquery
...
svn path=/plone.formwidget.contenttree/trunk/; revision=50896
2011-07-02 18:33:58 +00:00
Jamie Lentin
578ef5bd7f
Make placeholder terms for hidden / missing items
...
svn path=/plone.formwidget.contenttree/trunk/; revision=49657
2011-05-16 15:49:44 +00:00
Jamie Lentin
601d12720a
Remove caching of bound_source, this can cache across requests
...
svn path=/plone.formwidget.contenttree/trunk/; revision=49656
2011-05-16 15:20:57 +00:00
Jamie Lentin
4912d64543
Try getSite over the context of PUBLISHED, since during transmogrify.dexterity import this test results in <Application >, which isn't good enough as a context
...
svn path=/plone.formwidget.contenttree/trunk/; revision=49639
2011-05-16 11:44:35 +00:00
Maurits van Rees
a633d724dc
Fake zope.globalrequest.getRequest when it cannot be imported (as in Plone 3).
...
svn path=/plone.formwidget.contenttree/trunk/; revision=49589
2011-05-14 01:57:08 +00:00
Maurits van Rees
df5f13d933
Use unrestrictedSearchResults to search for a UID in the catalog in the UUIDSource, as at this point it may be impossible be authenticated.
...
Avoids exceptions in validation when as Manager having selected a private item.
svn path=/plone.formwidget.contenttree/trunk/; revision=49519
2011-05-13 14:22:39 +00:00
Maurits van Rees
7061256a46
Add some more defenses against uids or brains that are not found.
...
svn path=/plone.formwidget.contenttree/trunk/; revision=49518
2011-05-13 13:55:39 +00:00
Maurits van Rees
1d2812a29d
In the UUIDSource warn when a brain has no UID value (Missing.Value).
...
svn path=/plone.formwidget.contenttree/trunk/; revision=49411
2011-05-11 12:04:40 +00:00
Maurits van Rees
1aaeba25f3
Catch IndexError when checking if a value is in a source (like when no results are found for a uuid).
...
svn path=/plone.formwidget.contenttree/trunk/; revision=49409
2011-05-11 10:41:12 +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
Maurits van Rees
3acd4f6960
Fixed undefined name 'token'.
...
svn path=/plone.formwidget.contenttree/trunk/; revision=49407
2011-05-11 10:16:26 +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