From portal-commits at lists.jboss.org Tue Mar 6 11:48:18 2007 Content-Type: multipart/mixed; boundary="===============6974072718145262341==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r6554 - trunk/core-admin/src/main/org/jboss/portal/core/faces. Date: Tue, 06 Mar 2007 11:48:18 -0500 Message-ID: --===============6974072718145262341== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: julien(a)jboss.com Date: 2007-03-06 11:48:17 -0500 (Tue, 06 Mar 2007) New Revision: 6554 Modified: trunk/core-admin/src/main/org/jboss/portal/core/faces/UIPortlet.java Log: added some todo for future Modified: trunk/core-admin/src/main/org/jboss/portal/core/faces/UIPortlet.j= ava =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 --- trunk/core-admin/src/main/org/jboss/portal/core/faces/UIPortlet.java 20= 07-03-06 16:41:28 UTC (rev 6553) +++ trunk/core-admin/src/main/org/jboss/portal/core/faces/UIPortlet.java 20= 07-03-06 16:48:17 UTC (rev 6554) @@ -49,6 +49,12 @@ import java.util.Set; = /** + * @todo : + * - add validation of initial mode and window state against the supported= values + * - add validation of mode and window state on portlet events against the= supported values + * - add handling of non expected results from render and process action + * - add handling when instance does not exist (probably show the nested c= ontent of the tag as markup) + * * @author Julien Viet * @version $Revision: 1.1 $ */ @@ -58,28 +64,28 @@ /** The portlet instance id. */ private String instanceId; = - /** . */ + /** The event listener if not null. */ private MethodBinding portletListener; = - /** . */ + /** The supported window states. */ private Set supportedWindowStates; = - /** . */ + /** The supported modes. */ private Set supportedModes; = - /** . */ + /** The initial window state value if not null, otherwise NORMAL is use= d. */ private String initialWindowState; = - /** . */ + /** The initial mode value if not null, otherwise VIEW is used. */ private String initialMode; = - /** . */ + /** The internal nav state. */ private PortletParameters internalNavState; = - /** . */ + /** The internal window state value. */ private WindowState internalWindowState; = - /** . */ + /** The internal mode value. */ private Mode internalMode; = public String getInstanceId() --===============6974072718145262341==--