Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1276

Allow a fallback PlaceTokenizer, or pre-processor

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: 1.1.0.RELEASE
    • Fix Version/s: 1.1.0.RC1
    • Component/s: GWT
    • Labels:
      None

      Description

      PlaceHistoryHandler in M3 uses "<prefix>:<place-specific-token>" history tokens.

      Having a fallback PlaceTokenizer (with no prefix) would allow both unprefixed tokens and using your own matching instead of GWT's "there must be a colon, and everything before it is a prefix" approach.

      For instance, providing only the fallback PlaceTokenizer would allow using any kind of history tokens, provided you do all the matching and "dispatching" from within a single PlaceTokenizer: GMail-style (path-like), Reader-style (query-string-like), Wave-like, etc.

      This is less "clean" than allowing a pluggable "matcher/dispatcher" ("I wan't a '/' as separator", "I wan't a fixed-length prefix rather than a separator", "I want to use regexps", etc.), but easier to implement.

        Attachments

          Activity

            People

            Assignee:
            rjrjr@google.com Ray Ryan
            Reporter:
            t.broyer Thomas Broyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5d
                0.5d
                Remaining:
                Remaining Estimate - 0.5d
                0.5d
                Logged:
                Time Spent - Not Specified
                Not Specified