Re: underscores in java package name doesn't work
I'm using underscores in my package names and it works fine, Wicket 1.3.5 Java 1.5.0_16, Tomcat 5.5. Could be an issue introduced with Java 6/Tomcat 6? cheers, Steve --- Steve Swinsburg Portal Systems Developer Centre for e-Science Lancaster University Lancaster LA1 4YT email: [EMAIL PROTECTED] phone: +44 (0) 1524 594870 On 23 Nov 2008, at 16:33, Alexandr Khlystov wrote: underscores in java package name doesn't work I've changed the title of letter. -- Forwarded message -- From: Alexandr Khlystov [EMAIL PROTECTED] Date: Sun, Nov 23, 2008 at 10:32 PM Subject: Re: guys how to submit a bug to https://issues.apache.org/jira/browse/WICKET To: users@wicket.apache.org Hm. wicket version: 1.3.5. Simple project. I run it on the Tomcat 6.0, Java 6.0, build on maven2, based on wicket-quickstart archetype. three files: *1. CheesrApplication.java* package org.ovservice.wicket_in_action.web; public class *CheesrApplication* extends WebApplication { ... @Override public Class? extends Page getHomePage() { return *IndexPage*.class; } ... } 2. *IndexPage.java* package org.ovservice.wicket_in_action.web.pages; ... public class *IndexPage *extends WebPage { ... public IndexPage(final PageParameters parameters) { add(new Label(message, MESSAGE_TEXT)); } } 3. IndexPage.html of course at the same folder as *IndexPage.java* html head titleIndex Page/title /head body strongWicket Quickstart Archetype Homepage/strong br/br/ span wicket:id=messagemessage will be here/span /body /html After trying to run the application I've got the following exception: ... org.apache.wicket.markup.MarkupNotFoundException: Markup not found. ... Saying that Wicket was trying to find html file at .../org/ovservice/ folder, but not at .../org/ovservice/wicket_in_action/web/pages/ After chaging wicket_in_action to wicketinaction All works fine. And what scenario do you have? Thanks. On Sun, Nov 23, 2008 at 10:14 PM, Swinsburg, Stephen [EMAIL PROTECTED] wrote: You need to be logged in to Jira, or create an account if you don't have one. Then choose 'Create New Issue' in the top menu. But, I use underscores in my package names and have no problem. Perhaps you should discuss it here before you log it as an issue? What version Wicket etc? cheers. -Original Message- From: Alexandr Khlystov [mailto:[EMAIL PROTECTED] Sent: Sun 11/23/2008 4:00 PM To: users@wicket.apache.org Subject: guys how to submit a bug to https://issues.apache.org/jira/browse/WICKET guys how to submit a bug to https://issues.apache.org/jira/browse/WICKET I can't find the button :). bug is about that wicket can't deal with packages which contains underlinings e.g. org.ovservice.wicket_in_action.IndexPage throwing: org.apache.wicket.markup.MarkupNotFoundException: Markup not found. Component class -- Best regards, Alexandr Khlystov -- Best regards, Alexandr Khlystov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Alexandr Khlystov -- Best regards, Alexandr Khlystov smime.p7s Description: S/MIME cryptographic signature
underscores in java package name doesn't work
underscores in java package name doesn't work I've changed the title of letter. -- Forwarded message -- From: Alexandr Khlystov [EMAIL PROTECTED] Date: Sun, Nov 23, 2008 at 10:32 PM Subject: Re: guys how to submit a bug to https://issues.apache.org/jira/browse/WICKET To: users@wicket.apache.org Hm. wicket version: 1.3.5. Simple project. I run it on the Tomcat 6.0, Java 6.0, build on maven2, based on wicket-quickstart archetype. three files: *1. CheesrApplication.java* package org.ovservice.wicket_in_action.web; public class *CheesrApplication* extends WebApplication { ... @Override public Class? extends Page getHomePage() { return *IndexPage*.class; } ... } 2. *IndexPage.java* package org.ovservice.wicket_in_action.web.pages; ... public class *IndexPage *extends WebPage { ... public IndexPage(final PageParameters parameters) { add(new Label(message, MESSAGE_TEXT)); } } 3. IndexPage.html of course at the same folder as *IndexPage.java* html head titleIndex Page/title /head body strongWicket Quickstart Archetype Homepage/strong br/br/ span wicket:id=messagemessage will be here/span /body /html After trying to run the application I've got the following exception: ... org.apache.wicket.markup.MarkupNotFoundException: Markup not found. ... Saying that Wicket was trying to find html file at .../org/ovservice/ folder, but not at .../org/ovservice/wicket_in_action/web/pages/ After chaging wicket_in_action to wicketinaction All works fine. And what scenario do you have? Thanks. On Sun, Nov 23, 2008 at 10:14 PM, Swinsburg, Stephen [EMAIL PROTECTED] wrote: You need to be logged in to Jira, or create an account if you don't have one. Then choose 'Create New Issue' in the top menu. But, I use underscores in my package names and have no problem. Perhaps you should discuss it here before you log it as an issue? What version Wicket etc? cheers. -Original Message- From: Alexandr Khlystov [mailto:[EMAIL PROTECTED] Sent: Sun 11/23/2008 4:00 PM To: users@wicket.apache.org Subject: guys how to submit a bug to https://issues.apache.org/jira/browse/WICKET guys how to submit a bug to https://issues.apache.org/jira/browse/WICKET I can't find the button :). bug is about that wicket can't deal with packages which contains underlinings e.g. org.ovservice.wicket_in_action.IndexPage throwing: org.apache.wicket.markup.MarkupNotFoundException: Markup not found. Component class -- Best regards, Alexandr Khlystov -- Best regards, Alexandr Khlystov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Alexandr Khlystov -- Best regards, Alexandr Khlystov
Re: underscores in java package name doesn't work
WICKET-1908 -igor On Sun, Nov 23, 2008 at 8:33 AM, Alexandr Khlystov [EMAIL PROTECTED] wrote: underscores in java package name doesn't work I've changed the title of letter. -- Forwarded message -- From: Alexandr Khlystov [EMAIL PROTECTED] Date: Sun, Nov 23, 2008 at 10:32 PM Subject: Re: guys how to submit a bug to https://issues.apache.org/jira/browse/WICKET To: users@wicket.apache.org Hm. wicket version: 1.3.5. Simple project. I run it on the Tomcat 6.0, Java 6.0, build on maven2, based on wicket-quickstart archetype. three files: *1. CheesrApplication.java* package org.ovservice.wicket_in_action.web; public class *CheesrApplication* extends WebApplication { ... @Override public Class? extends Page getHomePage() { return *IndexPage*.class; } ... } 2. *IndexPage.java* package org.ovservice.wicket_in_action.web.pages; ... public class *IndexPage *extends WebPage { ... public IndexPage(final PageParameters parameters) { add(new Label(message, MESSAGE_TEXT)); } } 3. IndexPage.html of course at the same folder as *IndexPage.java* html head titleIndex Page/title /head body strongWicket Quickstart Archetype Homepage/strong br/br/ span wicket:id=messagemessage will be here/span /body /html After trying to run the application I've got the following exception: ... org.apache.wicket.markup.MarkupNotFoundException: Markup not found. ... Saying that Wicket was trying to find html file at .../org/ovservice/ folder, but not at .../org/ovservice/wicket_in_action/web/pages/ After chaging wicket_in_action to wicketinaction All works fine. And what scenario do you have? Thanks. On Sun, Nov 23, 2008 at 10:14 PM, Swinsburg, Stephen [EMAIL PROTECTED] wrote: You need to be logged in to Jira, or create an account if you don't have one. Then choose 'Create New Issue' in the top menu. But, I use underscores in my package names and have no problem. Perhaps you should discuss it here before you log it as an issue? What version Wicket etc? cheers. -Original Message- From: Alexandr Khlystov [mailto:[EMAIL PROTECTED] Sent: Sun 11/23/2008 4:00 PM To: users@wicket.apache.org Subject: guys how to submit a bug to https://issues.apache.org/jira/browse/WICKET guys how to submit a bug to https://issues.apache.org/jira/browse/WICKET I can't find the button :). bug is about that wicket can't deal with packages which contains underlinings e.g. org.ovservice.wicket_in_action.IndexPage throwing: org.apache.wicket.markup.MarkupNotFoundException: Markup not found. Component class -- Best regards, Alexandr Khlystov -- Best regards, Alexandr Khlystov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Alexandr Khlystov -- Best regards, Alexandr Khlystov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]