I've used markup inheritance in Panels and haven't had a problem.
However, I seem to have problems when trying it with Pages.
I have a Page named example.pages.auth.AuthenticatedPage and associated
markup named example.pages.auth.AuthenticatedPage.html. Another
Page, named example.pages.dashboard.Dashboard extends Auth, and it has
associated markup in examples.pages.dashboard.Dashboard.html.
However, Wicket seems to be unable to find the markup. Here's the
log:
DEBUG: 2005-10-03 19:15:17,635: ResourceFinderResourceStreamLocator:
Attempting to locate resource
'example/pages/dashboard/Dashboard_en_US.html' on path [folders = [],
webapppaths: []]
DEBUG: 2005-10-03 19:15:17,637: ResourceFinderResourceStreamLocator:
Attempting to locate resource
'example/pages/dashboard/Dashboard_en_US.html' on path [folders = [],
webapppaths: []]
DEBUG: 2005-10-03 19:15:17,637: ResourceFinderResourceStreamLocator:
Attempting to locate resource
'example/pages/dashboard/Dashboard_en.html' on path [folders = [],
webapppaths: []]
DEBUG: 2005-10-03 19:15:17,638: ResourceFinderResourceStreamLocator:
Attempting to locate resource 'example/pages/dashboard/Dashboard.html'
on path [folders = [], webapppaths: []]
DEBUG: 2005-10-03 19:15:17,639: ClassLoaderResourceStreamLocator:
Attempting to locate resource
'example/pages/dashboard/Dashboard_en_US.html' using classloader
WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
[EMAIL PROTECTED]
DEBUG: 2005-10-03 19:15:17,641: ClassLoaderResourceStreamLocator:
Attempting to locate resource
'example/pages/dashboard/Dashboard_en_US.html' using classloader
WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
[EMAIL PROTECTED]
DEBUG: 2005-10-03 19:15:17,643: ClassLoaderResourceStreamLocator:
Attempting to locate resource
'example/pages/dashboard/Dashboard_en.html' using classloader
WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
[EMAIL PROTECTED]
DEBUG: 2005-10-03 19:15:17,644: ClassLoaderResourceStreamLocator:
Attempting to locate resource 'example/pages/dashboard/Dashboard.html'
using classloader WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
[EMAIL PROTECTED]
Now, I see the correct path there but it's not being loaded for some reason. Am I missing something?
- [Wicket-user] Problems with Markup Inheritance Nick Heudecker
- [Wicket-user] Re: Problems with Markup Inheritance Nick Heudecker
