forked from grails/grails-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get rid of TagLibraryApi, ControllersApi and CommonWebApi in favour o…
…f traits
- Loading branch information
1 parent
976c100
commit bf5e769
Showing
35 changed files
with
377 additions
and
885 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
grails-compat/src/main/groovy/org/codehaus/groovy/grails/plugins/web/api/CommonWebApi.groovy
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
...s-compat/src/main/groovy/org/codehaus/groovy/grails/plugins/web/api/ControllersApi.groovy
This file was deleted.
Oops, something went wrong.
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
161 changes: 0 additions & 161 deletions
161
...in-controllers/src/main/groovy/org/grails/plugins/web/controllers/api/ControllersApi.java
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,9 @@ | |
*/ | ||
package org.grails.plugins.web.taglib | ||
|
||
import grails.artefact.Artefact | ||
import grails.artefact.TagLibrary | ||
import grails.gsp.TagLib | ||
|
||
|
||
/** | ||
* Tags for rendering country selection / display of country names. | ||
|
@@ -24,8 +26,8 @@ import grails.artefact.Artefact | |
* | ||
* @author Marc Palmer ([email protected]) | ||
*/ | ||
@Artefact("TagLibrary") | ||
class CountryTagLib { | ||
@TagLib | ||
class CountryTagLib implements TagLibrary { | ||
static final ISO3166_3 = [ | ||
"afg":"Afghanistan", | ||
"alb":"Albania", | ||
|
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
Oops, something went wrong.