You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Илья Нарыжный <ph...@ydn.ru> on 2012/02/20 13:01:56 UTC

setRenderBodyOnly(true) doesn't work for label in </h1><pre>Hello, I have following code in HTML: <title><span wicket:id="pagetitle"/><wicket:message key="site.title.suffix"></wicket:message></title> and in Java: add(new Label("pagetitle", titleModel).setRenderBodyOnly(true)); But as output on page, I have following title: <title><span>Actual title here</span>site suffix</title> It seems to be a bug... Wicket version is 1.5.4 Is it a bug and Jira ticket should be created? Thanks, Ilia --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org For additional commands, e-mail: users-help@wicket.apache.org </pre><hr/> <h2>Re: setRenderBodyOnly(true) doesn't work for label in <title></h2> <b>Posted by Martin Grigorov <ma...@yahoo.com>.</b><hr/><pre>Hi, Create a quickstart and attach it to Jira. It is interesting to see what is the problem. In the meantime use <wicket:container wicket:id="pagetitle"/> instead. ________________________________ From: Илья Нарыжный <ph...@ydn.ru> To: users@wicket.apache.org Sent: Monday, 20 February 2012, 13:01 Subject: setRenderBodyOnly(true) doesn't work for label in <title> Hello, I have following code in HTML: <title><span wicket:id="pagetitle"/><wicket:message key="site.title.suffix"></wicket:message></title> and in Java: add(new Label("pagetitle", titleModel).setRenderBodyOnly(true)); But as output on page, I have following title: <title><span>Actual title here</span>site suffix</title> It seems to be a bug... Wicket version is 1.5.4 Is it a bug and Jira ticket should be created? Thanks, Ilia --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org For additional commands, e-mail: users-help@wicket.apache.org</pre><hr/> <h2>Re: setRenderBodyOnly(true) doesn't work for label in <title></h2> <b>Posted by Chantal Ackermann <ch...@btelligent.de>.</b><hr/><pre>Hi Ilia, it works for me in 1.5.4. My markup looks like that: <title>Window : <span wicket:id="headerPageTitle"></span></title> The difference might be that I am using an explicit closing tag </span>. (I have not played around with it.) Chantal On Mon, 2012-02-20 at 13:01 +0100, Илья Нарыжный wrote: > Hello, > > I have following code in HTML: > > <title><span wicket:id="pagetitle"/><wicket:message > key="site.title.suffix"></wicket:message></title> > > and in Java: > > add(new Label("pagetitle", titleModel).setRenderBodyOnly(true)); > > But as output on page, I have following title: > > <title><span>Actual title here</span>site suffix</title> > > It seems to be a bug... Wicket version is 1.5.4 > > Is it a bug and Jira ticket should be created? > > Thanks, > > Ilia > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org > For additional commands, e-mail: users-help@wicket.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org For additional commands, e-mail: users-help@wicket.apache.org </pre><hr/> </body> </html>