web/data/cubicweb.goa.js
author Julien Jehannet <julien.jehannet@logilab.fr>
Thu, 23 Dec 2010 15:49:29 +0100
branchstable
changeset 6777 1d423b7aa6c9
parent 6215 759cf097f5aa
permissions -rw-r--r--
[ctxcomponents] RQLCtxComponent: refactor init_rendering/render_body to ease overriding init_rendering now simply execute the query to get result set to be displayed, and store it in .cw_rset attribute. Links to be displayed by default are now computed in render_body. So you may now simply customise what to be displayed by overriding render_body.

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

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