You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sl...@apache.org on 2008/09/25 02:06:02 UTC
svn commit: r698780 - in
/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces: application/
component/ convert/ event/ model/ validator/ webapp/pdl/
Author: slessard
Date: Wed Sep 24 17:06:01 2008
New Revision: 698780
URL: http://svn.apache.org/viewvc?rev=698780&view=rev
Log:
Added EDR2's javax.faces.webapp.pdl classes;
Added some comments
Added:
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ActionSource2AttachedObjectTarget.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/AttachedObjectTarget.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/EditableValueHolderAttachedObjectHandler.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/EditableValueHolderAttachedObjectTarget.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/PDLUtils.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/PageDeclarationLanguage.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ValueHolderAttachedObjectHandler.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ValueHolderAttachedObjectTarget.java
Modified:
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ProjectStage.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/Resource.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceDependencies.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceDependency.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceHandler.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceHandlerWrapper.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceWrapper.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/component/FacesComponent.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/convert/FacesConverter.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/AfterAddToParentEvent.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPostConstructEvent.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPreDestroyEvent.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/BeforeRenderEvent.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ComponentSystemEvent.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ComponentSystemEventListener.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenerFor.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenersFor.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEvent.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEventListener.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEventListenerHolder.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedBean.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedBeans.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedProperty.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/validator/FacesValidator.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ActionSource2AttachedObjectHandler.java
myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/AttachedObjectHandler.java
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ProjectStage.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ProjectStage.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ProjectStage.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ProjectStage.java Wed Sep 24 17:06:01 2008
@@ -19,7 +19,10 @@
package javax.faces.application;
/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
*
+ * @since 2.0
*/
public enum ProjectStage
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/Resource.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/Resource.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/Resource.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/Resource.java Wed Sep 24 17:06:01 2008
@@ -25,7 +25,10 @@
import javax.faces.context.FacesContext;
/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
*
+ * @since 2.0
*/
public abstract class Resource
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceDependencies.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceDependencies.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceDependencies.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceDependencies.java Wed Sep 24 17:06:01 2008
@@ -25,7 +25,9 @@
/**
* @author Simon Lessard (latest modification by $Author: slessard $)
- * @version $Revision: 696523 $ $Date: 2008-09-17 20:02:05 -0400 (mer., 17 sept. 2008) $
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceDependency.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceDependency.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceDependency.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceDependency.java Wed Sep 24 17:06:01 2008
@@ -25,7 +25,9 @@
/**
* @author Simon Lessard (latest modification by $Author: slessard $)
- * @version $Revision: 696523 $ $Date: 2008-09-17 20:02:05 -0400 (mer., 17 sept. 2008) $
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceHandler.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceHandler.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceHandler.java Wed Sep 24 17:06:01 2008
@@ -21,7 +21,10 @@
import javax.faces.context.FacesContext;
/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
*
+ * @since 2.0
*/
public abstract class ResourceHandler
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceHandlerWrapper.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceHandlerWrapper.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceHandlerWrapper.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceHandlerWrapper.java Wed Sep 24 17:06:01 2008
@@ -21,7 +21,10 @@
import javax.faces.context.FacesContext;
/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
*
+ * @since 2.0
*/
public abstract class ResourceHandlerWrapper extends ResourceHandler
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceWrapper.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceWrapper.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceWrapper.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/ResourceWrapper.java Wed Sep 24 17:06:01 2008
@@ -25,7 +25,10 @@
import javax.faces.context.FacesContext;
/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
*
+ * @since 2.0
*/
public abstract class ResourceWrapper extends Resource
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/component/FacesComponent.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/component/FacesComponent.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/component/FacesComponent.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/component/FacesComponent.java Wed Sep 24 17:06:01 2008
@@ -25,7 +25,9 @@
/**
* @author Simon Lessard (latest modification by $Author: slessard $)
- * @version $Revision: 696523 $ $Date: 2008-09-24 18:20:24 -0400 (mer., 17 sept. 2008) $
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/convert/FacesConverter.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/convert/FacesConverter.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/convert/FacesConverter.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/convert/FacesConverter.java Wed Sep 24 17:06:01 2008
@@ -25,7 +25,9 @@
/**
* @author Simon Lessard (latest modification by $Author: slessard $)
- * @version $Revision: 696523 $ $Date: 2008-09-24 18:24:29 -0400 (mer., 17 sept. 2008) $
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/AfterAddToParentEvent.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/AfterAddToParentEvent.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/AfterAddToParentEvent.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/AfterAddToParentEvent.java Wed Sep 24 17:06:01 2008
@@ -22,6 +22,8 @@
/**
* see Javadoc /javax/faces/event/AfterAddToParentEvent.html
+ *
+ * @since 2.0
*/
public class AfterAddToParentEvent extends ComponentSystemEvent
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPostConstructEvent.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPostConstructEvent.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPostConstructEvent.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPostConstructEvent.java Wed Sep 24 17:06:01 2008
@@ -23,6 +23,8 @@
/**
* @author Simon Lessard (latest modification by $Author: slessard $)
* @version $Revision: 696523 $ $Date: 2008-09-24 18:27:16 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
*/
public class ApplicationPostConstructEvent extends SystemEvent
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPreDestroyEvent.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPreDestroyEvent.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPreDestroyEvent.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ApplicationPreDestroyEvent.java Wed Sep 24 17:06:01 2008
@@ -23,6 +23,8 @@
/**
* @author Simon Lessard (latest modification by $Author: slessard $)
* @version $Revision: 696523 $ $Date: 2008-09-24 18:29:20 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
*/
public class ApplicationPreDestroyEvent extends SystemEvent
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/BeforeRenderEvent.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/BeforeRenderEvent.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/BeforeRenderEvent.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/BeforeRenderEvent.java Wed Sep 24 17:06:01 2008
@@ -22,6 +22,8 @@
/**
* see Javadoc /javax/faces/event/BeforeRenderEvent.html
+ *
+ * @since 2.0
*/
public class BeforeRenderEvent extends ComponentSystemEvent
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ComponentSystemEvent.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ComponentSystemEvent.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ComponentSystemEvent.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ComponentSystemEvent.java Wed Sep 24 17:06:01 2008
@@ -22,6 +22,7 @@
/**
*
+ * @since 2.0
*/
public abstract class ComponentSystemEvent extends SystemEvent
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ComponentSystemEventListener.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ComponentSystemEventListener.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ComponentSystemEventListener.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ComponentSystemEventListener.java Wed Sep 24 17:06:01 2008
@@ -20,6 +20,7 @@
/**
*
+ * @since 2.0
*/
public interface ComponentSystemEventListener
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenerFor.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenerFor.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenerFor.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenerFor.java Wed Sep 24 17:06:01 2008
@@ -24,7 +24,10 @@
import java.lang.annotation.Target;
/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
*
+ * @since 2.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenersFor.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenersFor.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenersFor.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/ListenersFor.java Wed Sep 24 17:06:01 2008
@@ -26,6 +26,8 @@
/**
* @author Simon Lessard (latest modification by $Author: slessard $)
* @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEvent.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEvent.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEvent.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEvent.java Wed Sep 24 17:06:01 2008
@@ -21,7 +21,10 @@
import java.util.EventObject;
/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
*
+ * @since 2.0
*/
public abstract class SystemEvent extends EventObject
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEventListener.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEventListener.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEventListener.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEventListener.java Wed Sep 24 17:06:01 2008
@@ -19,7 +19,10 @@
package javax.faces.event;
/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
*
+ * @since 2.0
*/
public interface SystemEventListener extends FacesListener
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEventListenerHolder.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEventListenerHolder.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEventListenerHolder.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/event/SystemEventListenerHolder.java Wed Sep 24 17:06:01 2008
@@ -21,7 +21,10 @@
import java.util.List;
/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:31:37 -0400 (mer., 17 sept. 2008) $
*
+ * @since 2.0
*/
public interface SystemEventListenerHolder
{
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedBean.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedBean.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedBean.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedBean.java Wed Sep 24 17:06:01 2008
@@ -26,6 +26,8 @@
/**
* @author Simon Lessard (latest modification by $Author: slessard $)
* @version $Revision: 696523 $ $Date: 2008-09-24 18:45:00 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedBeans.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedBeans.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedBeans.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedBeans.java Wed Sep 24 17:06:01 2008
@@ -26,6 +26,8 @@
/**
* @author Simon Lessard (latest modification by $Author: slessard $)
* @version $Revision: 696523 $ $Date: 2008-09-24 18:48:10 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedProperty.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedProperty.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedProperty.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/model/ManagedProperty.java Wed Sep 24 17:06:01 2008
@@ -26,6 +26,8 @@
/**
* @author Simon Lessard (latest modification by $Author: slessard $)
* @version $Revision: 696523 $ $Date: 2008-09-24 18:49:25 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/validator/FacesValidator.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/validator/FacesValidator.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/validator/FacesValidator.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/validator/FacesValidator.java Wed Sep 24 17:06:01 2008
@@ -26,6 +26,8 @@
/**
* @author Simon Lessard (latest modification by $Author: slessard $)
* @version $Revision: 696523 $ $Date: 2008-09-24 18:59:05 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ActionSource2AttachedObjectHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ActionSource2AttachedObjectHandler.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ActionSource2AttachedObjectHandler.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ActionSource2AttachedObjectHandler.java Wed Sep 24 17:06:01 2008
@@ -25,6 +25,8 @@
*
* @author Simon Lessard (latest modification by $Author: slessard $)
* @version $Revision: 696523 $ $Date: 2008-09-24 19:04:31 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
*/
public interface ActionSource2AttachedObjectHandler extends AttachedObjectHandler
{
Added: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ActionSource2AttachedObjectTarget.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ActionSource2AttachedObjectTarget.java?rev=698780&view=auto
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ActionSource2AttachedObjectTarget.java (added)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ActionSource2AttachedObjectTarget.java Wed Sep 24 17:06:01 2008
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.faces.webapp.pdl;
+
+/**
+ * A marker interface for PDL tags that represent <code><composite:actionSource/></code> for use by the
+ * <em>composite component page author</em>.
+ *
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 19:21:19 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
+ */
+public interface ActionSource2AttachedObjectTarget extends AttachedObjectTarget
+{
+
+}
Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/AttachedObjectHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/AttachedObjectHandler.java?rev=698780&r1=698779&r2=698780&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/AttachedObjectHandler.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/AttachedObjectHandler.java Wed Sep 24 17:06:01 2008
@@ -29,16 +29,12 @@
*
* @author Simon Lessard (latest modification by $Author: slessard $)
* @version $Revision: 696523 $ $Date: 2008-09-24 19:06:57 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
*/
public interface AttachedObjectHandler
{
/**
- * The key in the value set of the <em>composite component</em> <code>BeanDescriptor</code>, the value for which is
- * a <code>List<AttachedObjectTarget></code>.
- */
- public static final String ATTACHED_OBJECT_TARGETS_KEY = "javax.faces.webapp.pdl.AttachedObjectTargets";
-
- /**
* Take the argument <code>parent</code> and apply this attached <code>object</code> to it. The action taken varies
* with class that implements one of the subinterfaces of this interface.
*
Added: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/AttachedObjectTarget.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/AttachedObjectTarget.java?rev=698780&view=auto
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/AttachedObjectTarget.java (added)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/AttachedObjectTarget.java Wed Sep 24 17:06:01 2008
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.faces.webapp.pdl;
+
+import java.util.List;
+
+import javax.faces.component.UIComponent;
+
+/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 19:18:02 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
+ */
+public interface AttachedObjectTarget
+{
+ /**
+ * The key in the value set of the <em>composite component</em> <code>BeanDescriptor</code>, the value for which is
+ * a <code>List<AttachedObjectTarget></code>.
+ */
+ public static final String ATTACHED_OBJECT_TARGETS_KEY = "javax.faces.webapp.pdl.AttachedObjectTargets";
+
+ public String getName();
+
+ public List<UIComponent> getTargets();
+}
Added: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/EditableValueHolderAttachedObjectHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/EditableValueHolderAttachedObjectHandler.java?rev=698780&view=auto
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/EditableValueHolderAttachedObjectHandler.java (added)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/EditableValueHolderAttachedObjectHandler.java Wed Sep 24 17:06:01 2008
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.faces.webapp.pdl;
+
+/**
+ * A PDL handler that exposes {@link javax.faces.validator.Validator Validator} or
+ * {@link javax.faces.event.ValueChangeListener ValueChangeListener} to a <em>page author</em>. The default
+ * implementation of Facelets must provide an implemention of this in the handler for the
+ * <code><f:validator></code> (and any tags for any of the standard validators) and
+ * <code><f:valueChangeListener></code> tags.
+ *
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 19:49:48 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
+ */
+public interface EditableValueHolderAttachedObjectHandler extends ValueHolderAttachedObjectHandler
+{
+
+}
Added: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/EditableValueHolderAttachedObjectTarget.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/EditableValueHolderAttachedObjectTarget.java?rev=698780&view=auto
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/EditableValueHolderAttachedObjectTarget.java (added)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/EditableValueHolderAttachedObjectTarget.java Wed Sep 24 17:06:01 2008
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.faces.webapp.pdl;
+
+/**
+ * A marker interface for PDL tags that represent <code><composite:editableValueHolder/></code> for use by the
+ * <em>composite component page author</em>.
+ *
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 19:53:04 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
+ */
+public interface EditableValueHolderAttachedObjectTarget extends ValueHolderAttachedObjectTarget
+{
+
+}
Added: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/PDLUtils.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/PDLUtils.java?rev=698780&view=auto
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/PDLUtils.java (added)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/PDLUtils.java Wed Sep 24 17:06:01 2008
@@ -0,0 +1,69 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.faces.webapp.pdl;
+
+import java.util.List;
+
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+
+/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 19:55:27 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
+ */
+public class PDLUtils
+{
+ public PDLUtils()
+ {
+
+ }
+
+ public static void retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent,
+ List<AttachedObjectHandler> handlers)
+ {
+ /*
+ * 1. Obtain the metadata for the composite component. Currently this entails getting the value of
+ * the UIComponent.BEANINFO_KEY component attribute, which will be an instance of BeanInfo. If
+ * the metadata cannot be found, log an error message and return.
+ *
+ * 2. Get the BeanDescriptor from the BeanInfo.
+ *
+ * 3. Get the value of the AttachedObjectTarget.ATTACHED_OBJECT_TARGETS_KEY from the BeanDescriptor's
+ * getValue() method. This will be a List<AttachedObjectTarget>. Let this be targetList.
+ *
+ * 4. For each curHandler entry in the argument handlers:
+ * - Let forAttributeValue be the return from AttachedObjectHandler.getFor().
+ * - For each curTarget entry in targetList, the first of the following items that causes a match
+ * will take this action:
+ * + For each UIComponent in the list returned from curTarget.getTargets(), call
+ * curHandler.applyAttachedObject(), passing the FacesContext and the UIComponent and cause
+ * this inner loop to terminate.
+ * + If curHandler is an instance of ActionSource2AttachedObjectHandler and curTarget is an instance
+ * of ActionSource2AttachedObjectTarget, consider it a match.
+ * + If curHandler is an instance of EditableValueHolderAttachedObjectHandler and curTarget is an
+ * instance of EditableValueHolderAttachedObjectTarget, consider it a match.
+ * + If curHandler is an instance of ValueHolderAttachedObjectHandler and curTarget is an instance
+ * of ValueHolderAttachedObjectTarget, consider it a match.
+ */
+
+ // TODO: JSF 2.0 #41
+ }
+}
Added: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/PageDeclarationLanguage.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/PageDeclarationLanguage.java?rev=698780&view=auto
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/PageDeclarationLanguage.java (added)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/PageDeclarationLanguage.java Wed Sep 24 17:06:01 2008
@@ -0,0 +1,37 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.faces.webapp.pdl;
+
+import java.beans.BeanInfo;
+
+import javax.faces.application.Resource;
+import javax.faces.context.FacesContext;
+
+/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 19:54:04 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
+ */
+public abstract class PageDeclarationLanguage
+{
+ public abstract BeanInfo getComponentMetadata(FacesContext context, Resource componentResource);
+
+ public abstract Resource getScriptComponentResource(FacesContext context, Resource componentResource);
+}
Added: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ValueHolderAttachedObjectHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ValueHolderAttachedObjectHandler.java?rev=698780&view=auto
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ValueHolderAttachedObjectHandler.java (added)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ValueHolderAttachedObjectHandler.java Wed Sep 24 17:06:01 2008
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.faces.webapp.pdl;
+
+/**
+ * A PDL handler that exposes {@link javax.faces.convert.Converter Converter} to a <em>page author</em>. The default
+ * implementation of Facelets must provide an implemention of this in the handler for the
+ * <code><f:converter></code> (and any tags for any of the standard converters) tags.
+ *
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 19:26:04 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
+ */
+public interface ValueHolderAttachedObjectHandler extends AttachedObjectHandler
+{
+
+}
Added: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ValueHolderAttachedObjectTarget.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ValueHolderAttachedObjectTarget.java?rev=698780&view=auto
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ValueHolderAttachedObjectTarget.java (added)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/webapp/pdl/ValueHolderAttachedObjectTarget.java Wed Sep 24 17:06:01 2008
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.faces.webapp.pdl;
+
+/**
+ * A marker interface for PDL tags that represent <code><composite:valueHolder/></code> for use by the
+ * <em>composite component page author</em>.
+ *
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 19:30:38 -0400 (mer., 17 sept. 2008) $
+ *
+ * @since 2.0
+ */
+public interface ValueHolderAttachedObjectTarget extends AttachedObjectTarget
+{
+
+}