struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cacodemon79 <cacode...@inwind.it>
Subject Re: ApplicationResources.properties accessed by Javascript function: is it possible?
Date Sun, 01 Jun 2008 11:42:17 GMT

No reply? :(


cacodemon79 wrote:
> 
> Hi to all.
> I'm a newbie on Struts framework. I'm developing a web site with Struts
> 1.3, Tomcat 6.0, MySQL 5.0 and Eclipse.
> 
> I have stored in the ApplicationResources.properties the strings (labels,
> values, ...) of my site.
> I'm wondering if it's possible to access this file by a Javascript
> function as I would like to use the same strings without be obliged to
> redefine them in Javascript functions.
> Is there a special functionality (method) to do so?
> 
> I have tought to the following alternatives:
> 1) to store the ApplicationResources.properties keys in hidden fields so
> that i can access them in javascript functions;
> 2) to pass these strings as parameters when calling a javascript function
> 
> Can you give me any suggestion on the matter?
> 
> Thanks in advance.
> 

-- 
View this message in context: http://www.nabble.com/ApplicationResources.properties-accessed-by-Javascript-function%3A-is-it-possible--tp17563510p17584752.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message