I'm using primefaces 5.3, JSF 2.2., and am currently modifying the primefaces showcase example: http://www.primefaces.org/showcase/ui/d ... hart.xhtml
My question is whether and how can I split text to multiple lines in a node (type Element) text label?
Code: Select all
Element my_node = new Element(" I want to insert line breaks here and there to make the label more readable.", "50em", "30em");
I've tried inserting ​, <br />, <wbr> into the node label, but it doesn't work.