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-10-24 16:18:54 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bd5832e99f423577d06533bb0bc798437ac11607
bd5832e9
1 parent
4977c1ef
Refactoring nouveau nommage
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
src/main/java/org/legrog/presentation/ListPublisherRevisionsBean.java → src/main/java/org/legrog/presentation/ListPublisherRevisionsView.java
src/main/webapp/listPublisherRevisions.xhtml
src/main/java/org/legrog/presentation/ListPublisherRevisions
Bean
.java
→
src/main/java/org/legrog/presentation/ListPublisherRevisions
View
.java
View file @
bd5832e
...
...
@@ -17,7 +17,7 @@ import java.util.List;
@Named
@RequestScoped
public
class
ListPublisherRevisions
Bean
{
public
class
ListPublisherRevisions
View
{
Logger
logger
=
LoggerFactory
.
getLogger
(
getClass
());
@Inject
...
...
src/main/webapp/listPublisherRevisions.xhtml
View file @
bd5832e
...
...
@@ -6,8 +6,8 @@
xmlns:ui=
"http://xmlns.jcp.org/jsf/facelets"
xmlns:f=
"http://xmlns.jcp.org/jsf/core"
>
<f:metadata>
<f:viewParam
name=
"publisherId"
value=
"#{listPublisherRevisions
Bean
.publisherId}"
/>
<f:viewAction
action=
"#{listPublisherRevisions
Bean
.setView}"
/>
<f:viewParam
name=
"publisherId"
value=
"#{listPublisherRevisions
View
.publisherId}"
/>
<f:viewAction
action=
"#{listPublisherRevisions
View
.setView}"
/>
</f:metadata>
<h:body>
<h:form>
...
...
@@ -25,19 +25,19 @@
</ul>
</h:form>
<h:link
rendered=
"#{not listPublisherRevisions
Bean
.viewAll}"
outcome=
"/listPublisherRevisions.xhtml"
>
Voir tous les éditeurs
</h:link>
<h:outputText
rendered=
"#{listPublisherRevisions
Bean
.publisherRevisions.isEmpty()}"
>
Liste des révisions est vide
</h:outputText>
<h:dataTable
value=
"#{listPublisherRevisions
Bean
.publisherRevisions}"
var=
"revision"
>
<h:link
rendered=
"#{not listPublisherRevisions
View
.viewAll}"
outcome=
"/listPublisherRevisions.xhtml"
>
Voir tous les éditeurs
</h:link>
<h:outputText
rendered=
"#{listPublisherRevisions
View
.publisherRevisions.isEmpty()}"
>
Liste des révisions est vide
</h:outputText>
<h:dataTable
value=
"#{listPublisherRevisions
View
.publisherRevisions}"
var=
"revision"
>
<h:column>
<f:facet
name=
"header"
>
Visualiser ou Modifier
</f:facet>
<h:link
outcome=
"view"
>
Visualiser ou Modifier Version
<f:param
name=
"publisherRevisionId"
value=
"#{revision.publisherRevisionId}"
/>
</h:link>
</h:column>
<h:column
rendered=
"#{listPublisherRevisions
Bean
.viewAll}"
>
<h:column
rendered=
"#{listPublisherRevisions
View
.viewAll}"
>
<f:facet
name=
"header"
>
Editeur
</f:facet>
#{revision.publisher.publisherId}
<h:link
outcome=
"/listPublisherRevisions
.xhtml
"
>
<h:link
outcome=
"/listPublisherRevisions"
>
<f:param
name=
"publisherId"
value=
"#{revision.publisher.publisherId}"
/>
</h:link>
</h:column>
...
...
Please
register
or
login
to post a comment