W jaki sposób mając:
if (comparingList.size()<3)
{
return "tekst1" + "tekst2" + "tekst3 ";
}
wyświetlić ten tekst na stronie *.xhtml w poniższy sposób ?
tekst1 tekst2
tekst3
dodanie znacznika <code class="none"> - @furious programming
W jaki sposób mając:
if (comparingList.size()<3)
{
return "tekst1" + "tekst2" + "tekst3 ";
}
wyświetlić ten tekst na stronie *.xhtml w poniższy sposób ?
tekst1 tekst2
tekst3
dodanie znacznika <code class="none"> - @furious programming
Dodajac w tekscie <br/>?;p
Na stronie ten string wygladac tak :
<h1 id="SecondMsg">#{gameBean.scoreDraw()}</h1>
Trzeba cos wykombinowac tu
return "tekst1" + "tekst2" + "tekst3 ";
Próbowałem \n ale nic z tego
OK, no to napisze łopatologicznie. Zamień to:
return "tekst1" + "tekst2" + "tekst3 ";
Na to:
return "tekst1" + "tekst2<br/>" + "tekst3 ";