On Wednesday, June 25, 2003, at 10:54 AM, David Graham wrote:
A 300 page app needs a resource bundle even for only 1 language. I've
found it extremely useful to manage all text from one place instead of
searching through hundreds of pages. The memory and performance arguments
are red herrings. The bundle lookup is little more expensive than a hash
table lookup and the memory used is negligable.

Our apps are *only* in English (currently, and for the foreseeable future), but resourcing everything has great benefits to us.


IMHO, I think it is a better idea to 'wrap' whatever text a user wants
to
use,
however they want to generate it.
Ex:
<html:label property="firstName">First Name: </html:label>
-or-
<html:label property="firstName"><bean:message
property='firstName'/></html:label>

It's reasonable to allow the user to specify a lookup key or use the tag's
body text.

Sure, no problem there. I would still like to see the default behavior not require more typing than necessary and no duplication of "fieldName" in the straight-forward cases.


Erik


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



Reply via email to