Re: doesTextKeyExist for a resource budle method?

Mark Chaimungkalanont <[email protected]>
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <10169193.1165188621531.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
Philip,

The reason we have this is that we've written some automagic code in our custom theme that checks if the field has a description key, and if it does, then display the field description. So if I had:

[code]
[@ww.textfield labelKey='user.name' name='username' /]
[/code]

There would be a text field with the label from i18n key "user.name" and if "user.name.description" exists, it would display that also. Just saves us having to put descriptionKeys everywhere.

Cheers,

Mark C
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=51663&messageID=104980#104980

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.