Re: load property file from a list of property files

2008-11-21 Thread Reinier Zwitserloot

Zujee, that's not how you solve this problem.

Make the client download the properties from the server. Basically,
have a simple servlet that takes one parameter and returns the
appropriate properties, e.g. as a HashMap which you transfer via GWT-
RPC.

If you don't know what GWT-RPC is, its one of the systems you can use
to chat between client and server. There's plenty of documentation
available from the main GWT site about how to use it.

On Nov 21, 5:34 am, zujee [EMAIL PROTECTED] wrote:
 Yes.. I want deffered binding.. Bcoz according to each customer comes,
 we just want to add a property file for that customer.
 Not to compile the entire application. How can it be possible? Is
 there any example or sample document available which will help to
 achive that.
 pls help

 On Nov 20, 2:21 pm, Thomas Broyer [EMAIL PROTECTED] wrote:

  On 20 nov, 07:58, zujee [EMAIL PROTECTED] wrote:

   Hi,
   I have a number of property files according to our clients like

   myapp_compny1_en.propertis,myapp_compny2_en.propertis,...etc..etc..

   For each compny , property files contents  might vary..

   Can some one suggest me in which way i need to achive this...
   Currently im trying with immutableResourceBundle. Is thats the right
   approch? is there any thing i need to take when i put name for each
   property files?

  How is the company selected?

  If you package your app for each company and deploy them separately
  (each company has its own version of the app), then its just a matter
  of packaging.

  Otherwise (deferred binding), you might want to write your own
  generator (inheriting an existing one and adding your own logic to
  select the appropriate properties file depending on the company for
  the processed permutation)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: load property file from a list of property files

2008-11-20 Thread Thomas Broyer


On 20 nov, 07:58, zujee [EMAIL PROTECTED] wrote:
 Hi,
 I have a number of property files according to our clients like

 myapp_compny1_en.propertis,myapp_compny2_en.propertis,...etc..etc..

 For each compny , property files contents  might vary..

 Can some one suggest me in which way i need to achive this...
 Currently im trying with immutableResourceBundle. Is thats the right
 approch? is there any thing i need to take when i put name for each
 property files?

How is the company selected?

If you package your app for each company and deploy them separately
(each company has its own version of the app), then its just a matter
of packaging.

Otherwise (deferred binding), you might want to write your own
generator (inheriting an existing one and adding your own logic to
select the appropriate properties file depending on the company for
the processed permutation)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: load property file from a list of property files

2008-11-20 Thread zujee

Yes.. I want deffered binding.. Bcoz according to each customer comes,
we just want to add a property file for that customer.
Not to compile the entire application. How can it be possible? Is
there any example or sample document available which will help to
achive that.
pls help


On Nov 20, 2:21 pm, Thomas Broyer [EMAIL PROTECTED] wrote:
 On 20 nov, 07:58, zujee [EMAIL PROTECTED] wrote:

  Hi,
  I have a number of property files according to our clients like

  myapp_compny1_en.propertis,myapp_compny2_en.propertis,...etc..etc..

  For each compny , property files contents  might vary..

  Can some one suggest me in which way i need to achive this...
  Currently im trying with immutableResourceBundle. Is thats the right
  approch? is there any thing i need to take when i put name for each
  property files?

 How is the company selected?

 If you package your app for each company and deploy them separately
 (each company has its own version of the app), then its just a matter
 of packaging.

 Otherwise (deferred binding), you might want to write your own
 generator (inheriting an existing one and adding your own logic to
 select the appropriate properties file depending on the company for
 the processed permutation)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



load property file from a list of property files

2008-11-19 Thread zujee

Hi,
I have a number of property files according to our clients like


myapp_compny1_en.propertis,myapp_compny2_en.propertis,...etc..etc..

For each compny , property files contents  might vary..

Can some one suggest me in which way i need to achive this...
Currently im trying with immutableResourceBundle. Is thats the right
approch? is there any thing i need to take when i put name for each
property files?

thanks
zujee
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---