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

add a contructor with page class as parameter to BeanBlockContribution

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 5.0.15
    • 5.3
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment