From portal-commits at lists.jboss.org Mon Mar 3 22:22:09 2008 Content-Type: multipart/mixed; boundary="===============3135912194054067523==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r10188 - in modules/portlet/trunk/portal/src/main: resources/simple-portal-war and 3 other directories. Date: Mon, 03 Mar 2008 22:18:08 -0500 Message-ID: --===============3135912194054067523== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: wesleyhales Date: 2008-03-03 22:18:08 -0500 (Mon, 03 Mar 2008) New Revision: 10188 Added: modules/portlet/trunk/portal/src/main/resources/simple-portal-war/admin/ modules/portlet/trunk/portal/src/main/resources/simple-portal-war/admin/= admin.jsp Removed: modules/portlet/trunk/portal/src/main/resources/simple-portal-war/demo/a= dmin.jsp Modified: modules/portlet/trunk/portal/src/main/java/org/jboss/portal/portlet/port= al/admin/ui/AdminPortlet.java modules/portlet/trunk/portal/src/main/resources/simple-portal-war/css/ma= ster.css Log: gave the admin portlet some love - still more to give Modified: modules/portlet/trunk/portal/src/main/java/org/jboss/portal/portl= et/portal/admin/ui/AdminPortlet.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/portlet/trunk/portal/src/main/java/org/jboss/portal/portlet/por= tal/admin/ui/AdminPortlet.java 2008-03-04 01:21:56 UTC (rev 10187) +++ modules/portlet/trunk/portal/src/main/java/org/jboss/portal/portlet/por= tal/admin/ui/AdminPortlet.java 2008-03-04 03:18:08 UTC (rev 10188) @@ -35,6 +35,7 @@ import javax.portlet.ActionRequest; import javax.portlet.ActionResponse; import javax.portlet.PortletURL; +import javax.portlet.PortletRequestDispatcher; import java.io.IOException; import java.io.PrintWriter; = @@ -106,10 +107,15 @@ resp.setContentType("text/html"); PrintWriter writer =3D resp.getWriter(); = + //PortletRequestDispatcher rd =3D getPortletContext().getRequestDisp= atcher("admin/admin.jsp"); + //rd.include(request, response); + // Use an alias PortletApplicationRegistry registry =3D (PortletApplicationRegistry)= getPortletContext().getAttribute("PortletApplicationDeployer"); = // + + = for (ManagedPortletApplication application : registry.getManagedPort= letApplications()) { PortletURL url =3D resp.createActionURL(); @@ -124,8 +130,23 @@ String startURL =3D url.toString(); = // - writer.print("