web/data/cubicweb.goa.js
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 04 Mar 2010 09:35:34 +0100
branchstable
changeset 4785 1fa7363c78bd
parent 0 b97547f5f1fa
child 5658 7b9553a9db65
child 5767 1d811df051c2
permissions -rw-r--r--
add render_description method to RSSItemView to improve modularity. The construction of the description marker of and rss entry is currently built by the main cell_call function. This make the job hard for RSSItemView subclass to change the default behaviour. The changeset fix this issue by extracting the description creation into a render_description method. Such extraction are already in place for various rss marquer.

/*
 *  functions specific to cubicweb on google appengine
 *
 *  :organization: Logilab
 *  :copyright: 2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 */

/* overrides rql_for_eid function from htmlhelpers.hs */
function rql_for_eid(eid) { return 'Any X WHERE X eid "' + eid + '"'; }