Hi Dan, I'm not sure I follow, therefore I'll try to do a quick summary of yours.
You do have a Service containing the classic middle-ware logic, and you have a view rendering this done with Wicket. Now, you do have Exceptions thrown by your service that end up in your Wicket-Application? Well I'd say at this point it's std. Wicket Exception Handling and message translation. Exceptions just seen by the service are kept in the middleware and therefore never need to know about the browser language type, therefor should be kept in your preferred language Did I get this right? regards, Achim 2013/3/22 Dan Tran <[email protected]> > My apology about this very vague question. > > I should re-phase: > > I need figure out how to localize error throw from service layer > calling by the view ( wicket ). > > Note: We know how to to do at Wicket side, but not service side. We > will put in place I18N fragment at the service side, just dont know > how to integrate with the whole application where browser dictates the > language type > > Advice is greatly appreciated > > Thanks > > -D > > > > On Fri, Mar 22, 2013 at 1:57 AM, Achim Nierbeck <[email protected]> > wrote: > > Hi, > > > > I don't think there is a blueprint way of doing this. But how about > > fragments containing your "good old" java property files, for the good > old > > way of I18N in Java? > > > > regards, Achim > > > > > > 2013/3/22 Dan Tran <[email protected]> > >> > >> Hi > >> > >> Hi I would like to localize my error messages of all my service beans > >> ( spring/blueprint, we run most of unit test using spring, but > >> production is under karaf blueprint ), > >> > >> Could some one point me to a direction how to do this? ( back in the > >> old day, we have spring specific code for I18N, but now i need to get > >> OSGi/Blueprint working as well. ) > >> > >> Big thanks ahead > >> > >> 0Dan > > > > > > > > > > -- > > > > Apache Karaf <http://karaf.apache.org/> Committer & PMC > > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer > & > > Project Lead > > OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> > > Commiter & Project Lead > > blog <http://notizblog.nierbeck.de/> > -- Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project Lead blog <http://notizblog.nierbeck.de/>
