Wicket Remove


[back to the reference]

You can use the Include component to include arbitrairy content from non-Wicket locations, such as static HTML headers, or even do page integration from external sites.

This component is not used for normal page composition tasks. You should usually get by using Panels, Borders and Markup inheritance.

I am a static html page.

Behind the Scenes

Example HTML

<span wicket:id="include">
Inclusion contents to be inserted here.

Example Code

    public IncludePage()
        add(new Include("include", "to_be_included.html"));

Further examples & and comments/explanations may be available in the source code.