Re: Character conversions?

Lorenzo Patocchi <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Organization Cryms sagl
Message-ID <[email protected]>
Can you try out this ?

<content:textField  name="genericWordTitle" id="titlefield" 
valueId="title" display="false" />
<bean:define id="title" name="title" />
<bean:define id="titlefield" name="titlefield" property="value"/>
<%=title%>
<%=titlefield%>

just to bypass any writing tag and check if content:textField is using 
some HTML conversion when display=true

[email protected] wrote:
> 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
>  
>  
>  
>  
>  
>  


-- 
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL
[email protected] - www.cryms.com
Tel: +41 91 60 55266
Cel: +41 79 375 0891
Fax: +41 91 223 9797

Cryms sagl
Via Cantonale 34a
6928 Manno - Lugano
Switzerland
smime.p7s (application/x-pkcs7-signature, 3.3 KB) - not displayed
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.