Hello Support,

how can I use a CMS-entry with type "text" in a JSF-View without loosing the settings in CMS like e.g. font-size and line breaks ?

Thanks in advance Richard Schmid

asked 22.02.2016 at 11:14

Richard%20Schmid's gravatar image

Richard Schmid
(suspended)
accept rate: 25%


Hello Richard,

if you like to use the Styling of cms you have to add the attribute escape="false" to you jsf tag. e.g. p:outputLabel id="projectTitle" value="#{ivy.cms.co('/Project/HeaderText')}" escape="false" best regards Roland

link

answered 22.02.2016 at 11:37

roland's gravatar image

roland
(suspended)
accept rate: 41%

Hello Roland,

with the attribute escape it works.

thanks a lot. Richard Schmid

(22.02.2016 at 11:46) Richard Schmid Richard%20Schmid's gravatar image

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×26

Asked: 22.02.2016 at 11:14

Seen: 1,833 times

Last updated: 22.02.2016 at 11:46