I am finally migrating my largest app from 1.2.6 to 1.3. Most of my other
applications were built from the ground up with 1.3. Overall, it has been a
fairly painless transition. I guess it took about three hours to do all of
the conversion to where there were no more compiler errors (code base is
about 50k LoC java/html). Most of the biggest problems were from when I
first started with Wicket and had done some stuff weird ways, and they broke
in 1.3. Good - I get to clean up some.
Anyway, I'm hoping you can help with a problem I'm trying to fix. Normally,
I scramble through the code to find what's going on, but the last time I did
that with resource bundles, I spent hours tracking it all down, and I'm
hoping someone knows off the top of their head.
In WebApp.properties, I have this:
subject.RequiredValidator=Please fill in the "Title" field of this article.
That always worked before - everywhere in my application, if I had a
TextField with setRequired(true), it would use this message. Now, it
doesn't work, and falls back to Wicket's default message.
Second (similar) problem.
I have WebPage.properties (my base page that all pages inherit from).
head.title=TexasHuntFish.com
Then in particular pages, I overrode that string. This always worked
before. Corresponding HTML is:
<head>
<title wicket:id="pageTitle">TexasHuntFish.com</title>
</head>
Now, I get an error that it can't find head.title. I had to put that in
WebApp.properties.
So, in one problem, it's not finding something that it should in
WebApp.properties. In the other, that's the only place it will find it.
Any ideas?
Thanks,
Jeremy Thomerson