Re: [OFF TOPIC] Java desktop applications

2009-06-13 Thread Jeremy Thomerson
Yeah - I was considering using JRex [1] as an embedded browser, and
basically making a simple Swing app that loads up, starts an embedded
Jetty instance, has a window that loads the homepage of the local app
running within Jetty, and viola - instant desktop app using Wicket!
Probably not as simple as it sounds, but it's a thought.  At least I
wouldn't have to worry about cross-browser CSS hacks :)

I will probably try a full-fledged Swing app using one or more of the
suggestions here... perhaps with Spring Rich Client, which can provide
a lot of the bootstrap code.  Glazed lists looks like a definite
must-have.  JavaFX looks nice, but I don't think I'm really in to
learning that many new things all on one project.  So I'll probably
stay away from JavaFX for this first project, unless someone with
JavaFX experience convinces me otherwise.

[1] - http://jrex.mozdev.org/index.html

--
Jeremy Thomerson
http://www.wickettraining.com




On Sat, Jun 13, 2009 at 10:01 AM, nino martinez
wael wrote:
> Hi Jeremy
>
> I'd say either use netbeans (matisse) or something a bit more
> experimental, pack wicket with jetty as a desktop app I considered
> this a couple of times. You could even put in something like
> http://lobobrowser.org/java-browser.jsp.. Might too extreme though:)
>
>
>
> 2009/6/11 Jeremy Thomerson :
>> I would like to build a nice-looking java desktop application.  I hope
>> that isn't an oxymoron  :).  I have built some desktop apps before - a
>> lot of command line utilities in various languages, and some GUI apps
>> (perl, java, python, php, even vb (yikes!), c# etc...).
>>
>> The question is - what framework do you use for your UI components and
>> layout on a desktop app?  I would like to use Java because I'll be
>> most efficient with it and it will work for me on linux machines and
>> others on Windoze, etc..  But when I've built Swing apps in the past,
>> I have hated having to layout everything in the code and I can never
>> make anything aesthetically pleasing.  So
>>
>> 1 - do you have any recommendations on a good framework for nice
>> looking desktop apps?
>> 2 - any other recommendations for desktop apps in general?
>> 3 - It should be a lightweight, easy install - and I would prefer to
>> stay away from using the Eclipse framework for building the app (I use
>> the IDE but it doesn't need to be something that heavy for the GUI)
>> 4 - I have even thought about building an app that opens a swing
>> window that contains an embedded browser and jetty servlet running the
>> app so that I can use Wicket.  Has anyone thought of or done this
>> before?
>>
>> Basically, it's a CRUD application, but containing personal data that
>> the user should not store on someone else's server.  I would use an
>> embedded database that stores the data with encryption.
>>
>> Ideas?
>>
>> --
>> Jeremy Thomerson
>> http://www.wickettraining.com
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket generics?

2009-06-13 Thread Martin Makundi
OK, my own fault:

DropDownChoice ps = new
DropDownChoice() so the variable type spoils it.

**
Martin

2009/6/13 James Carman :
> On Sat, Jun 13, 2009 at 9:25 AM, Martin
> Makundi wrote:
 DropDownChoice dropDown = new DropDownChoice>>> extends BaseClass>("id");
>>>
>>> You can't instantiate with a wildcard type.  That's not allowed by the
>>> Java language.
>>
>> Ah yes... I'm getting confused myself. So the real problem is that I
>> instantiate new DropDownChoice("id") but the method
>> getChoiceRenderer() returns IChoiceRenderer()
>> which is impractical.
>>
>> Now that's the problem.
>
> That's not what it returns (at least not in trunk or rc4)
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [OFF TOPIC] Java desktop applications

2009-06-13 Thread nino martinez wael
Hi Jeremy

I'd say either use netbeans (matisse) or something a bit more
experimental, pack wicket with jetty as a desktop app I considered
this a couple of times. You could even put in something like
http://lobobrowser.org/java-browser.jsp.. Might too extreme though:)



2009/6/11 Jeremy Thomerson :
> I would like to build a nice-looking java desktop application.  I hope
> that isn't an oxymoron  :).  I have built some desktop apps before - a
> lot of command line utilities in various languages, and some GUI apps
> (perl, java, python, php, even vb (yikes!), c# etc...).
>
> The question is - what framework do you use for your UI components and
> layout on a desktop app?  I would like to use Java because I'll be
> most efficient with it and it will work for me on linux machines and
> others on Windoze, etc..  But when I've built Swing apps in the past,
> I have hated having to layout everything in the code and I can never
> make anything aesthetically pleasing.  So
>
> 1 - do you have any recommendations on a good framework for nice
> looking desktop apps?
> 2 - any other recommendations for desktop apps in general?
> 3 - It should be a lightweight, easy install - and I would prefer to
> stay away from using the Eclipse framework for building the app (I use
> the IDE but it doesn't need to be something that heavy for the GUI)
> 4 - I have even thought about building an app that opens a swing
> window that contains an embedded browser and jetty servlet running the
> app so that I can use Wicket.  Has anyone thought of or done this
> before?
>
> Basically, it's a CRUD application, but containing personal data that
> the user should not store on someone else's server.  I would use an
> embedded database that stores the data with encryption.
>
> Ideas?
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Noob question: error on quickstart project with maven 2.1.0 and wicket 1.3.6

2009-06-13 Thread Neil Bartlett
I meant "Thx Martijn" - just noticed the spelling of your name !

- Original Message -
From: "Martijn Dashorst" 
To: users@wicket.apache.org
Date: Sat, Jun 13, 2009 at 3:38 AM
Subject: Noob question: error on quickstart project with maven 2.1.0
and wicket 1.3.6

> fill in version 2.5.1 in the ecliipse plugin configuration in your
> pom. Maven automatically downloaded and used 2.6 for you, which is
> completely and utterly borked. 2.7 is almost out, so in the near
> future things will return to normal, but in the mean time you'll need
> to fix your pom to use maven-eclipse-plugin 2.5.1
>
> Martijn
> - Show quoted text -
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.3.5 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
> - Show quoted text -
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Noob question: error on quickstart project with maven 2.1.0 and wicket 1.3.6

2009-06-13 Thread Neil Bartlett
Thx Martin - you nailed it.

Added
2.5.1
to the eclipse maven plugin in the pom.xml and all now works.

N


- Original Message -
From: "Martijn Dashorst" 
To: users@wicket.apache.org
Date: Sat, Jun 13, 2009 at 3:38 AM
Subject: Noob question: error on quickstart project with maven 2.1.0
and wicket 1.3.6

> fill in version 2.5.1 in the ecliipse plugin configuration in your
> pom. Maven automatically downloaded and used 2.6 for you, which is
> completely and utterly borked. 2.7 is almost out, so in the near
> future things will return to normal, but in the mean time you'll need
> to fix your pom to use maven-eclipse-plugin 2.5.1
>
> Martijn
> - Show quoted text -
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.3.5 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
> - Show quoted text -
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: creating bookmarkablelink for email

2009-06-13 Thread James Carman
Use the urlFor() method.

On Jun 13, 2009 9:16 AM, "Thomas Trocha"  wrote:

Hi there,

how is it possible to create a bookmarkablelink so it can be set into an
eMail. (e.g. as confirmation-link)
I need something like .renderToString() or similar.

Thx, ToM

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


Re: creating bookmarkablelink for email

2009-06-13 Thread hill180
to add a bookmarkablelink I added the following to the main  
application class:


protected void init(){

//Set Bookmarkable Pages
mountBookmarkablePage("emailconfiguration",Page2.class);
...

import wicket.PageParameters;
import wicket.markup.html.WebPage;
import wicket.markup.html.basic.Label;

public class Page2 extends WebPage {

public Page2(PageParameters parameters) throws Exception {
long emailID = parameters.getLong("emailID");
System.out.println("Email ID: " + emailID);
add(new Label("pageParam", String.valueOf(emailID)));
}
}
Then the link would be www.yoursite.com/emailconfiguration?emailID=1234312AJSIB

Make sure to catch the exception...

jose



On Jun 13, 2009, at 6:16 AM, Thomas Trocha wrote:


Hi there,

how is it possible to create a bookmarkablelink so it can be set  
into an eMail. (e.g. as confirmation-link)

I need something like .renderToString() or similar.

Thx, ToM

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





Re: Wicket generics?

2009-06-13 Thread James Carman
On Sat, Jun 13, 2009 at 9:25 AM, Martin
Makundi wrote:
>>> DropDownChoice dropDown = new DropDownChoice>> extends BaseClass>("id");
>>
>> You can't instantiate with a wildcard type.  That's not allowed by the
>> Java language.
>
> Ah yes... I'm getting confused myself. So the real problem is that I
> instantiate new DropDownChoice("id") but the method
> getChoiceRenderer() returns IChoiceRenderer()
> which is impractical.
>
> Now that's the problem.

That's not what it returns (at least not in trunk or rc4)

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket generics?

2009-06-13 Thread Martin Makundi
>> DropDownChoice dropDown = new DropDownChoice> extends BaseClass>("id");
>
> You can't instantiate with a wildcard type.  That's not allowed by the
> Java language.

Ah yes... I'm getting confused myself. So the real problem is that I
instantiate new DropDownChoice("id") but the method
getChoiceRenderer() returns IChoiceRenderer()
which is impractical.

Now that's the problem.

**
Martin

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



creating bookmarkablelink for email

2009-06-13 Thread Thomas Trocha

Hi there,

how is it possible to create a bookmarkablelink so it can be set into an 
eMail. (e.g. as confirmation-link)

I need something like .renderToString() or similar.

Thx, ToM

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket generics?

2009-06-13 Thread James Carman
On Sat, Jun 13, 2009 at 8:13 AM, Martin
Makundi wrote:
> Hi!
>
> Yes.. this is true but not ideally consistent. More consistent would be
>
> DropDownChoice dropDown = new DropDownChoice extends BaseClass>("id");

You can't instantiate with a wildcard type.  That's not allowed by the
Java language.

>
> in such a way that dropDown.getChoiceRenderer() would be automatically
> of type .
>
> One solution would be to change the signature of DropDownChoice (and
> selectchoices ...):
>
> public class DropDownChoice extends  into
>
> public class DropDownChoice extends  in such a manner that
>
> DropDownChoice dropDown = new DropDownChoice extends BaseClass=T>("id");
> and
>
> DropDownChoice.getChoiceRenderer() : S
>
> That would work... both ways?

I, for one, would be -1 to such a change (non-binding of course).  Why
do you need the ChoiceRenderer to support a specific subtype of
BaseClass?  If you have a ChoiceRenderer (which is what you
get if you declare your variable as I suggest), you can pass it any
type that extends BaseClass.  You do not need to declare your
variables with the wildcard.  What consistency are you looking for?

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket generics?

2009-06-13 Thread Martin Makundi
Hi!

Yes.. this is true but not ideally consistent. More consistent would be

DropDownChoice dropDown = new DropDownChoice("id");

in such a way that dropDown.getChoiceRenderer() would be automatically
of type .

One solution would be to change the signature of DropDownChoice (and
selectchoices ...):

public class DropDownChoice extends  into

public class DropDownChoice extends  in such a manner that

DropDownChoice dropDown = new DropDownChoice("id");
and

DropDownChoice.getChoiceRenderer() : S

That would work... both ways?

**
Martin

2009/6/13 James Carman :
> No casting is required.  Try this:
>
> BaseClass baseObject = null;
> DropDownChoice dropDown = new DropDownChoice("id");
> dropDown.getChoiceRenderer().getDisplayValue(null);
>
> This will compile (it won't run because you'll get an NPE if the
> display value method doesn't accept null).  As I said, you don't have
> to declare your local variable "dropDown" with type variable
> wildcards.
>
>
>
> On Sat, Jun 13, 2009 at 6:23 AM, Martin
> Makundi wrote:
>> No. The compiler does not allow. If DropDownChoice is of type > extends BaseClass> then the problem is that it assumes that
>> getChoiceRenderer() is also of type . Now at
>> runtime, because of the wildcard, I do not know what class I have, and
>> I absolutely cannot use the renderer. The only workaround is to cast
>> the renderer into  (which it actually is!!) and that works,
>> but the warning remains.
>>
>> Tricky
>>
>> **
>> Martin
>>
>> 2009/6/13 James Carman :
>>> But, the compiler only knows what you're allowed to do by the type of
>>> the variable.  You do not need to declare your variables with the
>>> wildcards.
>>>
>>> On Fri, Jun 12, 2009 at 6:31 PM, Cristi Manole 
>>> wrote:
 declaration is not the problem. from what i remember from generics (I might
 be wrong), you're not allowed to instantiate "generically". you have to 
 tell
 the compiler exactly what type you want. at runtime it has no idea about
 generics.

 On Sat, Jun 13, 2009 at 12:41 AM, James Carman
 wrote:

> Just because the constructor is declared that way (with the ?) doesn't 
> mean
> you have to declare your variables that way.
>
> On Jun 12, 2009 4:43 PM, "Martin Makundi" <
> martin.maku...@koodaripalvelut.com> wrote:
>
> > new DropDownChoice ?
>
> Maybe ...
>
> **
> Martin
>
> > > On Fri, Jun 12, 2009 at 6:06 AM, Martin > Makundi<
> martin.maku...@koodaripalvelut.com> wrote: >>...
>



 --
 Cristi Manole

 Nova Creator Software
 www.novacreator.com

>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket generics?

2009-06-13 Thread James Carman
No casting is required.  Try this:

BaseClass baseObject = null;
DropDownChoice dropDown = new DropDownChoice("id");
dropDown.getChoiceRenderer().getDisplayValue(null);

This will compile (it won't run because you'll get an NPE if the
display value method doesn't accept null).  As I said, you don't have
to declare your local variable "dropDown" with type variable
wildcards.



On Sat, Jun 13, 2009 at 6:23 AM, Martin
Makundi wrote:
> No. The compiler does not allow. If DropDownChoice is of type  extends BaseClass> then the problem is that it assumes that
> getChoiceRenderer() is also of type . Now at
> runtime, because of the wildcard, I do not know what class I have, and
> I absolutely cannot use the renderer. The only workaround is to cast
> the renderer into  (which it actually is!!) and that works,
> but the warning remains.
>
> Tricky
>
> **
> Martin
>
> 2009/6/13 James Carman :
>> But, the compiler only knows what you're allowed to do by the type of
>> the variable.  You do not need to declare your variables with the
>> wildcards.
>>
>> On Fri, Jun 12, 2009 at 6:31 PM, Cristi Manole wrote:
>>> declaration is not the problem. from what i remember from generics (I might
>>> be wrong), you're not allowed to instantiate "generically". you have to tell
>>> the compiler exactly what type you want. at runtime it has no idea about
>>> generics.
>>>
>>> On Sat, Jun 13, 2009 at 12:41 AM, James Carman
>>> wrote:
>>>
 Just because the constructor is declared that way (with the ?) doesn't mean
 you have to declare your variables that way.

 On Jun 12, 2009 4:43 PM, "Martin Makundi" <
 martin.maku...@koodaripalvelut.com> wrote:

 > new DropDownChoice ?

 Maybe ...

 **
 Martin

 > > On Fri, Jun 12, 2009 at 6:06 AM, Martin > Makundi<
 martin.maku...@koodaripalvelut.com> wrote: >>...

>>>
>>>
>>>
>>> --
>>> Cristi Manole
>>>
>>> Nova Creator Software
>>> www.novacreator.com
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket generics?

2009-06-13 Thread Martin Makundi
No. The compiler does not allow. If DropDownChoice is of type  then the problem is that it assumes that
getChoiceRenderer() is also of type . Now at
runtime, because of the wildcard, I do not know what class I have, and
I absolutely cannot use the renderer. The only workaround is to cast
the renderer into  (which it actually is!!) and that works,
but the warning remains.

Tricky

**
Martin

2009/6/13 James Carman :
> But, the compiler only knows what you're allowed to do by the type of
> the variable.  You do not need to declare your variables with the
> wildcards.
>
> On Fri, Jun 12, 2009 at 6:31 PM, Cristi Manole wrote:
>> declaration is not the problem. from what i remember from generics (I might
>> be wrong), you're not allowed to instantiate "generically". you have to tell
>> the compiler exactly what type you want. at runtime it has no idea about
>> generics.
>>
>> On Sat, Jun 13, 2009 at 12:41 AM, James Carman
>> wrote:
>>
>>> Just because the constructor is declared that way (with the ?) doesn't mean
>>> you have to declare your variables that way.
>>>
>>> On Jun 12, 2009 4:43 PM, "Martin Makundi" <
>>> martin.maku...@koodaripalvelut.com> wrote:
>>>
>>> > new DropDownChoice ?
>>>
>>> Maybe ...
>>>
>>> **
>>> Martin
>>>
>>> > > On Fri, Jun 12, 2009 at 6:06 AM, Martin > Makundi<
>>> martin.maku...@koodaripalvelut.com> wrote: >>...
>>>
>>
>>
>>
>> --
>> Cristi Manole
>>
>> Nova Creator Software
>> www.novacreator.com
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Generate markup for hidden framework form field?

2009-06-13 Thread Uwe Schäfer

janneru schrieb:


i also just found a similar one by uwe schaefer:
http://www.codesmell.org/blog/2008/12/wicket-secureform/
cheers uwe.


note that it is just a copy of what mighty igor posted here :)
i´m using it in production a lot. thx again, igor.

cu uwe



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Multiple throws of the RestartResponseAtInterceptionPageException

2009-06-13 Thread Martin Sachs
What is the best approach for using multiple interceptionpages:

Usecase:
   
- request a not Authorized page
- first interception is the loginPage
- after login "you must enter a valid address"-page ( this point can
vary for different initial requests so the AuthorizationStrategy dont
implement all cases)
- more interception pages
- redirect to initial requested page.

Martin


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Noob question: error on quickstart project with maven 2.1.0 and wicket 1.3.6

2009-06-13 Thread Martijn Dashorst
fill in version 2.5.1 in the ecliipse plugin configuration in your
pom. Maven automatically downloaded and used 2.6 for you, which is
completely and utterly borked. 2.7 is almost out, so in the near
future things will return to normal, but in the mean time you'll need
to fix your pom to use maven-eclipse-plugin 2.5.1

Martijn

On Sat, Jun 13, 2009 at 3:29 AM, Neil Bartlett wrote:
> I thought I'd give Wicket a whirl on a new project. Till now I've
> predominantly used Spring, but I'm doing a small project so I thought
> I'd see what wicket could do.
>
> I'm getting an exception on the quickstart maven project.
>
> The exception is
>
> org.apache.wicket.markup.MarkupNotFoundException: Markup of type
> 'html' for component 'com.walpr.HomePage' not found.
>
> All I believe I have done is run the quickstart. Here is the complete
> list of commands I have typed :
>
> $ mvn --version
> Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400)
> Java version: 1.6.0_07
> Java home: c:\Program Files\Java\jdk1.6.0_07\jre
> Default locale: en_CA, platform encoding: Cp1252
> OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
>
> $ mvn archetype:create -DarchetypeGroupId=org.apache.wicket
> -DarchetypeArtifactId=wicket-archetype-quickstart
> -DarchetypeVersion=1.3.6 -DgroupId=com.walpr -DartifactId=walpr
> #This created the project as expected
>
> $ mvn eclipse:eclipse -DdownloadSources
> # this operated as expected it created an clipse project and
> downloaded various sources in to the .m2/repository directory in my
> home directory.
>
> I imported the above created project into eclipse (Ganymede Version:
> 3.4.1 Build id: M20080911-1700).
>
> It had some build errors. I set my eclipse M2_REPO environment variable as
>
> M2_REPO C:/Users/neilb/.m2/repository
>
> Build was then successful.
>
> I ran "Debug As" on Start.java and Jetty failed to start due to a port 
> conflict.
> I edited Start.java anc changed the port to 8088
> connector.setPort(8088);
>
> Build worked successfully.
>
> I ran "Debug As" on Start.java and Jetty successfully started.
>
> So far so good.
>
> Now the problem:
>
> If I run "Debug As" on TestHomePage.java and I get the exception error.
> If I browse to http://localhost:8088, I get the exception error.
> (curiously I was expecting the webapp to be bound to
> http://localhost:8080/walpr but it it not -- maybe a clue there?)
>
>
> I then edited the log4j.properties to
> log4j.logger.org.apache.wicket.util.resource=DEBUG
>
> and, if I debug TesHomePage or browse to the webapp, I now get a bunch
> of ResourceStreamLocator debugs...
>
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'com/walpr/HomePage_en_CA.html' on path [folders = [], webapppaths:
> []]
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'com/walpr/HomePage_en_CA.html' using classloader
> sun.misc.launcher$appclassloa...@fabe9
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'com/walpr/HomePage_en.html' on path [folders = [], webapppaths: []]
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'com/walpr/HomePage_en.html' using classloader
> sun.misc.launcher$appclassloa...@fabe9
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'com/walpr/HomePage.html' on path [folders = [], webapppaths: []]
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'com/walpr/HomePage.html' using classloader
> sun.misc.launcher$appclassloa...@fabe9
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'org/apache/wicket/markup/html/WebPage_en_CA.html' on path [folders =
> [], webapppaths: []]
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'org/apache/wicket/markup/html/WebPage_en_CA.html' using classloader
> sun.misc.launcher$appclassloa...@fabe9
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'org/apache/wicket/markup/html/WebPage_en.html' on path [folders = [],
> webapppaths: []]
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'org/apache/wicket/markup/html/WebPage_en.html' using classloader
> sun.misc.launcher$appclassloa...@fabe9
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'org/apache/wicket/markup/html/WebPage.html' on path [folders = [],
> webapppaths: []]
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'org/apache/wicket/markup/html/WebPage.html' using classloader
> sun.misc.launcher$appclassloa...@fabe9
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'org/apache/wicket/Page_en_CA.html' on path [folders = [],
> webapppaths: []]
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'org/apache/wicket/Page_en_CA.html' using classloader
> sun.misc.launcher$appclassloa...@fabe9
> DEBUG - ResourceStreamLocator      - Attempting to locate resource
> 'org/apache/wicket/Page_en.html' on path [folders = [], webapppaths:
> []]
> DEBUG - Resourc