Ejemplo n.º 1
0
  public String listsks() {

    me = (User) this.getSession().get("me");

    mysks = skillService.listSkillsbyUid(me.getUid());

    return "listsks";
  }
Ejemplo n.º 2
0
  public String selectsks() {

    allsksmap = new HashMap();

    myskids = new ArrayList();

    List<Skill> allsks = skillService.listSkills();

    me = (User) this.getSession().get("me");

    mysks = skillService.listSkillsbyUid(me.getUid());

    for (Skill sk : allsks) {
      allsksmap.put(sk.getSkid(), sk.getSk_name());
    }

    for (Skill sk : mysks) {
      myskids.add(sk.getSkid());
    }

    return "sesks";
  }