wicket include a html

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

wicket include a html

Hello All,

I would like to include only a part of a html page dynamically. That part is a <ul></ul> markup. I am using the Include code. But once I use that i get this exception

WicketMessage: java.net.MalformedURLException: no protocol:

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


Inclusion contents to be inserted here.

even though it is .html it just has a <ul> tag


Can anyone please help out how I can just include that ul part?

Thank you