You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Simon Lessard (JIRA)" <ad...@incubator.apache.org> on 2006/08/14 19:45:13 UTC

[jira] Created: (ADFFACES-124) Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants

Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants
--------------------------------------------------------------------------------

                 Key: ADFFACES-124
                 URL: http://issues.apache.org/jira/browse/ADFFACES-124
             Project: MyFaces ADF-Faces
          Issue Type: Task
          Components: Build
            Reporter: Simon Lessard
            Priority: Minor


This is the first part of constants refactoring that can be done in three steps:

1) Identify constants from org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants and org.apache.myfaces.trinidadinternal.ui.UIConstants that are used by renderers in the new faces major versions.

2) Moves those constants to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants.

3) Remove the extends from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants interface.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ADFFACES-124) Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants

Posted by "Simon Lessard (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-124?page=all ]

Simon Lessard updated ADFFACES-124:
-----------------------------------

    Attachment: ADFFACES-124_phase_2.patch

This patch remove all implements XhtmlConstants and make XhtmlConstants an uninstanciable class.

> Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants
> --------------------------------------------------------------------------------
>
>                 Key: ADFFACES-124
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-124
>             Project: MyFaces ADF-Faces
>          Issue Type: Task
>          Components: Build
>            Reporter: Simon Lessard
>            Priority: Minor
>         Attachments: ADFFACES-124_phase_1.patch, ADFFACES-124_phase_2.patch, ADFFACES-124_UIConstants.patch
>
>
> This is the first part of constants refactoring that can be done in three steps:
> 1) Identify constants from org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants and org.apache.myfaces.trinidadinternal.ui.UIConstants that are used by renderers in the new faces major versions.
> 2) Moves those constants to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants.
> 3) Remove the extends from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants interface.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ADFFACES-124) Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-124?page=all ]

Adam Winer updated ADFFACES-124:
--------------------------------

    Status: Open  (was: Patch Available)

> Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants
> --------------------------------------------------------------------------------
>
>                 Key: ADFFACES-124
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-124
>             Project: MyFaces ADF-Faces
>          Issue Type: Task
>          Components: Build
>            Reporter: Simon Lessard
>            Priority: Minor
>         Attachments: ADFFACES-124_phase_1.patch, ADFFACES-124_UIConstants.patch
>
>
> This is the first part of constants refactoring that can be done in three steps:
> 1) Identify constants from org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants and org.apache.myfaces.trinidadinternal.ui.UIConstants that are used by renderers in the new faces major versions.
> 2) Moves those constants to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants.
> 3) Remove the extends from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants interface.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ADFFACES-124) Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants

Posted by "Simon Lessard (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-124?page=all ]

Simon Lessard updated ADFFACES-124:
-----------------------------------

    Attachment: ADFFACES-124_v2.patch

I had to make a new version of this patch before applying it, the conflicts were too numerous.

> Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants
> --------------------------------------------------------------------------------
>
>                 Key: ADFFACES-124
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-124
>             Project: MyFaces ADF-Faces
>          Issue Type: Task
>          Components: Build
>            Reporter: Simon Lessard
>         Assigned To: Simon Lessard
>            Priority: Minor
>         Attachments: ADFFACES-124_phase_1.patch, ADFFACES-124_phase_2.patch, ADFFACES-124_phase_3.patch, ADFFACES-124_UIConstants.patch, ADFFACES-124_v2.patch
>
>
> This is the first part of constants refactoring that can be done in three steps:
> 1) Identify constants from org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants and org.apache.myfaces.trinidadinternal.ui.UIConstants that are used by renderers in the new faces major versions.
> 2) Moves those constants to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants.
> 3) Remove the extends from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants interface.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ADFFACES-124) Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants

Posted by "Simon Lessard (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-124?page=all ]

Simon Lessard updated ADFFACES-124:
-----------------------------------

    Status: Patch Available  (was: Open)

> Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants
> --------------------------------------------------------------------------------
>
>                 Key: ADFFACES-124
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-124
>             Project: MyFaces ADF-Faces
>          Issue Type: Task
>          Components: Build
>            Reporter: Simon Lessard
>            Priority: Minor
>         Attachments: ADFFACES-124_UIConstants.patch
>
>
> This is the first part of constants refactoring that can be done in three steps:
> 1) Identify constants from org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants and org.apache.myfaces.trinidadinternal.ui.UIConstants that are used by renderers in the new faces major versions.
> 2) Moves those constants to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants.
> 3) Remove the extends from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants interface.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ADFFACES-124) Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants

Posted by "Simon Lessard (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-124?page=all ]

Simon Lessard updated ADFFACES-124:
-----------------------------------

    Attachment: ADFFACES-124_phase_1.patch

This patch remove all direct dependancies between the new renderkit package structure and the UIConstants and XhtmlLafConstants interfaces. 

By direct I mean that it's still possible that some classes implements the latter two through another class/interface they extend/implement. Such transitive dependancies have already be resolved for BaseDesktopConstants and such though.

Only the constants really used in the renderkit structure were copied to the new interfaces. Two interfaces were created for this patch, XhtmlConstants extending both: SkinSelectors and SkinProperties. The former contains all skin selectors used by the renderkit package system (unless there's transitive usage that has yet to be discovered) while the latter contains valid skin properties such as af|breadCrumbs-ora-show-last-item. 

This is the first phase of applying coding conventions to the new package structure, the following are:
1. Make XhtmlConstants an uninstanciable class implementing SkinSelectors and SkinProperties. This will allow to detect all classes formerly implementing XhtmlConstants and change their constant usage to XhtmlConstant.MY_CONSTANT
2. Make SkinProperties an uninstanciable class and remove inheritance between XhtmlConstants and SkinProperties.
3. Make SkinSelectors an uninstanciable class and remove inheritance between XhtmlConstants and SkinSelectors.

Note: This patch include the previous one so the former one does not need to be used.

> Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants
> --------------------------------------------------------------------------------
>
>                 Key: ADFFACES-124
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-124
>             Project: MyFaces ADF-Faces
>          Issue Type: Task
>          Components: Build
>            Reporter: Simon Lessard
>            Priority: Minor
>         Attachments: ADFFACES-124_phase_1.patch, ADFFACES-124_UIConstants.patch
>
>
> This is the first part of constants refactoring that can be done in three steps:
> 1) Identify constants from org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants and org.apache.myfaces.trinidadinternal.ui.UIConstants that are used by renderers in the new faces major versions.
> 2) Moves those constants to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants.
> 3) Remove the extends from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants interface.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ADFFACES-124) Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants

Posted by "Simon Lessard (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-124?page=all ]

Simon Lessard updated ADFFACES-124:
-----------------------------------

    Attachment: ADFFACES-124_UIConstants.patch

This patch remove the dependancy between XhtmlConstants and UIConstants. Part 2 will remove dependancy toward XhtmlLafConstants.

> Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants
> --------------------------------------------------------------------------------
>
>                 Key: ADFFACES-124
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-124
>             Project: MyFaces ADF-Faces
>          Issue Type: Task
>          Components: Build
>            Reporter: Simon Lessard
>            Priority: Minor
>         Attachments: ADFFACES-124_UIConstants.patch
>
>
> This is the first part of constants refactoring that can be done in three steps:
> 1) Identify constants from org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants and org.apache.myfaces.trinidadinternal.ui.UIConstants that are used by renderers in the new faces major versions.
> 2) Moves those constants to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants.
> 3) Remove the extends from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants interface.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ADFFACES-124) Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants

Posted by "Simon Lessard (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-124?page=all ]

Simon Lessard updated ADFFACES-124:
-----------------------------------

    Status: Patch Available  (was: Open)

> Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants
> --------------------------------------------------------------------------------
>
>                 Key: ADFFACES-124
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-124
>             Project: MyFaces ADF-Faces
>          Issue Type: Task
>          Components: Build
>            Reporter: Simon Lessard
>            Priority: Minor
>         Attachments: ADFFACES-124_phase_1.patch, ADFFACES-124_phase_2.patch, ADFFACES-124_UIConstants.patch
>
>
> This is the first part of constants refactoring that can be done in three steps:
> 1) Identify constants from org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants and org.apache.myfaces.trinidadinternal.ui.UIConstants that are used by renderers in the new faces major versions.
> 2) Moves those constants to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants.
> 3) Remove the extends from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants interface.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ADFFACES-124) Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants

Posted by "Simon Lessard (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-124?page=all ]

Simon Lessard updated ADFFACES-124:
-----------------------------------

    Attachment: ADFFACES-124_phase_3.patch

This patch makes SkinProperties and SkinSelectors uninstanciable classes, removing even further implements for constant access only.

> Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants
> --------------------------------------------------------------------------------
>
>                 Key: ADFFACES-124
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-124
>             Project: MyFaces ADF-Faces
>          Issue Type: Task
>          Components: Build
>            Reporter: Simon Lessard
>            Priority: Minor
>         Attachments: ADFFACES-124_phase_1.patch, ADFFACES-124_phase_2.patch, ADFFACES-124_phase_3.patch, ADFFACES-124_UIConstants.patch
>
>
> This is the first part of constants refactoring that can be done in three steps:
> 1) Identify constants from org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants and org.apache.myfaces.trinidadinternal.ui.UIConstants that are used by renderers in the new faces major versions.
> 2) Moves those constants to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants.
> 3) Remove the extends from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants interface.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (ADFFACES-124) Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-124?page=all ]

Adam Winer reassigned ADFFACES-124:
-----------------------------------

    Assignee: Simon Lessard

> Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants
> --------------------------------------------------------------------------------
>
>                 Key: ADFFACES-124
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-124
>             Project: MyFaces ADF-Faces
>          Issue Type: Task
>          Components: Build
>            Reporter: Simon Lessard
>         Assigned To: Simon Lessard
>            Priority: Minor
>         Attachments: ADFFACES-124_phase_1.patch, ADFFACES-124_phase_2.patch, ADFFACES-124_phase_3.patch, ADFFACES-124_UIConstants.patch
>
>
> This is the first part of constants refactoring that can be done in three steps:
> 1) Identify constants from org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants and org.apache.myfaces.trinidadinternal.ui.UIConstants that are used by renderers in the new faces major versions.
> 2) Moves those constants to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants.
> 3) Remove the extends from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants interface.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ADFFACES-124) Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants

Posted by "Simon Lessard (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-124?page=all ]

Simon Lessard updated ADFFACES-124:
-----------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

Appled patch.

> Move relevant constants from UIConstants and XhtmlLafConstants to XhtmlConstants
> --------------------------------------------------------------------------------
>
>                 Key: ADFFACES-124
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-124
>             Project: MyFaces ADF-Faces
>          Issue Type: Task
>          Components: Build
>            Reporter: Simon Lessard
>         Assigned To: Simon Lessard
>            Priority: Minor
>         Attachments: ADFFACES-124_phase_1.patch, ADFFACES-124_phase_2.patch, ADFFACES-124_phase_3.patch, ADFFACES-124_UIConstants.patch, ADFFACES-124_v2.patch
>
>
> This is the first part of constants refactoring that can be done in three steps:
> 1) Identify constants from org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafConstants and org.apache.myfaces.trinidadinternal.ui.UIConstants that are used by renderers in the new faces major versions.
> 2) Moves those constants to org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants.
> 3) Remove the extends from org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlConstants interface.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira