Re: [Wicket-user] howto display html as is?

2007-03-27 Thread Gwyn Evans
On 27/03/07, Ralf Eichinger [EMAIL PROTECTED] wrote:
 I'm developing a cms.
 I want to output a html-string inside a wicket-page.
 when I do like this:

 Label lblArticleContent = new Label(lblArticleContent,
 article.getHtmlContent());

  lblArticleContent.setEscapeModelStrings(false);

// See 
http://www.wicket-library.com/wicket-examples/compref?wicket:bookmarkablePage=wicket-0:wicket.examples.compref.LabelPage

/Gwyn
-- 
Download Wicket 1.2.5 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] howto display html as is?

2007-03-27 Thread Martijn Dashorst
label.setescapemodelstrings(false)

On 3/27/07, Ralf Eichinger [EMAIL PROTECTED] wrote:
 I'm developing a cms.
 I want to output a html-string inside a wicket-page.
 when I do like this:

 Label lblArticleContent = new Label(lblArticleContent,
 article.getHtmlContent());
 add(lblArticleContent);

 I get my html encoded like this:
 lt;h1gt;Willkommen auf der Startseite!lt;/h1gt;lt;pgt;Hier kommt Ihr
 Text...lt;/pgt;

 Do I have to set something to not encode my html output?
 Do I have to use another component than Label?

 greetings
 ralf

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] howto display html as is?

2007-03-27 Thread Matej Knopp
label.setEscapeModelStrings(false)'

On 3/27/07, Matej Knopp [EMAIL PROTECTED] wrote:
 labelsetEscapeModelStrings(false);

 -Matej


 On 3/27/07, Ralf Eichinger [EMAIL PROTECTED] wrote:
  I'm developing a cms.
  I want to output a html-string inside a wicket-page.
  when I do like this:
 
  Label lblArticleContent = new Label(lblArticleContent,
  article.getHtmlContent());
  add(lblArticleContent);
 
  I get my html encoded like this:
  lt;h1gt;Willkommen auf der Startseite!lt;/h1gt;lt;pgt;Hier kommt Ihr
  Text...lt;/pgt;
 
  Do I have to set something to not encode my html output?
  Do I have to use another component than Label?
 
  greetings
  ralf
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys-and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] howto display html as is?

2007-03-27 Thread Igor Vaynberg

take a look at the kronos project in wicket-stuff. it is an unfinished cms
system.

-igor


On 3/27/07, Ralf Eichinger [EMAIL PROTECTED] wrote:


I'm developing a cms.
I want to output a html-string inside a wicket-page.
when I do like this:

Label lblArticleContent = new Label(lblArticleContent,
article.getHtmlContent());
add(lblArticleContent);

I get my html encoded like this:
lt;h1gt;Willkommen auf der Startseite!lt;/h1gt;lt;pgt;Hier kommt Ihr
Text...lt;/pgt;

Do I have to set something to not encode my html output?
Do I have to use another component than Label?

greetings
ralf

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] howto display html as is?

2007-03-27 Thread Matej Knopp
labelsetEscapeModelStrings(false);

-Matej


On 3/27/07, Ralf Eichinger [EMAIL PROTECTED] wrote:
 I'm developing a cms.
 I want to output a html-string inside a wicket-page.
 when I do like this:

 Label lblArticleContent = new Label(lblArticleContent,
 article.getHtmlContent());
 add(lblArticleContent);

 I get my html encoded like this:
 lt;h1gt;Willkommen auf der Startseite!lt;/h1gt;lt;pgt;Hier kommt Ihr
 Text...lt;/pgt;

 Do I have to set something to not encode my html output?
 Do I have to use another component than Label?

 greetings
 ralf

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] howto display html as is?

2007-03-27 Thread Marc-Andre Houle

lblArticleContent.setEscapeModelString(false);

On 3/27/07, Ralf Eichinger [EMAIL PROTECTED] wrote:


I'm developing a cms.
I want to output a html-string inside a wicket-page.
when I do like this:

Label lblArticleContent = new Label(lblArticleContent,
article.getHtmlContent());
add(lblArticleContent);

I get my html encoded like this:
lt;h1gt;Willkommen auf der Startseite!lt;/h1gt;lt;pgt;Hier kommt Ihr
Text...lt;/pgt;

Do I have to set something to not encode my html output?
Do I have to use another component than Label?

greetings
ralf

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] howto display html as is?

2007-03-27 Thread Michael Hosier
Label archivesLabel = new Label(archives, bIn the future please  
search the mailing list archives first./b).setEscapeModelStrings 
(false);


On Mar 27, 2007, at 11:31 AM, Ralf Eichinger wrote:

 I'm developing a cms.
 I want to output a html-string inside a wicket-page.
 when I do like this:

 Label lblArticleContent = new Label(lblArticleContent,
 article.getHtmlContent());
 add(lblArticleContent);

 I get my html encoded like this:
 lt;h1gt;Willkommen auf der Startseite!lt;/h1gt;lt;pgt;Hier  
 kommt Ihr
 Text...lt;/pgt;

 Do I have to set something to not encode my html output?
 Do I have to use another component than Label?

 greetings
 ralf

 -- 
 ---
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to  
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php? 
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user