Support localization of alt text of inputNumberSpinbox Icons
------------------------------------------------------------
Key: TRINIDAD-1646
URL: https://issues.apache.org/jira/browse/TRINIDAD-1646
Project: MyFaces Trinidad
Issue Type: Bug
Components: Components
Affects Versions: 1.0.11-core
Reporter: Markus Döring
Priority: Minor
The icons for incrementing and decrementing of the value in an
inputNumberSpinbox currently have a static string and no localization involved.
Needed changes:
change to:
String altText;
if (!disabled)
altText = (increment) ?
arc.getTranslatedString("af_inputNumberSpinbox.INCREMENT") :
arc.getTranslatedString("af_inputNumberSpinbox.DECREMENT");
else
altText = (increment) ?
arc.getTranslatedString("af_inputNumberSpinbox.INCREMENT_DISABLED") :
arc.getTranslatedString("af_inputNumberSpinbox.DECREMENT_DISABLED");
in SimpleInputNumberSpinboxRenderer.renderSpinboxIcon()
and add localization to the bundles
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.