Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-83

add a contructor with page class as parameter to BeanBlockContribution

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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));

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: