Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2016-11-16 10:23:42 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
edaf5c103295edbd2f22caf9f4e880245cee1f41
edaf5c10
1 parent
c75b3cc8
Injection par constructeur.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
src/main/java/org/legrog/web/publisher/PublisherVersionView.java
src/main/java/org/legrog/web/publisher/PublisherVersionView.java
View file @
edaf5c1
...
...
@@ -28,9 +28,7 @@ import java.util.List;
public
class
PublisherVersionView
implements
Serializable
{
Logger
logger
=
LoggerFactory
.
getLogger
(
getClass
());
@Inject
PublisherService
publisherService
;
@Inject
SharedService
sharedService
;
private
boolean
editMode
;
...
...
@@ -55,6 +53,16 @@ public class PublisherVersionView implements Serializable {
private
List
<
Country
>
availableCountries
;
@Inject
public
PublisherVersionView
(
PublisherService
publisherService
,
SharedService
sharedService
)
{
this
.
publisherService
=
publisherService
;
this
.
sharedService
=
sharedService
;
}
//no args constructor to make it proxyable
PublisherVersionView
()
{
}
@PostConstruct
public
void
init
()
{
availableCountries
=
sharedService
.
getAllCountries
();
...
...
Please
register
or
login
to post a comment