Uso un portlet "tal" per mostrare il "libro della settimana" che gli utenti
caricano compilando un form ploneformgen.

Il libro della settimana viene mappato verso una normalissima news.

Se il titolo contiene accentate, il portlet dà errore unidecoderror.

il codice del portlet tal è questo:



<metal:block define-macro="portlet">
     <div  id="portlet_libri"
             tal:define="presults
python:context.portal_catalog(portal_type='News Item', path='/
www.isisromero.gov.it/news/libri', sort_on='effective',
sort_order='reverse')"
             tal:condition="presults">


               <tal:block define="pobj python:presults[0].getObject()">


<h2> Libro della settimana</h2>
<h3 tal:content=pobj/Title>IL TITOLO DEL LIBRO </h3>


.........

Il sito del portlet è www.isisromero.gov.it

Come posso far digerire le accenteate al portlet? Il "libro della
settimana" come oggetto news viene creato regolarmente, il problema è la
visualizzazione tramite portlet!

-- 
Fabrizio
--------------------
Non inviato da IPhone

"Life is what happens to you while you're busy making other plans" - J.
Lennon

“If you think education is expensive, try ignorance” - D. Bok

Life is like a game of cards. The hand you are dealt is determinism; the
way you play it is free will - Jawaharlal Nehru
_______________________________________________
Plone-IT mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html

Rispondere a