Uploaded image for project: 'Click'
  1. Click
  2. CLK-516

Remove spring JARs dependency from click-examples.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • examples
    • None

    Description

      Remove Spring from click-examples to make them more accessible to new users.
      There are many reasons for this (and I guess it was discussed several times in the past).
      I also mentioned this in:
      https://issues.apache.org/jira/browse/CLK-384 :
      =======
      Besides there's a much more complete project using Click with Spring:
      http://svn.apache.org/repos/asf/incubator/click/trunk/examples/click-spring-cayenne/
      plus the documentation, so I don't think the Spring users will be disadvantaged.
      =======

      so I created a new issue to track this.

      It looks like not to many classes depend on SpringPage, so it is very easy to replace it with
      a "BasePage" that has all the services without injection.

      Attachments

        1. BasePage.java
          2 kB
          Adrian A.
        2. Remove_SpringPage_from_examples.patch
          5 kB
          Adrian A.

        Activity

          People

            Unassigned Unassigned
            a_adrian Adrian A.
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: