예제 #1
0
  @Action(
      value = "/mainAcceso",
      results = {@Result(name = "success", type = "tiles", location = "d_mainacceso")})
  public String mainAcceso() {

    try {
      lstArea = objAreaServ.listaArea();
      lstMenu = objMenuServ.listaMenu1();

    } catch (Exception e) {
      e.printStackTrace();
    }
    return SUCCESS;
  }
 @Action(
     value = "/mainInformeInternoEntrada",
     results = {
       @Result(name = "success", type = "tiles", location = "d_maininformeinternoentrada")
     })
 public String mainInformeInternoEntrada() {
   lstArea = objAreaServ.listaArea();
   Object[] obj = (Object[]) lasesion.get("DatosQR");
   if (obj != null) {
     if ("Entrada".equals(obj[1])) {
       codProd = (Integer) obj[0];
     }
   }
   return SUCCESS;
 }