Re: html tag doesn't render by the browser

2009-09-25 Thread Jeremy Thomerson
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 > http://www.wickettra

Re: html tag doesn't render by the browser

2009-09-25 Thread Jeremy Thomerson
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ş wrote: > Thanks Pedro; > > String test = "Get the latest Java Software and explore how > Java > technology provides a better digital experience

Re: html tag doesn't render by the browser

2009-09-25 Thread Altuğ B . Altıntaş
Thanks Pedro; String test = "Get the latest Java Software and 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. 2009/9/

Re: html tag doesn't render by the browser

2009-09-25 Thread Pedro Santos
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

html tag doesn't render by the browser

2009-09-25 Thread Altuğ B . Altıntaş
Hi all ; Problem is html tag - bold doesn't process ; I don't know if this problem related with Wicket. Let me explain it by simple code: HTML side : test code comes here Java side : String test = "Java Software technology."; item.add( new Label("test", test) ); When i tes