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

make AbstractMVCView less dependent on the servlet view object to form a good abstract base, make binding a strategy design pattern

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.8
    • Fix Version/s: None
    • Labels:
      None

      Description

      I put together a swing based integration point with webflow. A couple of things came up that would be helpful:

      a) Make AbstractMVCView just an AbstractView with the view object untyped. A specific subclass can then provide typed access to the object. You can also do this with AbstractMVCFactory. In light of not using generics in the release (until 1.5 is supported) this would help reuse the factory and view objects in non-web settings.

      b) Make the binding and validation on request parameters inside the AbstractMVCView object a strategy design pattern that is pluggable. This probably means that a configuration object has to be available on the ViewFactoryCreator to plug in the binding strategy object.

        Attachments

          Activity

            People

            Assignee:
            kdonald Keith Donald
            Reporter:
            aappddeevv aappddeevv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: