Hi All,

We are using Sitemesh2.2.1 along with wicket1.3.1 in our product.

The sitemesh JSP page contains SCRIPT and LINK tags to include styles and
functions that will determine the header and footer for the wicket pages.

When I use the URL like http://localhost.../helpDetails?topic=xyz where as
helpDetails is the page, it works fine.
But when I try using http://localhost../helpDetails/topic/xyz/, wicket
throws error for all the entries like SCRIPT and LINK tags in the sitemesh
jsp page.

We are using mountBookmarkablePage as the url stratergy.

The error message is as follows....

ERROR - RequestCycle.logRuntimeException(1399) | URL fragment has unmatched
key/value pair: subtopic/display_css/style.css
java.lang.IllegalStateException: URL fragment has unmatched key/value pair:
subtopic/display_css/style.css
        at
org.apache.wicket.request.target.coding.AbstractRequestTargetUrlCodingStrategy.decodeParameters(AbstractRequestTargetUrlCodingStrategy.java:174)
        at
org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:76)
        at
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:475)
        at
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:175)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1224)



ERROR - RequestCycle.logRuntimeException(1399) | URL fragment has unmatched
key/value pair: subtopic/js/jquery-1.2.3.js
java.lang.IllegalStateException: URL fragment has unmatched key/value pair:
subtopic/js/jquery-1.2.3.js
        at
org.apache.wicket.request.target.coding.AbstractRequestTargetUrlCodingStrategy.decodeParameters(AbstractRequestTargetUrlCodingStrategy.java:174)
        at
org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:76)
        at
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:475)
        at
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:175)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1224)


Thanks,
Venkat.
-- 
View this message in context: 
http://www.nabble.com/mountBookmarkablePage-is-throwing-error-when-using-sitemesh-tp16992714p16992714.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to