Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SEAMFACES-33 Refactored ViewData* to ViewConfig*
- Loading branch information
Showing
14 changed files
with
69 additions
and
74 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...jboss/seam/faces/viewdata/ViewConfig.java → ...ss/seam/faces/view/config/ViewConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 8 additions & 13 deletions
21
...es/security/ViewMetaRestrictEnforcer.java → ...ew/config/ViewConfigSecurityEnforcer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../jboss/seam/faces/test/viewdata/Icon.java → ...oss/seam/faces/test/view/config/Icon.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...seam/faces/test/viewdata/IconLiteral.java → ...m/faces/test/view/config/IconLiteral.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigEnum.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.jboss.seam.faces.test.view.config; | ||
|
||
import org.jboss.seam.faces.view.config.ViewConfig; | ||
import org.jboss.seam.faces.view.config.ViewPattern; | ||
|
||
@ViewConfig | ||
public enum ViewConfigEnum | ||
{ | ||
@ViewPattern("/*") | ||
@Icon("default.gif") | ||
DEFAULT, | ||
@ViewPattern("/happy/*") | ||
@Icon("happy.gif") | ||
HAPPY, | ||
@ViewPattern("/sad/*") | ||
@Icon("sad.gif") | ||
SAD, | ||
@ViewPattern("/happy/done.xhtml") | ||
@Icon("finished.gif") | ||
HAPPY_DONE; | ||
} |
12 changes: 6 additions & 6 deletions
12
...aces/test/viewdata/ViewDataStoreTest.java → ...test/view/config/ViewConfigStoreTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
impl/src/test/java/org/jboss/seam/faces/test/viewdata/ViewDataConfigurationEnum.java
This file was deleted.
Oops, something went wrong.