jsf - Put linebreak/newline in tooltip -


i'd put linebreak in tooltip displays like:

nom: value1
quality: value2

i tried:

1.

<h:outputtext title="nom: #{cntc.value1}&lt;br/&gt;quality: #{cntc.value1}" /> 

2.

<h:outputtext title="nom: #{ (''.concat(cntc.value1).concat('&lt;br/&gt;')concat('quality: ').concat(cntc.value2)}" /> 

none of them worked me. seems <br/> isn't being interpreted.

how can achieve this?

it's not idea name problem "concatenating strings in el" if issue neither of things. want create multi-line title, that's html problem.

title accepts text <br/> not work can put line break (&#13;) in there:

<h:outputtext value="#{cntc.mail }" title="nom: #{cntc.nom}&#13;qualite: #{cntc.qualite}" /> 

note may not work in every browser.