Yes. This is declared in velocity templates for most controls as well as controlheader.vm. I did a small performance test and the execution time dropped by 40-50 ms on my laptop. No biggie since some of it might be due to the extra log.warn as well. Removing the getText()-entries in the control templates removes the problem, of course. Perhaps this is how it was supposed to be implemented?

Dag

Jason Carreira wrote:

Do the current tags try to use getText() all the time? This should be
changed to not do this by default, if possible. To get localized text,
you should do "text('myKey')". This could be part of the problem with
render speed.




-----Original Message-----
From: Dag Liodden [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 5:01 AM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] LocallizedTextUtil and LocaleAware



ActionSupport extends BaseActionSupport which implements LocaleAware and LocallizedTextUtil.getText().is therefore used to lookup UI tag labels. In my app, there is no need for localization at this point but LocalizedTextUtil logs a warning every time time it cannot find a localized name. I still want to subclass ActionSupport for my actions (out of convenience). Perhaps LocaleAware could be implemented by a subclass of ActionSupport - e.g LocaleAwareActionSupport or something? Or am I missing something here?


I'll create a Jira issue as well. :)

Cheers,

Dag



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet


_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork





------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to