AW: AW: AW: AW: [dba-dev] internationalization of exception messages in a database driver extension

2009-09-30 Thread Michael Strobel
Hi Ariel, > I assume everything is fine in OOo Base/Java UNO framework side. > May be something is wrong somewhere in your code (or something is horribly > broken in OOo side)... hard to guess without seeing your code. Since nobody experienced this problem with the XComponentContext before I gue

Re: AW: AW: AW: [dba-dev] internationalization of exception messages in a database driver extension

2009-09-30 Thread Ariel Constenla-Haile
Hello Michael, On Wednesday 30 September 2009, 10:43, Michael Strobel wrote: > Hi Ariel and Frank, > > @Frank: Again, thanks for your help and your explanations. > > @Ariel: > >> public final class MyObjectFactory extends WeakBase { > >> > >> private final XComponentContext m_xContext; > >>

AW: AW: AW: [dba-dev] internationalization of exception messages in a database driver extension

2009-09-30 Thread Michael Strobel
Hi Ariel and Frank, @Frank: Again, thanks for your help and your explanations. @Ariel: >> public final class MyObjectFactory extends WeakBase { >> >> private final XComponentContext m_xContext; >> >> public MyObjectFactory(XComponentContext context) { >> m_xContext = contex

Re: AW: AW: [dba-dev] internationalization of exception messages in a database driver extension

2009-09-30 Thread Frank Schoenheit, Sun Microsystems Germany
Hi Michael, > I'm a bit confused. Actually our driver extension is written in Java, Ah - actually I don't know much (put carefully) about implementing UNO components in Java, so I hope that Ariel's idea solves your problem (I suppose it does, given Ariel's expertise :) ). So, assuming it does, s

Re: AW: AW: [dba-dev] internationalization of exception messages in a database driver extension

2009-09-29 Thread Ariel Constenla-Haile
Hello Michael, On Tuesday 29 September 2009, 23:56, Michael Strobel wrote: > Hi Frank, > > I'm a bit confused. Actually our driver extension is written in Java, but I > guess getting the XComponentContext should be the same as if it were > written in C and most of the code for providing the ent

AW: AW: [dba-dev] internationalization of exception messages in a database driver extension

2009-09-29 Thread Michael Strobel
9 09:17 An: dev@dba.openoffice.org Betreff: Re: AW: [dba-dev] internationalization of exception messages in a database driver extension Hi Michaelm > Thanks for your answer. The StringResourceWithLocation service is > exactly what I was looking for. I also found some helpful example > code under htt

Re: AW: [dba-dev] internationalization of exception messages in a database driver extension

2009-09-28 Thread Frank Schoenheit, Sun Microsystems Germany
Hi Michaelm > Thanks for your answer. The StringResourceWithLocation service is > exactly what I was looking for. I also found some helpful example > code under http://markmail.org/message/sv2z4cvsgmgyctht, but it does > not work yet because I do need a Component Context which I do not > have (the

AW: [dba-dev] internationalization of exception messages in a database driver extension

2009-09-27 Thread Michael Strobel
on: Frank Schoenheit, Sun Microsystems Germany [mailto:frank.schoenh...@sun.com] Gesendet: Mi 23.09.2009 20:41 An: dev@dba.openoffice.org Betreff: Re: [dba-dev] internationalization of exception messages in a database driver extension Hi Michael, > I'm looking for a possiblity to provid

Re: [dba-dev] internationalization of exception messages in a database driver extension

2009-09-23 Thread Frank Schoenheit, Sun Microsystems Germany
Hi Michael, > I'm looking for a possiblity to provide the user with custom > exception messages in a database driver extension, according to the > locale of his installation/system. As a completely unrelated side note, I am really happy to see somebody share my opinion that exception messages (i.

Re: [dba-dev] internationalization of exception messages in a database driver extension

2009-09-23 Thread Frank Schoenheit, Sun Microsystems Germany
Hi Michael, > I'm looking for a possiblity to provide the user with custom > exception messages in a database driver extension, according to the > locale of his installation/system. The prefered solution from my side > would be to provide the messages strtings in some sort of plain text > ressourc

[dba-dev] internationalization of exception messages in a database driver extension

2009-09-23 Thread Michael Strobel
Hi All, I'm looking for a possiblity to provide the user with custom exception messages in a database driver extension, according to the locale of his installation/system. The prefered solution from my side would be to provide the messages strtings in some sort of plain text ressource file(s) a