mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
REST command to launch User Profile page for a Person. Fix to nav image alignment on details pages.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -73,6 +73,7 @@ public class UIActionLink extends UICommand
|
||||
this.href = (String)values[4];
|
||||
this.tooltip = (String)values[5];
|
||||
this.target = (String)values[6];
|
||||
this.verticalAlign = (String)values[7];
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -89,7 +90,8 @@ public class UIActionLink extends UICommand
|
||||
this.showLink,
|
||||
this.href,
|
||||
this.tooltip,
|
||||
this.target
|
||||
this.target,
|
||||
this.verticalAlign
|
||||
};
|
||||
}
|
||||
|
||||
@@ -276,6 +278,28 @@ public class UIActionLink extends UICommand
|
||||
this.target = target;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the verticalAlign
|
||||
*/
|
||||
public String getVerticalAlign()
|
||||
{
|
||||
ValueBinding vb = getValueBinding("verticalAlign");
|
||||
if (vb != null)
|
||||
{
|
||||
this.verticalAlign = (String)vb.getValue(getFacesContext());
|
||||
}
|
||||
|
||||
return this.verticalAlign;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param verticalAlign the verticalAlign to set
|
||||
*/
|
||||
public void setVerticalAlign(String verticalAlign)
|
||||
{
|
||||
this.verticalAlign = verticalAlign;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the onclick handler
|
||||
*
|
||||
@@ -327,6 +351,9 @@ public class UIActionLink extends UICommand
|
||||
/** the onclick handler */
|
||||
private String onclick = null;
|
||||
|
||||
/** the vertical alignment value */
|
||||
private String verticalAlign = null;
|
||||
|
||||
/** Transient map of currently set param name/values pairs */
|
||||
private Map<String, String> params = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user