Ho provat facendo direttamente il controllo senza assegnare il valore alla 
variabile ma mi da questo errore
TraversalError: ({'args': ()}, "error_type!='NotFound'") (Also, the following 
error occurred while attempting to render the standard error message, please 
see the event log for full details: Query contains only common words: '/') 

Il giorno 26/nov/2010, alle ore 10.36, Yuri ha scritto:

> Il 26/11/2010 10:22, Guglielmo Carandente ha scritto:
>> Ciao yuri,
>> definisco la variabile e poi metto una condizione...
>> ma li dentro non entra mai perchè err_type è sempre nothing
> 
> togli |nothing e riprova.
> 
> 
>> 
>> <tal:vars tal:define="err_type options/error_type|nothing;">
>> <tal:checkfooter tal:condition="python:err_type!='NotFound'">
>> Il giorno 26/nov/2010, alle ore 10.19, Yuri ha scritto:
>> 
>>> Il 26/11/2010 10:14, Guglielmo Carandente ha scritto:
>>>> Ciao a tutti,
>>>> è da una settimana circa che ho iniziato a lavorare (litigare) con 
>>>> plone.
>>>> Mi potreste aiutare, dovrei accedere alla variabile error_type in una
>>>> viewlet come posso fare?
>>>> di solito ci accedo da una vista con options/error_type.
>>>> **
>>> *
>>> se posti l'errore...
>>> *
>>> _______________________________________________
>>> Plone-IT mailing list
>>> [email protected] <mailto:[email protected]>
>>> http://lists.plone.org/mailman/listinfo/plone-it
>>> http://www.nabble.com/Plone---Italy-f21728.html
>>> 
>> 
>> *Guglielmo Carandente* [email protected] 
>> <mailto:[email protected]>
>> 
>> *INFOCUBE srl* via gino doria, 84 | 80128 napoli tel. +39 081 3412051 
>> | fax. +39 081 19305669 www.infocube.it <http://www.infocube.it> 
>> blog.infocube.it <http://blog.infocube.it>
>> 
>> 
>> 
>> _______________________________________________
>> Plone-IT mailing list
>> [email protected]
>> http://lists.plone.org/mailman/listinfo/plone-it
>> http://www.nabble.com/Plone---Italy-f21728.html
> 
> _______________________________________________
> Plone-IT mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/plone-it
> http://www.nabble.com/Plone---Italy-f21728.html
> 

Guglielmo Carandente
[email protected]

INFOCUBE srl
via gino doria, 84 | 80128 napoli
tel. +39 081 3412051 | fax. +39 081 19305669
www.infocube.it
blog.infocube.it


_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html

Rispondere a