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:
Kevin Roast
2007-12-06 13:48:20 +00:00
parent b0a57b4d5c
commit 8266382b1c
22 changed files with 198 additions and 42 deletions

View File

@@ -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;
}