add a contructor with page class as parameter to BeanBlockContribution
----------------------------------------------------------------------

                 Key: TAPESTRY-2230
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2230
             Project: Tapestry
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.0.11
            Reporter: Kristian Marinkovic


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));


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to