I have a markup file containing:

        <wicket:remove>
                <base href="file:///c:/project1/web/" />
        </wicket:remove>

        <style type="text/css" media="all">
              @import url("/css/site_75965.css");
        </style>

The base tag lets me preview in the HTML editor - well at least it
should - but to avoid the wicket exception detailed below I have to
specify an absolute path to the .css file (ie., a leading '/'). This
then means that the HTML editor tries to find the css at c:/css instead
of c:/project1/web/css and so preview doesn't work.

Any suggestions?

ERROR - RequestCycle    - URL fragment has unmatched key/value pair:
o/75965/c/css/site_75965.css
java.lang.IllegalStateException: URL fragment has unmatched key/value
pair: o/75965/c/css/site_75965.css
        at
wicket.request.target.coding.AbstractRequestTargetUrlCodingStrategy.d
ecodeParameters(AbstractRequestTargetUrlCodingStrategy.java:130)
        at
wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingSt
rategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:75)
        at
wicket.protocol.http.request.WebRequestCodingStrategy.targetForReques
t(WebRequestCodingStrategy.java:331)
        at
wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve(
DefaultRequestTargetResolverStrategy.java:83)
        at
wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve
(AbstractCompoundRequestCycleProcessor.java:48)
        at wicket.RequestCycle.step(RequestCycle.java:992)
        at wicket.RequestCycle.steps(RequestCycle.java:1084)


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to