I invested too much time, now I want to ask you how can I insert a line break at a specific position in the value of a .properties file-property. for example, I have:
the zul:
<zk xmlns:h="native" xmlns:x="xhtml">
<groupbox width="850px">
<caption label="${c:l('not this label')}" />
<h:table >
<h:tr>
<h:td>
<h:label>${c:l('mylabel.linebreakedlabel')}</h:label>
</h:td>
....
the .properties file:
mylabel.linebreakedlabel = Hello this label should be breaked into two lines
I tried many different solutions:
A:
Hello this label should be \ breaked
into two lines
-> second line in label gets thrown away
B:
{
Hello
second line
}
-> The {} gets rendered and second line is thrown away
C:
\n with and without enter either renders the sign or throws away the whole second line
D:
Tried </br>, the element itself gets rendered
Im asking on this platform because ZK Forums won't send me an email to confirm my register. Anyone knows the problem or atleast know where the problem lies? (Using ZK Version 6)
Thank you!
please read Specify a Value with Multiple Lines, its code example, and properties file example .