myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r1451519 - in /myfaces/tobago/trunk: tobago-core/src/main/java/org/apache/myfaces/tobago/event/ tobago-core/src/main/java/org/apache/myfaces/tobago/validator/ tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/
Date Fri, 01 Mar 2013 08:24:24 GMT
Author: weber
Date: Fri Mar  1 08:24:24 2013
New Revision: 1451519

URL: http://svn.apache.org/r1451519
Log:
TOBAGO-1234 - Classes implementing StateHolder must provide a no-args constructor

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueBindingPopupActionListener.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueBindingResetInputActionListener.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionPopupActionListener.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionResetInputActionListener.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/validator/FileItemValidator.java
    myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredButton.java
    myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredCommand.java
    myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredLink.java
    myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredLinkCommand.java
    myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredMenuCommand.java
    myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredToolBarCommand.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueBindingPopupActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueBindingPopupActionListener.java?rev=1451519&r1=1451518&r2=1451519&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueBindingPopupActionListener.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueBindingPopupActionListener.java
Fri Mar  1 08:24:24 2013
@@ -40,6 +40,12 @@ public class ValueBindingPopupActionList
 
   private ValueBinding popupIdBinding;
 
+  /**
+   * No-arg constructor used during restoreState
+   */
+  public ValueBindingPopupActionListener() {
+  }
+
   public ValueBindingPopupActionListener(Object binding) {
     popupIdBinding = (ValueBinding) binding;
   }

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueBindingResetInputActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueBindingResetInputActionListener.java?rev=1451519&r1=1451518&r2=1451519&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueBindingResetInputActionListener.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueBindingResetInputActionListener.java
Fri Mar  1 08:24:24 2013
@@ -42,6 +42,12 @@ public class ValueBindingResetInputActio
 
   private ValueBinding clientIdsBinding;
 
+  /**
+   * No-arg constructor used during restoreState
+   */
+  public ValueBindingResetInputActionListener() {
+  }
+
   public ValueBindingResetInputActionListener(Object binding) {
     clientIdsBinding = (ValueBinding) binding;
   }

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionPopupActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionPopupActionListener.java?rev=1451519&r1=1451518&r2=1451519&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionPopupActionListener.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionPopupActionListener.java
Fri Mar  1 08:24:24 2013
@@ -49,6 +49,12 @@ public class ValueExpressionPopupActionL
     popupIdExpression = (ValueExpression) expression;
   }
 
+  /**
+   * No-arg constructor used during restoreState
+   */
+  public ValueExpressionPopupActionListener() {
+  }
+
   @Override
   protected UIComponent getPopup(ActionEvent actionEvent) {
     String id = (String) popupIdExpression.getValue(FacesContext.getCurrentInstance().getELContext());

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionResetInputActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionResetInputActionListener.java?rev=1451519&r1=1451518&r2=1451519&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionResetInputActionListener.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/event/ValueExpressionResetInputActionListener.java
Fri Mar  1 08:24:24 2013
@@ -38,6 +38,12 @@ public class ValueExpressionResetInputAc
 
   private ValueExpression clientIdsExpression;
 
+  /**
+   * No-arg constructor used during restoreState
+   */
+  public ValueExpressionResetInputActionListener() {
+  }
+
   public ValueExpressionResetInputActionListener(ValueExpression clientIdsExpression) {
     this.clientIdsExpression = clientIdsExpression;
   }

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/validator/FileItemValidator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/validator/FileItemValidator.java?rev=1451519&r1=1451518&r2=1451519&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/validator/FileItemValidator.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/validator/FileItemValidator.java
Fri Mar  1 08:24:24 2013
@@ -51,6 +51,12 @@ public class FileItemValidator implement
   private String[] contentType;
   private boolean transientValue;
 
+  /**
+   * No-arg constructor used during restoreState
+   */
+  public FileItemValidator() {
+  }
+
   public void validate(FacesContext facesContext, UIComponent component, Object value) throws
ValidatorException {
     if (value != null && component instanceof AbstractUIFile) {
       FileItem file = (FileItem) value;

Modified: myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredButton.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredButton.java?rev=1451519&r1=1451518&r2=1451519&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredButton.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredButton.java
Fri Mar  1 08:24:24 2013
@@ -28,6 +28,12 @@ public class UISecuredButton extends UIB
 
   public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.SecuredButton";
 
+  /**
+   * No-arg constructor used during restoreState
+   */
+  public UISecuredButton() {
+  }
+
   @Override
   public boolean isDisabled() {
     if (getActionExpression() instanceof CheckAuthorisationMethodExpression) {

Modified: myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredCommand.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredCommand.java?rev=1451519&r1=1451518&r2=1451519&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredCommand.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredCommand.java
Fri Mar  1 08:24:24 2013
@@ -29,6 +29,12 @@ public class UISecuredCommand extends UI
 
   public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.SecuredCommand";
 
+  /**
+   * No-arg constructor used during restoreState
+   */
+  public UISecuredCommand() {
+  }
+
   @Override
   public boolean isDisabled() {
     if (getActionExpression() instanceof CheckAuthorisationMethodExpression) {

Modified: myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredLink.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredLink.java?rev=1451519&r1=1451518&r2=1451519&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredLink.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredLink.java
Fri Mar  1 08:24:24 2013
@@ -28,6 +28,12 @@ public class UISecuredLink extends UILin
 
   public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.SecuredLink";
 
+  /**
+   * No-arg constructor used during restoreState
+   */
+  public UISecuredLink() {
+  }
+
   @Override
   public boolean isDisabled() {
     if (getActionExpression() instanceof CheckAuthorisationMethodExpression) {

Modified: myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredLinkCommand.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredLinkCommand.java?rev=1451519&r1=1451518&r2=1451519&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredLinkCommand.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredLinkCommand.java
Fri Mar  1 08:24:24 2013
@@ -32,6 +32,12 @@ public class UISecuredLinkCommand extend
 
   public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.SecuredLinkCommand";
 
+  /**
+   * No-arg constructor used during restoreState
+   */
+  public UISecuredLinkCommand() {
+  }
+
   @Override
   public boolean isDisabled() {
     if (getActionExpression() instanceof CheckAuthorisationMethodExpression) {

Modified: myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredMenuCommand.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredMenuCommand.java?rev=1451519&r1=1451518&r2=1451519&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredMenuCommand.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredMenuCommand.java
Fri Mar  1 08:24:24 2013
@@ -30,6 +30,12 @@ public class UISecuredMenuCommand extend
 
   public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.SecuredMenuCommand";
 
+  /**
+   * No-arg constructor used during restoreState
+   */
+  public UISecuredMenuCommand() {
+  }
+
   @Override
   public boolean isDisabled() {
     if (getActionExpression() instanceof CheckAuthorisationMethodExpression) {

Modified: myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredToolBarCommand.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredToolBarCommand.java?rev=1451519&r1=1451518&r2=1451519&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredToolBarCommand.java
(original)
+++ myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/java/org/apache/myfaces/tobago/security/UISecuredToolBarCommand.java
Fri Mar  1 08:24:24 2013
@@ -28,6 +28,12 @@ public class UISecuredToolBarCommand ext
 
   public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.SecuredToolBarCommand";
 
+  /**
+   * No-arg constructor used during restoreState
+   */
+  public UISecuredToolBarCommand() {
+  }
+
   @Override
   public boolean isDisabled() {
     if (getActionExpression() instanceof CheckAuthorisationMethodExpression) {



Mime
View raw message