ICEmobile
  1. ICEmobile
  2. MOBI-844

View-aware resource bundle lookup

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.4 Beta
    • Component/s: Faces, JSP
    • Labels:
      None
    • Environment:
      ICEmobile, small/large view, internationalized text

      Description

      A simple mechanism for specifying application text values by key should be aware of wether the current view is "large" or "small" to allow application customization via resource bundles. It would be difficult to maintain a separate bundle for large and small views, so this feature should follow a naming scheme on the keys.

      title.SMALL = "Demo"
      title.LARGE = "ICEmobile Component Demo"

      This can use a custom Map/ResourceBundle subclass as described here:

      http://stackoverflow.com/questions/7469223/jsp-and-resourcebundles

      This gives the custom bundle implementation access to the RequestMap, thereby allowing it to detect the view size (which can also be set in the RequestMap).

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: