mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge of all UI clustering changes originally applied to 2.2
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -122,7 +122,7 @@ public class UIGenericPicker extends UICommand
|
||||
height = (Integer)values[6];
|
||||
filterIndex = (Integer)values[7];
|
||||
contains = (String)values[8];
|
||||
queryCallback = (MethodBinding)values[9];
|
||||
queryCallback = (MethodBinding) restoreAttachedState(context, values[9]);
|
||||
selectedResults = (String[])values[10];
|
||||
currentResults = (SelectItem[])values[11];
|
||||
filters = (SelectItem[])values[12];
|
||||
@@ -146,7 +146,7 @@ public class UIGenericPicker extends UICommand
|
||||
values[6] = height;
|
||||
values[7] = filterIndex;
|
||||
values[8] = contains;
|
||||
values[9] = queryCallback;
|
||||
values[9] = saveAttachedState(context, queryCallback);
|
||||
values[10] = selectedResults;
|
||||
values[11] = currentResults;
|
||||
values[12] = filters;
|
||||
|
@@ -24,17 +24,21 @@
|
||||
*/
|
||||
package org.alfresco.web.ui.common.component;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import javax.faces.context.FacesContext;
|
||||
import javax.faces.el.ValueBinding;
|
||||
|
||||
/**
|
||||
* @author kevinr
|
||||
*/
|
||||
public class UIListItem extends SelfRenderingComponent
|
||||
public class UIListItem extends SelfRenderingComponent implements Serializable
|
||||
{
|
||||
// ------------------------------------------------------------------------------
|
||||
// Component Impl
|
||||
|
||||
private static final long serialVersionUID = 6654796229844597265L;
|
||||
|
||||
/**
|
||||
* @see javax.faces.component.UIComponent#getFamily()
|
||||
*/
|
||||
|
@@ -42,6 +42,7 @@ import javax.faces.event.FacesEvent;
|
||||
import org.alfresco.web.ui.common.PanelGenerator;
|
||||
import org.alfresco.web.ui.common.Utils;
|
||||
import org.alfresco.web.ui.common.WebResources;
|
||||
import org.apache.myfaces.el.MethodBindingImpl;
|
||||
|
||||
/**
|
||||
* @author kevinr
|
||||
@@ -334,7 +335,7 @@ public class UIPanel extends UICommand
|
||||
this.titleBgcolor = (String)values[6];
|
||||
this.titleBorder = (String)values[7];
|
||||
this.expandedTitleBorder = (String)values[8];
|
||||
this.expandedActionListener = (MethodBinding)values[9];
|
||||
this.expandedActionListener = (MethodBindingImpl) restoreAttachedState(context, values[9]);
|
||||
this.facetsId = (String)values[10];
|
||||
}
|
||||
|
||||
@@ -353,7 +354,7 @@ public class UIPanel extends UICommand
|
||||
this.titleBgcolor,
|
||||
this.titleBorder,
|
||||
this.expandedTitleBorder,
|
||||
this.expandedActionListener,
|
||||
saveAttachedState(context, this.expandedActionListener),
|
||||
this.facetsId};
|
||||
return values;
|
||||
}
|
||||
|
@@ -25,6 +25,7 @@
|
||||
package org.alfresco.web.ui.common.component;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedList;
|
||||
@@ -50,8 +51,11 @@ import org.alfresco.web.ui.common.WebResources;
|
||||
/**
|
||||
* @author Kevin Roast
|
||||
*/
|
||||
public class UIStatusMessage extends SelfRenderingComponent
|
||||
public class UIStatusMessage extends SelfRenderingComponent implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -575221861760604440L;
|
||||
|
||||
|
||||
/**
|
||||
* Default Constructor
|
||||
*/
|
||||
|
@@ -24,10 +24,12 @@
|
||||
*/
|
||||
package org.alfresco.web.ui.common.component.data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author kevinr
|
||||
*/
|
||||
public interface IGridDataModel
|
||||
public interface IGridDataModel extends Serializable
|
||||
{
|
||||
/**
|
||||
* Get a row object for the specified row index
|
||||
|
@@ -24,6 +24,7 @@
|
||||
*/
|
||||
package org.alfresco.web.ui.common.component.data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -45,11 +46,13 @@ import org.apache.commons.logging.LogFactory;
|
||||
/**
|
||||
* @author Kevin Roast
|
||||
*/
|
||||
public class UIRichList extends UIComponentBase implements IDataContainer
|
||||
public class UIRichList extends UIComponentBase implements IDataContainer,Serializable
|
||||
{
|
||||
// ------------------------------------------------------------------------------
|
||||
// Construction
|
||||
|
||||
private static final long serialVersionUID = 4302199745018058173L;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
*/
|
||||
|
@@ -24,6 +24,8 @@
|
||||
*/
|
||||
package org.alfresco.web.ui.common.component.description;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import javax.faces.context.FacesContext;
|
||||
import javax.faces.el.ValueBinding;
|
||||
|
||||
@@ -34,8 +36,10 @@ import org.alfresco.web.ui.common.component.SelfRenderingComponent;
|
||||
*
|
||||
* @author gavinc
|
||||
*/
|
||||
public class UIDescription extends SelfRenderingComponent
|
||||
public class UIDescription extends SelfRenderingComponent implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -2319791691993957792L;
|
||||
|
||||
private String controlValue;
|
||||
private String text;
|
||||
|
||||
|
Reference in New Issue
Block a user