Rev 2049 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2049 | Rev 2069 | ||
---|---|---|---|
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 | public JSONObject saveSeccao(JSONObject data, HttpServletRequest req, HttpServletResponse resp) throws JSONException |
|
- | 61 | { |
|
- | 62 | JSONObject seccao = data.getJSONObject("seccao"); |
|
- | 63 | ||
- | 64 | ||
- | 65 | 1.5.0/docs/api/java/lang/System.html">System.out.println("TITULO:" + seccao.getString("titulo")); |
|
- | 66 | JSONObject js = new JSONObject(); |
|
- | 67 | js.put("result","ok"); |
|
- | 68 | ||
- | 69 | addMessage("Seccao salva com sucesso",req); |
|
- | 70 | ||
- | 71 | return js; |
|
- | 72 | } |
|
59 | } |
73 | } |