From: Roland Haeder Date: Tue, 20 Oct 2015 13:03:14 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=da18f9b92f0c3772c7a3313f2b9e7f72ab3abc97;p=addressbook-war.git Continued: - No, also c:set is not right and previous also not. So how can I set a value in a bean from a template? - moved some components to proper location - added missing this. - updated jar(s) Signed-off-by:Roland Häder --- diff --git a/lib/jcontacts-core.jar b/lib/jcontacts-core.jar index f42fc0bb..6b3619e1 100644 Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ diff --git a/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestBean.java b/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestBean.java index 0869a84b..24ff1a1b 100644 --- a/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestBean.java +++ b/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestBean.java @@ -60,7 +60,7 @@ public class UserProfileWebRequestBean implements UserProfileWebRequestControlle @Override public User getUser () { - return user; + return this.user; } @Override diff --git a/web/WEB-INF/templates/generic/user_profile_link.tpl b/web/WEB-INF/templates/generic/user_profile_link.tpl index 379c763e..c142209e 100644 --- a/web/WEB-INF/templates/generic/user_profile_link.tpl +++ b/web/WEB-INF/templates/generic/user_profile_link.tpl @@ -6,9 +6,11 @@ xmlns:ui="http://java.sun.com/jsf/facelets"> + + + - diff --git a/web/login/login_shared_addressbooks.xhtml b/web/login/login_shared_addressbooks.xhtml index 358a5910..e531374f 100644 --- a/web/login/login_shared_addressbooks.xhtml +++ b/web/login/login_shared_addressbooks.xhtml @@ -4,7 +4,7 @@ xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:f="http://xmlns.jcp.org/jsf/core" - > + xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"> #{msg.PAGE_TITLE_LOGIN_SHARED_ADDRESSBOOKS} @@ -21,6 +21,8 @@
+ + #{msg.SHARED_ADDRESSBOOK} @@ -32,9 +34,7 @@ #{msg.SHAREE_USER_NAME} - - - + @@ -47,7 +47,7 @@
- +
+ #{msg.USER_ID} - - - + #{msg.USER_NAME} - - - + #{msg.USER_CREATED} - - - +