How was this CarMessages.properties shared by the two classes? If your car CarListPage uses CarDetail placing them on CarListPage should be enough, AFAIK. Additionally on 1.4.X I think package level resource files are supported.
Ernesto On Thu, Nov 25, 2010 at 10:07 AM, andrea.castello <[email protected]> wrote: > > Hi, here's a new episode of my Wicket "upgrade saga". > Hope I'm not disturbing anyone :D > > In my application developed with Wicket 1.3.6 I have a > CarMessages.properties file which was sort of "shared" by two classes > CarListPage and CarDetail, since they use the same messages. > When I upgraded to 1.4 all the labels in CarMessages.properties are not > resolved anymore. > > I solved the problem by creating two new properties file > CarListPage.properties and CarDetail.properties and it all works fine, but > this is kind of awful because I need to duplicate the messages in these two > files. > > Is there any other way I can workaround this problem? > > Thanks, > > Andrea > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Shared-message-property-file-not-working-on-1-4-tp3058612p3058612.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
