ICEfaces
  1. ICEfaces
  2. ICE-8744

ace:rowEditor - MissingResourceException thrown for icon tooltip title values

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.2.0-110512

      Description

      When using a custom or application specific message-bundle the following exception is thrown for the message entries for the icon tooltip titles of the ace:rowEditor

      java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key org.icefaces.ace.component.roweditor.START_TITLE
      at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
      at java.util.ResourceBundle.getString(ResourceBundle.java:334)
      at org.icefaces.ace.component.roweditor.RowEditorRenderer$BUTTON.getTitle(RowEditorRenderer.java:82)
      at org.icefaces.ace.component.roweditor.RowEditorRenderer.encodeEnd(RowEditorRenderer.java:137)
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
              ....

        Activity

        Hide
        Ken Fyten added a comment -

        Attached test case that shows the issue. Run welcomeICEfaces.jsf to see error on load of the page.

        Show
        Ken Fyten added a comment - Attached test case that shows the issue. Run welcomeICEfaces.jsf to see error on load of the page.
        Hide
        Ken Fyten added a comment -

        I believe this is expected behavior. The icefaces-ace.jar includes default messages.properties files with these entries included, but if you specify a custom properties file then it needs to include these new key-value pairs.

        So basically the workaround is the fix.

        Show
        Ken Fyten added a comment - I believe this is expected behavior. The icefaces-ace.jar includes default messages.properties files with these entries included, but if you specify a custom properties file then it needs to include these new key-value pairs. So basically the workaround is the fix.

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: