An reusable behavior can be archived using the MarkupComponentBorder.
On a side note, why do you want to write commented model values in markup?
On Mon, Mar 28, 2011 at 11:02 AM, Brown, Berlin [GCG-PFS]
berlin.br...@primerica.com wrote:
This is simple code and works, do you think this is a way
Santos [mailto:pedros...@gmail.com]
Sent: Monday, March 28, 2011 12:19 PM
To: users@wicket.apache.org
Subject: Re: HTML comment tag
An reusable behavior can be archived using the MarkupComponentBorder.
On a side note, why do you want to write commented model values in
markup?
On Mon, Mar 28, 2011
.
-Original Message-
From: Pedro Santos [mailto:pedros...@gmail.com]
Sent: Monday, March 28, 2011 12:19 PM
To: users@wicket.apache.org
Subject: Re: HTML comment tag
An reusable behavior can be archived using the MarkupComponentBorder.
On a side note, why do you want to write commented
To: users@wicket.apache.org
Subject: Re: HTML comment tag
We do this in our application by doing:
add(new Label(debugInfo, new
DebugInfoModel()).setEscapeModelStrings(false).setRenderBodyOnly(true));
private static class DebugInfoModel extends LoadableDetachableModelString
{
@Override