You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Kristian Marinkovic (JIRA)" <de...@tapestry.apache.org> on 2008/03/04 12:58:40 UTC

[jira] Created: (TAPESTRY-2230) add a contructor with page class as parameter to BeanBlockContribution

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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-2230) add a contructor with page class as parameter to BeanBlockContribution

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAPESTRY-2230:
-------------------------------------------

         Priority: Trivial  (was: Major)
    Fix Version/s: 5.1

> 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
>            Priority: Trivial
>             Fix For: 5.1
>
>
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAP5-83) add a contructor with page class as parameter to BeanBlockContribution

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAP5-83:
-------------------------------------

    Issue Type: Improvement  (was: Bug)

> 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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org