Subversion Repositories bacoAlunos

Rev

Rev 2047 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2047 Rev 2068
Line 54... Line 54...
54
        JSONObject js = new JSONObject();
54
        JSONObject js = new JSONObject();
55
        js.put("result","ok");
55
        js.put("result","ok");
56
 
56
 
57
        return js;
57
        return js;
58
    }
58
    }
-
 
59
 
-
 
60
 
-
 
61
 
-
 
62
    public JSONObject saveSeccao(JSONObject data, HttpServletRequest req, HttpServletResponse resp) throws JSONException
-
 
63
    {
-
 
64
        JSONObject seccao = data.getJSONObject("seccao");
-
 
65
 
-
 
66
 
-
 
67
        1.5.0/docs/api/java/lang/System.html">System.out.println("TITULO:" + seccao.getString("titulo"));
-
 
68
        JSONObject js = new JSONObject();
-
 
69
        js.put("result","ok");
-
 
70
 
-
 
71
        addMessage("Seccao salva com sucesso",req);
-
 
72
 
-
 
73
        return js;
-
 
74
    }
59
}
75
}