Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4688

Make use of the generic type passed to IPageFactory#newPage() and return the typed Page

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.0.0-beta3
    • 6.0.0
    • wicket
    • None

    Description

      Currently the signature of IPageFactory#newPage is:

      <C extends IRequestablePage> IRequestablePage newPage(Class<C>)

      It would be better to be:
      <C extends IRequestablePage> C newPage(Class<C>)

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: