You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Markus Döring (JIRA)" <de...@myfaces.apache.org> on 2009/11/30 17:11:21 UTC

[jira] Created: (TRINIDAD-1646) Support localization of alt text of inputNumberSpinbox Icons

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.