diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-12-06 23:35:25 +0100 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-12-13 23:35:23 +0100 |
| commit | a14734c965fd7aaf6485bb2bb2a72a68bdb5d14d (patch) | |
| tree | 9fa6787f48177b3ccc2d59445185226009d5f29c /WebContent/pages | |
| parent | 10331ccbacbff885201eb33998007228c4caa962 (diff) | |
| download | JCatalog-a14734c965fd7aaf6485bb2bb2a72a68bdb5d14d.tar.gz JCatalog-a14734c965fd7aaf6485bb2bb2a72a68bdb5d14d.zip | |
Add editing link to categories.xhtml
Diffstat (limited to 'WebContent/pages')
| -rw-r--r-- | WebContent/pages/categories.xhtml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/WebContent/pages/categories.xhtml b/WebContent/pages/categories.xhtml index 2e8cd0e..cb6ef27 100644 --- a/WebContent/pages/categories.xhtml +++ b/WebContent/pages/categories.xhtml @@ -43,6 +43,16 @@ <f:param name="selectedId" value="#{category.id}" /> </h:commandLink> </h:column> + <c:if test="#{UserManager.loggedIn}"> + <h:column> + <f:facet name="header"> + <h:outputText value="" /> + </f:facet> + <h:commandLink value="Edit Details ..." immediate="true" action="category"> + <f:param name="selectedId" value="#{category.id}" /> + </h:commandLink> + </h:column> + </c:if> </h:dataTable> </h:form> </ui:define> |
