Commit ee59250a by Tuukka Kivilahti

playing

1 parent e8d83881
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package fi.insomnia.bortal.handler;
import javax.enterprise.context.SessionScoped;
import javax.faces.bean.ManagedBean;
/**
*
* @author tuukka
*/
@ManagedBean(name="SessionHandler")
@SessionScoped
public class SessionHandler {
/** Creates a new instance of SessionHandler */
public SessionHandler() {
}
private boolean hasPermission(String target) {
throw new UnsupportedOperationException("Not yet implemented");
}
}
...@@ -19,15 +19,10 @@ public class UserView { ...@@ -19,15 +19,10 @@ public class UserView {
@EJB @EJB
private UserBeanLocal userBean; private UserBeanLocal userBean;
private static final Logger logger = LoggerFactory.getLogger(UserView.class); private static final Logger logger = LoggerFactory.getLogger(UserView.class);
private User user; private User user;
private ListDataModel<User> items; private ListDataModel<User> items;
private String nick; private String nick;
private String password; private String password;
public String edit() { public String edit() {
...@@ -35,9 +30,7 @@ public class UserView { ...@@ -35,9 +30,7 @@ public class UserView {
return "edit"; return "edit";
} }
public String getLocale() {
public String getLocale()
{
return "en_IN_XII"; return "en_IN_XII";
} }
...@@ -72,7 +65,6 @@ public class UserView { ...@@ -72,7 +65,6 @@ public class UserView {
} }
// Getters and setters... // Getters and setters...
public String getNick() { public String getNick() {
return nick; return nick;
} }
...@@ -96,5 +88,4 @@ public class UserView { ...@@ -96,5 +88,4 @@ public class UserView {
public User getUser() { public User getUser() {
return user; return user;
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!