Tapestry 5
  1. Tapestry 5
  2. TAP5-83

add a contructor with page class as parameter to BeanBlockContribution

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.3
    • Component/s: None
    • Labels:
      None

      Description

      this would enable type safe programming:

      instead of:
      configuration.add(new BeanBlockContribution("dealerType","DealerTypePropertyBlock","dealerType",true));

      or

      configuration.add(new BeanBlockContribution("dealerType",
      resolver.resolvePageClassNameToPageName(DealerTypePropertyBlock.class.getName()),"dealerType",true));

      this would be better and shorter (also in case of refactoring):
      configuration.add(new BeanBlockContribution("dealerType",DealerTypePropertyBlock.class,"dealerType",true));

        Activity

        Hide
        Massimo Lusetti added a comment -

        Is this a left over?

        Show
        Massimo Lusetti added a comment - Is this a left over?
        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #317 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/317/)

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #317 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/317/ )

          People

          • Assignee:
            Unassigned
            Reporter:
            Kristian Marinkovic
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development