[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 + '"';
}