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 {
@EJB
private UserBeanLocal userBean;
private static final Logger logger = LoggerFactory.getLogger(UserView.class);
private User user;
private ListDataModel<User> items;
private String nick;
private String password;
public String edit() {
......@@ -35,9 +30,7 @@ public class UserView {
return "edit";
}
public String getLocale()
{
public String getLocale() {
return "en_IN_XII";
}
......@@ -72,7 +65,6 @@ public class UserView {
}
// Getters and setters...
public String getNick() {
return nick;
}
......@@ -96,5 +88,4 @@ public class UserView {
public User getUser() {
return user;
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!