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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development