"""CubicWeb web client core. You'll need a apache-modpython or twistedpublisher to get a full CubicWeb web application:organization: Logilab:copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr"""__docformat__="restructuredtext en"fromcubicweb.web._exceptionsimport*_=unicodeINTERNAL_FIELD_VALUE='__cubicweb_internal_field__'classstdmsgs(object):"""standard ui message (in a class for bw compat)"""BUTTON_OK=_('button_ok')BUTTON_APPLY=_('button_apply')BUTTON_CANCEL=_('button_cancel')BUTTON_DELETE=_('button_delete')YES=_('yes')NO=_('no')defeid_param(name,eid):asserteidisnotNoneifeidisNone:eid=''return'%s:%s'%(name,eid)fromloggingimportgetLoggerLOGGER=getLogger('cubicweb.web')FACETTES=set()## FACETTES = set( (## # (relation, role, target's attribute)## ('created_by', 'subject', 'login'),## ('in_group', 'subject', 'name'),## ('in_state', 'subject', 'name'),## ))