wouterfennis / CodeRefactorFW

For ASP Assignment
0 stars 1 forks source link

Update networks in the session, FamilyMemberServlet. #45

Open michielio opened 8 years ago

michielio commented 8 years ago

Schrijf een methode die de onderstaande code uitvoerd. Momenteel staat deze code onderaan de DoPost methode.

        // update networks in the session
        JSONObject[] networks;
        try {
            networks = OverviewController.getInstance().createJSONNetworks(client);
            req.getSession().setAttribute("familyJSON", OverviewController.getInstance().refreshFamilymember(client));
            req.getSession().setAttribute("nodesNetwork", networks[0]);
            req.getSession().setAttribute("linksNetwork", networks[1]);
        } catch (JSONException e) { }   
vincent92 commented 8 years ago

issuefixed commit id: d66a4e7cb76ddf67f4c7d2ac57f9567461c8485b