You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2010/03/03 11:26:27 UTC

[jira] Created: (EXTCDI-9) customizable project stage

customizable project stage
--------------------------

                 Key: EXTCDI-9
                 URL: https://issues.apache.org/jira/browse/EXTCDI-9
             Project: MyFaces CODI
          Issue Type: New Feature
            Reporter: Gerhard Petracek
            Assignee: Gerhard Petracek


the core of codi should offer a project stage mechanism for custom project stages (application.PROJECT_STAGE)

example:

@Inject @Current private ProjectStage projectStage;

...

if(projectStage.is("MyDevStage"))
{
  //...
}

if the jsf module is available as well, it should be possible to use e.g.:

@Inject private JsfProjectStage jsfProjectStage;

if(jsfProjectStage.isDevelopment())
{
  //...
}

the implementation should use the project stages provided by jsf.
if application.PROJECT_STAGE is used, it should overrule the project stage of jsf.

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


[jira] Resolved: (EXTCDI-9) customizable project stage

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTCDI-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek resolved EXTCDI-9.
-----------------------------------

    Resolution: Fixed

> customizable project stage
> --------------------------
>
>                 Key: EXTCDI-9
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-9
>             Project: MyFaces CODI
>          Issue Type: New Feature
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>
> the core of codi should offer a project stage mechanism for custom project stages (application.PROJECT_STAGE)
> example:
> @Inject @Current private ProjectStage projectStage;
> ...
> if(projectStage.is("MyDevStage"))
> {
>   //...
> }
> if the jsf module is available as well, it should be possible to use e.g.:
> @Inject private JsfProjectStage jsfProjectStage;
> if(jsfProjectStage.isDevelopment())
> {
>   //...
> }
> the implementation should use the project stages provided by jsf.
> if application.PROJECT_STAGE is used, it should overrule the project stage of jsf.

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