javadoc for (string, string, markupcontainer) says * @param markupProvider * The component whose markup contains the fragment's markup */
-igor On Dec 24, 2007 11:58 AM, smallufo <[EMAIL PROTECTED]> wrote: > 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 ? > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]