简体   繁体   中英

Java Zkoss Frontend Framework - Break line in property label

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM