Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-810

JSF ViewFactory hard codes view id to resource mapping behavior which limits flexibilty of ViewHandler viewId->resource mapping logic

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.4
    • Component/s: JSF
    • Labels:
      None

      Description

      All view id->resource mapping logic should happen inside the ViewHandler.
      The logic in resolveViewName of JsfViewFactory should be moved into that layer.
      the view id passed to the view handler should simply be:
      (String) viewIdExpression.getValue(context);

      Alternatively, JsfViewFactory should be configurable with its on view id->resource strategy, but this seems questionable since the ViewHandler has this responsibility.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jeremyg484 Jeremy Grelle
              Reporter:
              kdonald Keith Donald
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: