Archivo para agosto, 2010

Cambiar a modo vi en ksh

% set -o vi

agosto 3, 2010 at 1:10 am Deja un comentario

Zope: Get by name

Zope
GetByName:
obj=getattr(context,objName)

agosto 3, 2010 at 1:05 am Deja un comentario

Use url_quote_plus inside tal

Use url_quote_plus inside tal:
First, define:
<tal:imports tal:define="url_quote_pluspython:modules['Products.PythonScripts.standard'].url_quote_plus;">
<!–and here, use–>
<a href="." tal:attributes="hrefpython:url_quote_plus(myVar)">link</a>
</tal:imports>
And the same works for all other string functions

agosto 3, 2010 at 1:02 am Deja un comentario


Calendario

agosto 2010
L M X J V S D
« jul    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Entradas por Mes

Entradas por Categoría


Seguir

Get every new post delivered to your Inbox.