[Opensource] MessageBundle for a given schema?

Kris Thompson kris.thompson at seurat.com
Mon Jul 15 06:51:33 PDT 2002


Mike is correct.  You must call the setSchema (best done in the 
Constructor of the controller).  One really annoying issue that might be 
triping you up is the naming of the properties file.  I noticed in the 
orignal message to the thread the user was using 
MessageBundle.properties.  That is wrong you must have 
MessagesBundle_en.properties  NOTICE the plural of Messages!  That is 
confusing since the class using it is called MessageBundle.java.  I will 
change that once I get a chance.  (Although I am working in the 4.02 
release so sorry if this has already been fixed)

Kris Thompson

Michael Rimov wrote:

> At 11:23 AM 7/13/2002 -0700, you wrote:
>
>> hi,
>>
>> below is an old post by Daryl about MessageBundles outside of the 
>> Expresso schema.
>>
>> I'm having the same problem with 4.1ea-2 code.
>>
>> Was there some advice about this?  Only the Expresso message bundle 
>> is accessed, as far as we can tell, for DB object descriptions.
>
>
> Perhaps setSchema must be called manually in the setup fields????  
> Just a wild guess.  If that's how it works, then we'll need to change 
> that.  It has to be manually done for controllers right now, but since 
> I'm not one to want to work hard, I figure changing that would be in 
> order :)
>
> Let me know if that's the problem though.
>                                                 -Mike
>
> _______________________________________________
> Opensource mailing list
> Opensource at jcorporate.com
> http://mail.jcorporate.com/mailman/listinfo/opensource
> Archives: http://mail.jcorporate.com/pipermail/opensource/






More information about the Opensource mailing list