Thank you very much. The property rawValue solved the problem.
For completion I add some other possibilites to print value and its output:

<content:bigTextField name="content" id="content" display="true"/>
<hr/>
<logic:notEmpty name="content">
        <bean:write name="content" filter="false" />
        <hr/>
        <bean:write name="content" property="value" filter="false" />
        <hr/>
        <bean:write name="content" property="rawValue" filter="false" />
</logic:notEmpty>

And the output for text "ěščřžýáíé" is:
ěščřž&yacute;&aacute;&iacute;&eacute;
<hr/>
        [EMAIL PROTECTED]
        <hr/>
        ěščřž&yacute;&aacute;&iacute;&eacute;
        <hr/>
        ěščřžýáíé

So the only way how to prevent converting to entities is throught property
rawValue.

Kind regards
Ing. David Kovář
Oxygen Solutions, s. r. o.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sergiy Shyrkov
Sent: Wednesday, July 11, 2007 3:25 PM
To: Any questions regarding template development and/or about the taglibs
extension
Subject: Re: [template_list] Convertin latin chars to entities

Hi David,

this is an internal handling of HTML entities in Jahia for displaying.
If you really need to display the "raw" text (without HTML entity 
conversion), you need to do the following:
1) Disable HTML entities conversion in FCKeditor (as you have done before):
FCKConfig.ProcessHTMLEntities    = false ;
FCKConfig.IncludeLatinEntities    = false ;
FCKConfig.IncludeGreekEntities    = false ;

2) Display your field as follows:
                <content:bigTextField name="content" id="content" 
display="false" defaultValue=""/>
                <bean:write name="content" property="rawValue" 
filter="false"/>

It will display the non-encoded value.

Kind regards
Sergiy Shyrkov

David Kovář schrieb:
> Hi,
> I've just tried add string "+ěščřžýáíé" to the page
> http://www.jahia.net/demo5/Jahia/op/edit/lang/en/pid/3, and the HTML
source
> contains "+ěščřž&yacute;&aacute;&iacute;&eacute;", so the another
experience
> than yours (you can see that page)
> I have found, that it's not a FCK problem, because this happens in
SmallText
> field also.
>
> I use Jahia 5.0.1 trial Professional Edition and HSQL DB on a develop
> environment and MySQL on a testing env. Both environments show the same
> results (entities in HTML source).
>
> Kind regards
> Ing. David Kovář
> Oxygen Solutions, s. r. o.
>
>   

_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

Reply via email to