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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        1255d 9h 48m 1 Massimo Lusetti 11/Aug/11 22:46
        Massimo Lusetti made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 5.3 [ 12316024 ]
        Resolution Fixed [ 1 ]
        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/ )
        Howard M. Lewis Ship made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Howard M. Lewis Ship made changes -
        Affects Version/s 5.0.15 [ 12313429 ]
        Howard M. Lewis Ship made changes -
        Affects Version/s 5.0.11 [ 12312968 ]
        Issue Type Improvement [ 4 ] Bug [ 1 ]
        Project Tapestry [ 10573 ] Tapestry 5 [ 12310833 ]
        Key TAPESTRY-2230 TAP5-83
        Fix Version/s 5.1 [ 12312964 ]
        Component/s tapestry-core [ 12311285 ]
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Fix Version/s 5.1 [ 12312964 ]
        Priority Major [ 3 ] Trivial [ 5 ]
        Kristian Marinkovic created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development