Tuesday, June 23, 2009

Hawaiian Phrases And Translation

Java, HTML and JavaScript source code constitute good on the blog?

In building

want my pages with the GWT, I use the usual HTML tags

H1-H6 . How does it work? Carajillo © H. Brune The direct use of a label

not work. A statement such as:

add (new Label ("\u0026lt;h1> title \u0026lt;/ h1 >"));

generated in hosted mode the display

\u0026lt;h1> Title \u0026lt; , / h1>

, the tags are so quoted. It is also in the Label

Java Doc

. There is also found the reference on the HTML widget

. This can solve the task. The statement:

add (new HTML ("\u0026lt;h1> title \u0026lt;/ h1 >"));

produces the desired look. must consider only that you lose the security benefits that it provides automatic HTML quoting of Labels .

0 comments:

Post a Comment