I did some research on the css path problem last night and Gili is
right. Though we generate a proper URL, it can not be found by the
servlet container because it is not in its context (it is in
/WEB-INF/class). Thus the autolink resolver should make use of a
StaticResourceReference as mentioned by Johan.
Juergen
On 8/8/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> is this not possible:
>
> StaticResourceReference pageResource = new
> StaticResourceReference(getClass(), "page.css");
> pageCSS.add(new AttributeModifier("href", false, new
> Model(page.urlFor(pageResource.getPath()))));
>
> that bind call that you do is not needed.
>
> johan
>
>
>
> -------------------------------------------------------
> 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
>
-------------------------------------------------------
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