How to do document.write(Hello Word); in Wicket?

2011-02-20 Thread Paolo
How can I write something into the HTML page, from Java code. A similar fast metod like in javascript to write in HTML: document.write(Hello word); It is userfull for conditional messagge like: If (sum==5) { document.write(It is right!) } or it may be userfull for an simple email antispam

Re: How to do document.write(Hello Word); in Wicket?

2011-02-20 Thread Pedro Santos
You can use an Label with escapeModelStrings set to false On Sun, Feb 20, 2011 at 10:35 PM, Paolo irresistible...@gmail.com wrote: How can I write something into the HTML page, from Java code. A similar fast metod like in javascript to write in HTML: document.write(Hello word); It is

Re: How to do document.write(Hello Word); in Wicket?

2011-02-20 Thread Jeremy Thomerson
On Sun, Feb 20, 2011 at 7:35 PM, Paolo irresistible...@gmail.com wrote: How can I write something into the HTML page, from Java code. A similar fast metod like in javascript to write in HTML: document.write(Hello word); It is userfull for conditional messagge like: If (sum==5) {