equal
deleted
inserted
replaced
1208 |
1208 |
1209 All this with even less code! |
1209 All this with even less code! |
1210 |
1210 |
1211 The image below display the rendering of the slider: |
1211 The image below display the rendering of the slider: |
1212 |
1212 |
1213 .. image:: ../images/facet_range.png |
1213 .. image:: ../../images/facet_range.png |
1214 |
1214 |
1215 .. _jquery: http://www.jqueryui.com/ |
1215 .. _jquery: http://www.jqueryui.com/ |
1216 """ |
1216 """ |
1217 target_attr_type = 'Float' # only numerical types are supported |
1217 target_attr_type = 'Float' # only numerical types are supported |
1218 needs_update = False # not supported actually |
1218 needs_update = False # not supported actually |
1307 """This class works similarly as the :class:`RangeFacet` but for attribute |
1307 """This class works similarly as the :class:`RangeFacet` but for attribute |
1308 of date type. |
1308 of date type. |
1309 |
1309 |
1310 The image below display the rendering of the slider for a date range: |
1310 The image below display the rendering of the slider for a date range: |
1311 |
1311 |
1312 .. image:: ../images/facet_date_range.png |
1312 .. image:: ../../images/facet_date_range.png |
1313 """ |
1313 """ |
1314 target_attr_type = 'Date' # only date types are supported |
1314 target_attr_type = 'Date' # only date types are supported |
1315 |
1315 |
1316 @property |
1316 @property |
1317 def wdgclass(self): |
1317 def wdgclass(self): |
1438 `rtype` and `role` attributes. |
1438 `rtype` and `role` attributes. |
1439 |
1439 |
1440 Here is an example of the rendering of thos facet to filter book with image |
1440 Here is an example of the rendering of thos facet to filter book with image |
1441 and the corresponding code: |
1441 and the corresponding code: |
1442 |
1442 |
1443 .. image:: ../images/facet_has_image.png |
1443 .. image:: ../../images/facet_has_image.png |
1444 |
1444 |
1445 .. sourcecode:: python |
1445 .. sourcecode:: python |
1446 |
1446 |
1447 class HasImageFacet(HasRelationFacet): |
1447 class HasImageFacet(HasRelationFacet): |
1448 __regid__ = 'hasimage' |
1448 __regid__ = 'hasimage' |