changing tiles-config.xml from within an app?

2003-06-04 Thread Witbeck, Shane
Does anyone have any experience with changing a tiles-config.xml file from
within an app? I have an app that has different themes based on resource
bundles and a variable which changes bundles (and therefore themes).
Currently, I have this variable defined in the tiles-config.xml and I change
this variable and reload tiles each time I change themes. This is done
strictly on an admin level and anyone using the app would be affected by the
theme change.

Would it be a good idea to create a class to read/write the variable in the
tiles-config.xml or should I just make this variable a Singleton?

TIA, 

Shane

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: changing tiles-config.xml from within an app?

2003-06-04 Thread Chen, Gin
I think this question was asked before and (one of) the answer was to add a
listener to your config so that the application can reload it. But if its
something that might change often then having it in a class with
getter/setters makes more sense.

-Tim

-Original Message-
From: Witbeck, Shane [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 9:38 AM
To: [EMAIL PROTECTED]
Subject: changing tiles-config.xml from within an app?


Does anyone have any experience with changing a tiles-config.xml file from
within an app? I have an app that has different themes based on resource
bundles and a variable which changes bundles (and therefore themes).
Currently, I have this variable defined in the tiles-config.xml and I change
this variable and reload tiles each time I change themes. This is done
strictly on an admin level and anyone using the app would be affected by the
theme change.

Would it be a good idea to create a class to read/write the variable in the
tiles-config.xml or should I just make this variable a Singleton?

TIA, 

Shane

-
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]



RE: changing tiles-config.xml from within an app?

2003-06-04 Thread Joris Docx
there's some ReloadDefinitions class in the API

-Oorspronkelijk bericht-
Van: Witbeck, Shane [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 3 juni 2003 15:38
Aan: [EMAIL PROTECTED]
Onderwerp: changing tiles-config.xml from within an app?


Does anyone have any experience with changing a tiles-config.xml file from
within an app? I have an app that has different themes based on resource
bundles and a variable which changes bundles (and therefore themes).
Currently, I have this variable defined in the tiles-config.xml and I change
this variable and reload tiles each time I change themes. This is done
strictly on an admin level and anyone using the app would be affected by the
theme change.

Would it be a good idea to create a class to read/write the variable in the
tiles-config.xml or should I just make this variable a Singleton?

TIA, 

Shane

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




*** DISCLAIMER *** Dit e-mailbericht en alle bijgevoegde bestanden zijn vertrouwelijk, 
kunnen informatie bevatten die beschermd zijn door intellectuele eigendomsrechten, 
zijn gecontroleerd op computervirussen (wat niet garandeert dat deze bestanden er 
volledig vrij van zijn) en zijn uitsluitend bestemd voor gebruik door de 
geadresseerde.  Elk gebruik van deze informatie (waaronder de geheel of gedeeltelijke 
reproductie of verspreiding onder elke vorm) door andere personen dan de 
geadresseerde(n) is verboden. Indien deze e-mail verkeerdelijk bij u terechtkomt, 
gelieve de afzender te verwittigen en deze bestanden van uw computer te verwijderen.
Deze e-mail kan op geen enkele wijze een invloed hebben op de contractuele relaties 
tussen de VLM en de betrokken partij. De inhoud van deze e-mail en zijn bestanden zijn 
afkomstig van de auteur en verbindt niet noodzakelijk de VLM tenzij dit bevestigd 
wordt door middel van een terzake geldig ondertekend document van de VLM. Gelieve de 
afzender er zonder onnodig uitstel ervan te verwittigen indien u een bevestiging in 
origineel van dit bericht wenst te ontvangen.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]