Re: Managing resources with SwiXML

Frank Meissner <[email protected]>
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
masukomi wrote:
> You could use a properties file and access it via swixml's 
> internationalization techniques

I agree with kate, this is IMHO the best solution. Just write in a 
properties file
MyFineColor=991144
and point to the properties file through bundle="..."

Frank
> 
> There's probably a pile of ways to approach that problem. That's just 
> the first one off the top of my head.
> 
> 
> -Kate Rhodes
> Open source consultant & Java developer
> http://www.masukomi.org
> On Jun 17, 2004, at 3:48 PM, Frederic Gedin wrote:
> 
>> Hi
>>
>> I wonder if there is a way to manage resources using swixml. I mean 
>> defining a color or a font in some bundle file and refer to the bundle 
>> definition in the xml file. This would avoid to write tons of 
>> foreground="204,204,204" in the xml file which is also difficult to 
>> maintain if I want to change the color or the font.
>>
>> Regards
>>
>> Frédéric
>>
>>
>>
>> _______________________________________________
>> Forum mailing list
>> [email protected]
>> http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
>>
> 
> 
> _______________________________________________
> Forum mailing list
> [email protected]
> http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.