Re: Question About Constants(.properties) file of GWT

2010-06-07 Thread Thomas Broyer


On 6 juin, 20:04, veeravelli kiran kumar
veeravelli.kiranku...@gmail.com wrote:
 Hi Stefan,
 Thanks for the reply. Yes I was taking about i18n . What approach
 should I follow to use labels (labels for various components in the
 UI ) from external file (like the bundles used in JSF) where i can
 change key value pairs to reflect the changes in the UI.

http://code.google.com/webtoolkit/doc/latest/DevGuideI18n.html#DevGuideDynamicStringInternationalization
(where the dictionary can be defined in an external JS, for instance)

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Question About Constants(.properties) file of GWT

2010-06-06 Thread veeravelli kiran kumar
Hi Stefan,
Thanks for the reply. Yes I was taking about i18n . What approach
should I follow to use labels (labels for various components in the
UI ) from external file (like the bundles used in JSF) where i can
change key value pairs to reflect the changes in the UI.

Thanks
V Kiran Kumar

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Question About Constants(.properties) file of GWT

2010-06-03 Thread Stefan Bachert
Hi Kiran,

I guess you are talking about i18n - Constants
yes, they will be compiled to javaScript.

You have to recompile your app when you have to changed your
constants.
When your constants aren't constant, you need an other approach.

Stefan Bachert
http://gwtworld.de

On 2 Jun., 10:55, veeravelli kiran kumar
veeravelli.kiranku...@gmail.com wrote:
 Hi All,
 I am new to GWT and finding it difficult to understand this. I am
 creating a GWT project,putting a constants file and retrieving them
 via the constants interface. I am compiling this project and adding
 the resources (just the .html ,.css and /project resources) generated
 to a war file deployed in JBOSS AS . I am able to view the GWT page
 without any problem. Does GWT write the constants into the javascript.
 I am using the exact project structure as the GWT project in JBoss
 project and placing the constants file in the appropriate location.
 Now I am trying to change the constants from this constants file. But
 the changes does not get reflected in the view page. What is the
 reason behind this? I am finding it really difficult to understand
 this can anyone help me in this regard.

 Thanks
 V Kiran Kumar

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Question About Constants(.properties) file of GWT

2010-06-02 Thread veeravelli kiran kumar
Hi All,
I am new to GWT and finding it difficult to understand this. I am
creating a GWT project,putting a constants file and retrieving them
via the constants interface. I am compiling this project and adding
the resources (just the .html ,.css and /project resources) generated
to a war file deployed in JBOSS AS . I am able to view the GWT page
without any problem. Does GWT write the constants into the javascript.
I am using the exact project structure as the GWT project in JBoss
project and placing the constants file in the appropriate location.
Now I am trying to change the constants from this constants file. But
the changes does not get reflected in the view page. What is the
reason behind this? I am finding it really difficult to understand
this can anyone help me in this regard.

Thanks
V Kiran Kumar

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.