Manually copy TestController.java from branch - manual merge of 4734.

This commit is contained in:
jeb228 2010-04-14 17:59:56 +00:00
parent d0756fa6ce
commit 48df581b0b

View file

@ -35,7 +35,8 @@ public class TestController extends VitroHttpServlet {
VitroRequest vreq = new VitroRequest(req); VitroRequest vreq = new VitroRequest(req);
Portal portal = vreq.getPortal(); Portal portal = vreq.getPortal();
vreq.setAttribute("portal",String.valueOf(portal)); vreq.setAttribute("portalBean", portal);
vreq.setAttribute("portal", portal);
String body = vreq.getParameter("bodyJsp"); String body = vreq.getParameter("bodyJsp");
if( body != null ) if( body != null )