Wicket is using html scape character to output your string on model, so it
will to be presented as '' and ''.
u can set FLAG_ESCAPE_MODEL_STRINGS to the componet
http://static.ddpoker.com/javadoc/wicket/1.4-rc2/org/apache/wicket/Component.html#getDefaultModelObjectAsString()
On Fri, Sep 25, 2009
Thanks Pedro;
String test = Get the latest Java bSoftware/b and br/explore how Java
technology provides a better digital experience.;
Label label = new Label(test, new Model(test));
label.setEscapeModelStrings(false);
works for me !!
setEscapeModelStrings(false); is the key part.
Thanks.
on your label call .setEscapeModelStrings(true);
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Sep 25, 2009 at 6:28 PM, Altuğ B. Altıntaş alt...@gmail.com wrote:
Thanks Pedro;
String test = Get the latest Java bSoftware/b and br/explore how
Java
technology provides a better
Oops - meant false - and then also saw the other replies.
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Sep 25, 2009 at 10:42 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
on your label call .setEscapeModelStrings(true);
--
Jeremy Thomerson