You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/09/23 17:48:23 UTC

DO NOT REPLY [Bug 27312] - amend html:submit with a "label" and "labelKey" attribute for multi-linguality, language, locale

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27312>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27312

amend html:submit  with a "label" and "labelKey" attribute for multi-linguality, language, locale

niallp@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From niallp@apache.org  2004-09-23 15:48 -------
The problem is the "value" attribute in the html <input type="submit"> is whats 
displayed as the text on the button - so this won't work.

This is an html issue, not a struts tag issue so I'm closing this as invalid.

Niall

P.S. You can achieve "multi-lingual" buttons already by using the body of the 
<html:submit> tag. Something like..

   <html:submit>
     <bean:message key="some.key"/>
   </html:submit>

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