Unlike Label, MultiLineLabel shows text that spans multiple lines by inserting
line breaks (BR tags) for newlines and paragraph markers
(P tags) for sequences of more than one newline.
This is a line.
And this is another line.
End of lines.
<span wicket:id="multiLineLabel" class="mark">this text will be replaced</span>
public MultiLineLabelPage() {
String text =
"\nThis is a line.\n" +
"And this is another line.\n" +
"End of lines.\n";
add(new MultiLineLabel("multiLineLabel", text));
}