myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Döring (JIRA) <>
Subject [jira] Created: (TRINIDAD-1646) Support localization of alt text of inputNumberSpinbox Icons
Date Mon, 30 Nov 2009 16:11:21 GMT
Support localization of alt text of inputNumberSpinbox Icons

                 Key: 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");
				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.

View raw message