Details
-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.7DR#2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Firefox 2.0.0.9
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
SelectInputDate renders out ALT, TITLE, and SUMMARY attributes, which are hard-coded Strings. These should be taken from resource bundles, so that developers can localise or override them.
Issue Links
- blocks
-
ICE-2176 selectInputDate should expose title attribute
- Closed
Activity
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15235 | Thu Nov 22 14:37:19 MST 2007 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/resources/messages.properties
MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/resources/messages_fr.properties MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/utils/MessageUtils.java MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputdate/SelectInputDateRenderer.java |
Mark Collette
created issue -
Mark Collette
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.7DR#3 [ 10112 ] | |
Affects | [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial] | |
Assignee | Mark Collette [ mark.collette ] |
Mark Collette
made changes -
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Issue Type | New Feature [ 2 ] | Improvement [ 4 ] |
Sam Xiao
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Sam Xiao
made changes -
Priority | Major [ 3 ] | Minor [ 4 ] |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] | |
Fix Version/s | 1.7DR#3 [ 10112 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15733 | Wed Feb 06 13:43:17 MST 2008 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/resources/messages_fr.properties
|
Mark Collette
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Fix Version/s | 1.7Beta1 [ 10121 ] | |
Fix Version/s | 1.7 [ 10080 ] | |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15763 | Thu Feb 07 17:13:11 MST 2008 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/resources/messages_fr.properties
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15764 | Thu Feb 07 17:16:58 MST 2008 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/resources/messages.properties
|
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Mark Collette [ mark.collette ] |
I searched through SelectInputDateRenderer, and replaced all hard-coded ALT, TITLE, and SUMMARY attributes, with ones specified in messages.properties and messages_fr.properties. I also added a few ones that hadn't been in there, and removed an incorrect one (days from other months had TITLE of a different day of week).
Developers can localise them into other languages, or override them in the ResourceBundle specified by FacesContext.getCurrentInstance().getApplication().getMessageBundle() and FacesContext.getCurrentInstance().getViewRoot().getLocale(). If they do not want the attributes to be rendered at all, they can define them as empty Strings in that ResourceBundle.
Subversion 15235
icefaces\component\src\com\icesoft\faces\component\selectinputdate\SelectInputDateRenderer.java
icefaces\component\src\com\icesoft\faces\resources\messages.properties
icefaces\component\src\com\icesoft\faces\resources\messages_fr.properties
icefaces\component\src\com\icesoft\faces\utils\MessageUtils.java