Re: Character conversions?

[email protected]
Newsgroups gmane.comp.cms.jahia.template
Message-ID <OFE8C3C19E.834FEA91-ONC12570FA.00377290-C12570FA.00377294@generic.se>
Thank You very much for trying to help.

I am using or trying jahia , struts and jstl taglibs.

<content:textField name="genericWordTitle" id="titlefield" valueId="title" />
<bean:write name="titlefield" property="value" filter="false"/>
<bean:write name="title" filter="false"/>
<c:out value="${title}"/>
<c:out value="${titlefield.value}" />

if the field has the value Åland the result will be

&Aring;land // Jahia tag
&Aring;land // struts getting value property
&Aring;land // struts using the string
&amp;Aring;land // jstl using the string and filtering the &
&amp;Aring;land // jstl using the string and filtering the &

So with filtering (jstl) even the output will look bad.

Ok. I have to make a filter and replace the encoded characters, sort, do all other logic then convert the strings back again before I show them.

Regards

/Lars
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.