Bugs item #1289768, was opened at 2005-09-13 02:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1289768&group_id=119783
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Todor Todorov (todort)
Assigned to: Nobody/Anonymous (nobody)
Summary: border with autolinked CSS
Initial Comment:
I have a border component which contributes a CSS link in the
header section of a page.
<wicket:head>
<wicket:link autolink="true">
<link rel="StyleSheet" type="text/css"
href="cborder.css"/>
</wicket:link>
</wicket:head>
....
At runtime, this generates
<link href="/test/resources/wicket.Application/cborder.css"
type="text/css" rel="StyleSheet"/>
and when wicket tries to load the "cborder.css" it throws
wicket.RequestCycle - Unexpected runtime exception [page =
null]
wicket.WicketRuntimeException: Unable to find package resource
[path = test/web/cborder.css, style = null, locale = null]
at wicket.markup.html.PackageResource.getResourceStream
(PackageResource.java:198)
at wicket.Resource.init(Resource.java:229)
at wicket.Resource.onResourceRequested(Resource.java:140)
....
To clarify, my border is in package test.web.control and the page
is in test.web , I think there is something wrong with resolving the
owner of the header...
I use the same approach in panels and it works fine. Unless, of
course , I'm not suppose to have CSS in borders.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1289768&group_id=119783
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop