Hello,

I try make a rss reader in my publication with apache Rome.
I integrate Rome with lenya. In the java usecase handler get the content of
notice like:

List<String> lst =   "<div >  ...  Notice1... </div>","<div >  ... 
Notice1... </div>",...

then setParameter("lst",lst) and I need put this html code in my jx file.

Using <jx:macro tag 

<jx:macro name="rss" targetNamespace="http://www.w3.org/1999/xhtml";>
        <jx:parameter name="list" />
        <jx:forEach var="item" items="${list}">
                        ${item}
        </jx:forEach>
</jx:macro>

<rss list="${usecase.getParameter('lst')}" />

But the xhtml result is :

 &lt;div &gt;&lt;img
src='http://infocar.dgt.es/etraffic/img/ICONenTABLAS/INCIDtablRETE.gif'
alt='RETENCION' title='RETENCION' class='ftl' /&gt;&lt;img ...

html entities apear in the code, i need write the <div tag ... to include in
xhtml page.

It´s possible pass the ${item} like a html code not like a text.

Thank very much.







-- 
View this message in context: 
http://www.nabble.com/jx%3Amarco-TAG-tp22680769p22680769.html
Sent from the Lenya - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to