wicket.markup.html.panel.Fragment

[back to the reference]

Use fragments for inline panels..
fragments contents come here

panel contents come here

A fragment is like a panel, but can be 'inlined', meaning it does not need it's own markup file, but can be defined in the markup file of another. For this example, we use the parent's markup file as the host, and we do not explicitly tell the fragment which host to use.
Like panels, fragments can contain arbitrairy components, like this label: to be replaced, or
even another panel: also to be replaced.