Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4022

improve web fragment support

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 8.5.2
    • Fix Version/s: 8.6.0
    • Component/s: Configuration, Container
    • Security Level: Jimmy
    • Labels:
    • gh.sprint.customfield.default.name:
      ZK 8.6.0 S1, ZK 8.6.0 S2

      Description

      when configuring ZK with a servlet 3 web.xml the web-fragment.xml in zk.jar/META-INF/web-fragment.xml automatically registers ZK's servlet with default settings / mappings.

      Whenever the defaults are unwanted, things get more complicated and sometimes container specific. Ignoring a specific web-fragment.xml is container specific or instead all "wanted" web-fragments need to be listed.

      removing or providing the web-fragment.xml in a separate dependency would help in that matter allowing for more flexible configuration. The benefits of the default config are only initial convenience for trivial tests. While the disadvantages make more complex configurations difficult.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              CharlesQiu CharlesQiu
              Reporter:
              cor3000 cor3000
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Time Spent - 2 days, 1 hour, 30 minutes Remaining Estimate - 6 hours, 30 minutes
                  6h 30m
                  Logged:
                  Time Spent - 2 days, 1 hour, 30 minutes Remaining Estimate - 6 hours, 30 minutes
                  2d 1h 30m