You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Karsten Efker (JIRA)" <ji...@apache.org> on 2008/07/16 16:52:32 UTC
[jira] Issue Comment Edited: (WICKET-1737) wicketTester does not
find HTML mark-up if custom location is used.
[ https://issues.apache.org/jira/browse/WICKET-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613975#action_12613975 ]
kefker edited comment on WICKET-1737 at 7/16/08 7:51 AM:
----------------------------------------------------------------
no,
thanks for the patch, but unfortunately it did not solve the problem.
The mark-up is still not found during JUnit testing running mvn test
... which leads to org.apache.wicket.markup.MarkupNotFoundException:
DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/eds/java/wicket/sample1737/HomePage_de_DE.html' on path [folders = [], webapppaths: []]
DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/eds/java/wicket/sample1737/HomePage_de_DE.html' using classloader sun.misc.Launcher$AppClassLoader@11b86e7
DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/eds/java/wicket/sample1737/HomePage_de.html' on path [folders = [], webapppaths: []]
DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/eds/java/wicket/sample1737/HomePage_de.html' using classloader sun.misc.Launcher$AppClassLoader@11b86e7
DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/eds/java/wicket/sample1737/HomePage.html' on path [folders = [], webapppaths: []]
DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/eds/java/wicket/sample1737/HomePage.html' using classloader sun.misc.Launcher$AppClassLoader@11b86e7
As you can see my custom defined place has no been looked-up.
Allthough the page HomePage.java is rendered fine without mark-up exception running mvn jetty:run.
was (Author: kefker):
no,
thanks for the patch, but unfortunately it did not solve the problem.
The mark-up is still not found during JUnit testing running mvn test
... which leads to org.apache.wicket.markup.MarkupNotFoundException:
DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/eds/java/wicket/sample1737/HomePage_de_DE.html' on path [folders = [], webapppaths: []]
DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/eds/java/wicket/sample1737/HomePage_de_DE.html' using classloader sun.misc.Launcher$AppClassLoader@11b86e7
DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/eds/java/wicket/sample1737/HomePage_de.html' on path [folders = [], webapppaths: []]
DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/eds/java/wicket/sample1737/HomePage_de.html' using classloader sun.misc.Launcher$AppClassLoader@11b86e7
DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/eds/java/wicket/sample1737/HomePage.html' on path [folders = [], webapppaths: []]
DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/eds/java/wicket/sample1737/HomePage.html' using classloader sun.misc.Launcher$AppClassLoader@11b86e7
As you can see my custom defined place has no been looked-up.
Allthough the page HomePage.java is rendered fine without markp-up exception running mvn jetty:run.
> wicketTester does not find HTML mark-up if custom location is used.
> -------------------------------------------------------------------
>
> Key: WICKET-1737
> URL: https://issues.apache.org/jira/browse/WICKET-1737
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.4
> Reporter: Karsten Efker
> Assignee: Timo Rantalaiho
> Priority: Minor
> Attachments: sample1737.zip
>
>
> If a custom HTML mark-up location is used as described in the ApacheWicket Wiki the wicketTester does not find mark-up to render pages.
> refer to:
> http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html#ControlwhereHTMLfilesareloadedfrom-InWicket1.3
> Nevertheless running the application with ApacheTomcat 6.0.16 everything renders fine.
> Remark:
> wicketTester has been instanciated using custom test application extended from the application used, overriding newSession for different purpose.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.