tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-83) add a contructor with page class as parameter to BeanBlockContribution
Date Sat, 16 Apr 2011 00:01:06 GMT

    [ https://issues.apache.org/jira/browse/TAP5-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020494#comment-13020494
] 

Hudson commented on TAP5-83:
----------------------------

Integrated in tapestry-5.2-freestyle #317 (See [https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/317/])
    

> add a contructor with page class as parameter to BeanBlockContribution
> ----------------------------------------------------------------------
>
>                 Key: TAP5-83
>                 URL: https://issues.apache.org/jira/browse/TAP5-83
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.15
>            Reporter: Kristian Marinkovic
>            Priority: Trivial
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message