In 1.3 rc2 , I found Fragment(String,String) is deprecated .
I see the src, saying : @deprecated use [EMAIL PROTECTED] #Fragment(String,
String,
MarkupContainer)}
But I don't know what should I fill in the MarkupContainer . ... ?
<span wicket:id="myPanel">Example input (will be removed)</span>
<wicket:fragment wicket:id="frag1">panel 1</wicket:fragment>
<wicket:fragment wicket:id="frag2">panel 2</wicket:fragment>
add(new Fragment("myPanel1", "frag1");
Just like this easy example above (in the JavaDoc) , what is the
recommended way in 1.3 ?