hmm...sorry, i don't understand what you mean.

Here a small example how to implement this.

HTML-Template:
<span wicket:id="myspan" class="nowrap"></span>

CSS:
.nowrap {white-space:nowrap;}

Java:
add(new Label("myspan", new Model<String>("Some long Text..."));

Hope it helps. :)

Witold


Am Thu, 22 Jul 2010 22:42:23 -0700 (PDT)
schrieb Nii Amon Dsane <jaz...@gmail.com>:

> 
> Hi Witold,
> 
> I noticed something. When I was using  tags to embed strings in to the
> markup, the CSS wasn't applied but when I tried it with a <div> the styles
> were applied. Is this expected behaviour?
> 
> nii amon


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to