Package: collective.eeafaceted.z3ctable
collective.eeafaceted.z3ctablePackage proposant un type de colonne compatible avec eea.facetednavigationSource code @ GitHubReleases @ PyPIInstallationTo installcollective.eeafaceted.z3ctableyou simply addcollective.eeafaceted.z3ctableto the list of eggs in your buildout, run buildout and restart Plone.
Then, installcollective.eeafaceted.z3ctableusing the Add-ons control panel.Changelog2.26 (2023-11-27)Take into accountVocabularyColumn.ignored_valueinAbbrColumn.
[gbastien]2.25 (2023-10-27)InDateColumn.renderCell, no need to manage aDateTimeas it is supported
byapi.portal.get_localized_time.
[gbastien]2.24 (2023-10-19)AddedPrettyLinkWithAdditionalInfosColumn.ai_reloaded_fieldsfunctionnality:
this will force update cached widget and remove its terms if any, this is
useful when using a context aware vocabulary.
[gbastien]Removed thePrettyLinkWithAdditionalInfosColumnget_ai_xxxaccessors,
access the attribute directly instead.
[gbastien]Added attributeBaseColumn.the_object=False, this means that we are getting
the information on the object and not on the brain.
Removed recently added columnsAwakeObjectVocabularyColumnandAwakeObjectAbbrColumn, simply usethe_object=Truein this case.
[gbastien]2.23 (2023-09-04)AddedAwakeObjectVocabularyColumnandAwakeObjectAbbrColumn, having same
behavior asVocabularyColumnandAbbrColumnbutattrNameis get on awaken
object instead brain metadata, this avoids adding aportal_catalogmetadata.
[gbastien]InAwakeObjectcolumns, useimio.helpers.content.base_getattrinsteadgetattrto avoid problems with acquisiton.
[gbastien]2.22 (2023-08-24)Rely onimio.helpers.content.get_user_fullnamethat manages fallback togetMemberInfoif fullname not found inmutable_properties.
This needs to rely onimio.helpersthat is now a dependency.
[gbastien]2.21 (2023-06-27)InPrettyLinkWithAdditionalInfosColumn, in the cached view, update widget
when it is aRelationChoice/RelationListto get correct value.
[gbastien]2.20 (2023-06-21)Corrected iteration problem if gotten value for column is None.
[sgeulette]2.19 (2023-02-27)Extended JS functiontoggleCheckboxesto pass the select/unselect checkbox
as first parameter and trigger the click event when checkboxes checked or unchecked.
This changes nothing here but makes this function more useable in other contexts.
[gbastien]JS functionpreventDefaultClickTransitionwas renamed topreventDefaultClickinimio.actionspanel>=1.62.
[gbastien]Do not break inI18nColumnwhen translating a string with special chars.
[gbastien]2.18 (2022-06-14)AddedBaseColumn.escape = Trueso content is escaped.
Manage escape manually for theTitleColumn,VocabularyColumnand theAbbrColumn, set it toFalseforCheckBoxColumn,ElementNumberColumnandActionsColumnthat are entirely generated, set it toFalseforPrettyLinkColumnNothingasimio.prettylinkmanages it itself.
[gbastien]2.17 (2022-05-13)Doing an unrestricted object get to increase performance.
[sgeulette]2.16 (2022-01-03)Added debug mode when displaying results, this will display the time to
render each cell, each column (total of every cells) and a global table total.
Just adddebug=trueto the URL
[gbastien]2.15 (2021-11-08)Renamed parameter passed toPrettyLinkWithAdditionalInfosColumn.getPrettyLinkfromitemtoobjas it is actually theobjthat is received and not theitem.
[gbastien]Added attributePrettyLinkWithAdditionalInfosColumn.ai_included_fields,
by default it displayed every non empty fields, with this parameter it is
possible to select which fields to display.
[gbastien]2.14 (2021-07-16)Fixed theCheckBoxColumn, add a name to the select all/nothing checkbox so
it is possible to have several checkbox columns (on same table or when
displaying several tables on same page).
[gbastien]2.13 (2021-01-06)Added possibility to define aheader_helpmessage that will be displayed
when hovering header title.
[gbastien]Added<label>tag around input for theCheckBoxColumnso it can be syled
to ease checkbox selection on click.
[gbastien]2.12 (2020-10-02)InPrettyLinkWithAdditionalInfosColumn, use IDataManager to get widget value.
[gbastien]2.11 (2020-08-18)RenderDataGridFieldinPrettyLinkWithAdditionalInfosColumnvertically.
[gbastien]Bugfix inPrettyLinkWithAdditionalInfosColumn, sometimes the widget’s
context was the previous row object.
[gbastien]Added parameterPrettyLinkWithAdditionalInfosColumn.simplified_datagridfieldand set it toFalseby default.
[gbastien]MovedMemberIdColumn.get_user_fullnameout ofMemberIdColumnso it can be
easily used from outside.
[gbastien]AddedPrettyLinkWithAdditionalInfosColumn.ai_extra_fields, that
let’s include extra data not present in schema, by default this will includeid,UIDanddescription.
[gbastien]2.10 (2020-05-08)InPrettyLinkWithAdditionalInfosColumn, removed to setup around current URL
that was necessary for displaying image and files correctly but instead,
requireplone.formwidget.namedfile>=2.0.2that solves the problem.
[gbastien]2.9 (2020-02-25)Ignored EMPTY_STRING in VocabularyColumn
[sgeulette]2.8 (2020-02-06)Managed correctly a field not yet set.
[sgeulette]In thePrettyLinkWithAdditionalInfosColumn, managedescriptionmanually
as it is not present in the@@viewwidgets.
Display it as any other fields if not empty.
[gbastien]Added IconsColumn
[sgeulette]2.7 (2019-09-13)Incolumns.AbbrColumn, make sure there is no‘in tag title or it is not
rendered correctly in the browser.
[gbastien]2.6 (2019-09-12)Fixed translation ofPlease select at least one element.msgid, it was
still using the old domaincollective.eeafaceted.batchactionsfrom which
theselect_rowcolumn was reintegrated.
[gbastien]Optimized thePrettyLinkWithAdditionalInfosColumnspeed :theview.updateis called one time and we store the view in the column
so next rows may use it;usecollective.excelexportdatagridfield exportable to render adatagridfieldbecause widget rendering is way too slow…addedcollective.excelexportas a dependency.[gbastien]2.5 (2019-08-02)InVocabularyColumnandAbbrColumn, store the vocabularies instances
under_cached_vocab_instanceto avoid doing a lookup for each row.
This does speed rendering a lot.
[gbastien]2.4 (2019-03-28)Fix Date column with SolR result
[mpeeters]AddedExtendedCSSTable.table_idandExtendedCSSTable.row_id_prefixmaking
it possible to have a CSS id on the table and for each rows.
By default, we defined it forFacetedTableView,table_id = ‘faceted_table’androw_id_prefix = ‘row_’.
[gbastien]ForColorColumn, do not redefine therenderHeadCellmethod but use theheaderattribute as we return static content.
[gbastien]AddedBaseColumn.use_cachingattribute set toTrueby default that will
avoid recomputing a value if it was already computed for a previous row.
This needs to be managed by column and base_get_cached_resultand_store_cached_resultare defined onBaseColumn.
Implementations are done forDateColumn,VocabularyColumnandAbbrColumn.
[gbastien]2.3 (2018-12-18)Infaceted-table-items.pt, group<span>displaying number of results or
no results under same<div>so it is easy to style.
[gbastien]2.2 (2018-11-20)AddedPrettyLinkWithAdditionalInfosColumn.ai_generate_css_class_fieldsattribute to make it possible to specify fields we want to generate a
CSS class for, depending on field name and value.  This is useful for
applying custom CSS to a particular additional info field having a
specific value.
[gbastien]2.1 (2018-09-04)AddedBooleanColumnbased on theI18nColumnthat displaysYesorNodepending on fact that value isTrueorFalse.
[gbastien]AddedPrettyLinkColumnandPrettyLinkWithAdditionalInfosColumncolumns
based on soft dependency toimio.prettylink.
[gbastien]AddedActionsColumncolumn based on soft dependency toimio.actionspanel.
[gbastien]AddedRelationPrettyLinkColumncolumn displaying a relation as a
pretty link.
[gbastien]Moved overrides ofSequenceTable.renderRowandSequenceTable.renderCellrelative to being able to define CSS classes by<td>tag and depending on
item value to a separatedExtendedCSSTable classso it can be reused by
other packages.
[gbastien]2.0 (2018-06-20)Make widget compatible witheea.facetednavigation >= 10.0.
This makes it no more compatible with older version.
[gbastien]Make package installable on both Plone4 and Plone5.
[gbastien]Reintegrated theselect_rowcolumn fromcollective.eeafaceted.batchactionsas it is useable by other Faceted packages.
[gbastien]Reintegrated js variables view that managesno selected elementsmessage.
[gbastien]1.0.3 (2018-05-03)Defined a weight of ‘100’ for the CheckBoxColumn so it is displayed on the
right of the table columns by default.
[gbastien]Defined correct CSS id for bottom viewlets providers.
[gbastien]Updated french translation of ‘Review state’ to add a ‘E’ with accent.
[gbastien]1.0.2 (2017-08-03)In BrowserViewCallColumn when computing the path to traverse,
avoid double ‘//’ that breaks (un)restrictedTraverse.
[gbastien]Make portal and portal_url directly available on the table instance.
[gbastien]1.0.1 (2017-06-01)Avoid useless redirects when using sorting and current URL ends with/viewor so.
[gbastien]Fixed tests to use translated strings instead msgid, adapted buildout
so po files are computed.
[gbastien]1.0 (2017-05-31)Check also empty column value with __empty_string__.
[sgeulette]Set default to ignored_value DateColumn
[sgeulette]0.19 (2017-02-09)Enable merging and caching for collective.eeafaceted.z3ctable.js
in portal_javascripts.
[gbastien]0.18 (2017-01-31)Handle sort_on of the query by storing result of the sorting widget in the
request.form so it is reuseable by other widget.query that also manage the
sort_on attribute.
[gbastien]0.17 (2016-12-05)Added ElementNumberColumn that will display the number of the current element
among elements displayed in the table.  This supports table using batch or not.
[gbastien]0.16 (2016-08-03)Add option ignoreColumnWeight to Table to keep columns ordered as returned by
setUpColumns() rather than by column weight.
[sdelcourt]0.15 (2016-06-13)Correct wrong release.
[gbastien]0.14 (2016-06-13)ColorColumn : in renderHeadCell, do not return an empty HTML content butu’&nbsp;&nbsp;&nbsp;’so in case table is too large, the column does not shrink to nothing.
[gbastien]Use__name__instead ofattrNameto generateth_header_andtd_cell_CSS classes
so 2 columns using the sameattrNameget different CSS classes.
[gbastien]AddedAbbrColumnthat will generate a HTML tag<abbr>and that is based on 2 vocabularies,
one that manage the abbreviated value and one that manage the full value.
[gbastien]0.13 (2016-06-03)Display the ‘Refresh search results.’ link also when there are no current results.
[gbastien]0.12 (2016-03-29)Add english translations.
[sgeulette]0.11 (2016-02-15)Made BrowserViewCallColumn more generic, use unrestrictedTraverse instead of getMultiAdapter
[sgeulette, gbastien]Added DxWidgetRenderColumn to render a dexterity field widget
[sgeulette]Added RelationTitleColumn to render a z3c.relationfield.relation.RelationValue attribute
[sgeulette]0.10 (2016-01-15)Splitted the 2 viewlet managers to be able to add viewlets above and below batch navigation,
henceforth we have 4 viewlet managers : ‘collective.eeafaceted.z3ctable.topabovenav’,
‘collective.eeafaceted.z3ctable.topbelownav’, ‘collective.eeafaceted.z3ctable.bottomabovenav’,
‘collective.eeafaceted.z3ctable.bottombelownav’.
[gbastien]0.9 (2016-01-04)Use HTML entities &#9650; and &#9660; instead of &blacktriangle; and &blacktriangledown;
so it behaves nicely in both Firefox and Chrome.
[gbastien]0.8 (2015-12-23)Define a default CSS class on each TD as it is already done for TH
so it is easy to skin if necessary.
[gbastien]0.7 (2015-12-17)Replace sort triangle characters by html entities.
[sgeulette]Don’t pin setuptools for travis.
[sgeulette]0.6 (2015-11-18)Set long_format=True for CreationDateColumn and ModificationDateColumn.
[gbastien]VocabularyColumn: get term by value and not by token.
[sgeulette]0.5 (2015-09-28)Added 2 viewlets managers in the table : ‘collective.eeafaceted.z3ctable.top’
and ‘collective.eeafaceted.z3ctable.bottom’.
[gbastien]Replaced DateColumn rendering to work not only with DateTime but with DateTime, datetime and date.
[sgeulette]0.4 (2015-09-10)If an error occurs during render_table, catch the exception
and display traceback manually in the Zope log to avoid
faceted view to be frozen (JS ‘lock’ the web page and it is not
unlocked when an error occurs).
[gbastien]0.3 (2015-09-03)VocabularyColumn now manage multiValued values (list of values).
[gbastien]Optimized MemberIdColumn by not using getMemberInfo.
[gbastien]Added tests for table and columns.
[gbastien]Added link to refresh the search results.
[gbastien]Manage None value in MemberIdColumn
[sgeulette]0.2 (2015-08-04)Fix: avoid UnicodeDecodeErrors in ColorColumn if label contains special chars.
[gbastien]0.1 (2015-07-14)Initial release.
[IMIO]